zudoku 0.0.0-e614aaa → 0.0.0-e64b729
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 +8 -2
- 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/entry.client.js +36 -0
- package/dist/app/entry.client.js.map +1 -1
- package/dist/app/entry.server.d.ts +8 -6
- package/dist/app/entry.server.js +12 -8
- 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.js +22 -27
- package/dist/app/main.js.map +1 -1
- package/dist/cli/build/handler.js +2 -1
- package/dist/cli/build/handler.js.map +1 -1
- package/dist/cli/cli.js +12 -1
- package/dist/cli/cli.js.map +1 -1
- package/dist/cli/cmds/dev.d.ts +1 -1
- package/dist/cli/cmds/dev.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/dev/handler.js +2 -1
- package/dist/cli/dev/handler.js.map +1 -1
- package/dist/cli/preview/handler.js +13 -15
- package/dist/cli/preview/handler.js.map +1 -1
- package/dist/config/config.d.ts +18 -11
- package/dist/config/file-exists.d.ts +1 -0
- package/dist/config/file-exists.js +5 -0
- package/dist/config/file-exists.js.map +1 -0
- package/dist/config/loader.d.ts +18 -17
- package/dist/config/loader.js +105 -120
- package/dist/config/loader.js.map +1 -1
- 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/icon-types.d.ts +1 -1
- package/dist/config/validators/validate.d.ts +4117 -459
- package/dist/config/validators/validate.js +396 -11
- package/dist/config/validators/validate.js.map +1 -1
- package/dist/index.d.ts +5 -3
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/lib/authentication/AuthenticationPlugin.d.ts +7 -2
- package/dist/lib/authentication/AuthenticationPlugin.js +13 -1
- package/dist/lib/authentication/AuthenticationPlugin.js.map +1 -1
- package/dist/lib/authentication/authentication.d.ts +3 -4
- package/dist/lib/authentication/components/CallbackHandler.js +5 -1
- 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/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.js +1 -1
- 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 +92 -46
- package/dist/lib/authentication/providers/clerk.js.map +1 -1
- package/dist/lib/authentication/providers/openid.d.ts +12 -17
- package/dist/lib/authentication/providers/openid.js +37 -42
- 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 +115 -0
- package/dist/lib/authentication/providers/supabase.js.map +1 -0
- package/dist/lib/authentication/state.d.ts +0 -26
- package/dist/lib/authentication/state.js +1 -16
- package/dist/lib/authentication/state.js.map +1 -1
- package/dist/lib/components/AnchorLink.d.ts +2 -2
- package/dist/lib/components/AnchorLink.js +5 -4
- package/dist/lib/components/AnchorLink.js.map +1 -1
- package/dist/lib/components/Autocomplete.js +1 -1
- package/dist/lib/components/Banner.js +1 -1
- package/dist/lib/components/Banner.js.map +1 -1
- package/dist/lib/components/Bootstrap.d.ts +2 -1
- package/dist/lib/components/Bootstrap.js +3 -2
- 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/ErrorPage.js +1 -1
- package/dist/lib/components/Footer.d.ts +1 -0
- package/dist/lib/components/Footer.js +32 -0
- package/dist/lib/components/Footer.js.map +1 -0
- package/dist/lib/components/Header.js +17 -9
- package/dist/lib/components/Header.js.map +1 -1
- package/dist/lib/components/Heading.d.ts +3 -3
- package/dist/lib/components/Heading.js +6 -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 -29
- 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 +3 -1
- package/dist/lib/components/Markdown.js +8 -14
- package/dist/lib/components/Markdown.js.map +1 -1
- package/dist/lib/components/MobileTopNavigation.js +7 -3
- package/dist/lib/components/MobileTopNavigation.js.map +1 -1
- package/dist/lib/components/NotFoundPage.js +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/Search.js +7 -1
- package/dist/lib/components/Search.js.map +1 -1
- package/dist/lib/components/Slot.d.ts +17 -0
- package/dist/lib/components/Slot.js +24 -0
- package/dist/lib/components/Slot.js.map +1 -0
- package/dist/lib/components/Slot.test.js +168 -0
- package/dist/lib/components/Slot.test.js.map +1 -0
- package/dist/lib/components/TopNavigation.d.ts +2 -4
- package/dist/lib/components/TopNavigation.js +25 -20
- package/dist/lib/components/TopNavigation.js.map +1 -1
- package/dist/lib/components/Zudoku.js +9 -5
- package/dist/lib/components/Zudoku.js.map +1 -1
- package/dist/lib/components/cache.d.ts +7 -0
- package/dist/lib/components/cache.js +7 -0
- package/dist/lib/components/cache.js.map +1 -1
- 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/SlotProvider.d.ts +26 -0
- package/dist/lib/components/context/SlotProvider.js +83 -0
- package/dist/lib/components/context/SlotProvider.js.map +1 -0
- package/dist/lib/components/context/ViewportAnchorContext.d.ts +2 -4
- package/dist/lib/components/context/ViewportAnchorContext.js +13 -19
- 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 +10 -5
- package/dist/lib/components/context/ZudokuContext.js.map +1 -1
- package/dist/lib/components/context/ZudokuProvider.js +2 -1
- package/dist/lib/components/context/ZudokuProvider.js.map +1 -1
- package/dist/lib/components/index.d.ts +11 -3
- package/dist/lib/components/index.js +2 -0
- 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 +3 -1
- package/dist/lib/components/navigation/Sidebar.js +4 -13
- package/dist/lib/components/navigation/Sidebar.js.map +1 -1
- package/dist/lib/components/navigation/SidebarBadge.js +1 -1
- package/dist/lib/components/navigation/SidebarBadge.js.map +1 -1
- package/dist/lib/components/navigation/SidebarCategory.d.ts +2 -2
- package/dist/lib/components/navigation/SidebarCategory.js +18 -10
- package/dist/lib/components/navigation/SidebarCategory.js.map +1 -1
- package/dist/lib/components/navigation/SidebarItem.d.ts +1 -0
- package/dist/lib/components/navigation/SidebarItem.js +17 -12
- 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.d.ts +3 -0
- package/dist/lib/components/navigation/utils.js +8 -0
- package/dist/lib/components/navigation/utils.js.map +1 -1
- package/dist/lib/core/RouteGuard.d.ts +1 -0
- package/dist/lib/core/RouteGuard.js +10 -3
- package/dist/lib/core/RouteGuard.js.map +1 -1
- package/dist/lib/core/ZudokuContext.d.ts +40 -11
- package/dist/lib/core/ZudokuContext.js +17 -9
- package/dist/lib/core/ZudokuContext.js.map +1 -1
- package/dist/lib/core/plugins.d.ts +14 -9
- package/dist/lib/core/plugins.js +1 -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/hooks/useEvent.test.js +1 -1
- package/dist/lib/hooks/useEvent.test.js.map +1 -1
- package/dist/lib/oas/graphql/circular.js +23 -18
- package/dist/lib/oas/graphql/circular.js.map +1 -1
- package/dist/lib/oas/graphql/index.d.ts +17 -4
- package/dist/lib/oas/graphql/index.js +148 -38
- package/dist/lib/oas/graphql/index.js.map +1 -1
- package/dist/lib/oas/parser/dereference/index.js +2 -0
- 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 +1 -0
- package/dist/lib/oas/parser/upgrade/index.js +77 -25
- package/dist/lib/oas/parser/upgrade/index.js.map +1 -1
- package/dist/lib/plugins/api-catalog/Catalog.js +1 -1
- package/dist/lib/plugins/api-catalog/Catalog.js.map +1 -1
- package/dist/lib/plugins/api-catalog/index.js +19 -17
- package/dist/lib/plugins/api-catalog/index.js.map +1 -1
- package/dist/lib/plugins/api-keys/CreateApiKey.d.ts +3 -2
- 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/SettingsApiKeys.d.ts +1 -1
- package/dist/lib/plugins/api-keys/SettingsApiKeys.js +54 -23
- package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
- package/dist/lib/plugins/api-keys/index.d.ts +18 -9
- package/dist/lib/plugins/api-keys/index.js +49 -34
- package/dist/lib/plugins/api-keys/index.js.map +1 -1
- package/dist/lib/plugins/custom-pages/index.d.ts +1 -1
- package/dist/lib/plugins/markdown/MdxPage.d.ts +1 -1
- package/dist/lib/plugins/markdown/MdxPage.js +3 -9
- package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
- package/dist/lib/plugins/markdown/index.d.ts +1 -1
- package/dist/lib/plugins/markdown/resolver.d.ts +1 -1
- package/dist/lib/plugins/markdown/resolver.js.map +1 -1
- package/dist/lib/plugins/openapi/CollapsibleCode.js +1 -1
- package/dist/lib/plugins/openapi/CollapsibleCode.js.map +1 -1
- package/dist/lib/plugins/openapi/ColorizedParam.js +1 -1
- package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
- package/dist/lib/plugins/openapi/Endpoint.js +1 -1
- package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationList.js +67 -21
- package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.d.ts +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.js +8 -13
- 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/ParameterListItem.js +16 -4
- package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +8 -2
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
- package/dist/lib/plugins/openapi/ResponsesSidecarBox.d.ts +2 -4
- package/dist/lib/plugins/openapi/ResponsesSidecarBox.js +1 -4
- 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 +69 -10
- package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
- package/dist/lib/plugins/openapi/SidecarExamples.js +9 -1
- package/dist/lib/plugins/openapi/SidecarExamples.js.map +1 -1
- package/dist/lib/plugins/openapi/SimpleSelect.js +1 -1
- package/dist/lib/plugins/openapi/SimpleSelect.js.map +1 -1
- package/dist/lib/plugins/openapi/client/GraphQLClient.d.ts +1 -1
- package/dist/lib/plugins/openapi/client/GraphQLClient.js +1 -1
- package/dist/lib/plugins/openapi/client/GraphQLClient.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/graphql/gql.d.ts +9 -5
- package/dist/lib/plugins/openapi/graphql/gql.js +5 -4
- package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/graphql.d.ts +108 -55
- package/dist/lib/plugins/openapi/graphql/graphql.js +59 -34
- package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
- package/dist/lib/plugins/openapi/index.d.ts +6 -12
- package/dist/lib/plugins/openapi/index.js +43 -60
- package/dist/lib/plugins/openapi/index.js.map +1 -1
- package/dist/lib/plugins/openapi/interfaces.d.ts +37 -10
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.d.ts +2 -2
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js +1 -5
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/Headers.js +3 -3
- 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/Playground.d.ts +13 -2
- package/dist/lib/plugins/openapi/playground/Playground.js +83 -27
- 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/QueryParams.d.ts +1 -1
- package/dist/lib/plugins/openapi/playground/QueryParams.js +3 -3
- 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 +1 -1
- package/dist/lib/plugins/openapi/playground/SubmitButton.js +7 -10
- package/dist/lib/plugins/openapi/playground/SubmitButton.js.map +1 -1
- 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.js +1 -1
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js +19 -13
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.d.ts +6 -4
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js +4 -3
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js.map +1 -1
- package/dist/lib/plugins/openapi/processors/removeExtensions.d.ts +8 -0
- package/dist/lib/plugins/openapi/{post-processors → processors}/removeExtensions.js +1 -1
- package/dist/lib/plugins/openapi/processors/removeExtensions.js.map +1 -0
- package/dist/lib/plugins/openapi/{post-processors → processors}/removeExtensions.test.js +26 -6
- package/dist/lib/plugins/openapi/processors/removeExtensions.test.js.map +1 -0
- package/dist/lib/plugins/openapi/{post-processors → processors}/removeParameters.d.ts +3 -1
- package/dist/lib/plugins/openapi/{post-processors → processors}/removeParameters.js +1 -1
- package/dist/lib/plugins/openapi/processors/removeParameters.js.map +1 -0
- package/dist/lib/plugins/openapi/{post-processors → processors}/removeParameters.test.js +53 -25
- package/dist/lib/plugins/openapi/processors/removeParameters.test.js.map +1 -0
- package/dist/lib/plugins/openapi/{post-processors → processors}/removePaths.d.ts +3 -1
- package/dist/lib/plugins/openapi/{post-processors → processors}/removePaths.js +1 -1
- package/dist/lib/plugins/openapi/processors/removePaths.js.map +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.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/SchemaPropertyItem.d.ts +2 -4
- package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js +24 -16
- package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/SchemaView.d.ts +2 -2
- package/dist/lib/plugins/openapi/schema/SchemaView.js +37 -49
- package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/utils.d.ts +7 -1
- package/dist/lib/plugins/openapi/schema/utils.js +14 -5
- 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.js +5 -7
- package/dist/lib/plugins/openapi/util/createSidebarCategory.js.map +1 -1
- package/dist/lib/plugins/openapi/util/generateSchemaExample.d.ts +1 -1
- package/dist/lib/plugins/openapi/util/generateSchemaExample.js +44 -0
- package/dist/lib/plugins/openapi/util/generateSchemaExample.js.map +1 -1
- package/dist/lib/plugins/openapi/util/getRoutes.js +54 -11
- package/dist/lib/plugins/openapi/util/getRoutes.js.map +1 -1
- package/dist/lib/plugins/redirect/index.d.ts +1 -1
- package/dist/lib/plugins/search-pagefind/PagefindSearch.js +23 -10
- package/dist/lib/plugins/search-pagefind/PagefindSearch.js.map +1 -1
- package/dist/lib/plugins/search-pagefind/ResultList.d.ts +1 -0
- package/dist/lib/plugins/search-pagefind/ResultList.js +19 -17
- package/dist/lib/plugins/search-pagefind/ResultList.js.map +1 -1
- package/dist/lib/plugins/search-pagefind/get-results.d.ts +8 -1
- package/dist/lib/plugins/search-pagefind/get-results.js +9 -4
- package/dist/lib/plugins/search-pagefind/get-results.js.map +1 -1
- 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 +1 -1
- package/dist/lib/ui/Badge.js.map +1 -1
- package/dist/lib/ui/Button.d.ts +3 -3
- package/dist/lib/ui/Button.js +9 -6
- 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/Checkbox.d.ts +2 -8
- package/dist/lib/ui/Checkbox.js +1 -13
- 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 +1 -1
- package/dist/lib/ui/Command.js +3 -3
- package/dist/lib/ui/Command.js.map +1 -1
- package/dist/lib/ui/Dialog.js +1 -1
- package/dist/lib/ui/Dialog.js.map +1 -1
- package/dist/lib/ui/DropdownMenu.js +4 -4
- package/dist/lib/ui/DropdownMenu.js.map +1 -1
- package/dist/lib/ui/Form.d.ts +1 -1
- package/dist/lib/ui/HoverCard.js +1 -1
- package/dist/lib/ui/HoverCard.js.map +1 -1
- package/dist/lib/ui/Input.js +1 -1
- package/dist/lib/ui/Input.js.map +1 -1
- package/dist/lib/ui/Popover.js +1 -1
- package/dist/lib/ui/Popover.js.map +1 -1
- package/dist/lib/ui/RadioGroup.js +1 -1
- package/dist/lib/ui/RadioGroup.js.map +1 -1
- package/dist/lib/ui/Select.js +2 -2
- package/dist/lib/ui/Select.js.map +1 -1
- package/dist/lib/ui/Slider.js +1 -1
- package/dist/lib/ui/Slider.js.map +1 -1
- package/dist/lib/ui/Stepper.d.ts +0 -1
- package/dist/lib/ui/Stepper.js +1 -1
- package/dist/lib/ui/Stepper.js.map +1 -1
- package/dist/lib/ui/Switch.js +1 -1
- package/dist/lib/ui/Switch.js.map +1 -1
- package/dist/lib/ui/SyntaxHighlight.d.ts +10 -14
- package/dist/lib/ui/SyntaxHighlight.js +13 -55
- package/dist/lib/ui/SyntaxHighlight.js.map +1 -1
- package/dist/lib/ui/Tabs.js +2 -2
- package/dist/lib/ui/Tabs.js.map +1 -1
- package/dist/lib/ui/Textarea.js +1 -1
- package/dist/lib/ui/Textarea.js.map +1 -1
- package/dist/lib/ui/Toggle.js +1 -1
- package/dist/lib/ui/Toggle.js.map +1 -1
- package/dist/lib/util/MdxComponents.d.ts +12 -4
- package/dist/lib/util/MdxComponents.js +13 -12
- package/dist/lib/util/MdxComponents.js.map +1 -1
- package/dist/lib/util/detectOS.d.ts +1 -0
- package/dist/lib/util/detectOS.js +11 -0
- package/dist/lib/util/detectOS.js.map +1 -0
- package/dist/lib/util/ensureArray.d.ts +1 -0
- package/dist/lib/util/ensureArray.js +2 -0
- package/dist/lib/util/ensureArray.js.map +1 -0
- package/dist/lib/util/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/traverse.d.ts +3 -9
- package/dist/lib/util/traverse.js +7 -6
- package/dist/lib/util/traverse.js.map +1 -1
- 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.js +26 -0
- package/dist/lib/util/url.test.js.map +1 -0
- package/dist/lib/util/useExposedProps.d.ts +8 -1
- package/dist/lib/util/useExposedProps.js.map +1 -1
- 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.js +20 -12
- package/dist/lib/util/useScrollToAnchor.js.map +1 -1
- package/dist/vite/api/SchemaManager.d.ts +36 -0
- package/dist/vite/api/SchemaManager.js +137 -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 +1 -1
- package/dist/vite/api/schema-codegen.js +35 -12
- package/dist/vite/api/schema-codegen.js.map +1 -1
- package/dist/vite/api/schema-codegen.test.js +66 -0
- package/dist/vite/api/schema-codegen.test.js.map +1 -1
- package/dist/vite/build.js +46 -10
- package/dist/vite/build.js.map +1 -1
- package/dist/vite/config.d.ts +2 -9
- package/dist/vite/config.js +50 -103
- package/dist/vite/config.js.map +1 -1
- package/dist/vite/config.test.js +1 -1
- 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/plugin.d.ts +1 -2
- package/dist/vite/css/plugin.js +3 -2
- package/dist/vite/css/plugin.js.map +1 -1
- package/dist/vite/dev-server.d.ts +0 -1
- package/dist/vite/dev-server.js +16 -15
- package/dist/vite/dev-server.js.map +1 -1
- package/dist/vite/html.d.ts +7 -3
- package/dist/vite/html.js +15 -9
- package/dist/vite/html.js.map +1 -1
- package/dist/vite/plugin-api-keys.d.ts +1 -2
- package/dist/vite/plugin-api-keys.js +9 -3
- package/dist/vite/plugin-api-keys.js.map +1 -1
- package/dist/vite/plugin-api.d.ts +1 -2
- package/dist/vite/plugin-api.js +74 -123
- package/dist/vite/plugin-api.js.map +1 -1
- package/dist/vite/plugin-auth.d.ts +1 -2
- package/dist/vite/plugin-auth.js +3 -2
- package/dist/vite/plugin-auth.js.map +1 -1
- package/dist/vite/plugin-component.d.ts +1 -2
- package/dist/vite/plugin-component.js +3 -2
- package/dist/vite/plugin-component.js.map +1 -1
- package/dist/vite/plugin-config-reload.d.ts +1 -2
- package/dist/vite/plugin-config-reload.js +23 -23
- package/dist/vite/plugin-config-reload.js.map +1 -1
- package/dist/vite/plugin-config.d.ts +1 -2
- package/dist/vite/plugin-config.js +4 -3
- package/dist/vite/plugin-config.js.map +1 -1
- package/dist/vite/plugin-configure-tailwind.d.ts +2 -0
- package/dist/vite/plugin-configure-tailwind.js +38 -0
- package/dist/vite/plugin-configure-tailwind.js.map +1 -0
- package/dist/vite/plugin-custom-pages.d.ts +1 -2
- package/dist/vite/plugin-custom-pages.js +3 -2
- package/dist/vite/plugin-custom-pages.js.map +1 -1
- package/dist/vite/plugin-docs.d.ts +2 -3
- package/dist/vite/plugin-docs.js +21 -3
- package/dist/vite/plugin-docs.js.map +1 -1
- package/dist/vite/plugin-frontmatter.d.ts +1 -2
- package/dist/vite/plugin-frontmatter.js +3 -2
- package/dist/vite/plugin-frontmatter.js.map +1 -1
- package/dist/vite/plugin-mdx.d.ts +1 -2
- package/dist/vite/plugin-mdx.js +7 -13
- package/dist/vite/plugin-mdx.js.map +1 -1
- package/dist/vite/plugin-redirect.d.ts +1 -2
- package/dist/vite/plugin-redirect.js +3 -2
- package/dist/vite/plugin-redirect.js.map +1 -1
- package/dist/vite/plugin-search.d.ts +1 -2
- package/dist/vite/plugin-search.js +3 -2
- package/dist/vite/plugin-search.js.map +1 -1
- package/dist/vite/plugin-shiki-register.d.ts +2 -0
- package/dist/vite/plugin-shiki-register.js +39 -0
- package/dist/vite/plugin-shiki-register.js.map +1 -0
- package/dist/vite/plugin-sidebar.d.ts +4 -3
- package/dist/vite/plugin-sidebar.js +12 -5
- package/dist/vite/plugin-sidebar.js.map +1 -1
- package/dist/vite/plugin-theme-css.d.ts +1 -2
- package/dist/vite/plugin-theme-css.js +20 -60
- package/dist/vite/plugin-theme-css.js.map +1 -1
- package/dist/vite/plugin.d.ts +1 -2
- package/dist/vite/plugin.js +23 -20
- package/dist/vite/plugin.js.map +1 -1
- package/dist/vite/prerender/FileWritingResponse.d.ts +9 -5
- package/dist/vite/prerender/FileWritingResponse.js +5 -5
- package/dist/vite/prerender/FileWritingResponse.js.map +1 -1
- 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 +1 -0
- package/dist/vite/prerender/prerender.js +38 -13
- package/dist/vite/prerender/prerender.js.map +1 -1
- package/dist/vite/prerender/worker.js +41 -14
- package/dist/vite/prerender/worker.js.map +1 -1
- package/dist/vite/sitemap.d.ts +1 -1
- package/dist/zuplo/enrich-with-zuplo.d.ts +3 -3
- package/dist/zuplo/enrich-with-zuplo.js +18 -17
- package/dist/zuplo/enrich-with-zuplo.js.map +1 -1
- package/dist/zuplo/with-zuplo-processors.d.ts +2 -2
- package/dist/zuplo/with-zuplo-processors.js +7 -7
- package/dist/zuplo/with-zuplo-processors.js.map +1 -1
- package/dist/zuplo/with-zuplo.d.ts +5 -2
- package/dist/zuplo/with-zuplo.js +6 -5
- package/dist/zuplo/with-zuplo.js.map +1 -1
- package/lib/Button-u7M2QYds.js +51 -0
- package/lib/Button-u7M2QYds.js.map +1 -0
- package/lib/Callout-CtCQJ6Cc.js +230 -0
- package/lib/Callout-CtCQJ6Cc.js.map +1 -0
- package/lib/Card-DkH-AU1V.js +61 -0
- package/lib/Card-DkH-AU1V.js.map +1 -0
- package/lib/{CategoryHeading-DpB47wvk.js → CategoryHeading-BA7lKNWz.js} +3 -3
- package/lib/{CategoryHeading-DpB47wvk.js.map → CategoryHeading-BA7lKNWz.js.map} +1 -1
- package/lib/Dialog-irKZWXGg.js +99 -0
- package/lib/Dialog-irKZWXGg.js.map +1 -0
- package/lib/Drawer-DZ214i5V.js +1133 -0
- package/lib/Drawer-DZ214i5V.js.map +1 -0
- package/lib/Markdown-ms3FtIha.js +7694 -0
- package/lib/Markdown-ms3FtIha.js.map +1 -0
- package/lib/MdxPage-D6v_c0tx.js +84 -0
- package/lib/MdxPage-D6v_c0tx.js.map +1 -0
- package/lib/OasProvider-DCp8HxF4.js +33 -0
- package/lib/{OasProvider-BSuptFK-.js.map → OasProvider-DCp8HxF4.js.map} +1 -1
- package/lib/OperationList-Ct68OoIk.js +5145 -0
- package/lib/OperationList-Ct68OoIk.js.map +1 -0
- package/lib/Pagination-C-FbzRep.js +36 -0
- package/lib/Pagination-C-FbzRep.js.map +1 -0
- package/lib/RouteGuard-CIyGFkFD.js +55 -0
- package/lib/RouteGuard-CIyGFkFD.js.map +1 -0
- package/lib/SchemaList-_lITigpx.js +160 -0
- package/lib/SchemaList-_lITigpx.js.map +1 -0
- package/lib/SchemaView-Dbd9iTsb.js +375 -0
- package/lib/SchemaView-Dbd9iTsb.js.map +1 -0
- package/lib/SignUp-DWvtcgpY.js +63 -0
- package/lib/SignUp-DWvtcgpY.js.map +1 -0
- package/lib/Slot-CiKlwC-1.js +160 -0
- package/lib/Slot-CiKlwC-1.js.map +1 -0
- package/lib/Spinner-mNLZ6awP.js +7 -0
- package/lib/Spinner-mNLZ6awP.js.map +1 -0
- package/lib/SyntaxHighlight-DTgNHbGp.js +9107 -0
- package/lib/SyntaxHighlight-DTgNHbGp.js.map +1 -0
- package/lib/Toc-CBERuLsq.js +92 -0
- package/lib/Toc-CBERuLsq.js.map +1 -0
- package/lib/{chunk-IR6S3I6Y-D_3UmFIn.js → chunk-BAXFHI7N-C9WnHsLV.js} +620 -602
- package/lib/chunk-BAXFHI7N-C9WnHsLV.js.map +1 -0
- package/lib/{circular-v7K6lDDh.js → circular-Y7yjLNW1.js} +2997 -3477
- package/lib/circular-Y7yjLNW1.js.map +1 -0
- package/lib/{cn-qaFjX9_3.js → cn-BOFVZgHd.js} +1017 -552
- package/lib/cn-BOFVZgHd.js.map +1 -0
- package/lib/{createServer-DmusVVsi.js → createServer-CNtv3YKi.js} +4984 -5218
- package/lib/createServer-CNtv3YKi.js.map +1 -0
- package/lib/hook-BpiAQVtd.js +1446 -0
- package/lib/hook-BpiAQVtd.js.map +1 -0
- package/lib/{index-DwT-v3zK.js → index--oeBayMa.js} +2 -2
- package/lib/{index-DwT-v3zK.js.map → index--oeBayMa.js.map} +1 -1
- 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-CPNSgwSb.js → index-C1S4w-gl.js} +5 -5
- package/lib/{index-CPNSgwSb.js.map → index-C1S4w-gl.js.map} +1 -1
- package/lib/index-C_9WfVu2.js +3268 -0
- package/lib/index-C_9WfVu2.js.map +1 -0
- package/lib/index-CrcNWbel.js +316 -0
- package/lib/index-CrcNWbel.js.map +1 -0
- package/lib/index-PL1g52PU.js +4977 -0
- package/lib/index-PL1g52PU.js.map +1 -0
- package/lib/{index-Dl3Yl0yb.js → index-zddirpDj.js} +621 -636
- package/lib/index-zddirpDj.js.map +1 -0
- package/lib/index.esm-BFcSKCe-.js +683 -0
- package/lib/{index.esm-CQHE3GEU.js.map → index.esm-BFcSKCe-.js.map} +1 -1
- package/lib/index.esm-DSfX_eMP.js +1216 -0
- package/lib/index.esm-DSfX_eMP.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-CJrIFMgY.js +196 -0
- package/lib/mutation-CJrIFMgY.js.map +1 -0
- package/lib/{post-processors → processors}/removeExtensions.js +1 -1
- 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/ActionButton.js +11 -10
- package/lib/ui/ActionButton.js.map +1 -1
- package/lib/ui/Alert.js +3 -3
- package/lib/ui/AlertDialog.js +2 -2
- package/lib/ui/Badge.js +4 -4
- package/lib/ui/Badge.js.map +1 -1
- package/lib/ui/Breadcrumb.js +2 -2
- package/lib/ui/Button.js +22 -19
- 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 +348 -348
- package/lib/ui/Carousel.js.map +1 -1
- package/lib/ui/Checkbox.js +16 -26
- 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 +58 -58
- package/lib/ui/Command.js.map +1 -1
- package/lib/ui/Dialog.js +3 -3
- package/lib/ui/Dialog.js.map +1 -1
- package/lib/ui/Drawer.js +14 -1129
- package/lib/ui/Drawer.js.map +1 -1
- package/lib/ui/DropdownMenu.js +35 -35
- package/lib/ui/DropdownMenu.js.map +1 -1
- package/lib/ui/Form.js +3 -3
- package/lib/ui/HoverCard.js +6 -6
- package/lib/ui/HoverCard.js.map +1 -1
- package/lib/ui/Input.js +3 -3
- package/lib/ui/Input.js.map +1 -1
- package/lib/ui/Label.js +3 -3
- package/lib/ui/Pagination.js +2 -2
- package/lib/ui/Popover.js +3 -3
- package/lib/ui/Popover.js.map +1 -1
- package/lib/ui/Progress.js +2 -2
- package/lib/ui/RadioGroup.js +11 -11
- package/lib/ui/RadioGroup.js.map +1 -1
- package/lib/ui/ScrollArea.js +2 -2
- package/lib/ui/Select.js +32 -32
- package/lib/ui/Select.js.map +1 -1
- package/lib/ui/Skeleton.js +2 -2
- package/lib/ui/Slider.js +6 -6
- package/lib/ui/Slider.js.map +1 -1
- package/lib/ui/Stepper.js +1 -1
- package/lib/ui/Stepper.js.map +1 -1
- package/lib/ui/Switch.js +6 -6
- package/lib/ui/Switch.js.map +1 -1
- package/lib/ui/SyntaxHighlight.js +7 -2902
- package/lib/ui/SyntaxHighlight.js.map +1 -1
- package/lib/ui/Tabs.js +17 -17
- package/lib/ui/Tabs.js.map +1 -1
- package/lib/ui/Textarea.js +6 -6
- package/lib/ui/Textarea.js.map +1 -1
- package/lib/ui/Toggle.js +8 -8
- package/lib/ui/Toggle.js.map +1 -1
- package/lib/ui/ToggleGroup.js +2 -2
- package/lib/ui/Tooltip.js +2 -2
- package/lib/ui/util.js +1 -1
- package/lib/{useExposedProps-RIvey2Oy.js → useExposedProps-DG8J6ewJ.js} +2 -2
- 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/useMutation-B2LNwShM.js +97 -0
- package/lib/useMutation-B2LNwShM.js.map +1 -0
- package/lib/zudoku.auth-auth0.js +28 -31
- package/lib/zudoku.auth-auth0.js.map +1 -1
- package/lib/zudoku.auth-clerk.js +107 -78
- package/lib/zudoku.auth-clerk.js.map +1 -1
- package/lib/zudoku.auth-openid.js +511 -478
- package/lib/zudoku.auth-openid.js.map +1 -1
- package/lib/zudoku.components.js +34 -1395
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.hooks.js +2 -2
- package/lib/zudoku.icons.js +1 -1
- package/lib/zudoku.plugin-api-catalog.js +95 -99
- package/lib/zudoku.plugin-api-catalog.js.map +1 -1
- package/lib/zudoku.plugin-api-keys.js +5022 -214
- 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 +25 -28
- package/lib/zudoku.plugin-markdown.js.map +1 -1
- package/lib/zudoku.plugin-openapi.js +7 -8
- package/lib/zudoku.plugin-openapi.js.map +1 -1
- package/lib/zudoku.plugin-redirect.js +1 -1
- package/lib/zudoku.plugin-redirect.js.map +1 -1
- package/lib/zudoku.plugin-search-inkeep.js +26 -27
- 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 +7 -6
- package/lib/zudoku.plugins.js.map +1 -1
- package/package.json +101 -83
- package/src/app/ZuploBuildConfig.ts +33 -0
- package/src/app/defaultTheme.css +54 -0
- package/src/app/demo.html +1 -1
- package/src/app/entry.client.tsx +43 -0
- package/src/app/entry.server.tsx +23 -13
- package/src/app/env.ts +35 -0
- package/src/app/font.geist.css +73 -0
- package/src/app/main.css +197 -143
- package/src/app/main.tsx +30 -29
- package/src/lib/authentication/AuthenticationPlugin.tsx +18 -4
- package/src/lib/authentication/authentication.ts +4 -5
- package/src/lib/authentication/components/CallbackHandler.tsx +11 -1
- package/src/lib/authentication/components/SignIn.tsx +35 -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 +9 -3
- package/src/lib/authentication/providers/clerk.tsx +105 -57
- package/src/lib/authentication/providers/openid.tsx +52 -53
- package/src/lib/authentication/providers/supabase.tsx +157 -0
- package/src/lib/authentication/state.ts +1 -35
- package/src/lib/components/AnchorLink.tsx +9 -7
- package/src/lib/components/Autocomplete.tsx +1 -1
- package/src/lib/components/Banner.tsx +2 -2
- package/src/lib/components/Bootstrap.tsx +13 -6
- package/src/lib/components/BuildCheck.tsx +75 -0
- package/src/lib/components/ErrorPage.tsx +1 -1
- package/src/lib/components/Footer.tsx +136 -0
- package/src/lib/components/Header.tsx +40 -36
- package/src/lib/components/Heading.tsx +11 -7
- package/src/lib/components/InlineCode.tsx +13 -16
- package/src/lib/components/Layout.tsx +30 -72
- package/src/lib/components/Main.tsx +51 -0
- package/src/lib/components/Markdown.tsx +29 -24
- package/src/lib/components/MobileTopNavigation.tsx +30 -20
- package/src/lib/components/NotFoundPage.tsx +1 -1
- package/src/lib/components/Pagination.tsx +44 -0
- package/src/lib/components/Search.tsx +15 -4
- package/src/lib/components/Slot.test.tsx +465 -0
- package/src/lib/components/Slot.tsx +64 -0
- package/src/lib/components/TopNavigation.tsx +40 -29
- package/src/lib/components/Zudoku.tsx +19 -12
- package/src/lib/components/cache.ts +8 -0
- package/src/lib/components/context/BypassProtectedRoutesContext.ts +3 -0
- package/src/lib/components/context/SlotProvider.tsx +149 -0
- package/src/lib/components/context/ViewportAnchorContext.tsx +14 -30
- package/src/lib/components/context/ZudokuContext.ts +14 -6
- package/src/lib/components/context/ZudokuProvider.tsx +2 -1
- package/src/lib/components/index.ts +2 -0
- package/src/lib/components/navigation/PoweredByZudoku.tsx +33 -0
- package/src/lib/components/navigation/Sidebar.tsx +38 -45
- package/src/lib/components/navigation/SidebarBadge.tsx +1 -1
- package/src/lib/components/navigation/SidebarCategory.tsx +24 -17
- package/src/lib/components/navigation/SidebarItem.tsx +21 -30
- package/src/lib/components/navigation/SidebarWrapper.tsx +42 -23
- 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 +12 -0
- package/src/lib/core/RouteGuard.tsx +27 -4
- package/src/lib/core/ZudokuContext.ts +57 -19
- package/src/lib/core/plugins.ts +18 -10
- package/src/lib/errors/ErrorAlert.tsx +24 -17
- package/src/lib/hooks/useEvent.test.tsx +1 -1
- package/src/lib/oas/graphql/circular.ts +27 -19
- package/src/lib/oas/graphql/index.ts +202 -54
- package/src/lib/oas/parser/dereference/index.ts +2 -0
- package/src/lib/oas/parser/index.ts +14 -30
- package/src/lib/oas/parser/upgrade/index.ts +98 -28
- package/src/lib/plugins/api-catalog/Catalog.tsx +1 -4
- package/src/lib/plugins/api-catalog/index.tsx +40 -35
- package/src/lib/plugins/api-keys/CreateApiKey.tsx +54 -42
- package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +292 -112
- package/src/lib/plugins/api-keys/index.tsx +101 -55
- package/src/lib/plugins/custom-pages/index.tsx +1 -1
- package/src/lib/plugins/markdown/MdxPage.tsx +11 -47
- package/src/lib/plugins/markdown/index.tsx +2 -2
- package/src/lib/plugins/markdown/resolver.ts +4 -2
- package/src/lib/plugins/openapi/CollapsibleCode.tsx +8 -5
- package/src/lib/plugins/openapi/ColorizedParam.tsx +3 -3
- package/src/lib/plugins/openapi/Endpoint.tsx +1 -1
- package/src/lib/plugins/openapi/OperationList.tsx +177 -87
- package/src/lib/plugins/openapi/OperationListItem.tsx +102 -115
- package/src/lib/plugins/openapi/ParamInfos.tsx +90 -0
- package/src/lib/plugins/openapi/ParameterListItem.tsx +65 -23
- package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +14 -1
- package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +5 -16
- package/src/lib/plugins/openapi/SchemaList.tsx +163 -0
- package/src/lib/plugins/openapi/Sidecar.tsx +83 -14
- package/src/lib/plugins/openapi/SidecarExamples.tsx +8 -2
- package/src/lib/plugins/openapi/SimpleSelect.tsx +1 -1
- package/src/lib/plugins/openapi/client/GraphQLClient.tsx +1 -1
- 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/graphql/gql.ts +29 -20
- package/src/lib/plugins/openapi/graphql/graphql.ts +172 -86
- package/src/lib/plugins/openapi/index.tsx +56 -87
- package/src/lib/plugins/openapi/interfaces.ts +45 -15
- package/src/lib/plugins/openapi/playground/ExamplesDropdown.tsx +30 -32
- package/src/lib/plugins/openapi/playground/Headers.tsx +2 -3
- 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/Playground.tsx +186 -93
- package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +1 -1
- package/src/lib/plugins/openapi/playground/QueryParams.tsx +4 -5
- package/src/lib/plugins/openapi/playground/RequestLoginDialog.tsx +51 -0
- package/src/lib/plugins/openapi/playground/SubmitButton.tsx +25 -30
- package/src/lib/plugins/openapi/playground/rememberedIdentity.ts +26 -0
- package/src/lib/plugins/openapi/playground/result-panel/RequestTab.tsx +2 -2
- package/src/lib/plugins/openapi/playground/result-panel/ResponseTab.tsx +25 -5
- package/src/lib/plugins/openapi/playground/result-panel/ResultPanel.tsx +67 -45
- package/src/lib/plugins/openapi/{post-processors → processors}/removeExtensions.test.ts +29 -9
- package/src/lib/plugins/openapi/{post-processors → processors}/removeExtensions.ts +5 -3
- package/src/lib/plugins/openapi/{post-processors → processors}/removeParameters.test.ts +67 -33
- package/src/lib/plugins/openapi/{post-processors → processors}/removeParameters.ts +5 -3
- package/src/lib/plugins/openapi/processors/removePaths.test.ts +167 -0
- package/src/lib/plugins/openapi/{post-processors → processors}/removePaths.ts +5 -3
- 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 +69 -60
- package/src/lib/plugins/openapi/schema/SchemaView.tsx +101 -140
- package/src/lib/plugins/openapi/schema/utils.ts +29 -6
- package/src/lib/plugins/openapi/state.ts +36 -0
- package/src/lib/plugins/openapi/util/createSidebarCategory.tsx +5 -7
- package/src/lib/plugins/openapi/util/generateSchemaExample.ts +51 -1
- package/src/lib/plugins/openapi/util/getRoutes.tsx +89 -14
- package/src/lib/plugins/redirect/index.tsx +1 -1
- package/src/lib/plugins/search-pagefind/PagefindSearch.tsx +39 -14
- package/src/lib/plugins/search-pagefind/ResultList.tsx +60 -53
- package/src/lib/plugins/search-pagefind/get-results.tsx +31 -10
- package/src/lib/shiki.ts +133 -0
- package/src/lib/ui/Badge.tsx +2 -2
- package/src/lib/ui/Button.tsx +12 -7
- package/src/lib/ui/Callout.tsx +29 -10
- package/src/lib/ui/Card.tsx +1 -1
- package/src/lib/ui/Checkbox.tsx +8 -24
- package/src/lib/ui/CodeBlock.tsx +102 -0
- package/src/lib/ui/Command.tsx +5 -5
- package/src/lib/ui/Dialog.tsx +1 -1
- package/src/lib/ui/DropdownMenu.tsx +4 -4
- package/src/lib/ui/HoverCard.tsx +1 -1
- package/src/lib/ui/Input.tsx +1 -1
- package/src/lib/ui/Popover.tsx +1 -1
- package/src/lib/ui/RadioGroup.tsx +1 -1
- package/src/lib/ui/Select.tsx +3 -3
- package/src/lib/ui/Slider.tsx +1 -1
- package/src/lib/ui/Stepper.tsx +1 -1
- package/src/lib/ui/Switch.tsx +1 -1
- package/src/lib/ui/SyntaxHighlight.tsx +21 -180
- package/src/lib/ui/Tabs.tsx +2 -2
- package/src/lib/ui/Textarea.tsx +1 -1
- package/src/lib/ui/Toggle.tsx +1 -1
- package/src/lib/util/MdxComponents.tsx +31 -16
- 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/traverse.ts +12 -13
- 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 +12 -1
- package/src/lib/util/useOnScreen.ts +6 -4
- package/src/lib/util/useScrollToAnchor.ts +22 -12
- 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 -8
- package/dist/app/tailwind.d.ts +0 -4
- package/dist/app/tailwind.js +0 -83
- package/dist/app/tailwind.js.map +0 -1
- package/dist/config/common.d.ts +0 -11
- package/dist/config/common.js +0 -2
- package/dist/config/common.js.map +0 -1
- package/dist/config/validators/common.d.ts +0 -5538
- package/dist/config/validators/common.js +0 -331
- package/dist/config/validators/common.js.map +0 -1
- package/dist/lib/components/SlotletProvider.d.ts +0 -17
- package/dist/lib/components/SlotletProvider.js +0 -18
- package/dist/lib/components/SlotletProvider.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/post-processors/removeExtensions.d.ts +0 -7
- package/dist/lib/plugins/openapi/post-processors/removeExtensions.js.map +0 -1
- package/dist/lib/plugins/openapi/post-processors/removeExtensions.test.js.map +0 -1
- package/dist/lib/plugins/openapi/post-processors/removeParameters.js.map +0 -1
- package/dist/lib/plugins/openapi/post-processors/removeParameters.test.js.map +0 -1
- package/dist/lib/plugins/openapi/post-processors/removePaths.js.map +0 -1
- package/dist/lib/plugins/openapi/post-processors/removePaths.test.js +0 -104
- package/dist/lib/plugins/openapi/post-processors/removePaths.test.js.map +0 -1
- package/dist/lib/plugins/openapi/post-processors/traverse.js.map +0 -1
- package/dist/vite/pagefind.d.ts +0 -4
- package/dist/vite/pagefind.js +0 -15
- package/dist/vite/pagefind.js.map +0 -1
- package/dist/vite/plugin-docs.test.js +0 -22
- package/dist/vite/plugin-docs.test.js.map +0 -1
- package/dist/zuplo/env.d.ts +0 -7
- package/dist/zuplo/env.js +0 -12
- package/dist/zuplo/env.js.map +0 -1
- package/lib/AuthenticationPlugin-CiO1FM6Q.js +0 -58
- package/lib/AuthenticationPlugin-CiO1FM6Q.js.map +0 -1
- package/lib/Dialog-DIKGQxQc.js +0 -83
- package/lib/Dialog-DIKGQxQc.js.map +0 -1
- package/lib/Markdown-DePfm7oQ.js +0 -15264
- package/lib/Markdown-DePfm7oQ.js.map +0 -1
- package/lib/MdxPage-BN6l6zXL.js +0 -201
- package/lib/MdxPage-BN6l6zXL.js.map +0 -1
- package/lib/OasProvider-BSuptFK-.js +0 -34
- package/lib/OperationList-DOcfDmJP.js +0 -5217
- package/lib/OperationList-DOcfDmJP.js.map +0 -1
- package/lib/Select-Dqtcn53H.js +0 -223
- package/lib/Select-Dqtcn53H.js.map +0 -1
- package/lib/SlotletProvider-DdtIOUi6.js +0 -221
- package/lib/SlotletProvider-DdtIOUi6.js.map +0 -1
- package/lib/Spinner-1KrEmx1V.js +0 -51
- package/lib/Spinner-1KrEmx1V.js.map +0 -1
- package/lib/_commonjsHelpers-BkfeUUK-.js +0 -29
- package/lib/_commonjsHelpers-BkfeUUK-.js.map +0 -1
- package/lib/chunk-IR6S3I6Y-D_3UmFIn.js.map +0 -1
- package/lib/circular-v7K6lDDh.js.map +0 -1
- package/lib/cn-qaFjX9_3.js.map +0 -1
- package/lib/context-DLCwaMXN.js +0 -22
- package/lib/context-DLCwaMXN.js.map +0 -1
- package/lib/createServer-DmusVVsi.js.map +0 -1
- package/lib/hook-CN__aZIt.js +0 -1464
- package/lib/hook-CN__aZIt.js.map +0 -1
- package/lib/index-BTbP6Lgf.js +0 -2103
- package/lib/index-BTbP6Lgf.js.map +0 -1
- package/lib/index-Dl3Yl0yb.js.map +0 -1
- package/lib/index-gQD2h1wX.js +0 -447
- package/lib/index-gQD2h1wX.js.map +0 -1
- package/lib/index.esm--gIChbWs.js +0 -1207
- package/lib/index.esm--gIChbWs.js.map +0 -1
- package/lib/index.esm-CQHE3GEU.js +0 -691
- package/lib/invariant-Caa8-XvF.js +0 -26
- package/lib/joinUrl-10po2Jdj.js +0 -20
- package/lib/joinUrl-10po2Jdj.js.map +0 -1
- package/lib/jsx-runtime-CYK1ROHF.js +0 -446
- package/lib/jsx-runtime-CYK1ROHF.js.map +0 -1
- package/lib/mutation-EclmI0is.js +0 -208
- package/lib/mutation-EclmI0is.js.map +0 -1
- package/lib/post-processors/removeExtensions.js.map +0 -1
- package/lib/post-processors/removeParameters.js +0 -48
- package/lib/post-processors/removeParameters.js.map +0 -1
- package/lib/post-processors/removePaths.js +0 -28
- package/lib/post-processors/removePaths.js.map +0 -1
- package/lib/post-processors/traverse.js +0 -15
- package/lib/post-processors/traverse.js.map +0 -1
- package/lib/prism-bash.min-HHIMdNJ_.js +0 -7
- package/lib/prism-bash.min-HHIMdNJ_.js.map +0 -1
- package/lib/prism-csharp.min-bQAo2pmx.js +0 -63
- package/lib/prism-csharp.min-bQAo2pmx.js.map +0 -1
- package/lib/prism-java.min-BpvsOuIa.js +0 -35
- package/lib/prism-java.min-BpvsOuIa.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-C0Qn0m-5.js +0 -61
- package/lib/prism-markdown.min-C0Qn0m-5.js.map +0 -1
- package/lib/prism-markup-BNGj0Tvm.js +0 -174
- package/lib/prism-markup-BNGj0Tvm.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-ruby.min-Dx9KO9ds.js +0 -38
- package/lib/prism-ruby.min-Dx9KO9ds.js.map +0 -1
- package/lib/prism-typescript.min-CD7H2IYQ.js +0 -34
- package/lib/prism-typescript.min-CD7H2IYQ.js.map +0 -1
- package/lib/useExposedProps-RIvey2Oy.js.map +0 -1
- package/lib/useScrollToAnchor-RyqO3lj4.js +0 -290
- package/lib/useScrollToAnchor-RyqO3lj4.js.map +0 -1
- package/lib/zudoku.css +0 -1
- package/src/app/tailwind.ts +0 -89
- package/src/lib/components/SlotletProvider.tsx +0 -55
- package/src/lib/components/context/PluginSystem.ts +0 -0
- package/src/lib/plugins/openapi/post-processors/removePaths.test.ts +0 -126
- package/src/lib/ui/Stepper.css +0 -43
- /package/dist/lib/components/{context/PluginSystem.d.ts → Slot.test.d.ts} +0 -0
- /package/dist/lib/{plugins/markdown → components/navigation}/Toc.d.ts +0 -0
- /package/dist/lib/plugins/openapi/{post-processors → processors}/removeExtensions.test.d.ts +0 -0
- /package/dist/lib/plugins/openapi/{post-processors → processors}/removeParameters.test.d.ts +0 -0
- /package/dist/lib/plugins/openapi/{post-processors → processors}/removePaths.test.d.ts +0 -0
- /package/dist/lib/plugins/openapi/{post-processors → processors}/traverse.d.ts +0 -0
- /package/dist/lib/plugins/openapi/{post-processors → processors}/traverse.js +0 -0
- /package/dist/{vite/plugin-docs.test.d.ts → lib/util/url.test.d.ts} +0 -0
- /package/src/lib/plugins/openapi/{post-processors → processors}/traverse.ts +0 -0
package/lib/zudoku.components.js
CHANGED
|
@@ -1,1398 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
return l(t, e, n);
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
import { a as Fe, H as le } from "./index.esm-CQHE3GEU.js";
|
|
17
|
-
import { z as He, J as ht } from "./index-DwT-v3zK.js";
|
|
18
|
-
import { a as ft, u as te, m as gt, O as ce, R as mt, S as pt, h as ue, f as xt, L as de } from "./chunk-IR6S3I6Y-D_3UmFIn.js";
|
|
19
|
-
import { S as Be, q as Le, Q as vt, n as P, r as ye, t as be, v as M, w as yt, x as bt, y as jt, z as wt, A as je, B as we, C as Pt, h as Pe, D as Ce, E as Ct, f as kt, k as L, a as E, m as St, F as ze, G as Ke, H as Nt, j as ae, b as Dt, Z as Et, I as Mt, J as Ot } from "./hook-CN__aZIt.js";
|
|
20
|
-
import { j as s } from "./jsx-runtime-CYK1ROHF.js";
|
|
21
|
-
import { D as At, a as qt, d as Tt, c as It, e as Qt } from "./Dialog-DIKGQxQc.js";
|
|
22
|
-
import { Z as $e } from "./invariant-Caa8-XvF.js";
|
|
23
|
-
import * as U from "react";
|
|
24
|
-
import Rt, { useRef as V, useEffect as I, createContext as he, StrictMode as Ue, useState as z, useCallback as Ft, Suspense as fe, memo as Ze, forwardRef as Ht, Component as Bt, createElement as ke, useMemo as re, useContext as Lt } from "react";
|
|
25
|
-
import { E as Ye, S, a as zt, R as Kt } from "./SlotletProvider-DdtIOUi6.js";
|
|
26
|
-
import { Button as $t } from "./ui/Button.js";
|
|
27
|
-
import { Callout as Ut } from "./ui/Callout.js";
|
|
28
|
-
import { M as Zt } from "./mutation-EclmI0is.js";
|
|
29
|
-
import * as Yt from "react-dom";
|
|
30
|
-
import { C as ge } from "./ClientOnly-E7hGysn1.js";
|
|
31
|
-
import { CircleXIcon as Vt, SearchIcon as Xt, SunIcon as Gt, MoonIcon as _t, MenuIcon as Wt, PanelLeftIcon as Jt } from "lucide-react";
|
|
32
|
-
import { Drawer as Ve, DrawerTrigger as Xe, DrawerContent as Ge, DrawerTitle as _e } from "./ui/Drawer.js";
|
|
33
|
-
import { c as Q } from "./cn-qaFjX9_3.js";
|
|
34
|
-
import { s as er, S as Se, a as tr, M as rr, u as sr } from "./useScrollToAnchor-RyqO3lj4.js";
|
|
35
|
-
import { u as nr, H as ar, P as ir, a as or, V as lr, M as cr } from "./Markdown-DePfm7oQ.js";
|
|
36
|
-
import { B as ie, S as We } from "./Spinner-1KrEmx1V.js";
|
|
37
|
-
import { isSearchPlugin as ur, isProfileMenuPlugin as dr, isNavigationPlugin as hr, isEventConsumerPlugin as fr, needsInitialization as gr, isApiIdentityPlugin as mr, isMdxProviderPlugin as pr, hasHead as xr } from "./zudoku.plugins.js";
|
|
38
|
-
import { DropdownMenu as vr, DropdownMenuTrigger as yr, DropdownMenuContent as br, DropdownMenuLabel as jr, DropdownMenuSeparator as se, DropdownMenuSub as wr, DropdownMenuSubTrigger as Pr, DropdownMenuPortal as Cr, DropdownMenuSubContent as kr, DropdownMenuItem as Sr } from "./ui/DropdownMenu.js";
|
|
39
|
-
import { j as Ne } from "./joinUrl-10po2Jdj.js";
|
|
40
|
-
import { VisuallyHidden as Je } from "@radix-ui/react-visually-hidden";
|
|
41
|
-
import { a as Nr } from "./index-CPNSgwSb.js";
|
|
42
|
-
import { C as Dr } from "./CategoryHeading-DpB47wvk.js";
|
|
43
|
-
import { o as Er } from "./objectEntries-yMIkr2mI.js";
|
|
44
|
-
var D, Ie, Mr = (Ie = class extends Be {
|
|
45
|
-
constructor(e = {}) {
|
|
46
|
-
super();
|
|
47
|
-
w(this, D);
|
|
48
|
-
this.config = e, y(this, D, /* @__PURE__ */ new Map());
|
|
49
|
-
}
|
|
50
|
-
build(e, r, n) {
|
|
51
|
-
const a = r.queryKey, i = r.queryHash ?? Le(a, r);
|
|
52
|
-
let o = this.get(i);
|
|
53
|
-
return o || (o = new vt({
|
|
54
|
-
client: e,
|
|
55
|
-
queryKey: a,
|
|
56
|
-
queryHash: i,
|
|
57
|
-
options: e.defaultQueryOptions(r),
|
|
58
|
-
state: n,
|
|
59
|
-
defaultOptions: e.getQueryDefaults(a)
|
|
60
|
-
}), this.add(o)), o;
|
|
61
|
-
}
|
|
62
|
-
add(e) {
|
|
63
|
-
l(this, D).has(e.queryHash) || (l(this, D).set(e.queryHash, e), this.notify({
|
|
64
|
-
type: "added",
|
|
65
|
-
query: e
|
|
66
|
-
}));
|
|
67
|
-
}
|
|
68
|
-
remove(e) {
|
|
69
|
-
const r = l(this, D).get(e.queryHash);
|
|
70
|
-
r && (e.destroy(), r === e && l(this, D).delete(e.queryHash), this.notify({ type: "removed", query: e }));
|
|
71
|
-
}
|
|
72
|
-
clear() {
|
|
73
|
-
P.batch(() => {
|
|
74
|
-
this.getAll().forEach((e) => {
|
|
75
|
-
this.remove(e);
|
|
76
|
-
});
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
get(e) {
|
|
80
|
-
return l(this, D).get(e);
|
|
81
|
-
}
|
|
82
|
-
getAll() {
|
|
83
|
-
return [...l(this, D).values()];
|
|
84
|
-
}
|
|
85
|
-
find(e) {
|
|
86
|
-
const r = { exact: !0, ...e };
|
|
87
|
-
return this.getAll().find(
|
|
88
|
-
(n) => ye(r, n)
|
|
89
|
-
);
|
|
90
|
-
}
|
|
91
|
-
findAll(e = {}) {
|
|
92
|
-
const r = this.getAll();
|
|
93
|
-
return Object.keys(e).length > 0 ? r.filter((n) => ye(e, n)) : r;
|
|
94
|
-
}
|
|
95
|
-
notify(e) {
|
|
96
|
-
P.batch(() => {
|
|
97
|
-
this.listeners.forEach((r) => {
|
|
98
|
-
r(e);
|
|
99
|
-
});
|
|
100
|
-
});
|
|
101
|
-
}
|
|
102
|
-
onFocus() {
|
|
103
|
-
P.batch(() => {
|
|
104
|
-
this.getAll().forEach((e) => {
|
|
105
|
-
e.onFocus();
|
|
106
|
-
});
|
|
107
|
-
});
|
|
108
|
-
}
|
|
109
|
-
onOnline() {
|
|
110
|
-
P.batch(() => {
|
|
111
|
-
this.getAll().forEach((e) => {
|
|
112
|
-
e.onOnline();
|
|
113
|
-
});
|
|
114
|
-
});
|
|
115
|
-
}
|
|
116
|
-
}, D = new WeakMap(), Ie), O, k, Y, Qe, Or = (Qe = class extends Be {
|
|
117
|
-
constructor(e = {}) {
|
|
118
|
-
super();
|
|
119
|
-
w(this, O);
|
|
120
|
-
w(this, k);
|
|
121
|
-
w(this, Y);
|
|
122
|
-
this.config = e, y(this, O, /* @__PURE__ */ new Set()), y(this, k, /* @__PURE__ */ new Map()), y(this, Y, 0);
|
|
123
|
-
}
|
|
124
|
-
build(e, r, n) {
|
|
125
|
-
const a = new Zt({
|
|
126
|
-
mutationCache: this,
|
|
127
|
-
mutationId: ++_(this, Y)._,
|
|
128
|
-
options: e.defaultMutationOptions(r),
|
|
129
|
-
state: n
|
|
130
|
-
});
|
|
131
|
-
return this.add(a), a;
|
|
132
|
-
}
|
|
133
|
-
add(e) {
|
|
134
|
-
l(this, O).add(e);
|
|
135
|
-
const r = W(e);
|
|
136
|
-
if (typeof r == "string") {
|
|
137
|
-
const n = l(this, k).get(r);
|
|
138
|
-
n ? n.push(e) : l(this, k).set(r, [e]);
|
|
139
|
-
}
|
|
140
|
-
this.notify({ type: "added", mutation: e });
|
|
141
|
-
}
|
|
142
|
-
remove(e) {
|
|
143
|
-
if (l(this, O).delete(e)) {
|
|
144
|
-
const r = W(e);
|
|
145
|
-
if (typeof r == "string") {
|
|
146
|
-
const n = l(this, k).get(r);
|
|
147
|
-
if (n)
|
|
148
|
-
if (n.length > 1) {
|
|
149
|
-
const a = n.indexOf(e);
|
|
150
|
-
a !== -1 && n.splice(a, 1);
|
|
151
|
-
} else n[0] === e && l(this, k).delete(r);
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
this.notify({ type: "removed", mutation: e });
|
|
155
|
-
}
|
|
156
|
-
canRun(e) {
|
|
157
|
-
const r = W(e);
|
|
158
|
-
if (typeof r == "string") {
|
|
159
|
-
const n = l(this, k).get(r), a = n == null ? void 0 : n.find(
|
|
160
|
-
(i) => i.state.status === "pending"
|
|
161
|
-
);
|
|
162
|
-
return !a || a === e;
|
|
163
|
-
} else
|
|
164
|
-
return !0;
|
|
165
|
-
}
|
|
166
|
-
runNext(e) {
|
|
167
|
-
var n;
|
|
168
|
-
const r = W(e);
|
|
169
|
-
if (typeof r == "string") {
|
|
170
|
-
const a = (n = l(this, k).get(r)) == null ? void 0 : n.find((i) => i !== e && i.state.isPaused);
|
|
171
|
-
return (a == null ? void 0 : a.continue()) ?? Promise.resolve();
|
|
172
|
-
} else
|
|
173
|
-
return Promise.resolve();
|
|
174
|
-
}
|
|
175
|
-
clear() {
|
|
176
|
-
P.batch(() => {
|
|
177
|
-
l(this, O).forEach((e) => {
|
|
178
|
-
this.notify({ type: "removed", mutation: e });
|
|
179
|
-
}), l(this, O).clear(), l(this, k).clear();
|
|
180
|
-
});
|
|
181
|
-
}
|
|
182
|
-
getAll() {
|
|
183
|
-
return Array.from(l(this, O));
|
|
184
|
-
}
|
|
185
|
-
find(e) {
|
|
186
|
-
const r = { exact: !0, ...e };
|
|
187
|
-
return this.getAll().find(
|
|
188
|
-
(n) => be(r, n)
|
|
189
|
-
);
|
|
190
|
-
}
|
|
191
|
-
findAll(e = {}) {
|
|
192
|
-
return this.getAll().filter((r) => be(e, r));
|
|
193
|
-
}
|
|
194
|
-
notify(e) {
|
|
195
|
-
P.batch(() => {
|
|
196
|
-
this.listeners.forEach((r) => {
|
|
197
|
-
r(e);
|
|
198
|
-
});
|
|
199
|
-
});
|
|
200
|
-
}
|
|
201
|
-
resumePausedMutations() {
|
|
202
|
-
const e = this.getAll().filter((r) => r.state.isPaused);
|
|
203
|
-
return P.batch(
|
|
204
|
-
() => Promise.all(
|
|
205
|
-
e.map((r) => r.continue().catch(M))
|
|
206
|
-
)
|
|
207
|
-
);
|
|
208
|
-
}
|
|
209
|
-
}, O = new WeakMap(), k = new WeakMap(), Y = new WeakMap(), Qe);
|
|
210
|
-
function W(t) {
|
|
211
|
-
var e;
|
|
212
|
-
return (e = t.options.scope) == null ? void 0 : e.id;
|
|
213
|
-
}
|
|
214
|
-
function De(t) {
|
|
215
|
-
return {
|
|
216
|
-
onFetch: (e, r) => {
|
|
217
|
-
var m, g, h, f, v;
|
|
218
|
-
const n = e.options, a = (h = (g = (m = e.fetchOptions) == null ? void 0 : m.meta) == null ? void 0 : g.fetchMore) == null ? void 0 : h.direction, i = ((f = e.state.data) == null ? void 0 : f.pages) || [], o = ((v = e.state.data) == null ? void 0 : v.pageParams) || [];
|
|
219
|
-
let u = { pages: [], pageParams: [] }, d = 0;
|
|
220
|
-
const c = async () => {
|
|
221
|
-
let x = !1;
|
|
222
|
-
const C = (b) => {
|
|
223
|
-
Object.defineProperty(b, "signal", {
|
|
224
|
-
enumerable: !0,
|
|
225
|
-
get: () => (e.signal.aborted ? x = !0 : e.signal.addEventListener("abort", () => {
|
|
226
|
-
x = !0;
|
|
227
|
-
}), e.signal)
|
|
228
|
-
});
|
|
229
|
-
}, X = yt(e.options, e.fetchOptions), K = async (b, N, $) => {
|
|
230
|
-
if (x)
|
|
231
|
-
return Promise.reject();
|
|
232
|
-
if (N == null && b.pages.length)
|
|
233
|
-
return Promise.resolve(b);
|
|
234
|
-
const G = {
|
|
235
|
-
client: e.client,
|
|
236
|
-
queryKey: e.queryKey,
|
|
237
|
-
pageParam: N,
|
|
238
|
-
direction: $ ? "backward" : "forward",
|
|
239
|
-
meta: e.options.meta
|
|
240
|
-
};
|
|
241
|
-
C(G);
|
|
242
|
-
const ct = await X(
|
|
243
|
-
G
|
|
244
|
-
), { maxPages: me } = e.options, pe = $ ? bt : jt;
|
|
245
|
-
return {
|
|
246
|
-
pages: pe(b.pages, ct, me),
|
|
247
|
-
pageParams: pe(b.pageParams, N, me)
|
|
248
|
-
};
|
|
249
|
-
};
|
|
250
|
-
if (a && i.length) {
|
|
251
|
-
const b = a === "backward", N = b ? Ar : Ee, $ = {
|
|
252
|
-
pages: i,
|
|
253
|
-
pageParams: o
|
|
254
|
-
}, G = N(n, $);
|
|
255
|
-
u = await K($, G, b);
|
|
256
|
-
} else {
|
|
257
|
-
const b = t ?? i.length;
|
|
258
|
-
do {
|
|
259
|
-
const N = d === 0 ? o[0] ?? n.initialPageParam : Ee(n, u);
|
|
260
|
-
if (d > 0 && N == null)
|
|
261
|
-
break;
|
|
262
|
-
u = await K(u, N), d++;
|
|
263
|
-
} while (d < b);
|
|
264
|
-
}
|
|
265
|
-
return u;
|
|
266
|
-
};
|
|
267
|
-
e.options.persister ? e.fetchFn = () => {
|
|
268
|
-
var x, C;
|
|
269
|
-
return (C = (x = e.options).persister) == null ? void 0 : C.call(
|
|
270
|
-
x,
|
|
271
|
-
c,
|
|
272
|
-
{
|
|
273
|
-
client: e.client,
|
|
274
|
-
queryKey: e.queryKey,
|
|
275
|
-
meta: e.options.meta,
|
|
276
|
-
signal: e.signal
|
|
277
|
-
},
|
|
278
|
-
r
|
|
279
|
-
);
|
|
280
|
-
} : e.fetchFn = c;
|
|
281
|
-
}
|
|
282
|
-
};
|
|
283
|
-
}
|
|
284
|
-
function Ee(t, { pages: e, pageParams: r }) {
|
|
285
|
-
const n = e.length - 1;
|
|
286
|
-
return e.length > 0 ? t.getNextPageParam(
|
|
287
|
-
e[n],
|
|
288
|
-
e,
|
|
289
|
-
r[n],
|
|
290
|
-
r
|
|
291
|
-
) : void 0;
|
|
292
|
-
}
|
|
293
|
-
function Ar(t, { pages: e, pageParams: r }) {
|
|
294
|
-
var n;
|
|
295
|
-
return e.length > 0 ? (n = t.getPreviousPageParam) == null ? void 0 : n.call(t, e[0], e, r[0], r) : void 0;
|
|
296
|
-
}
|
|
297
|
-
var p, A, q, R, F, T, H, B, Re, qr = (Re = class {
|
|
298
|
-
constructor(t = {}) {
|
|
299
|
-
w(this, p);
|
|
300
|
-
w(this, A);
|
|
301
|
-
w(this, q);
|
|
302
|
-
w(this, R);
|
|
303
|
-
w(this, F);
|
|
304
|
-
w(this, T);
|
|
305
|
-
w(this, H);
|
|
306
|
-
w(this, B);
|
|
307
|
-
y(this, p, t.queryCache || new Mr()), y(this, A, t.mutationCache || new Or()), y(this, q, t.defaultOptions || {}), y(this, R, /* @__PURE__ */ new Map()), y(this, F, /* @__PURE__ */ new Map()), y(this, T, 0);
|
|
308
|
-
}
|
|
309
|
-
mount() {
|
|
310
|
-
_(this, T)._++, l(this, T) === 1 && (y(this, H, wt.subscribe(async (t) => {
|
|
311
|
-
t && (await this.resumePausedMutations(), l(this, p).onFocus());
|
|
312
|
-
})), y(this, B, je.subscribe(async (t) => {
|
|
313
|
-
t && (await this.resumePausedMutations(), l(this, p).onOnline());
|
|
314
|
-
})));
|
|
315
|
-
}
|
|
316
|
-
unmount() {
|
|
317
|
-
var t, e;
|
|
318
|
-
_(this, T)._--, l(this, T) === 0 && ((t = l(this, H)) == null || t.call(this), y(this, H, void 0), (e = l(this, B)) == null || e.call(this), y(this, B, void 0));
|
|
319
|
-
}
|
|
320
|
-
isFetching(t) {
|
|
321
|
-
return l(this, p).findAll({ ...t, fetchStatus: "fetching" }).length;
|
|
322
|
-
}
|
|
323
|
-
isMutating(t) {
|
|
324
|
-
return l(this, A).findAll({ ...t, status: "pending" }).length;
|
|
325
|
-
}
|
|
326
|
-
getQueryData(t) {
|
|
327
|
-
var r;
|
|
328
|
-
const e = this.defaultQueryOptions({ queryKey: t });
|
|
329
|
-
return (r = l(this, p).get(e.queryHash)) == null ? void 0 : r.state.data;
|
|
330
|
-
}
|
|
331
|
-
ensureQueryData(t) {
|
|
332
|
-
const e = this.defaultQueryOptions(t), r = l(this, p).build(this, e), n = r.state.data;
|
|
333
|
-
return n === void 0 ? this.fetchQuery(t) : (t.revalidateIfStale && r.isStaleByTime(we(e.staleTime, r)) && this.prefetchQuery(e), Promise.resolve(n));
|
|
334
|
-
}
|
|
335
|
-
getQueriesData(t) {
|
|
336
|
-
return l(this, p).findAll(t).map(({ queryKey: e, state: r }) => {
|
|
337
|
-
const n = r.data;
|
|
338
|
-
return [e, n];
|
|
339
|
-
});
|
|
340
|
-
}
|
|
341
|
-
setQueryData(t, e, r) {
|
|
342
|
-
const n = this.defaultQueryOptions({ queryKey: t }), a = l(this, p).get(
|
|
343
|
-
n.queryHash
|
|
344
|
-
), i = a == null ? void 0 : a.state.data, o = Pt(e, i);
|
|
345
|
-
if (o !== void 0)
|
|
346
|
-
return l(this, p).build(this, n).setData(o, { ...r, manual: !0 });
|
|
347
|
-
}
|
|
348
|
-
setQueriesData(t, e, r) {
|
|
349
|
-
return P.batch(
|
|
350
|
-
() => l(this, p).findAll(t).map(({ queryKey: n }) => [
|
|
351
|
-
n,
|
|
352
|
-
this.setQueryData(n, e, r)
|
|
353
|
-
])
|
|
354
|
-
);
|
|
355
|
-
}
|
|
356
|
-
getQueryState(t) {
|
|
357
|
-
var r;
|
|
358
|
-
const e = this.defaultQueryOptions({ queryKey: t });
|
|
359
|
-
return (r = l(this, p).get(
|
|
360
|
-
e.queryHash
|
|
361
|
-
)) == null ? void 0 : r.state;
|
|
362
|
-
}
|
|
363
|
-
removeQueries(t) {
|
|
364
|
-
const e = l(this, p);
|
|
365
|
-
P.batch(() => {
|
|
366
|
-
e.findAll(t).forEach((r) => {
|
|
367
|
-
e.remove(r);
|
|
368
|
-
});
|
|
369
|
-
});
|
|
370
|
-
}
|
|
371
|
-
resetQueries(t, e) {
|
|
372
|
-
const r = l(this, p), n = {
|
|
373
|
-
type: "active",
|
|
374
|
-
...t
|
|
375
|
-
};
|
|
376
|
-
return P.batch(() => (r.findAll(t).forEach((a) => {
|
|
377
|
-
a.reset();
|
|
378
|
-
}), this.refetchQueries(n, e)));
|
|
379
|
-
}
|
|
380
|
-
cancelQueries(t, e = {}) {
|
|
381
|
-
const r = { revert: !0, ...e }, n = P.batch(
|
|
382
|
-
() => l(this, p).findAll(t).map((a) => a.cancel(r))
|
|
383
|
-
);
|
|
384
|
-
return Promise.all(n).then(M).catch(M);
|
|
385
|
-
}
|
|
386
|
-
invalidateQueries(t, e = {}) {
|
|
387
|
-
return P.batch(() => {
|
|
388
|
-
if (l(this, p).findAll(t).forEach((n) => {
|
|
389
|
-
n.invalidate();
|
|
390
|
-
}), (t == null ? void 0 : t.refetchType) === "none")
|
|
391
|
-
return Promise.resolve();
|
|
392
|
-
const r = {
|
|
393
|
-
...t,
|
|
394
|
-
type: (t == null ? void 0 : t.refetchType) ?? (t == null ? void 0 : t.type) ?? "active"
|
|
395
|
-
};
|
|
396
|
-
return this.refetchQueries(r, e);
|
|
397
|
-
});
|
|
398
|
-
}
|
|
399
|
-
refetchQueries(t, e = {}) {
|
|
400
|
-
const r = {
|
|
401
|
-
...e,
|
|
402
|
-
cancelRefetch: e.cancelRefetch ?? !0
|
|
403
|
-
}, n = P.batch(
|
|
404
|
-
() => l(this, p).findAll(t).filter((a) => !a.isDisabled()).map((a) => {
|
|
405
|
-
let i = a.fetch(void 0, r);
|
|
406
|
-
return r.throwOnError || (i = i.catch(M)), a.state.fetchStatus === "paused" ? Promise.resolve() : i;
|
|
407
|
-
})
|
|
408
|
-
);
|
|
409
|
-
return Promise.all(n).then(M);
|
|
410
|
-
}
|
|
411
|
-
fetchQuery(t) {
|
|
412
|
-
const e = this.defaultQueryOptions(t);
|
|
413
|
-
e.retry === void 0 && (e.retry = !1);
|
|
414
|
-
const r = l(this, p).build(this, e);
|
|
415
|
-
return r.isStaleByTime(
|
|
416
|
-
we(e.staleTime, r)
|
|
417
|
-
) ? r.fetch(e) : Promise.resolve(r.state.data);
|
|
418
|
-
}
|
|
419
|
-
prefetchQuery(t) {
|
|
420
|
-
return this.fetchQuery(t).then(M).catch(M);
|
|
421
|
-
}
|
|
422
|
-
fetchInfiniteQuery(t) {
|
|
423
|
-
return t.behavior = De(t.pages), this.fetchQuery(t);
|
|
424
|
-
}
|
|
425
|
-
prefetchInfiniteQuery(t) {
|
|
426
|
-
return this.fetchInfiniteQuery(t).then(M).catch(M);
|
|
427
|
-
}
|
|
428
|
-
ensureInfiniteQueryData(t) {
|
|
429
|
-
return t.behavior = De(t.pages), this.ensureQueryData(t);
|
|
430
|
-
}
|
|
431
|
-
resumePausedMutations() {
|
|
432
|
-
return je.isOnline() ? l(this, A).resumePausedMutations() : Promise.resolve();
|
|
433
|
-
}
|
|
434
|
-
getQueryCache() {
|
|
435
|
-
return l(this, p);
|
|
436
|
-
}
|
|
437
|
-
getMutationCache() {
|
|
438
|
-
return l(this, A);
|
|
439
|
-
}
|
|
440
|
-
getDefaultOptions() {
|
|
441
|
-
return l(this, q);
|
|
442
|
-
}
|
|
443
|
-
setDefaultOptions(t) {
|
|
444
|
-
y(this, q, t);
|
|
445
|
-
}
|
|
446
|
-
setQueryDefaults(t, e) {
|
|
447
|
-
l(this, R).set(Pe(t), {
|
|
448
|
-
queryKey: t,
|
|
449
|
-
defaultOptions: e
|
|
450
|
-
});
|
|
451
|
-
}
|
|
452
|
-
getQueryDefaults(t) {
|
|
453
|
-
const e = [...l(this, R).values()], r = {};
|
|
454
|
-
return e.forEach((n) => {
|
|
455
|
-
Ce(t, n.queryKey) && Object.assign(r, n.defaultOptions);
|
|
456
|
-
}), r;
|
|
457
|
-
}
|
|
458
|
-
setMutationDefaults(t, e) {
|
|
459
|
-
l(this, F).set(Pe(t), {
|
|
460
|
-
mutationKey: t,
|
|
461
|
-
defaultOptions: e
|
|
462
|
-
});
|
|
463
|
-
}
|
|
464
|
-
getMutationDefaults(t) {
|
|
465
|
-
const e = [...l(this, F).values()];
|
|
466
|
-
let r = {};
|
|
467
|
-
return e.forEach((n) => {
|
|
468
|
-
Ce(t, n.mutationKey) && (r = { ...r, ...n.defaultOptions });
|
|
469
|
-
}), r;
|
|
470
|
-
}
|
|
471
|
-
defaultQueryOptions(t) {
|
|
472
|
-
if (t._defaulted)
|
|
473
|
-
return t;
|
|
474
|
-
const e = {
|
|
475
|
-
...l(this, q).queries,
|
|
476
|
-
...this.getQueryDefaults(t.queryKey),
|
|
477
|
-
...t,
|
|
478
|
-
_defaulted: !0
|
|
479
|
-
};
|
|
480
|
-
return e.queryHash || (e.queryHash = Le(
|
|
481
|
-
e.queryKey,
|
|
482
|
-
e
|
|
483
|
-
)), e.refetchOnReconnect === void 0 && (e.refetchOnReconnect = e.networkMode !== "always"), e.throwOnError === void 0 && (e.throwOnError = !!e.suspense), !e.networkMode && e.persister && (e.networkMode = "offlineFirst"), e.queryFn === Ct && (e.enabled = !1), e;
|
|
484
|
-
}
|
|
485
|
-
defaultMutationOptions(t) {
|
|
486
|
-
return t != null && t._defaulted ? t : {
|
|
487
|
-
...l(this, q).mutations,
|
|
488
|
-
...(t == null ? void 0 : t.mutationKey) && this.getMutationDefaults(t.mutationKey),
|
|
489
|
-
...t,
|
|
490
|
-
_defaulted: !0
|
|
491
|
-
};
|
|
492
|
-
}
|
|
493
|
-
clear() {
|
|
494
|
-
l(this, p).clear(), l(this, A).clear();
|
|
495
|
-
}
|
|
496
|
-
}, p = new WeakMap(), A = new WeakMap(), q = new WeakMap(), R = new WeakMap(), F = new WeakMap(), T = new WeakMap(), H = new WeakMap(), B = new WeakMap(), Re);
|
|
497
|
-
function Tr(t) {
|
|
498
|
-
return t;
|
|
499
|
-
}
|
|
500
|
-
function Me(t, e, r) {
|
|
501
|
-
var d, c;
|
|
502
|
-
if (typeof e != "object" || e === null)
|
|
503
|
-
return;
|
|
504
|
-
const n = t.getMutationCache(), a = t.getQueryCache(), i = ((d = r == null ? void 0 : r.defaultOptions) == null ? void 0 : d.deserializeData) ?? ((c = t.getDefaultOptions().hydrate) == null ? void 0 : c.deserializeData) ?? Tr, o = e.mutations || [], u = e.queries || [];
|
|
505
|
-
o.forEach(({ state: m, ...g }) => {
|
|
506
|
-
var h, f;
|
|
507
|
-
n.build(
|
|
508
|
-
t,
|
|
509
|
-
{
|
|
510
|
-
...(h = t.getDefaultOptions().hydrate) == null ? void 0 : h.mutations,
|
|
511
|
-
...(f = r == null ? void 0 : r.defaultOptions) == null ? void 0 : f.mutations,
|
|
512
|
-
...g
|
|
513
|
-
},
|
|
514
|
-
m
|
|
515
|
-
);
|
|
516
|
-
}), u.forEach(({ queryKey: m, state: g, queryHash: h, meta: f, promise: v }) => {
|
|
517
|
-
var X, K;
|
|
518
|
-
let x = a.get(h);
|
|
519
|
-
const C = g.data === void 0 ? g.data : i(g.data);
|
|
520
|
-
if (x) {
|
|
521
|
-
if (x.state.dataUpdatedAt < g.dataUpdatedAt) {
|
|
522
|
-
const { fetchStatus: b, ...N } = g;
|
|
523
|
-
x.setState({
|
|
524
|
-
...N,
|
|
525
|
-
data: C
|
|
526
|
-
});
|
|
527
|
-
}
|
|
528
|
-
} else
|
|
529
|
-
x = a.build(
|
|
530
|
-
t,
|
|
531
|
-
{
|
|
532
|
-
...(X = t.getDefaultOptions().hydrate) == null ? void 0 : X.queries,
|
|
533
|
-
...(K = r == null ? void 0 : r.defaultOptions) == null ? void 0 : K.queries,
|
|
534
|
-
queryKey: m,
|
|
535
|
-
queryHash: h,
|
|
536
|
-
meta: f
|
|
537
|
-
},
|
|
538
|
-
// Reset fetch status to idle to avoid
|
|
539
|
-
// query being stuck in fetching state upon hydration
|
|
540
|
-
{
|
|
541
|
-
...g,
|
|
542
|
-
data: C,
|
|
543
|
-
fetchStatus: "idle"
|
|
544
|
-
}
|
|
545
|
-
);
|
|
546
|
-
if (v) {
|
|
547
|
-
const b = Promise.resolve(v).then(i);
|
|
548
|
-
x.fetch(void 0, { initialPromise: b });
|
|
549
|
-
}
|
|
550
|
-
});
|
|
551
|
-
}
|
|
552
|
-
var Oe = (t, e) => typeof t == "object" && t !== null && e in t, Ir = ({
|
|
553
|
-
children: t,
|
|
554
|
-
options: e = {},
|
|
555
|
-
state: r,
|
|
556
|
-
queryClient: n
|
|
557
|
-
}) => {
|
|
558
|
-
const a = kt(n), [i, o] = U.useState(), u = U.useRef(e);
|
|
559
|
-
return u.current = e, U.useMemo(() => {
|
|
560
|
-
if (r) {
|
|
561
|
-
if (typeof r != "object")
|
|
562
|
-
return;
|
|
563
|
-
const d = a.getQueryCache(), c = r.queries || [], m = [], g = [];
|
|
564
|
-
for (const h of c) {
|
|
565
|
-
const f = d.get(h.queryHash);
|
|
566
|
-
if (!f)
|
|
567
|
-
m.push(h);
|
|
568
|
-
else {
|
|
569
|
-
const v = h.state.dataUpdatedAt > f.state.dataUpdatedAt || // RSC special serialized then-able chunks
|
|
570
|
-
Oe(h.promise, "status") && Oe(f.promise, "status") && h.promise.status !== f.promise.status, x = i == null ? void 0 : i.find(
|
|
571
|
-
(C) => C.queryHash === h.queryHash
|
|
572
|
-
);
|
|
573
|
-
v && (!x || h.state.dataUpdatedAt > x.state.dataUpdatedAt) && g.push(h);
|
|
574
|
-
}
|
|
575
|
-
}
|
|
576
|
-
m.length > 0 && Me(a, { queries: m }, u.current), g.length > 0 && o(
|
|
577
|
-
(h) => h ? [...h, ...g] : g
|
|
578
|
-
);
|
|
579
|
-
}
|
|
580
|
-
}, [a, i, r]), U.useEffect(() => {
|
|
581
|
-
i && (Me(a, { queries: i }, u.current), o(void 0));
|
|
582
|
-
}, [a, i]), t;
|
|
583
|
-
};
|
|
584
|
-
const Qr = (t) => {
|
|
585
|
-
const e = V(t);
|
|
586
|
-
return e.current = t, I(() => {
|
|
587
|
-
e.current = t;
|
|
588
|
-
}, [t]), e;
|
|
589
|
-
}, Rr = () => {
|
|
590
|
-
var o;
|
|
591
|
-
const t = L(), e = E(), r = ft(), n = te(), a = Qr(n.pathname), i = (o = e.options.protectedRoutes) == null ? void 0 : o.some(
|
|
592
|
-
(u) => gt({ path: u, end: !0 }, n.pathname)
|
|
593
|
-
);
|
|
594
|
-
if (St({
|
|
595
|
-
queryKey: ["login-redirect"],
|
|
596
|
-
queryFn: async () => {
|
|
597
|
-
var u;
|
|
598
|
-
return await new Promise((d) => setTimeout(d, 1200)), await ((u = e.authentication) == null ? void 0 : u.signIn({
|
|
599
|
-
redirectTo: a.current
|
|
600
|
-
})), !0;
|
|
601
|
-
},
|
|
602
|
-
enabled: typeof window < "u" && i && !t.isPending && !t.isAuthenticated
|
|
603
|
-
}), i && !t.isAuthenticated)
|
|
604
|
-
return /* @__PURE__ */ s.jsx(
|
|
605
|
-
At,
|
|
606
|
-
{
|
|
607
|
-
open: !0,
|
|
608
|
-
onOpenChange: (u) => {
|
|
609
|
-
u || r(-1);
|
|
610
|
-
},
|
|
611
|
-
children: /* @__PURE__ */ s.jsxs(qt, { children: [
|
|
612
|
-
/* @__PURE__ */ s.jsx(Tt, { children: /* @__PURE__ */ s.jsx(It, { children: "Logging you in..." }) }),
|
|
613
|
-
/* @__PURE__ */ s.jsx(Qt, { children: "Please wait while we log you in." })
|
|
614
|
-
] })
|
|
615
|
-
}
|
|
616
|
-
);
|
|
617
|
-
if (i && !t.isAuthEnabled)
|
|
618
|
-
throw new $e("Authentication is not enabled", {
|
|
619
|
-
title: "Authentication is not enabled",
|
|
620
|
-
developerHint: "To use protectedRoutes you need authentication to be enabled"
|
|
621
|
-
});
|
|
622
|
-
return /* @__PURE__ */ s.jsx(ce, {});
|
|
623
|
-
};
|
|
624
|
-
function Fr({ error: t }) {
|
|
625
|
-
return /* @__PURE__ */ s.jsx(Ye, { error: t });
|
|
626
|
-
}
|
|
627
|
-
/**
|
|
628
|
-
* react-router v7.1.5
|
|
629
|
-
*
|
|
630
|
-
* Copyright (c) Remix Software Inc.
|
|
631
|
-
*
|
|
632
|
-
* This source code is licensed under the MIT license found in the
|
|
633
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
634
|
-
*
|
|
635
|
-
* @license MIT
|
|
636
|
-
*/
|
|
637
|
-
function Hr(t) {
|
|
638
|
-
return /* @__PURE__ */ U.createElement(mt, { flushSync: Yt.flushSync, ...t });
|
|
639
|
-
}
|
|
640
|
-
const oe = he({ stagger: !1 }), Br = new qr({
|
|
641
|
-
defaultOptions: {
|
|
642
|
-
queries: {
|
|
643
|
-
staleTime: 1e3 * 60 * 5
|
|
644
|
-
}
|
|
645
|
-
}
|
|
646
|
-
}), Lr = ({
|
|
647
|
-
router: t,
|
|
648
|
-
hydrate: e = !1
|
|
649
|
-
}) => /* @__PURE__ */ s.jsx(Ue, { children: /* @__PURE__ */ s.jsx(ze, { client: Br, children: /* @__PURE__ */ s.jsx(Ir, { state: e ? window.DATA : void 0, children: /* @__PURE__ */ s.jsx(Fe, { children: /* @__PURE__ */ s.jsx(oe.Provider, { value: { stagger: !e }, children: /* @__PURE__ */ s.jsx(Hr, { router: t }) }) }) }) }) }), zr = ({
|
|
650
|
-
router: t,
|
|
651
|
-
context: e,
|
|
652
|
-
queryClient: r,
|
|
653
|
-
helmetContext: n
|
|
654
|
-
}) => /* @__PURE__ */ s.jsx(Ue, { children: /* @__PURE__ */ s.jsx(ze, { client: r, children: /* @__PURE__ */ s.jsx(Fe, { context: n, children: /* @__PURE__ */ s.jsx(pt, { router: t, context: e }) }) }) });
|
|
655
|
-
var Z = { exports: {} }, Kr = Z.exports, Ae;
|
|
656
|
-
function $r() {
|
|
657
|
-
return Ae || (Ae = 1, function(t, e) {
|
|
658
|
-
(function(r, n) {
|
|
659
|
-
n(e, Rt);
|
|
660
|
-
})(Kr, function(r, n) {
|
|
661
|
-
const a = {
|
|
662
|
-
delay: 500,
|
|
663
|
-
minDuration: 200,
|
|
664
|
-
ssr: !0
|
|
665
|
-
};
|
|
666
|
-
function i() {
|
|
667
|
-
const [u, d] = n.useState(!0);
|
|
668
|
-
return n.useEffect(() => {
|
|
669
|
-
d(!1);
|
|
670
|
-
}, []), u;
|
|
671
|
-
}
|
|
672
|
-
function o(u, d) {
|
|
673
|
-
d = Object.assign({}, a, d);
|
|
674
|
-
const c = i() && d.ssr, m = c && u ? "DISPLAY" : "IDLE", [g, h] = n.useState(m), f = n.useRef(null);
|
|
675
|
-
return n.useEffect(() => {
|
|
676
|
-
if (u && (g === "IDLE" || c)) {
|
|
677
|
-
clearTimeout(f.current);
|
|
678
|
-
const v = c ? 0 : d.delay;
|
|
679
|
-
f.current = setTimeout(() => {
|
|
680
|
-
if (!u)
|
|
681
|
-
return h("IDLE");
|
|
682
|
-
f.current = setTimeout(() => {
|
|
683
|
-
h("EXPIRE");
|
|
684
|
-
}, d.minDuration), h("DISPLAY");
|
|
685
|
-
}, v), c || h("DELAY");
|
|
686
|
-
}
|
|
687
|
-
!u && g !== "DISPLAY" && (clearTimeout(f.current), h("IDLE"));
|
|
688
|
-
}, [u, g, d.delay, d.minDuration, c]), n.useEffect(() => () => clearTimeout(f.current), []), g === "DISPLAY" || g === "EXPIRE";
|
|
689
|
-
}
|
|
690
|
-
r.defaultOptions = a, r.useSpinDelay = o;
|
|
691
|
-
});
|
|
692
|
-
}(Z, Z.exports)), Z.exports;
|
|
693
|
-
}
|
|
694
|
-
var Ur = $r();
|
|
695
|
-
const Zr = () => {
|
|
696
|
-
const t = te(), e = V(t.pathname);
|
|
697
|
-
I(() => {
|
|
698
|
-
const r = e.current !== t.pathname, n = t.hash !== "";
|
|
699
|
-
r && !n && window.scrollTo(0, 0), e.current = t.pathname;
|
|
700
|
-
}, [t.pathname, t.hash]);
|
|
701
|
-
};
|
|
702
|
-
function Yr({
|
|
703
|
-
className: t,
|
|
704
|
-
...e
|
|
705
|
-
}) {
|
|
706
|
-
return /* @__PURE__ */ s.jsx(
|
|
707
|
-
"div",
|
|
708
|
-
{
|
|
709
|
-
className: Q("animate-pulse rounded-md bg-muted", t),
|
|
710
|
-
...e
|
|
711
|
-
}
|
|
712
|
-
);
|
|
713
|
-
}
|
|
714
|
-
const qe = {
|
|
715
|
-
info: "bg-blue-500",
|
|
716
|
-
note: "bg-gray-500",
|
|
717
|
-
tip: "bg-green-600",
|
|
718
|
-
caution: "bg-orange-500",
|
|
719
|
-
danger: "bg-rose-500"
|
|
720
|
-
}, Vr = () => {
|
|
721
|
-
const { page: t } = E(), [e, r] = z(!0);
|
|
722
|
-
if (!(t != null && t.banner) || !e)
|
|
723
|
-
return /* @__PURE__ */ s.jsx("style", { children: ":root { --banner-height: 0px; }" });
|
|
724
|
-
const n = t.banner.color && t.banner.color in qe ? qe[t.banner.color] : t.banner.color ? void 0 : "bg-primary", a = n ? {} : { backgroundColor: t.banner.color };
|
|
725
|
-
return /* @__PURE__ */ s.jsxs(
|
|
726
|
-
"div",
|
|
727
|
-
{
|
|
728
|
-
className: Q(
|
|
729
|
-
"relative text-primary-foreground text-sm font-medium px-4 py-2 flex gap-2 items-center",
|
|
730
|
-
n
|
|
731
|
-
),
|
|
732
|
-
"data-pagefind-ignore": "all",
|
|
733
|
-
style: a,
|
|
734
|
-
children: [
|
|
735
|
-
/* @__PURE__ */ s.jsx("div", { className: "w-full", children: t.banner.message }),
|
|
736
|
-
t.banner.dismissible && /* @__PURE__ */ s.jsx(
|
|
737
|
-
"button",
|
|
738
|
-
{
|
|
739
|
-
type: "button",
|
|
740
|
-
className: "md:absolute md:right-4 -m-1.5 p-1.5 hover:bg-accent-foreground/10 rounded-md",
|
|
741
|
-
onClick: () => r(!1),
|
|
742
|
-
children: /* @__PURE__ */ s.jsx(Vt, { size: 16 })
|
|
743
|
-
}
|
|
744
|
-
)
|
|
745
|
-
]
|
|
746
|
-
}
|
|
747
|
-
);
|
|
748
|
-
}, et = ({ className: t }) => {
|
|
749
|
-
const e = E(), [r, n] = z(!1), a = Ft(() => n(!1), []);
|
|
750
|
-
I(() => {
|
|
751
|
-
if (r)
|
|
752
|
-
return;
|
|
753
|
-
function o(u) {
|
|
754
|
-
u.key === "k" && (u.metaKey || u.ctrlKey) && (u.preventDefault(), n(!0));
|
|
755
|
-
}
|
|
756
|
-
return window.addEventListener("keydown", o), () => {
|
|
757
|
-
window.removeEventListener("keydown", o);
|
|
758
|
-
};
|
|
759
|
-
}, [r, n]);
|
|
760
|
-
const i = e.plugins.find(ur);
|
|
761
|
-
return i ? /* @__PURE__ */ s.jsxs("div", { className: t, children: [
|
|
762
|
-
/* @__PURE__ */ s.jsxs(
|
|
763
|
-
"button",
|
|
764
|
-
{
|
|
765
|
-
type: "button",
|
|
766
|
-
onClick: () => n(!0),
|
|
767
|
-
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",
|
|
768
|
-
children: [
|
|
769
|
-
/* @__PURE__ */ s.jsxs("div", { className: "flex items-center gap-2 flex-grow", children: [
|
|
770
|
-
/* @__PURE__ */ s.jsx(Xt, { size: 14 }),
|
|
771
|
-
"Search"
|
|
772
|
-
] }),
|
|
773
|
-
/* @__PURE__ */ s.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" })
|
|
774
|
-
]
|
|
775
|
-
}
|
|
776
|
-
),
|
|
777
|
-
/* @__PURE__ */ s.jsx(fe, { fallback: null, children: i.renderSearch({
|
|
778
|
-
isOpen: r,
|
|
779
|
-
onClose: a
|
|
780
|
-
}) })
|
|
781
|
-
] }) : null;
|
|
782
|
-
}, tt = () => {
|
|
783
|
-
const { resolvedTheme: t, setTheme: e } = He();
|
|
784
|
-
return /* @__PURE__ */ s.jsx(ge, { fallback: /* @__PURE__ */ s.jsx(ie, { variant: "ghost", size: "icon" }), children: /* @__PURE__ */ s.jsxs(
|
|
785
|
-
"button",
|
|
786
|
-
{
|
|
787
|
-
type: "button",
|
|
788
|
-
className: "flex rounded-full border p-0.5 gap-0.5 group",
|
|
789
|
-
onClick: () => e(t === "dark" ? "light" : "dark"),
|
|
790
|
-
"aria-label": t === "dark" ? "Switch to light mode" : "Switch to dark mode",
|
|
791
|
-
children: [
|
|
792
|
-
/* @__PURE__ */ s.jsx(
|
|
793
|
-
"div",
|
|
794
|
-
{
|
|
795
|
-
className: Q(
|
|
796
|
-
"border border-transparent rounded-full p-0.5 [&>svg>circle]:transition-colors [&>svg>path]:transition-transform transition-all [&>svg>path]:duration-200 [&>svg>circle]:duration-500 [&>svg>circle]:fill-transparent",
|
|
797
|
-
t === "light" && "border-border bg-muted",
|
|
798
|
-
t === "dark" && "group-hover:[&>svg>path]:scale-110 group-hover:[&>svg>path]:-translate-x-[1px] group-hover:[&>svg>path]:-translate-y-[1px] group-hover:rotate-[15deg] "
|
|
799
|
-
),
|
|
800
|
-
children: /* @__PURE__ */ s.jsx(Gt, { size: 16 })
|
|
801
|
-
}
|
|
802
|
-
),
|
|
803
|
-
/* @__PURE__ */ s.jsx(
|
|
804
|
-
"div",
|
|
805
|
-
{
|
|
806
|
-
className: Q(
|
|
807
|
-
"border border-transparent rounded-full p-0.5 transition-transform transform-gpu duration-500",
|
|
808
|
-
t === "dark" && "border-border bg-muted [&>svg>path]:fill-white [&>svg>path]:stroke-transparent",
|
|
809
|
-
t === "light" && "group-hover:rotate-[-10deg] [&>svg>path]:stroke-currentColor"
|
|
810
|
-
),
|
|
811
|
-
children: /* @__PURE__ */ s.jsx(_t, { size: 16 })
|
|
812
|
-
}
|
|
813
|
-
)
|
|
814
|
-
]
|
|
815
|
-
}
|
|
816
|
-
) });
|
|
817
|
-
}, rt = (t) => (e) => e.display === "auth" && t || e.display === "anon" && !t || !e.display || e.display === "always", Xr = () => {
|
|
818
|
-
const { topNavigation: t } = E(), { isAuthenticated: e } = L();
|
|
819
|
-
return t.length <= 1 ? /* @__PURE__ */ s.jsx("style", { children: ":root { --top-nav-height: 0px; }" }) : /* @__PURE__ */ s.jsx(fe, { children: /* @__PURE__ */ s.jsxs("div", { className: " items-center justify-between px-8 h-[--top-nav-height] hidden lg:flex text-sm", children: [
|
|
820
|
-
/* @__PURE__ */ s.jsx("nav", { className: "text-sm", children: /* @__PURE__ */ s.jsx("ul", { className: "flex flex-row items-center gap-8", children: t.filter(rt(e)).map((r) => /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx(st, { ...r }) }, r.id)) }) }),
|
|
821
|
-
/* @__PURE__ */ s.jsx(S, { name: "top-navigation-side" })
|
|
822
|
-
] }) });
|
|
823
|
-
}, st = ({
|
|
824
|
-
id: t,
|
|
825
|
-
label: e,
|
|
826
|
-
default: r
|
|
827
|
-
}) => {
|
|
828
|
-
var c;
|
|
829
|
-
const { sidebars: n } = E(), a = n[t], i = Ke(), o = !!ue().location, u = ((c = i.topNavItem) == null ? void 0 : c.id) === t && !o, d = r ?? (a ? Nt(a, (m) => {
|
|
830
|
-
if (m.type === "doc") return ae(m.id);
|
|
831
|
-
}) : ae(t));
|
|
832
|
-
if (!d)
|
|
833
|
-
throw new $e("Page not found.", {
|
|
834
|
-
developerHint: `No links found in top navigation for '${t}'. Check that the sidebar isn't empty or that a default link is set.`
|
|
835
|
-
});
|
|
836
|
-
return (
|
|
837
|
-
// We don't use isActive here because it has to be inside the sidebar,
|
|
838
|
-
// the top nav id doesn't necessarily start with the sidebar id
|
|
839
|
-
/* @__PURE__ */ s.jsx(
|
|
840
|
-
xt,
|
|
841
|
-
{
|
|
842
|
-
className: ({ isPending: m }) => Nr(
|
|
843
|
-
"block lg:py-3.5 font-medium -mb-px",
|
|
844
|
-
u || m ? "border-primary text-foreground" : "border-transparent text-foreground/75 hover:text-foreground hover:border-accent-foreground/25"
|
|
845
|
-
),
|
|
846
|
-
to: d,
|
|
847
|
-
children: e
|
|
848
|
-
}
|
|
849
|
-
)
|
|
850
|
-
);
|
|
851
|
-
}, Gr = () => {
|
|
852
|
-
const { topNavigation: t } = E(), { isAuthenticated: e } = L(), [r, n] = z(!1);
|
|
853
|
-
return /* @__PURE__ */ s.jsxs(
|
|
854
|
-
Ve,
|
|
855
|
-
{
|
|
856
|
-
direction: "right",
|
|
857
|
-
open: r,
|
|
858
|
-
onOpenChange: (a) => n(a),
|
|
859
|
-
children: [
|
|
860
|
-
/* @__PURE__ */ s.jsx("div", { className: "flex lg:hidden justify-self-end", children: /* @__PURE__ */ s.jsx(Xe, { className: "lg:hidden", children: /* @__PURE__ */ s.jsx(Wt, { size: 22 }) }) }),
|
|
861
|
-
/* @__PURE__ */ s.jsx(
|
|
862
|
-
Ge,
|
|
863
|
-
{
|
|
864
|
-
className: "lg:hidden h-[100dvh] right-0 left-auto w-[320px] rounded-none",
|
|
865
|
-
"aria-describedby": void 0,
|
|
866
|
-
children: /* @__PURE__ */ s.jsxs("div", { className: "p-4 overflow-y-auto overscroll-none", children: [
|
|
867
|
-
/* @__PURE__ */ s.jsx(Je, { children: /* @__PURE__ */ s.jsx(_e, { children: "Navigation" }) }),
|
|
868
|
-
/* @__PURE__ */ s.jsx(et, { className: "flex p-4" }),
|
|
869
|
-
/* @__PURE__ */ s.jsxs("ul", { className: "flex flex-col items-center gap-4 p-4", children: [
|
|
870
|
-
/* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx(tt, {}) }),
|
|
871
|
-
t.filter(rt(e)).map((a) => /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx("button", { onClick: () => n(!1), children: /* @__PURE__ */ s.jsx(st, { ...a }) }) }, a.label))
|
|
872
|
-
] })
|
|
873
|
-
] })
|
|
874
|
-
}
|
|
875
|
-
)
|
|
876
|
-
]
|
|
877
|
-
}
|
|
878
|
-
);
|
|
879
|
-
}, ee = ({ item: t }) => t.children ? /* @__PURE__ */ s.jsxs(wr, { children: [
|
|
880
|
-
/* @__PURE__ */ s.jsx(Pr, { children: t.label }),
|
|
881
|
-
/* @__PURE__ */ s.jsx(Cr, { children: /* @__PURE__ */ s.jsx(kr, { children: t.children.map((e, r) => (
|
|
882
|
-
// eslint-disable-next-line react/no-array-index-key
|
|
883
|
-
/* @__PURE__ */ s.jsx(ee, { item: e }, r)
|
|
884
|
-
)) }) })
|
|
885
|
-
] }, t.label) : /* @__PURE__ */ s.jsx(de, { to: t.path ?? "", children: /* @__PURE__ */ s.jsxs(Sr, { className: "flex gap-2", children: [
|
|
886
|
-
t.icon && /* @__PURE__ */ s.jsx(t.icon, { size: 16, strokeWidth: 1, absoluteStrokeWidth: !0 }),
|
|
887
|
-
t.label
|
|
888
|
-
] }, t.label) }), nt = Ze(function() {
|
|
889
|
-
const e = L(), { isAuthenticated: r, profile: n, isAuthEnabled: a } = L(), i = E(), { page: o, plugins: u } = i, d = u.filter((c) => dr(c)).flatMap((c) => c.getProfileMenuItems(i)).sort((c) => c.weight ?? 0);
|
|
890
|
-
return /* @__PURE__ */ s.jsxs("header", { className: "sticky lg:top-0 z-10 bg-background/80 backdrop-blur w-full", children: [
|
|
891
|
-
/* @__PURE__ */ s.jsx(Vr, {}),
|
|
892
|
-
/* @__PURE__ */ s.jsx("div", { className: "border-b", children: /* @__PURE__ */ s.jsxs("div", { className: "max-w-screen-2xl 2xl:border-x mx-auto grid grid-cols-[1fr_auto] lg:grid-cols-[calc(var(--side-nav-width))_1fr] lg:gap-12 items-center px-4 lg:px-8 h-[--top-header-height]", children: [
|
|
893
|
-
/* @__PURE__ */ s.jsx("div", { className: "flex", children: /* @__PURE__ */ s.jsx(de, { to: "/", children: /* @__PURE__ */ s.jsxs("div", { className: "flex items-center gap-3.5", children: [
|
|
894
|
-
(o == null ? void 0 : o.logo) && /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
895
|
-
/* @__PURE__ */ s.jsx(
|
|
896
|
-
"img",
|
|
897
|
-
{
|
|
898
|
-
src: /https?:\/\//.test(o.logo.src.light) ? o.logo.src.light : Ne(
|
|
899
|
-
"/",
|
|
900
|
-
o.logo.src.light
|
|
901
|
-
),
|
|
902
|
-
alt: o.logo.alt ?? o.pageTitle,
|
|
903
|
-
style: { width: o.logo.width },
|
|
904
|
-
className: "h-10 dark:hidden",
|
|
905
|
-
loading: "lazy"
|
|
906
|
-
}
|
|
907
|
-
),
|
|
908
|
-
/* @__PURE__ */ s.jsx(
|
|
909
|
-
"img",
|
|
910
|
-
{
|
|
911
|
-
src: /https?:\/\//.test(o.logo.src.dark) ? o.logo.src.dark : Ne(
|
|
912
|
-
"/",
|
|
913
|
-
o.logo.src.dark
|
|
914
|
-
),
|
|
915
|
-
alt: o.logo.alt ?? o.pageTitle,
|
|
916
|
-
style: { width: o.logo.width },
|
|
917
|
-
className: "h-10 hidden dark:block",
|
|
918
|
-
loading: "lazy"
|
|
919
|
-
}
|
|
920
|
-
)
|
|
921
|
-
] }),
|
|
922
|
-
/* @__PURE__ */ s.jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children: o == null ? void 0 : o.pageTitle })
|
|
923
|
-
] }) }) }),
|
|
924
|
-
/* @__PURE__ */ s.jsxs("div", { className: "grid grid-cols-1 lg:grid-cols-[--sidecar-grid-cols] items-center gap-8", children: [
|
|
925
|
-
/* @__PURE__ */ s.jsx("div", { className: "w-full justify-center hidden lg:flex", children: /* @__PURE__ */ s.jsx(et, {}) }),
|
|
926
|
-
/* @__PURE__ */ s.jsx(Gr, {}),
|
|
927
|
-
/* @__PURE__ */ s.jsxs("div", { className: "hidden lg:flex items-center justify-self-end text-sm gap-2", children: [
|
|
928
|
-
/* @__PURE__ */ s.jsx(S, { name: "head-navigation-start" }),
|
|
929
|
-
a && /* @__PURE__ */ s.jsx(
|
|
930
|
-
ge,
|
|
931
|
-
{
|
|
932
|
-
fallback: /* @__PURE__ */ s.jsx(Yr, { className: "rounded h-5 w-24 mr-4" }),
|
|
933
|
-
children: r ? Object.values(d).length > 0 && /* @__PURE__ */ s.jsxs(vr, { modal: !1, children: [
|
|
934
|
-
/* @__PURE__ */ s.jsx(yr, { asChild: !0, children: /* @__PURE__ */ s.jsx(ie, { variant: "ghost", children: n != null && n.name ? `${n.name}` : "My Account" }) }),
|
|
935
|
-
/* @__PURE__ */ s.jsxs(br, { className: "w-56", children: [
|
|
936
|
-
/* @__PURE__ */ s.jsxs(jr, { children: [
|
|
937
|
-
n != null && n.name ? `${n.name}` : "My Account",
|
|
938
|
-
(n == null ? void 0 : n.email) && /* @__PURE__ */ s.jsx("div", { className: "font-normal text-muted-foreground", children: n.email })
|
|
939
|
-
] }),
|
|
940
|
-
d.filter((c) => c.category === "top").length > 0 && /* @__PURE__ */ s.jsx(se, {}),
|
|
941
|
-
d.filter((c) => c.category === "top").map((c) => /* @__PURE__ */ s.jsx(ee, { item: c }, c.label)),
|
|
942
|
-
d.filter(
|
|
943
|
-
(c) => !c.category || c.category === "middle"
|
|
944
|
-
).length > 0 && /* @__PURE__ */ s.jsx(se, {}),
|
|
945
|
-
d.filter(
|
|
946
|
-
(c) => !c.category || c.category === "middle"
|
|
947
|
-
).map((c) => /* @__PURE__ */ s.jsx(ee, { item: c }, c.label)),
|
|
948
|
-
d.filter((c) => c.category === "bottom").length > 0 && /* @__PURE__ */ s.jsx(se, {}),
|
|
949
|
-
d.filter((c) => c.category === "bottom").map((c) => /* @__PURE__ */ s.jsx(ee, { item: c }, c.label))
|
|
950
|
-
] })
|
|
951
|
-
] }) : /* @__PURE__ */ s.jsx(ie, { variant: "ghost", onClick: () => e.login(), children: "Login" })
|
|
952
|
-
}
|
|
953
|
-
),
|
|
954
|
-
/* @__PURE__ */ s.jsx(S, { name: "head-navigation-end" }),
|
|
955
|
-
/* @__PURE__ */ s.jsx(tt, {})
|
|
956
|
-
] })
|
|
957
|
-
] })
|
|
958
|
-
] }) }),
|
|
959
|
-
/* @__PURE__ */ s.jsx("div", { className: "border-b hidden lg:block", children: /* @__PURE__ */ s.jsxs("div", { className: "max-w-screen-2xl mx-auto 2xl:border-x", children: [
|
|
960
|
-
/* @__PURE__ */ s.jsx(S, { name: "top-navigation-before" }),
|
|
961
|
-
/* @__PURE__ */ s.jsx(Xr, {}),
|
|
962
|
-
/* @__PURE__ */ s.jsx(S, { name: "top-navigation-after" })
|
|
963
|
-
] }) })
|
|
964
|
-
] });
|
|
965
|
-
}), at = Ht(({ children: t, className: e, pushMainContent: r }, n) => /* @__PURE__ */ s.jsx(
|
|
966
|
-
"nav",
|
|
967
|
-
{
|
|
968
|
-
"data-navigation": String(r),
|
|
969
|
-
className: Q(
|
|
970
|
-
"scrollbar peer hidden lg:flex flex-col fixed text-sm overflow-y-auto shrink-0 border-r pr-6",
|
|
971
|
-
"-mx-[--padding-nav-item] pb-20 pt-[--padding-content-top]",
|
|
972
|
-
"w-[--side-nav-width] h-[calc(100%-var(--header-height))] scroll-pt-2 gap-2",
|
|
973
|
-
!r && "border-r-0",
|
|
974
|
-
e
|
|
975
|
-
),
|
|
976
|
-
ref: n,
|
|
977
|
-
children: t
|
|
978
|
-
}
|
|
979
|
-
));
|
|
980
|
-
at.displayName = "SidebarWrapper";
|
|
981
|
-
const _r = ({
|
|
982
|
-
onRequestClose: t
|
|
983
|
-
}) => {
|
|
984
|
-
const e = V(null), r = Ke();
|
|
985
|
-
return I(() => {
|
|
986
|
-
var a;
|
|
987
|
-
const n = (a = e.current) == null ? void 0 : a.querySelector('[aria-current="page"]');
|
|
988
|
-
er(n ?? null);
|
|
989
|
-
}, []), /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
990
|
-
/* @__PURE__ */ s.jsxs(
|
|
991
|
-
at,
|
|
992
|
-
{
|
|
993
|
-
ref: e,
|
|
994
|
-
pushMainContent: r.sidebar.length > 0,
|
|
995
|
-
children: [
|
|
996
|
-
/* @__PURE__ */ s.jsx(S, { name: "zudoku-before-navigation" }),
|
|
997
|
-
r.sidebar.map((n) => /* @__PURE__ */ s.jsx(Se, { item: n }, n.label)),
|
|
998
|
-
/* @__PURE__ */ s.jsx(S, { name: "zudoku-after-navigation" })
|
|
999
|
-
]
|
|
1000
|
-
}
|
|
1001
|
-
),
|
|
1002
|
-
/* @__PURE__ */ s.jsx(
|
|
1003
|
-
Ge,
|
|
1004
|
-
{
|
|
1005
|
-
className: "lg:hidden h-[100dvh] left-0 w-[320px] rounded-none",
|
|
1006
|
-
"aria-describedby": void 0,
|
|
1007
|
-
children: /* @__PURE__ */ s.jsxs("div", { className: "p-4 overflow-y-auto overscroll-none", children: [
|
|
1008
|
-
/* @__PURE__ */ s.jsx(Je, { children: /* @__PURE__ */ s.jsx(_e, { children: "Sidebar" }) }),
|
|
1009
|
-
r.sidebar.map((n) => /* @__PURE__ */ s.jsx(
|
|
1010
|
-
Se,
|
|
1011
|
-
{
|
|
1012
|
-
item: n,
|
|
1013
|
-
onRequestClose: t
|
|
1014
|
-
},
|
|
1015
|
-
n.label
|
|
1016
|
-
))
|
|
1017
|
-
] })
|
|
1018
|
-
}
|
|
1019
|
-
)
|
|
1020
|
-
] });
|
|
1021
|
-
}, Te = () => /* @__PURE__ */ s.jsx("main", { className: "grid h-[calc(100vh-var(--header-height))] place-items-center", children: /* @__PURE__ */ s.jsx(We, {}) }), Wr = ({ children: t }) => {
|
|
1022
|
-
const e = te(), { setActiveAnchor: r } = nr(), { meta: n, authentication: a } = E();
|
|
1023
|
-
tr(), Zr();
|
|
1024
|
-
const i = V(e.pathname);
|
|
1025
|
-
I(() => {
|
|
1026
|
-
var m;
|
|
1027
|
-
(m = a == null ? void 0 : a.onPageLoad) == null || m.call(a);
|
|
1028
|
-
}, [a]), I(() => {
|
|
1029
|
-
e.pathname !== i.current && r(""), i.current = e.pathname;
|
|
1030
|
-
}, [e.pathname, r]);
|
|
1031
|
-
const o = !!ue().location, u = Ur.useSpinDelay(o, {
|
|
1032
|
-
delay: 300,
|
|
1033
|
-
minDuration: 500
|
|
1034
|
-
}), [d, c] = z(!1);
|
|
1035
|
-
return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
1036
|
-
!1,
|
|
1037
|
-
/* @__PURE__ */ s.jsxs(le, { titleTemplate: n == null ? void 0 : n.title, children: [
|
|
1038
|
-
(n == null ? void 0 : n.description) && /* @__PURE__ */ s.jsx("meta", { name: "description", content: n.description }),
|
|
1039
|
-
(n == null ? void 0 : n.favicon) && /* @__PURE__ */ s.jsx("link", { rel: "icon", href: n.favicon })
|
|
1040
|
-
] }),
|
|
1041
|
-
/* @__PURE__ */ s.jsx(S, { name: "layout-before-head" }),
|
|
1042
|
-
/* @__PURE__ */ s.jsx(nt, {}),
|
|
1043
|
-
/* @__PURE__ */ s.jsx(S, { name: "layout-after-head" }),
|
|
1044
|
-
/* @__PURE__ */ s.jsx("div", { className: "w-full min-h-[calc(100vh-var(--header-height))] max-w-screen-2xl mx-auto px-4 lg:px-8 2xl:border-x", children: u ? /* @__PURE__ */ s.jsx(Te, {}) : /* @__PURE__ */ s.jsx(fe, { fallback: /* @__PURE__ */ s.jsx(Te, {}), children: /* @__PURE__ */ s.jsxs(
|
|
1045
|
-
Ve,
|
|
1046
|
-
{
|
|
1047
|
-
direction: "left",
|
|
1048
|
-
open: d,
|
|
1049
|
-
onOpenChange: (m) => c(m),
|
|
1050
|
-
children: [
|
|
1051
|
-
/* @__PURE__ */ s.jsx(_r, { onRequestClose: () => c(!1) }),
|
|
1052
|
-
/* @__PURE__ */ s.jsx(
|
|
1053
|
-
"div",
|
|
1054
|
-
{
|
|
1055
|
-
className: Q(
|
|
1056
|
-
"lg:hidden -mx-4 px-4 py-2 sticky bg-background/80 backdrop-blur z-10 top-0 left-0 right-0 border-b",
|
|
1057
|
-
"peer-data-[navigation=false]:hidden"
|
|
1058
|
-
),
|
|
1059
|
-
children: /* @__PURE__ */ s.jsxs(Xe, { className: "flex items-center gap-2", children: [
|
|
1060
|
-
/* @__PURE__ */ s.jsx(Jt, { size: 16, strokeWidth: 1.5 }),
|
|
1061
|
-
/* @__PURE__ */ s.jsx("span", { className: "text-sm", children: "Menu" })
|
|
1062
|
-
] })
|
|
1063
|
-
}
|
|
1064
|
-
),
|
|
1065
|
-
/* @__PURE__ */ s.jsxs(
|
|
1066
|
-
"main",
|
|
1067
|
-
{
|
|
1068
|
-
"data-pagefind-body": !0,
|
|
1069
|
-
className: Q(
|
|
1070
|
-
"h-full dark:border-white/10 translate-x-0",
|
|
1071
|
-
"lg:overflow-visible",
|
|
1072
|
-
// This works in tandem with the `SidebarWrapper` component
|
|
1073
|
-
"lg:peer-data-[navigation=true]:w-[calc(100%-var(--side-nav-width))]",
|
|
1074
|
-
"lg:peer-data-[navigation=true]:translate-x-[--side-nav-width] lg:peer-data-[navigation=true]:pl-12"
|
|
1075
|
-
),
|
|
1076
|
-
children: [
|
|
1077
|
-
/* @__PURE__ */ s.jsx(S, { name: "zudoku-before-content" }),
|
|
1078
|
-
t ?? /* @__PURE__ */ s.jsx(ce, {}),
|
|
1079
|
-
/* @__PURE__ */ s.jsx(S, { name: "zudoku-after-content" })
|
|
1080
|
-
]
|
|
1081
|
-
}
|
|
1082
|
-
)
|
|
1083
|
-
]
|
|
1084
|
-
}
|
|
1085
|
-
) }) })
|
|
1086
|
-
] });
|
|
1087
|
-
}, Jr = ({
|
|
1088
|
-
title: t = "An error occurred",
|
|
1089
|
-
message: e,
|
|
1090
|
-
category: r
|
|
1091
|
-
}) => /* @__PURE__ */ s.jsxs("div", { className: ir + " h-full pt-[--padding-content-top]", children: [
|
|
1092
|
-
r && /* @__PURE__ */ s.jsx(Dr, { children: r }),
|
|
1093
|
-
t && /* @__PURE__ */ s.jsx(ar, { level: 1, className: "flex gap-3.5 items-center", children: t }),
|
|
1094
|
-
/* @__PURE__ */ s.jsx("p", { children: e })
|
|
1095
|
-
] }), es = (t) => {
|
|
1096
|
-
switch (t) {
|
|
1097
|
-
case 400:
|
|
1098
|
-
return {
|
|
1099
|
-
title: "Bad Request",
|
|
1100
|
-
message: "The request could not be understood by the server due to malformed syntax."
|
|
1101
|
-
};
|
|
1102
|
-
case 403:
|
|
1103
|
-
return {
|
|
1104
|
-
title: "Forbidden",
|
|
1105
|
-
message: "You don't have permission to access this resource."
|
|
1106
|
-
};
|
|
1107
|
-
case 404:
|
|
1108
|
-
return {
|
|
1109
|
-
title: "Not Found",
|
|
1110
|
-
message: "The requested resource could not be found."
|
|
1111
|
-
};
|
|
1112
|
-
case 405:
|
|
1113
|
-
return {
|
|
1114
|
-
title: "Method Not Allowed",
|
|
1115
|
-
message: "The request method is not supported for the requested resource."
|
|
1116
|
-
};
|
|
1117
|
-
case 414:
|
|
1118
|
-
return {
|
|
1119
|
-
title: "Request URI Too Large",
|
|
1120
|
-
message: "The request URI is too large."
|
|
1121
|
-
};
|
|
1122
|
-
case 416:
|
|
1123
|
-
return {
|
|
1124
|
-
title: "Range Not Satisfiable",
|
|
1125
|
-
message: "The server cannot satisfy the request range."
|
|
1126
|
-
};
|
|
1127
|
-
case 500:
|
|
1128
|
-
return {
|
|
1129
|
-
title: "Internal Server Error",
|
|
1130
|
-
message: "An unexpected error occurred while processing your request."
|
|
1131
|
-
};
|
|
1132
|
-
case 501:
|
|
1133
|
-
return {
|
|
1134
|
-
title: "Not Implemented",
|
|
1135
|
-
message: "The server does not support the functionality required to fulfill the request."
|
|
1136
|
-
};
|
|
1137
|
-
case 502:
|
|
1138
|
-
return {
|
|
1139
|
-
title: "Bad Gateway",
|
|
1140
|
-
message: "The server received an invalid response from the upstream server."
|
|
1141
|
-
};
|
|
1142
|
-
case 503:
|
|
1143
|
-
return {
|
|
1144
|
-
title: "Service Unavailable",
|
|
1145
|
-
message: "The server is temporarily unable to handle the request."
|
|
1146
|
-
};
|
|
1147
|
-
case 504:
|
|
1148
|
-
return {
|
|
1149
|
-
title: "Gateway Timeout",
|
|
1150
|
-
message: "The server did not receive a timely response from the upstream server."
|
|
1151
|
-
};
|
|
1152
|
-
default:
|
|
1153
|
-
return {
|
|
1154
|
-
title: "An error occurred",
|
|
1155
|
-
message: "Something went wrong while processing your request."
|
|
1156
|
-
};
|
|
1157
|
-
}
|
|
1158
|
-
}, ts = ({ statusCode: t, message: e }) => {
|
|
1159
|
-
const r = es(t);
|
|
1160
|
-
return /* @__PURE__ */ s.jsx(
|
|
1161
|
-
Jr,
|
|
1162
|
-
{
|
|
1163
|
-
title: r.title,
|
|
1164
|
-
message: e ?? r.message,
|
|
1165
|
-
category: t
|
|
1166
|
-
}
|
|
1167
|
-
);
|
|
1168
|
-
}, rs = he(null), ne = {
|
|
1169
|
-
didCatch: !1,
|
|
1170
|
-
error: null
|
|
1171
|
-
};
|
|
1172
|
-
class ss extends Bt {
|
|
1173
|
-
constructor(e) {
|
|
1174
|
-
super(e), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = ne;
|
|
1175
|
-
}
|
|
1176
|
-
static getDerivedStateFromError(e) {
|
|
1177
|
-
return {
|
|
1178
|
-
didCatch: !0,
|
|
1179
|
-
error: e
|
|
1180
|
-
};
|
|
1181
|
-
}
|
|
1182
|
-
resetErrorBoundary() {
|
|
1183
|
-
const {
|
|
1184
|
-
error: e
|
|
1185
|
-
} = this.state;
|
|
1186
|
-
if (e !== null) {
|
|
1187
|
-
for (var r, n, a = arguments.length, i = new Array(a), o = 0; o < a; o++)
|
|
1188
|
-
i[o] = arguments[o];
|
|
1189
|
-
(r = (n = this.props).onReset) === null || r === void 0 || r.call(n, {
|
|
1190
|
-
args: i,
|
|
1191
|
-
reason: "imperative-api"
|
|
1192
|
-
}), this.setState(ne);
|
|
1193
|
-
}
|
|
1194
|
-
}
|
|
1195
|
-
componentDidCatch(e, r) {
|
|
1196
|
-
var n, a;
|
|
1197
|
-
(n = (a = this.props).onError) === null || n === void 0 || n.call(a, e, r);
|
|
1198
|
-
}
|
|
1199
|
-
componentDidUpdate(e, r) {
|
|
1200
|
-
const {
|
|
1201
|
-
didCatch: n
|
|
1202
|
-
} = this.state, {
|
|
1203
|
-
resetKeys: a
|
|
1204
|
-
} = this.props;
|
|
1205
|
-
if (n && r.error !== null && ns(e.resetKeys, a)) {
|
|
1206
|
-
var i, o;
|
|
1207
|
-
(i = (o = this.props).onReset) === null || i === void 0 || i.call(o, {
|
|
1208
|
-
next: a,
|
|
1209
|
-
prev: e.resetKeys,
|
|
1210
|
-
reason: "keys"
|
|
1211
|
-
}), this.setState(ne);
|
|
1212
|
-
}
|
|
1213
|
-
}
|
|
1214
|
-
render() {
|
|
1215
|
-
const {
|
|
1216
|
-
children: e,
|
|
1217
|
-
fallbackRender: r,
|
|
1218
|
-
FallbackComponent: n,
|
|
1219
|
-
fallback: a
|
|
1220
|
-
} = this.props, {
|
|
1221
|
-
didCatch: i,
|
|
1222
|
-
error: o
|
|
1223
|
-
} = this.state;
|
|
1224
|
-
let u = e;
|
|
1225
|
-
if (i) {
|
|
1226
|
-
const d = {
|
|
1227
|
-
error: o,
|
|
1228
|
-
resetErrorBoundary: this.resetErrorBoundary
|
|
1229
|
-
};
|
|
1230
|
-
if (typeof r == "function")
|
|
1231
|
-
u = r(d);
|
|
1232
|
-
else if (n)
|
|
1233
|
-
u = ke(n, d);
|
|
1234
|
-
else if (a !== void 0)
|
|
1235
|
-
u = a;
|
|
1236
|
-
else
|
|
1237
|
-
throw o;
|
|
1238
|
-
}
|
|
1239
|
-
return ke(rs.Provider, {
|
|
1240
|
-
value: {
|
|
1241
|
-
didCatch: i,
|
|
1242
|
-
error: o,
|
|
1243
|
-
resetErrorBoundary: this.resetErrorBoundary
|
|
1244
|
-
}
|
|
1245
|
-
}, u);
|
|
1246
|
-
}
|
|
1247
|
-
}
|
|
1248
|
-
function ns() {
|
|
1249
|
-
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
|
|
1250
|
-
return t.length !== e.length || t.some((r, n) => !Object.is(r, e[n]));
|
|
1251
|
-
}
|
|
1252
|
-
let as = () => ({
|
|
1253
|
-
emit(t, ...e) {
|
|
1254
|
-
for (let r = this.events[t] || [], n = 0, a = r.length; n < a; n++)
|
|
1255
|
-
r[n](...e);
|
|
1256
|
-
},
|
|
1257
|
-
events: {},
|
|
1258
|
-
on(t, e) {
|
|
1259
|
-
var r;
|
|
1260
|
-
return ((r = this.events)[t] || (r[t] = [])).push(e), () => {
|
|
1261
|
-
var n;
|
|
1262
|
-
this.events[t] = (n = this.events[t]) == null ? void 0 : n.filter((a) => e !== a);
|
|
1263
|
-
};
|
|
1264
|
-
}
|
|
1265
|
-
});
|
|
1266
|
-
class is {
|
|
1267
|
-
constructor(e) {
|
|
1268
|
-
j(this, "plugins");
|
|
1269
|
-
j(this, "sidebars");
|
|
1270
|
-
j(this, "topNavigation");
|
|
1271
|
-
j(this, "meta");
|
|
1272
|
-
j(this, "page");
|
|
1273
|
-
j(this, "authentication");
|
|
1274
|
-
j(this, "navigationPlugins");
|
|
1275
|
-
j(this, "emitter", as());
|
|
1276
|
-
j(this, "initialize", async () => {
|
|
1277
|
-
await Promise.all(
|
|
1278
|
-
this.plugins.filter(gr).map((e) => {
|
|
1279
|
-
var r;
|
|
1280
|
-
return (r = e.initialize) == null ? void 0 : r.call(e, this);
|
|
1281
|
-
})
|
|
1282
|
-
);
|
|
1283
|
-
});
|
|
1284
|
-
j(this, "getApiIdentities", async () => (await Promise.all(
|
|
1285
|
-
this.plugins.filter(mr).map((r) => r.getIdentities(this))
|
|
1286
|
-
)).flat());
|
|
1287
|
-
j(this, "emitEvent", (e, ...r) => this.emitter.emit(e, ...r));
|
|
1288
|
-
j(this, "getPluginSidebar", async (e) => (await Promise.all(
|
|
1289
|
-
this.navigationPlugins.map(
|
|
1290
|
-
(n) => {
|
|
1291
|
-
var a;
|
|
1292
|
-
return (a = n.getSidebar) == null ? void 0 : a.call(n, ae(e));
|
|
1293
|
-
}
|
|
1294
|
-
)
|
|
1295
|
-
)).flatMap((n) => n ?? []));
|
|
1296
|
-
j(this, "signRequest", async (e) => {
|
|
1297
|
-
if (!this.authentication)
|
|
1298
|
-
throw new Error("No authentication provider configured");
|
|
1299
|
-
const r = await this.authentication.getAccessToken();
|
|
1300
|
-
return e.headers.set("Authorization", `Bearer ${r}`), e;
|
|
1301
|
-
});
|
|
1302
|
-
this.options = e, this.plugins = e.plugins ?? [], this.topNavigation = e.topNavigation ?? [], this.sidebars = e.sidebars ?? {}, this.navigationPlugins = this.plugins.filter(hr), this.authentication = e.authentication, this.meta = e.metadata, this.page = e.page, this.plugins.forEach((r) => {
|
|
1303
|
-
fr(r) && Er(r.events).forEach(([n, a]) => {
|
|
1304
|
-
this.emitter.on(n, a);
|
|
1305
|
-
});
|
|
1306
|
-
});
|
|
1307
|
-
}
|
|
1308
|
-
addEventListener(e, r) {
|
|
1309
|
-
return this.emitter.on(e, r);
|
|
1310
|
-
}
|
|
1311
|
-
}
|
|
1312
|
-
function os({ error: t, resetErrorBoundary: e }) {
|
|
1313
|
-
return /* @__PURE__ */ s.jsx(Ye, { error: t });
|
|
1314
|
-
}
|
|
1315
|
-
const J = globalThis;
|
|
1316
|
-
(!J.requestIdleCallback || !J.cancelIdleCallback) && (J.requestIdleCallback = (t) => setTimeout(t, 1), J.cancelIdleCallback = clearTimeout);
|
|
1317
|
-
const it = {
|
|
1318
|
-
Header: nt
|
|
1319
|
-
}, ls = he(it), cs = ls.Provider, us = () => {
|
|
1320
|
-
const t = te(), e = E(), r = V(void 0);
|
|
1321
|
-
return I(() => {
|
|
1322
|
-
e.emitEvent("location", {
|
|
1323
|
-
from: r.current,
|
|
1324
|
-
to: t
|
|
1325
|
-
}), r.current = t;
|
|
1326
|
-
}, [e, t]), null;
|
|
1327
|
-
}, ds = ({
|
|
1328
|
-
children: t,
|
|
1329
|
-
context: e
|
|
1330
|
-
}) => (Dt({
|
|
1331
|
-
queryFn: async () => (await e.initialize(), !0),
|
|
1332
|
-
queryKey: ["zudoku-initialize"]
|
|
1333
|
-
}), /* @__PURE__ */ s.jsx(Et.Provider, { value: e, children: t })), ot = Ze(
|
|
1334
|
-
({ children: t, ...e }) => {
|
|
1335
|
-
var g, h;
|
|
1336
|
-
const r = re(
|
|
1337
|
-
() => ({ ...it, ...e.overrides }),
|
|
1338
|
-
[e.overrides]
|
|
1339
|
-
), n = re(() => {
|
|
1340
|
-
var v;
|
|
1341
|
-
return {
|
|
1342
|
-
...(e.plugins ?? []).filter(pr).flatMap(
|
|
1343
|
-
(x) => x.getMdxComponents ? [x.getMdxComponents()] : []
|
|
1344
|
-
).reduce(
|
|
1345
|
-
(x, C) => ({ ...x, ...C }),
|
|
1346
|
-
{}
|
|
1347
|
-
),
|
|
1348
|
-
...or,
|
|
1349
|
-
...(v = e.mdx) == null ? void 0 : v.components
|
|
1350
|
-
};
|
|
1351
|
-
}, [(g = e.mdx) == null ? void 0 : g.components, e.plugins]), { stagger: a } = Lt(oe), [i, o] = z(!1), u = re(
|
|
1352
|
-
() => i ? { stagger: !0 } : { stagger: a },
|
|
1353
|
-
[a, i]
|
|
1354
|
-
), d = ue();
|
|
1355
|
-
I(() => {
|
|
1356
|
-
i || o(!0);
|
|
1357
|
-
}, [i, d.location]);
|
|
1358
|
-
const [c] = z(() => new is(e)), m = (h = e.plugins) == null ? void 0 : h.flatMap((f) => {
|
|
1359
|
-
var v;
|
|
1360
|
-
return xr(f) ? ((v = f.getHead) == null ? void 0 : v.call(f)) ?? [] : [];
|
|
1361
|
-
}).map((f, v) => /* @__PURE__ */ s.jsx(le, { children: f }, v));
|
|
1362
|
-
return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
1363
|
-
m,
|
|
1364
|
-
/* @__PURE__ */ s.jsx(oe.Provider, { value: u, children: /* @__PURE__ */ s.jsxs(ds, { context: c, children: [
|
|
1365
|
-
/* @__PURE__ */ s.jsx(us, {}),
|
|
1366
|
-
/* @__PURE__ */ s.jsx(rr, { components: n, children: /* @__PURE__ */ s.jsx(ht, { attribute: "class", disableTransitionOnChange: !0, children: /* @__PURE__ */ s.jsx(cs, { value: r, children: /* @__PURE__ */ s.jsx(zt, { slotlets: e.slotlets, children: /* @__PURE__ */ s.jsx(lr, { children: t ?? /* @__PURE__ */ s.jsx(ce, {}) }) }) }) }) })
|
|
1367
|
-
] }) })
|
|
1368
|
-
] });
|
|
1369
|
-
}
|
|
1370
|
-
);
|
|
1371
|
-
ot.displayName = "ZudokoInner";
|
|
1372
|
-
const lt = (t) => /* @__PURE__ */ s.jsx(ss, { FallbackComponent: os, children: /* @__PURE__ */ s.jsx(ot, { ...t }) });
|
|
1373
|
-
lt.displayName = "Zudoku";
|
|
1374
|
-
const Hs = sr, Bs = Wr, Ls = Kt, zs = Fr, Ks = Lr, $s = zr, Us = Rr, Zs = le, Ys = E, Vs = L, Xs = Mt, Gs = Ot, _s = lt, Ws = ts, Js = Ut, en = cr, tn = We, rn = ge, sn = $t, nn = de, an = He;
|
|
1
|
+
import "./index.esm-BFcSKCe-.js";
|
|
2
|
+
import "./index--oeBayMa.js";
|
|
3
|
+
import "./chunk-BAXFHI7N-C9WnHsLV.js";
|
|
4
|
+
import "./hook-BpiAQVtd.js";
|
|
5
|
+
import "./RouteGuard-CIyGFkFD.js";
|
|
6
|
+
import "./Slot-CiKlwC-1.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-PL1g52PU.js";
|
|
8
|
+
import "./ui/Button.js";
|
|
9
|
+
import "./ui/Callout.js";
|
|
10
|
+
import "./ClientOnly-E7hGysn1.js";
|
|
11
|
+
import "./Markdown-ms3FtIha.js";
|
|
12
|
+
import "./Spinner-mNLZ6awP.js";
|
|
1375
13
|
export {
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
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
|
|
1397
36
|
};
|
|
1398
37
|
//# sourceMappingURL=zudoku.components.js.map
|