zudoku 0.3.0-dev.9 → 0.3.0-dev.91
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/cli.js +5 -1
- package/dist/app/App.d.ts +1 -2
- package/dist/app/App.js +1 -29
- package/dist/app/App.js.map +1 -1
- package/dist/app/demo.d.ts +2 -0
- package/dist/app/demo.js +33 -0
- package/dist/app/demo.js.map +1 -0
- package/dist/app/entry.client.d.ts +2 -0
- package/dist/app/entry.client.js +35 -0
- package/dist/app/entry.client.js.map +1 -0
- package/dist/app/entry.server.d.ts +14 -0
- package/dist/app/entry.server.js +105 -0
- package/dist/app/entry.server.js.map +1 -0
- package/dist/app/main.d.ts +6 -1
- package/dist/app/main.js +74 -12
- package/dist/app/main.js.map +1 -1
- package/dist/app/standalone.d.ts +2 -0
- package/dist/app/standalone.js +38 -0
- package/dist/app/standalone.js.map +1 -0
- package/dist/app/tailwind.d.ts +1 -1
- package/dist/app/tailwind.js +0 -4
- package/dist/app/tailwind.js.map +1 -1
- package/dist/cli/cmds/dev.js +5 -0
- package/dist/cli/cmds/dev.js.map +1 -1
- package/dist/cli/dev/handler.d.ts +1 -0
- package/dist/cli/dev/handler.js +3 -1
- package/dist/cli/dev/handler.js.map +1 -1
- package/dist/config/config.d.ts +21 -46
- package/dist/config/validators/InputSidebarSchema.d.ts +176 -0
- package/dist/config/validators/InputSidebarSchema.js +71 -0
- package/dist/config/validators/InputSidebarSchema.js.map +1 -0
- package/dist/config/validators/SidebarSchema.d.ts +17 -0
- package/dist/config/validators/SidebarSchema.js +76 -0
- package/dist/config/validators/SidebarSchema.js.map +1 -0
- package/dist/config/validators/validate.d.ts +1263 -2
- package/dist/config/validators/validate.js +170 -1
- package/dist/config/validators/validate.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/internal.d.ts +1 -0
- package/dist/internal.js +2 -0
- package/dist/internal.js.map +1 -0
- package/dist/lib/authentication/AuthenticationPlugin.d.ts +13 -0
- package/dist/lib/authentication/AuthenticationPlugin.js +31 -0
- package/dist/lib/authentication/AuthenticationPlugin.js.map +1 -0
- package/dist/lib/authentication/authentication.d.ts +10 -9
- package/dist/lib/authentication/components/SignIn.d.ts +1 -0
- package/dist/lib/authentication/components/SignIn.js +14 -0
- package/dist/lib/authentication/components/SignIn.js.map +1 -0
- package/dist/lib/authentication/components/SignOut.d.ts +1 -0
- package/dist/lib/authentication/components/SignOut.js +12 -0
- package/dist/lib/authentication/components/SignOut.js.map +1 -0
- package/dist/lib/authentication/components/SignUp.d.ts +1 -0
- package/dist/lib/authentication/components/SignUp.js +10 -0
- package/dist/lib/authentication/components/SignUp.js.map +1 -0
- package/dist/lib/authentication/hook.js +4 -4
- package/dist/lib/authentication/hook.js.map +1 -1
- package/dist/lib/authentication/providers/auth0.js +11 -6
- package/dist/lib/authentication/providers/auth0.js.map +1 -1
- package/dist/lib/authentication/providers/clerk.js +59 -30
- package/dist/lib/authentication/providers/clerk.js.map +1 -1
- package/dist/lib/authentication/providers/openid.d.ts +30 -7
- package/dist/lib/authentication/providers/openid.js +79 -29
- package/dist/lib/authentication/providers/openid.js.map +1 -1
- package/dist/lib/authentication/state.js +1 -1
- package/dist/lib/authentication/state.js.map +1 -1
- package/dist/lib/components/Bootstrap.d.ts +13 -0
- package/dist/lib/components/Bootstrap.js +12 -0
- package/dist/lib/components/Bootstrap.js.map +1 -0
- package/dist/lib/components/DevPortal.d.ts +5 -23
- package/dist/lib/components/DevPortal.js +43 -20
- package/dist/lib/components/DevPortal.js.map +1 -1
- package/dist/lib/components/DeveloperHint.d.ts +5 -0
- package/dist/lib/components/DeveloperHint.js +10 -0
- package/dist/lib/components/DeveloperHint.js.map +1 -0
- package/dist/lib/components/ErrorPage.d.ts +6 -0
- package/dist/lib/components/ErrorPage.js +9 -0
- package/dist/lib/components/ErrorPage.js.map +1 -0
- package/dist/lib/components/Header.js +23 -4
- package/dist/lib/components/Header.js.map +1 -1
- package/dist/lib/components/Heading.d.ts +9 -4
- package/dist/lib/components/Heading.js +17 -2
- package/dist/lib/components/Heading.js.map +1 -1
- package/dist/lib/components/InlineCode.d.ts +5 -0
- package/dist/lib/components/InlineCode.js +4 -0
- package/dist/lib/components/InlineCode.js.map +1 -0
- package/dist/lib/components/Layout.js +7 -5
- package/dist/lib/components/Layout.js.map +1 -1
- package/dist/lib/components/NotFoundPage.d.ts +1 -0
- package/dist/lib/components/NotFoundPage.js +12 -0
- package/dist/lib/components/NotFoundPage.js.map +1 -0
- package/dist/lib/components/SlotletProvider.d.ts +9 -0
- package/dist/lib/components/SlotletProvider.js +11 -0
- package/dist/lib/components/SlotletProvider.js.map +1 -0
- package/dist/lib/components/SyntaxHighlight.d.ts +3 -2
- package/dist/lib/components/SyntaxHighlight.js +24 -22
- package/dist/lib/components/SyntaxHighlight.js.map +1 -1
- package/dist/lib/components/TopNavigation.d.ts +1 -1
- package/dist/lib/components/TopNavigation.js +8 -4
- package/dist/lib/components/TopNavigation.js.map +1 -1
- package/dist/lib/components/context/ThemeContext.d.ts +1 -4
- package/dist/lib/components/context/ThemeContext.js +3 -29
- package/dist/lib/components/context/ThemeContext.js.map +1 -1
- package/dist/lib/components/context/ThemeProvider.d.ts +4 -0
- package/dist/lib/components/context/ThemeProvider.js +23 -0
- package/dist/lib/components/context/ThemeProvider.js.map +1 -0
- package/dist/lib/components/context/ZudokuContext.d.ts +15 -0
- package/dist/lib/components/context/ZudokuContext.js +46 -0
- package/dist/lib/components/context/ZudokuContext.js.map +1 -0
- package/dist/lib/components/context/ZudokuProvider.d.ts +5 -0
- package/dist/lib/components/context/ZudokuProvider.js +16 -0
- package/dist/lib/components/context/ZudokuProvider.js.map +1 -0
- package/dist/lib/components/index.d.ts +32 -3
- package/dist/lib/components/index.js +21 -3
- package/dist/lib/components/index.js.map +1 -1
- package/dist/lib/components/navigation/Sidebar.d.ts +1 -0
- package/dist/lib/components/navigation/Sidebar.js +12 -0
- package/dist/lib/components/navigation/Sidebar.js.map +1 -0
- package/dist/lib/components/navigation/SidebarBadge.d.ts +22 -0
- package/dist/lib/components/navigation/SidebarBadge.js +24 -0
- package/dist/lib/components/navigation/SidebarBadge.js.map +1 -0
- package/dist/lib/components/navigation/SidebarCategory.d.ts +5 -0
- package/dist/lib/components/navigation/SidebarCategory.js +33 -0
- package/dist/lib/components/navigation/SidebarCategory.js.map +1 -0
- package/dist/lib/components/navigation/SidebarItem.d.ts +12 -0
- package/dist/lib/components/navigation/SidebarItem.js +42 -0
- package/dist/lib/components/navigation/SidebarItem.js.map +1 -0
- package/dist/lib/components/navigation/{SideNavigationWrapper.d.ts → SidebarWrapper.d.ts} +1 -1
- package/dist/lib/components/navigation/{SideNavigationWrapper.js → SidebarWrapper.js} +2 -2
- package/dist/lib/components/navigation/SidebarWrapper.js.map +1 -0
- package/dist/lib/components/navigation/utils.d.ts +16 -0
- package/dist/lib/components/navigation/utils.js +85 -0
- package/dist/lib/components/navigation/utils.js.map +1 -0
- package/dist/lib/core/DevPortalContext.d.ts +58 -42
- package/dist/lib/core/DevPortalContext.js +18 -19
- package/dist/lib/core/DevPortalContext.js.map +1 -1
- package/dist/lib/core/plugins.d.ts +25 -10
- package/dist/lib/core/plugins.js +3 -0
- package/dist/lib/core/plugins.js.map +1 -1
- package/dist/lib/errors/ErrorAlert.d.ts +3 -0
- package/dist/lib/errors/ErrorAlert.js +8 -0
- package/dist/lib/errors/ErrorAlert.js.map +1 -0
- package/dist/lib/errors/RouterError.d.ts +1 -0
- package/dist/lib/errors/RouterError.js +12 -0
- package/dist/lib/errors/RouterError.js.map +1 -0
- package/dist/lib/errors/ServerError.d.ts +3 -0
- package/dist/lib/errors/ServerError.js +6 -0
- package/dist/lib/errors/ServerError.js.map +1 -0
- package/dist/lib/errors/TopLevelError.d.ts +2 -0
- package/dist/lib/errors/TopLevelError.js +7 -0
- package/dist/lib/errors/TopLevelError.js.map +1 -0
- package/dist/lib/oas/graphql/index.js +8 -5
- package/dist/lib/oas/graphql/index.js.map +1 -1
- package/dist/lib/oas/parser/index.d.ts +1 -1
- package/dist/lib/oas/parser/index.js +38 -12
- package/dist/lib/oas/parser/index.js.map +1 -1
- package/dist/lib/plugins/{api-key → api-keys}/CreateApiKey.js +4 -4
- package/dist/lib/plugins/api-keys/CreateApiKey.js.map +1 -0
- package/dist/lib/plugins/api-keys/ProtectedRoute.d.ts +1 -0
- package/dist/lib/plugins/api-keys/ProtectedRoute.js +14 -0
- package/dist/lib/plugins/api-keys/ProtectedRoute.js.map +1 -0
- package/dist/lib/plugins/api-keys/SettingsApiKeys.js +54 -0
- package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -0
- package/dist/lib/plugins/{api-key → api-keys}/index.d.ts +4 -5
- package/dist/lib/plugins/{api-key → api-keys}/index.js +18 -20
- package/dist/lib/plugins/api-keys/index.js.map +1 -0
- package/dist/lib/plugins/custom-page/index.d.ts +8 -0
- package/dist/lib/plugins/custom-page/index.js +12 -0
- package/dist/lib/plugins/custom-page/index.js.map +1 -0
- package/dist/lib/plugins/markdown/MdxPage.d.ts +3 -2
- package/dist/lib/plugins/markdown/MdxPage.js +10 -40
- package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
- package/dist/lib/plugins/markdown/Toc.js +17 -9
- package/dist/lib/plugins/markdown/Toc.js.map +1 -1
- package/dist/lib/plugins/markdown/generateRoutes.d.ts +3 -3
- package/dist/lib/plugins/markdown/generateRoutes.js +20 -43
- package/dist/lib/plugins/markdown/generateRoutes.js.map +1 -1
- package/dist/lib/plugins/markdown/index.d.ts +4 -1
- package/dist/lib/plugins/markdown/index.js +3 -7
- package/dist/lib/plugins/markdown/index.js.map +1 -1
- package/dist/lib/plugins/openapi/ColorizedParam.d.ts +2 -1
- package/dist/lib/plugins/openapi/ColorizedParam.js +14 -9
- package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationList.js +17 -5
- package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.js +11 -5
- package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/ParameterList.js +2 -1
- package/dist/lib/plugins/openapi/ParameterList.js.map +1 -1
- package/dist/lib/plugins/openapi/ParameterListItem.js +1 -1
- package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/{MakeRequest.d.ts → PlaygroundDialogWrapper.d.ts} +2 -1
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +23 -0
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -0
- package/dist/lib/plugins/openapi/RequestBodySidecarBox.js +3 -9
- package/dist/lib/plugins/openapi/RequestBodySidecarBox.js.map +1 -1
- package/dist/lib/plugins/openapi/ResponsesSidecarBox.js +1 -1
- package/dist/lib/plugins/openapi/ResponsesSidecarBox.js.map +1 -1
- package/dist/lib/plugins/openapi/Route.d.ts +6 -0
- package/dist/lib/plugins/openapi/Route.js +8 -0
- package/dist/lib/plugins/openapi/Route.js.map +1 -0
- package/dist/lib/plugins/openapi/SchemaListView.js +10 -26
- package/dist/lib/plugins/openapi/SchemaListView.js.map +1 -1
- package/dist/lib/plugins/openapi/SchemaListViewItem.d.ts +8 -0
- package/dist/lib/plugins/openapi/SchemaListViewItem.js +25 -0
- package/dist/lib/plugins/openapi/SchemaListViewItem.js.map +1 -0
- package/dist/lib/plugins/openapi/SchemaListViewItemGroup.d.ts +8 -0
- package/dist/lib/plugins/openapi/SchemaListViewItemGroup.js +17 -0
- package/dist/lib/plugins/openapi/SchemaListViewItemGroup.js.map +1 -0
- package/dist/lib/plugins/openapi/Sidecar.d.ts +4 -0
- package/dist/lib/plugins/openapi/Sidecar.js +55 -21
- package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
- package/dist/lib/plugins/openapi/SidecarBox.d.ts +1 -0
- package/dist/lib/plugins/openapi/SidecarBox.js +3 -2
- package/dist/lib/plugins/openapi/SidecarBox.js.map +1 -1
- package/dist/lib/plugins/openapi/{Select.d.ts → SimpleSelect.d.ts} +3 -2
- package/dist/lib/plugins/openapi/SimpleSelect.js +5 -0
- package/dist/lib/plugins/openapi/SimpleSelect.js.map +1 -0
- package/dist/lib/plugins/openapi/StaggeredRender.d.ts +8 -0
- package/dist/lib/plugins/openapi/StaggeredRender.js +18 -0
- package/dist/lib/plugins/openapi/StaggeredRender.js.map +1 -0
- package/dist/lib/plugins/openapi/client/createMemoryClient.d.ts +12 -0
- package/dist/lib/plugins/openapi/client/createMemoryClient.js +46 -0
- package/dist/lib/plugins/openapi/client/createMemoryClient.js.map +1 -0
- package/dist/lib/plugins/openapi/client/createServer.d.ts +4 -0
- package/dist/lib/plugins/openapi/client/createServer.js +30 -0
- package/dist/lib/plugins/openapi/client/createServer.js.map +1 -0
- package/dist/lib/plugins/openapi/client/createWorkerClient.d.ts +10 -0
- package/dist/lib/plugins/openapi/{worker/createSharedWorkerClient.js → client/createWorkerClient.js} +15 -2
- package/dist/lib/plugins/openapi/client/createWorkerClient.js.map +1 -0
- package/dist/lib/plugins/openapi/client/interfaces.d.ts +4 -0
- package/dist/lib/plugins/openapi/client/interfaces.js +2 -0
- package/dist/lib/plugins/openapi/client/interfaces.js.map +1 -0
- package/dist/lib/plugins/openapi/{worker → client}/worker.js +2 -2
- package/dist/lib/plugins/openapi/client/worker.js.map +1 -0
- package/dist/lib/plugins/openapi/context.d.ts +5 -0
- package/dist/lib/plugins/openapi/context.js +11 -0
- package/dist/lib/plugins/openapi/context.js.map +1 -0
- package/dist/lib/plugins/openapi/graphql/gql.d.ts +6 -6
- package/dist/lib/plugins/openapi/graphql/gql.js +1 -1
- package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/graphql.d.ts +15 -15
- package/dist/lib/plugins/openapi/graphql/graphql.js +67 -67
- package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
- package/dist/lib/plugins/openapi/index.d.ts +4 -18
- package/dist/lib/plugins/openapi/index.js +76 -32
- package/dist/lib/plugins/openapi/index.js.map +1 -1
- package/dist/lib/plugins/openapi/interfaces.d.ts +16 -0
- package/dist/lib/plugins/openapi/interfaces.js +2 -0
- package/dist/lib/plugins/openapi/interfaces.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/Headers.js +1 -1
- package/dist/lib/plugins/openapi/playground/Headers.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/PathParams.d.ts +4 -5
- package/dist/lib/plugins/openapi/playground/PathParams.js +9 -13
- package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/Playground.d.ts +26 -14
- package/dist/lib/plugins/openapi/playground/Playground.js +54 -26
- package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/PlaygroundDialog.d.ts +5 -0
- package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js +12 -0
- package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/QueryParams.d.ts +4 -3
- package/dist/lib/plugins/openapi/playground/QueryParams.js +21 -12
- package/dist/lib/plugins/openapi/playground/QueryParams.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/ResponseTab.d.ts +4 -0
- package/dist/lib/plugins/openapi/playground/ResponseTab.js +40 -0
- package/dist/lib/plugins/openapi/playground/ResponseTab.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/createUrl.d.ts +1 -1
- package/dist/lib/plugins/openapi/playground/createUrl.js +5 -9
- package/dist/lib/plugins/openapi/playground/createUrl.js.map +1 -1
- package/dist/lib/plugins/openapi/util/prose.d.ts +1 -0
- package/dist/lib/plugins/openapi/util/prose.js +4 -0
- package/dist/lib/plugins/openapi/util/prose.js.map +1 -0
- package/dist/lib/plugins/openapi-worker.d.ts +1 -1
- package/dist/lib/plugins/openapi-worker.js +1 -1
- package/dist/lib/plugins/openapi-worker.js.map +1 -1
- package/dist/lib/plugins/redirect/index.d.ts +0 -1
- package/dist/lib/plugins/redirect/index.js +3 -4
- package/dist/lib/plugins/redirect/index.js.map +1 -1
- package/dist/lib/ui/Button.d.ts +5 -1
- package/dist/lib/ui/Button.js +24 -1
- package/dist/lib/ui/Button.js.map +1 -1
- package/dist/lib/ui/Callout.js +2 -2
- package/dist/lib/ui/Callout.js.map +1 -1
- package/dist/lib/ui/Card.js +1 -1
- package/dist/lib/ui/Card.js.map +1 -1
- package/dist/lib/ui/DropdownMenu.d.ts +27 -0
- package/dist/lib/ui/DropdownMenu.js +36 -0
- package/dist/lib/ui/DropdownMenu.js.map +1 -0
- package/dist/lib/ui/Input.js.map +1 -0
- package/dist/lib/util/MdxComponents.d.ts +2 -2
- package/dist/lib/util/MdxComponents.js +7 -5
- package/dist/lib/util/MdxComponents.js.map +1 -1
- package/dist/lib/util/fetchTimeout.d.ts +1 -0
- package/dist/lib/util/fetchTimeout.js +14 -0
- package/dist/lib/util/fetchTimeout.js.map +1 -0
- package/dist/lib/util/groupBy.d.ts +1 -6
- package/dist/lib/util/groupBy.js +10 -8
- package/dist/lib/util/groupBy.js.map +1 -1
- package/dist/lib/util/invariant.d.ts +6 -0
- package/dist/lib/util/invariant.js +21 -0
- package/dist/lib/util/invariant.js.map +1 -0
- package/dist/lib/util/joinPath.js +2 -1
- package/dist/lib/util/joinPath.js.map +1 -1
- package/dist/lib/util/logInit.d.ts +1 -0
- package/dist/lib/util/logInit.js +9 -0
- package/dist/lib/util/logInit.js.map +1 -0
- package/dist/lib/util/objectEntries.d.ts +4 -0
- package/dist/lib/util/objectEntries.js +2 -0
- package/dist/lib/util/objectEntries.js.map +1 -0
- package/dist/lib/util/renderIf.d.ts +1 -0
- package/dist/lib/util/renderIf.js +2 -0
- package/dist/lib/util/renderIf.js.map +1 -0
- package/dist/lib/util/requestIdleCallbackPolyfill.d.ts +1 -0
- package/dist/lib/util/requestIdleCallbackPolyfill.js +7 -0
- package/dist/lib/util/requestIdleCallbackPolyfill.js.map +1 -0
- package/dist/lib/util/useScrollToAnchor.js +31 -17
- package/dist/lib/util/useScrollToAnchor.js.map +1 -1
- package/dist/vite/build.js +30 -7
- package/dist/vite/build.js.map +1 -1
- package/dist/vite/config.d.ts +20 -12
- package/dist/vite/config.js +107 -55
- package/dist/vite/config.js.map +1 -1
- package/dist/vite/config.test.js +6 -3
- package/dist/vite/config.test.js.map +1 -1
- package/dist/vite/dev-server.d.ts +2 -1
- package/dist/vite/dev-server.js +44 -15
- package/dist/vite/dev-server.js.map +1 -1
- package/dist/vite/html.js +18 -5
- package/dist/vite/html.js.map +1 -1
- package/dist/vite/plugin-api-keys.js +7 -8
- package/dist/vite/plugin-api-keys.js.map +1 -1
- package/dist/vite/plugin-api.js +9 -20
- package/dist/vite/plugin-api.js.map +1 -1
- package/dist/vite/plugin-auth.js +5 -6
- package/dist/vite/plugin-auth.js.map +1 -1
- package/dist/vite/plugin-component.js +5 -2
- package/dist/vite/plugin-component.js.map +1 -1
- package/dist/vite/plugin-config.d.ts +3 -6
- package/dist/vite/plugin-config.js +5 -8
- package/dist/vite/plugin-config.js.map +1 -1
- package/dist/vite/plugin-custom-css.d.ts +6 -0
- package/dist/vite/plugin-custom-css.js +54 -0
- package/dist/vite/plugin-custom-css.js.map +1 -0
- package/dist/vite/plugin-docs.js +11 -5
- package/dist/vite/plugin-docs.js.map +1 -1
- package/dist/vite/plugin-mdx.d.ts +3 -1
- package/dist/vite/plugin-mdx.js +5 -5
- package/dist/vite/plugin-mdx.js.map +1 -1
- package/dist/vite/plugin-metadata.js +1 -1
- package/dist/vite/plugin-metadata.js.map +1 -1
- package/dist/vite/plugin-redirect.js +10 -10
- package/dist/vite/plugin-redirect.js.map +1 -1
- package/dist/vite/plugin-sidebar.d.ts +3 -0
- package/dist/vite/plugin-sidebar.js +23 -0
- package/dist/vite/plugin-sidebar.js.map +1 -0
- package/dist/vite/plugin.js +5 -5
- package/dist/vite/plugin.js.map +1 -1
- package/dist/vite/prerender.d.ts +17 -0
- package/dist/vite/prerender.js +79 -0
- package/dist/vite/prerender.js.map +1 -0
- package/lib/AuthenticationPlugin-CH5NSVOu.js +55 -0
- package/lib/AuthenticationPlugin-CH5NSVOu.js.map +1 -0
- package/lib/CategoryHeading-BWq12Bfa.js +10 -0
- package/lib/CategoryHeading-BWq12Bfa.js.map +1 -0
- package/lib/Combination-D-9IH0zy.js +2789 -0
- package/lib/Combination-D-9IH0zy.js.map +1 -0
- package/lib/DeveloperHint-BQSFXH01.js +10 -0
- package/lib/DeveloperHint-BQSFXH01.js.map +1 -0
- package/lib/Input-HmAaR6kw.js +2239 -0
- package/lib/Input-HmAaR6kw.js.map +1 -0
- package/lib/Markdown-B_Gax7at.js +14108 -0
- package/lib/Markdown-B_Gax7at.js.map +1 -0
- package/lib/MdxPage-3-PenZs2.js +187 -0
- package/lib/MdxPage-3-PenZs2.js.map +1 -0
- package/lib/OperationList-DvKqvB16.js +448 -0
- package/lib/OperationList-DvKqvB16.js.map +1 -0
- package/lib/Route-CnmaDun4.js +14 -0
- package/lib/Route-CnmaDun4.js.map +1 -0
- package/lib/SlotletProvider-CzMAO73_.js +82 -0
- package/lib/SlotletProvider-CzMAO73_.js.map +1 -0
- package/lib/Spinner-D99Tq0hv.js +274 -0
- package/lib/Spinner-D99Tq0hv.js.map +1 -0
- package/lib/ZudokuContext-BIZ8zHbZ.js +1084 -0
- package/lib/ZudokuContext-BIZ8zHbZ.js.map +1 -0
- package/lib/_commonjsHelpers-BVfed4GL.js +29 -0
- package/lib/_commonjsHelpers-BVfed4GL.js.map +1 -0
- package/lib/assets/index-BPdJm2ty.js +1 -0
- package/lib/assets/index-BPdJm2ty.js.map +1 -0
- package/lib/assets/{worker-BCcpCNJ7.js → worker-CyHZIIfE.js} +10727 -10300
- package/lib/assets/worker-CyHZIIfE.js.map +1 -0
- package/lib/index-7kcHaXD6.js +1771 -0
- package/lib/index-7kcHaXD6.js.map +1 -0
- package/lib/index-7nswqEVR.js +124 -0
- package/lib/index-7nswqEVR.js.map +1 -0
- package/lib/index-DjaqWcmv.js +5934 -0
- package/lib/index-DjaqWcmv.js.map +1 -0
- package/lib/index-pI9JkN46.js +4765 -0
- package/lib/index-pI9JkN46.js.map +1 -0
- package/lib/joinPath-VeNuJa7y.js +8 -0
- package/lib/joinPath-VeNuJa7y.js.map +1 -0
- package/lib/jsx-runtime-B6kdoens.js +635 -0
- package/lib/jsx-runtime-B6kdoens.js.map +1 -0
- package/lib/prism-bash.min-DadFsM4Z.js +1 -0
- package/lib/prism-bash.min-DadFsM4Z.js.map +1 -0
- package/lib/prism-csharp.min-Yizuc34Y.js +1 -0
- package/lib/prism-csharp.min-Yizuc34Y.js.map +1 -0
- package/lib/prism-java.min-d5iT_mOd.js +1 -0
- package/lib/prism-java.min-d5iT_mOd.js.map +1 -0
- package/lib/prism-json.min-B1GJqK1k.js +1 -0
- package/lib/prism-json.min-B1GJqK1k.js.map +1 -0
- package/lib/prism-markup-templating-DZrrEs0A.js +1 -0
- package/lib/prism-markup-templating-DZrrEs0A.js.map +1 -0
- package/lib/prism-objectivec.min-BXSWqpJJ.js +1 -0
- package/lib/prism-objectivec.min-BXSWqpJJ.js.map +1 -0
- package/lib/prism-php.min-o7FpoMP_.js +1 -0
- package/lib/prism-php.min-o7FpoMP_.js.map +1 -0
- package/lib/prism-ruby.min-C7LwcKyz.js +1 -0
- package/lib/prism-ruby.min-C7LwcKyz.js.map +1 -0
- package/lib/router-BiRCp01d.js +2971 -0
- package/lib/router-BiRCp01d.js.map +1 -0
- package/lib/slugify-CiPVjteN.js +28 -0
- package/lib/slugify-CiPVjteN.js.map +1 -0
- package/lib/state-DsXXkBLH.js +288 -0
- package/lib/state-DsXXkBLH.js.map +1 -0
- package/lib/{urql-DMlBWUKL.js → urql-DrBfkb92.js} +2 -2
- package/lib/urql-DrBfkb92.js.map +1 -0
- package/lib/utils-D3g3xyZM.js +749 -0
- package/lib/utils-D3g3xyZM.js.map +1 -0
- package/lib/zudoku.auth-auth0.js +31 -20
- package/lib/zudoku.auth-auth0.js.map +1 -0
- package/lib/zudoku.auth-clerk.js +59 -29
- package/lib/zudoku.auth-clerk.js.map +1 -0
- package/lib/zudoku.auth-openid.js +742 -573
- package/lib/zudoku.auth-openid.js.map +1 -0
- package/lib/zudoku.components.js +2008 -684
- package/lib/zudoku.components.js.map +1 -0
- package/lib/zudoku.openapi-worker.js +15035 -146
- package/lib/zudoku.openapi-worker.js.map +1 -0
- package/lib/zudoku.plugin-api-keys.js +325 -0
- package/lib/zudoku.plugin-api-keys.js.map +1 -0
- package/lib/zudoku.plugin-custom-page.js +13 -0
- package/lib/zudoku.plugin-custom-page.js.map +1 -0
- package/lib/zudoku.plugin-markdown.js +31 -0
- package/lib/zudoku.plugin-markdown.js.map +1 -0
- package/lib/zudoku.plugin-openapi.js +14 -0
- package/lib/zudoku.plugin-openapi.js.map +1 -0
- package/lib/zudoku.plugin-redirect.js +11 -0
- package/lib/zudoku.plugin-redirect.js.map +1 -0
- package/package.json +64 -25
- package/src/app/App.tsx +0 -41
- package/src/app/demo-cdn.html +26 -0
- package/src/app/demo.html +18 -0
- package/src/app/demo.tsx +46 -0
- package/src/app/entry.client.tsx +47 -0
- package/src/app/entry.server.tsx +160 -0
- package/src/app/main.css +83 -3
- package/src/app/main.tsx +87 -15
- package/src/app/standalone.html +20 -0
- package/src/app/standalone.tsx +52 -0
- package/src/app/tailwind.ts +2 -6
- package/src/lib/authentication/AuthenticationPlugin.tsx +38 -0
- package/src/lib/authentication/authentication.ts +6 -12
- package/src/lib/authentication/components/SignIn.tsx +15 -0
- package/src/lib/authentication/components/SignOut.tsx +13 -0
- package/src/lib/authentication/components/SignUp.tsx +11 -0
- package/src/lib/authentication/hook.ts +4 -4
- package/src/lib/authentication/providers/auth0.tsx +16 -6
- package/src/lib/authentication/providers/clerk.tsx +63 -31
- package/src/lib/authentication/providers/openid.tsx +104 -34
- package/src/lib/authentication/state.ts +1 -1
- package/src/lib/components/Bootstrap.tsx +44 -0
- package/src/lib/components/DevPortal.tsx +75 -66
- package/src/lib/components/DeveloperHint.tsx +25 -0
- package/src/lib/components/ErrorPage.tsx +28 -0
- package/src/lib/components/Header.tsx +106 -31
- package/src/lib/components/Heading.tsx +26 -7
- package/src/lib/components/InlineCode.tsx +19 -0
- package/src/lib/components/Layout.tsx +16 -11
- package/src/lib/components/NotFoundPage.tsx +33 -0
- package/src/lib/components/SlotletProvider.tsx +25 -0
- package/src/lib/components/SyntaxHighlight.tsx +53 -44
- package/src/lib/components/TopNavigation.tsx +10 -5
- package/src/lib/components/context/ThemeContext.tsx +3 -41
- package/src/lib/components/context/ThemeProvider.tsx +27 -0
- package/src/lib/components/context/ZudokuContext.ts +58 -0
- package/src/lib/components/context/ZudokuProvider.tsx +26 -0
- package/src/lib/components/index.ts +25 -3
- package/src/lib/components/navigation/Sidebar.tsx +24 -0
- package/src/lib/components/navigation/SidebarBadge.tsx +40 -0
- package/src/lib/components/navigation/SidebarCategory.tsx +105 -0
- package/src/lib/components/navigation/SidebarItem.tsx +100 -0
- package/src/lib/components/navigation/{SideNavigationWrapper.tsx → SidebarWrapper.tsx} +1 -1
- package/src/lib/components/navigation/utils.ts +117 -0
- package/src/lib/core/DevPortalContext.ts +72 -68
- package/src/lib/core/plugins.ts +40 -16
- package/src/lib/errors/ErrorAlert.tsx +21 -0
- package/src/lib/errors/RouterError.tsx +13 -0
- package/src/lib/errors/ServerError.tsx +5 -0
- package/src/lib/errors/TopLevelError.tsx +8 -0
- package/src/lib/oas/graphql/index.ts +11 -6
- package/src/lib/oas/parser/index.ts +41 -20
- package/src/lib/plugins/{api-key → api-keys}/CreateApiKey.tsx +4 -4
- package/src/lib/plugins/api-keys/ProtectedRoute.tsx +29 -0
- package/src/lib/plugins/{api-key → api-keys}/SettingsApiKeys.tsx +49 -16
- package/src/lib/plugins/{api-key → api-keys}/index.tsx +27 -41
- package/src/lib/plugins/custom-page/index.tsx +22 -0
- package/src/lib/plugins/markdown/MdxPage.tsx +54 -73
- package/src/lib/plugins/markdown/Toc.tsx +53 -40
- package/src/lib/plugins/markdown/generateRoutes.tsx +35 -53
- package/src/lib/plugins/markdown/index.tsx +10 -7
- package/src/lib/plugins/openapi/ColorizedParam.tsx +23 -16
- package/src/lib/plugins/openapi/OperationList.tsx +46 -10
- package/src/lib/plugins/openapi/OperationListItem.tsx +51 -30
- package/src/lib/plugins/openapi/ParameterList.tsx +13 -10
- package/src/lib/plugins/openapi/ParameterListItem.tsx +3 -4
- package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +39 -0
- package/src/lib/plugins/openapi/RequestBodySidecarBox.tsx +3 -15
- package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +3 -2
- package/src/lib/plugins/openapi/Route.tsx +21 -0
- package/src/lib/plugins/openapi/SchemaListView.tsx +39 -192
- package/src/lib/plugins/openapi/SchemaListViewItem.tsx +125 -0
- package/src/lib/plugins/openapi/SchemaListViewItemGroup.tsx +63 -0
- package/src/lib/plugins/openapi/Sidecar.tsx +77 -30
- package/src/lib/plugins/openapi/SidecarBox.tsx +13 -2
- package/src/lib/plugins/openapi/{Select.tsx → SimpleSelect.tsx} +6 -3
- package/src/lib/plugins/openapi/StaggeredRender.tsx +31 -0
- package/src/lib/plugins/openapi/client/createMemoryClient.ts +56 -0
- package/src/lib/plugins/openapi/client/createServer.ts +33 -0
- package/src/lib/plugins/openapi/{worker/createSharedWorkerClient.ts → client/createWorkerClient.ts} +21 -2
- package/src/lib/plugins/openapi/client/interfaces.ts +5 -0
- package/src/lib/plugins/openapi/{worker → client}/worker.ts +3 -3
- package/src/lib/plugins/openapi/context.tsx +16 -0
- package/src/lib/plugins/openapi/graphql/gql.ts +8 -8
- package/src/lib/plugins/openapi/graphql/graphql.ts +80 -80
- package/src/lib/plugins/openapi/index.tsx +134 -76
- package/src/lib/plugins/openapi/interfaces.ts +10 -0
- package/src/lib/plugins/openapi/playground/Headers.tsx +1 -1
- package/src/lib/plugins/openapi/playground/PathParams.tsx +76 -50
- package/src/lib/plugins/openapi/playground/Playground.tsx +240 -230
- package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +40 -0
- package/src/lib/plugins/openapi/playground/QueryParams.tsx +107 -66
- package/src/lib/plugins/openapi/playground/ResponseTab.tsx +76 -0
- package/src/lib/plugins/openapi/playground/createUrl.ts +12 -15
- package/src/lib/plugins/openapi/util/prose.ts +7 -0
- package/src/lib/plugins/openapi-worker.ts +1 -1
- package/src/lib/plugins/redirect/index.tsx +3 -4
- package/src/lib/ui/Button.tsx +32 -2
- package/src/lib/ui/Callout.tsx +4 -4
- package/src/lib/ui/Card.tsx +1 -1
- package/src/lib/ui/DropdownMenu.tsx +199 -0
- package/src/lib/util/MdxComponents.tsx +7 -15
- package/src/lib/util/fetchTimeout.tsx +21 -0
- package/src/lib/util/groupBy.ts +7 -12
- package/src/lib/util/invariant.ts +26 -0
- package/src/lib/util/joinPath.tsx +2 -1
- package/src/lib/util/logInit.ts +9 -0
- package/src/lib/util/objectEntries.ts +5 -0
- package/src/lib/util/renderIf.ts +4 -0
- package/src/lib/util/requestIdleCallbackPolyfill.ts +6 -0
- package/src/lib/util/useScrollToAnchor.ts +39 -18
- package/dist/lib/authentication/Callback.d.ts +0 -3
- package/dist/lib/authentication/Callback.js +0 -34
- package/dist/lib/authentication/Callback.js.map +0 -1
- package/dist/lib/components/Input.js.map +0 -1
- package/dist/lib/components/Link.d.ts +0 -1
- package/dist/lib/components/Link.js +0 -2
- package/dist/lib/components/Link.js.map +0 -1
- package/dist/lib/components/Router.d.ts +0 -4
- package/dist/lib/components/Router.js +0 -20
- package/dist/lib/components/Router.js.map +0 -1
- package/dist/lib/components/context/DevPortalProvider.d.ts +0 -9
- package/dist/lib/components/context/DevPortalProvider.js +0 -39
- package/dist/lib/components/context/DevPortalProvider.js.map +0 -1
- package/dist/lib/components/navigation/SideNavigation.d.ts +0 -1
- package/dist/lib/components/navigation/SideNavigation.js +0 -11
- package/dist/lib/components/navigation/SideNavigation.js.map +0 -1
- package/dist/lib/components/navigation/SideNavigationCategory.d.ts +0 -4
- package/dist/lib/components/navigation/SideNavigationCategory.js +0 -26
- package/dist/lib/components/navigation/SideNavigationCategory.js.map +0 -1
- package/dist/lib/components/navigation/SideNavigationItem.d.ts +0 -13
- package/dist/lib/components/navigation/SideNavigationItem.js +0 -44
- package/dist/lib/components/navigation/SideNavigationItem.js.map +0 -1
- package/dist/lib/components/navigation/SideNavigationWrapper.js.map +0 -1
- package/dist/lib/components/navigation/useNavigationCollapsibleState.d.ts +0 -6
- package/dist/lib/components/navigation/useNavigationCollapsibleState.js +0 -16
- package/dist/lib/components/navigation/useNavigationCollapsibleState.js.map +0 -1
- package/dist/lib/components/navigation/util.d.ts +0 -8
- package/dist/lib/components/navigation/util.js +0 -15
- package/dist/lib/components/navigation/util.js.map +0 -1
- package/dist/lib/core/helmet.d.ts +0 -4
- package/dist/lib/core/helmet.js +0 -5
- package/dist/lib/core/helmet.js.map +0 -1
- package/dist/lib/core/icons.d.ts +0 -1
- package/dist/lib/core/icons.js +0 -2
- package/dist/lib/core/icons.js.map +0 -1
- package/dist/lib/core/router.d.ts +0 -1
- package/dist/lib/core/router.js +0 -2
- package/dist/lib/core/router.js.map +0 -1
- package/dist/lib/plugins/api-key/CreateApiKey.js.map +0 -1
- package/dist/lib/plugins/api-key/SettingsApiKeys.js +0 -38
- package/dist/lib/plugins/api-key/SettingsApiKeys.js.map +0 -1
- package/dist/lib/plugins/api-key/index.js.map +0 -1
- package/dist/lib/plugins/index.d.ts +0 -4
- package/dist/lib/plugins/index.js +0 -5
- package/dist/lib/plugins/index.js.map +0 -1
- package/dist/lib/plugins/openapi/MakeRequest.js +0 -43
- package/dist/lib/plugins/openapi/MakeRequest.js.map +0 -1
- package/dist/lib/plugins/openapi/MethodBadge.d.ts +0 -13
- package/dist/lib/plugins/openapi/MethodBadge.js +0 -26
- package/dist/lib/plugins/openapi/MethodBadge.js.map +0 -1
- package/dist/lib/plugins/openapi/Select.js +0 -5
- package/dist/lib/plugins/openapi/Select.js.map +0 -1
- package/dist/lib/plugins/openapi/worker/createSharedWorkerClient.d.ts +0 -5
- package/dist/lib/plugins/openapi/worker/createSharedWorkerClient.js.map +0 -1
- package/dist/lib/plugins/openapi/worker/shared-worker.d.ts +0 -1
- package/dist/lib/plugins/openapi/worker/shared-worker.js +0 -6
- package/dist/lib/plugins/openapi/worker/shared-worker.js.map +0 -1
- package/dist/lib/plugins/openapi/worker/worker.js.map +0 -1
- package/dist/lib/ui/button-variants.d.ts +0 -4
- package/dist/lib/ui/button-variants.js +0 -24
- package/dist/lib/ui/button-variants.js.map +0 -1
- package/dist/lib/util/traverseNavigation.d.ts +0 -6
- package/dist/lib/util/traverseNavigation.js +0 -30
- package/dist/lib/util/traverseNavigation.js.map +0 -1
- package/dist/vite/common.d.ts +0 -1
- package/dist/vite/common.js +0 -5
- package/dist/vite/common.js.map +0 -1
- package/dist/vite/plugin-html.d.ts +0 -3
- package/dist/vite/plugin-html.js +0 -47
- package/dist/vite/plugin-html.js.map +0 -1
- package/dist/vite/plugin-openapi-worker.d.ts +0 -4
- package/dist/vite/plugin-openapi-worker.js +0 -28
- package/dist/vite/plugin-openapi-worker.js.map +0 -1
- package/lib/Spinner-BewqqUU-.js +0 -8413
- package/lib/clerk-Wslx_mPo.js +0 -19685
- package/lib/index-PyGcnQFX.js +0 -3462
- package/lib/loglevel-CoH7VSwE.js +0 -152
- package/lib/state-2Hu1renZ.js +0 -313
- package/lib/zudoku.plugins.js +0 -19904
- package/src/lib/authentication/Callback.tsx +0 -60
- package/src/lib/components/Link.tsx +0 -1
- package/src/lib/components/Router.tsx +0 -28
- package/src/lib/components/context/DevPortalProvider.ts +0 -54
- package/src/lib/components/navigation/SideNavigation.tsx +0 -21
- package/src/lib/components/navigation/SideNavigationCategory.tsx +0 -76
- package/src/lib/components/navigation/SideNavigationItem.tsx +0 -152
- package/src/lib/components/navigation/useNavigationCollapsibleState.ts +0 -27
- package/src/lib/components/navigation/util.ts +0 -38
- package/src/lib/core/helmet.ts +0 -5
- package/src/lib/core/icons.tsx +0 -1
- package/src/lib/core/router.tsx +0 -1
- package/src/lib/plugins/index.ts +0 -4
- package/src/lib/plugins/openapi/MakeRequest.tsx +0 -63
- package/src/lib/plugins/openapi/MethodBadge.tsx +0 -36
- package/src/lib/plugins/openapi/worker/shared-worker.ts +0 -5
- package/src/lib/ui/button-variants.ts +0 -31
- package/src/lib/util/traverseNavigation.ts +0 -55
- /package/dist/lib/plugins/{api-key → api-keys}/CreateApiKey.d.ts +0 -0
- /package/dist/lib/plugins/{api-key → api-keys}/SettingsApiKeys.d.ts +0 -0
- /package/dist/lib/plugins/openapi/{worker → client}/worker.d.ts +0 -0
- /package/dist/lib/{components → ui}/Input.d.ts +0 -0
- /package/dist/lib/{components → ui}/Input.js +0 -0
- /package/src/lib/{components → ui}/Input.tsx +0 -0
package/lib/loglevel-CoH7VSwE.js
DELETED
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
import { a as N, g as _ } from "./state-2Hu1renZ.js";
|
|
2
|
-
var I = { exports: {} };
|
|
3
|
-
(function(w) {
|
|
4
|
-
(function(g, i) {
|
|
5
|
-
w.exports ? w.exports = i() : g.log = i();
|
|
6
|
-
})(N, function() {
|
|
7
|
-
var g = function() {
|
|
8
|
-
}, i = "undefined", C = typeof window !== i && typeof window.navigator !== i && /Trident\/|MSIE /.test(window.navigator.userAgent), p = [
|
|
9
|
-
"trace",
|
|
10
|
-
"debug",
|
|
11
|
-
"info",
|
|
12
|
-
"warn",
|
|
13
|
-
"error"
|
|
14
|
-
], a = {}, l = null;
|
|
15
|
-
function h(o, t) {
|
|
16
|
-
var e = o[t];
|
|
17
|
-
if (typeof e.bind == "function")
|
|
18
|
-
return e.bind(o);
|
|
19
|
-
try {
|
|
20
|
-
return Function.prototype.bind.call(e, o);
|
|
21
|
-
} catch {
|
|
22
|
-
return function() {
|
|
23
|
-
return Function.prototype.apply.apply(e, [o, arguments]);
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
function T() {
|
|
28
|
-
console.log && (console.log.apply ? console.log.apply(console, arguments) : Function.prototype.apply.apply(console.log, [console, arguments])), console.trace && console.trace();
|
|
29
|
-
}
|
|
30
|
-
function x(o) {
|
|
31
|
-
return o === "debug" && (o = "log"), typeof console === i ? !1 : o === "trace" && C ? T : console[o] !== void 0 ? h(console, o) : console.log !== void 0 ? h(console, "log") : g;
|
|
32
|
-
}
|
|
33
|
-
function u() {
|
|
34
|
-
for (var o = this.getLevel(), t = 0; t < p.length; t++) {
|
|
35
|
-
var e = p[t];
|
|
36
|
-
this[e] = t < o ? g : this.methodFactory(e, o, this.name);
|
|
37
|
-
}
|
|
38
|
-
if (this.log = this.debug, typeof console === i && o < this.levels.SILENT)
|
|
39
|
-
return "No console available for logging";
|
|
40
|
-
}
|
|
41
|
-
function F(o) {
|
|
42
|
-
return function() {
|
|
43
|
-
typeof console !== i && (u.call(this), this[o].apply(this, arguments));
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
function R(o, t, e) {
|
|
47
|
-
return x(o) || F.apply(this, arguments);
|
|
48
|
-
}
|
|
49
|
-
function L(o, t) {
|
|
50
|
-
var e = this, v, y, f, s = "loglevel";
|
|
51
|
-
typeof o == "string" ? s += ":" + o : typeof o == "symbol" && (s = void 0);
|
|
52
|
-
function S(n) {
|
|
53
|
-
var r = (p[n] || "silent").toUpperCase();
|
|
54
|
-
if (!(typeof window === i || !s)) {
|
|
55
|
-
try {
|
|
56
|
-
window.localStorage[s] = r;
|
|
57
|
-
return;
|
|
58
|
-
} catch {
|
|
59
|
-
}
|
|
60
|
-
try {
|
|
61
|
-
window.document.cookie = encodeURIComponent(s) + "=" + r + ";";
|
|
62
|
-
} catch {
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
function b() {
|
|
67
|
-
var n;
|
|
68
|
-
if (!(typeof window === i || !s)) {
|
|
69
|
-
try {
|
|
70
|
-
n = window.localStorage[s];
|
|
71
|
-
} catch {
|
|
72
|
-
}
|
|
73
|
-
if (typeof n === i)
|
|
74
|
-
try {
|
|
75
|
-
var r = window.document.cookie, d = encodeURIComponent(s), m = r.indexOf(d + "=");
|
|
76
|
-
m !== -1 && (n = /^([^;]+)/.exec(
|
|
77
|
-
r.slice(m + d.length + 1)
|
|
78
|
-
)[1]);
|
|
79
|
-
} catch {
|
|
80
|
-
}
|
|
81
|
-
return e.levels[n] === void 0 && (n = void 0), n;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
function U() {
|
|
85
|
-
if (!(typeof window === i || !s)) {
|
|
86
|
-
try {
|
|
87
|
-
window.localStorage.removeItem(s);
|
|
88
|
-
} catch {
|
|
89
|
-
}
|
|
90
|
-
try {
|
|
91
|
-
window.document.cookie = encodeURIComponent(s) + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC";
|
|
92
|
-
} catch {
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
function c(n) {
|
|
97
|
-
var r = n;
|
|
98
|
-
if (typeof r == "string" && e.levels[r.toUpperCase()] !== void 0 && (r = e.levels[r.toUpperCase()]), typeof r == "number" && r >= 0 && r <= e.levels.SILENT)
|
|
99
|
-
return r;
|
|
100
|
-
throw new TypeError("log.setLevel() called with invalid level: " + n);
|
|
101
|
-
}
|
|
102
|
-
e.name = o, e.levels = {
|
|
103
|
-
TRACE: 0,
|
|
104
|
-
DEBUG: 1,
|
|
105
|
-
INFO: 2,
|
|
106
|
-
WARN: 3,
|
|
107
|
-
ERROR: 4,
|
|
108
|
-
SILENT: 5
|
|
109
|
-
}, e.methodFactory = t || R, e.getLevel = function() {
|
|
110
|
-
return f ?? y ?? v;
|
|
111
|
-
}, e.setLevel = function(n, r) {
|
|
112
|
-
return f = c(n), r !== !1 && S(f), u.call(e);
|
|
113
|
-
}, e.setDefaultLevel = function(n) {
|
|
114
|
-
y = c(n), b() || e.setLevel(n, !1);
|
|
115
|
-
}, e.resetLevel = function() {
|
|
116
|
-
f = null, U(), u.call(e);
|
|
117
|
-
}, e.enableAll = function(n) {
|
|
118
|
-
e.setLevel(e.levels.TRACE, n);
|
|
119
|
-
}, e.disableAll = function(n) {
|
|
120
|
-
e.setLevel(e.levels.SILENT, n);
|
|
121
|
-
}, e.rebuild = function() {
|
|
122
|
-
if (l !== e && (v = c(l.getLevel())), u.call(e), l === e)
|
|
123
|
-
for (var n in a)
|
|
124
|
-
a[n].rebuild();
|
|
125
|
-
}, v = c(
|
|
126
|
-
l ? l.getLevel() : "WARN"
|
|
127
|
-
);
|
|
128
|
-
var E = b();
|
|
129
|
-
E != null && (f = c(E)), u.call(e);
|
|
130
|
-
}
|
|
131
|
-
l = new L(), l.getLogger = function(t) {
|
|
132
|
-
if (typeof t != "symbol" && typeof t != "string" || t === "")
|
|
133
|
-
throw new TypeError("You must supply a name when creating a logger.");
|
|
134
|
-
var e = a[t];
|
|
135
|
-
return e || (e = a[t] = new L(
|
|
136
|
-
t,
|
|
137
|
-
l.methodFactory
|
|
138
|
-
)), e;
|
|
139
|
-
};
|
|
140
|
-
var A = typeof window !== i ? window.log : void 0;
|
|
141
|
-
return l.noConflict = function() {
|
|
142
|
-
return typeof window !== i && window.log === l && (window.log = A), l;
|
|
143
|
-
}, l.getLoggers = function() {
|
|
144
|
-
return a;
|
|
145
|
-
}, l.default = l, l;
|
|
146
|
-
});
|
|
147
|
-
})(I);
|
|
148
|
-
var D = I.exports;
|
|
149
|
-
const P = /* @__PURE__ */ _(D);
|
|
150
|
-
export {
|
|
151
|
-
P as l
|
|
152
|
-
};
|
package/lib/state-2Hu1renZ.js
DELETED
|
@@ -1,313 +0,0 @@
|
|
|
1
|
-
import A from "react";
|
|
2
|
-
var de = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
3
|
-
function Q(e) {
|
|
4
|
-
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
5
|
-
}
|
|
6
|
-
function Se(e) {
|
|
7
|
-
if (e.__esModule) return e;
|
|
8
|
-
var i = e.default;
|
|
9
|
-
if (typeof i == "function") {
|
|
10
|
-
var a = function f() {
|
|
11
|
-
return this instanceof f ? Reflect.construct(i, arguments, this.constructor) : i.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
a.prototype = i.prototype;
|
|
14
|
-
} else a = {};
|
|
15
|
-
return Object.defineProperty(a, "__esModule", { value: !0 }), Object.keys(e).forEach(function(f) {
|
|
16
|
-
var p = Object.getOwnPropertyDescriptor(e, f);
|
|
17
|
-
Object.defineProperty(a, f, p.get ? p : {
|
|
18
|
-
enumerable: !0,
|
|
19
|
-
get: function() {
|
|
20
|
-
return e[f];
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
}), a;
|
|
24
|
-
}
|
|
25
|
-
var X = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
26
|
-
const H = (e) => {
|
|
27
|
-
let i;
|
|
28
|
-
const a = /* @__PURE__ */ new Set(), f = (u, t) => {
|
|
29
|
-
const r = typeof u == "function" ? u(i) : u;
|
|
30
|
-
if (!Object.is(r, i)) {
|
|
31
|
-
const s = i;
|
|
32
|
-
i = t ?? (typeof r != "object" || r === null) ? r : Object.assign({}, i, r), a.forEach((d) => d(i, s));
|
|
33
|
-
}
|
|
34
|
-
}, p = () => i, h = { setState: f, getState: p, getInitialState: () => E, subscribe: (u) => (a.add(u), () => a.delete(u)), destroy: () => {
|
|
35
|
-
(X ? "production" : void 0) !== "production" && console.warn(
|
|
36
|
-
"[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."
|
|
37
|
-
), a.clear();
|
|
38
|
-
} }, E = i = e(f, p, h);
|
|
39
|
-
return h;
|
|
40
|
-
}, Z = (e) => e ? H(e) : H;
|
|
41
|
-
var U = { exports: {} }, M = {}, T = { exports: {} }, W = {};
|
|
42
|
-
/**
|
|
43
|
-
* @license React
|
|
44
|
-
* use-sync-external-store-shim.production.min.js
|
|
45
|
-
*
|
|
46
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
47
|
-
*
|
|
48
|
-
* This source code is licensed under the MIT license found in the
|
|
49
|
-
* LICENSE file in the root directory of this source tree.
|
|
50
|
-
*/
|
|
51
|
-
var K;
|
|
52
|
-
function ee() {
|
|
53
|
-
if (K) return W;
|
|
54
|
-
K = 1;
|
|
55
|
-
var e = A;
|
|
56
|
-
function i(t, r) {
|
|
57
|
-
return t === r && (t !== 0 || 1 / t === 1 / r) || t !== t && r !== r;
|
|
58
|
-
}
|
|
59
|
-
var a = typeof Object.is == "function" ? Object.is : i, f = e.useState, p = e.useEffect, y = e.useLayoutEffect, g = e.useDebugValue;
|
|
60
|
-
function L(t, r) {
|
|
61
|
-
var s = r(), d = f({ inst: { value: s, getSnapshot: r } }), l = d[0].inst, S = d[1];
|
|
62
|
-
return y(function() {
|
|
63
|
-
l.value = s, l.getSnapshot = r, h(l) && S({ inst: l });
|
|
64
|
-
}, [t, s, r]), p(function() {
|
|
65
|
-
return h(l) && S({ inst: l }), t(function() {
|
|
66
|
-
h(l) && S({ inst: l });
|
|
67
|
-
});
|
|
68
|
-
}, [t]), g(s), s;
|
|
69
|
-
}
|
|
70
|
-
function h(t) {
|
|
71
|
-
var r = t.getSnapshot;
|
|
72
|
-
t = t.value;
|
|
73
|
-
try {
|
|
74
|
-
var s = r();
|
|
75
|
-
return !a(t, s);
|
|
76
|
-
} catch {
|
|
77
|
-
return !0;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
function E(t, r) {
|
|
81
|
-
return r();
|
|
82
|
-
}
|
|
83
|
-
var u = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? E : L;
|
|
84
|
-
return W.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : u, W;
|
|
85
|
-
}
|
|
86
|
-
var B = {};
|
|
87
|
-
/**
|
|
88
|
-
* @license React
|
|
89
|
-
* use-sync-external-store-shim.development.js
|
|
90
|
-
*
|
|
91
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
92
|
-
*
|
|
93
|
-
* This source code is licensed under the MIT license found in the
|
|
94
|
-
* LICENSE file in the root directory of this source tree.
|
|
95
|
-
*/
|
|
96
|
-
var N;
|
|
97
|
-
function te() {
|
|
98
|
-
return N || (N = 1, process.env.NODE_ENV !== "production" && function() {
|
|
99
|
-
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
100
|
-
var e = A, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
101
|
-
function a(c) {
|
|
102
|
-
{
|
|
103
|
-
for (var n = arguments.length, v = new Array(n > 1 ? n - 1 : 0), o = 1; o < n; o++)
|
|
104
|
-
v[o - 1] = arguments[o];
|
|
105
|
-
f("error", c, v);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
function f(c, n, v) {
|
|
109
|
-
{
|
|
110
|
-
var o = i.ReactDebugCurrentFrame, _ = o.getStackAddendum();
|
|
111
|
-
_ !== "" && (n += "%s", v = v.concat([_]));
|
|
112
|
-
var m = v.map(function(O) {
|
|
113
|
-
return String(O);
|
|
114
|
-
});
|
|
115
|
-
m.unshift("Warning: " + n), Function.prototype.apply.call(console[c], console, m);
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
function p(c, n) {
|
|
119
|
-
return c === n && (c !== 0 || 1 / c === 1 / n) || c !== c && n !== n;
|
|
120
|
-
}
|
|
121
|
-
var y = typeof Object.is == "function" ? Object.is : p, g = e.useState, L = e.useEffect, h = e.useLayoutEffect, E = e.useDebugValue, u = !1, t = !1;
|
|
122
|
-
function r(c, n, v) {
|
|
123
|
-
u || e.startTransition !== void 0 && (u = !0, a("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));
|
|
124
|
-
var o = n();
|
|
125
|
-
if (!t) {
|
|
126
|
-
var _ = n();
|
|
127
|
-
y(o, _) || (a("The result of getSnapshot should be cached to avoid an infinite loop"), t = !0);
|
|
128
|
-
}
|
|
129
|
-
var m = g({
|
|
130
|
-
inst: {
|
|
131
|
-
value: o,
|
|
132
|
-
getSnapshot: n
|
|
133
|
-
}
|
|
134
|
-
}), O = m[0].inst, b = m[1];
|
|
135
|
-
return h(function() {
|
|
136
|
-
O.value = o, O.getSnapshot = n, s(O) && b({
|
|
137
|
-
inst: O
|
|
138
|
-
});
|
|
139
|
-
}, [c, o, n]), L(function() {
|
|
140
|
-
s(O) && b({
|
|
141
|
-
inst: O
|
|
142
|
-
});
|
|
143
|
-
var V = function() {
|
|
144
|
-
s(O) && b({
|
|
145
|
-
inst: O
|
|
146
|
-
});
|
|
147
|
-
};
|
|
148
|
-
return c(V);
|
|
149
|
-
}, [c]), E(o), o;
|
|
150
|
-
}
|
|
151
|
-
function s(c) {
|
|
152
|
-
var n = c.getSnapshot, v = c.value;
|
|
153
|
-
try {
|
|
154
|
-
var o = n();
|
|
155
|
-
return !y(v, o);
|
|
156
|
-
} catch {
|
|
157
|
-
return !0;
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
function d(c, n, v) {
|
|
161
|
-
return n();
|
|
162
|
-
}
|
|
163
|
-
var l = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", S = !l, D = S ? d : r, R = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : D;
|
|
164
|
-
B.useSyncExternalStore = R, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
165
|
-
}()), B;
|
|
166
|
-
}
|
|
167
|
-
var P;
|
|
168
|
-
function Y() {
|
|
169
|
-
return P || (P = 1, process.env.NODE_ENV === "production" ? T.exports = ee() : T.exports = te()), T.exports;
|
|
170
|
-
}
|
|
171
|
-
/**
|
|
172
|
-
* @license React
|
|
173
|
-
* use-sync-external-store-shim/with-selector.production.min.js
|
|
174
|
-
*
|
|
175
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
176
|
-
*
|
|
177
|
-
* This source code is licensed under the MIT license found in the
|
|
178
|
-
* LICENSE file in the root directory of this source tree.
|
|
179
|
-
*/
|
|
180
|
-
var q;
|
|
181
|
-
function ne() {
|
|
182
|
-
if (q) return M;
|
|
183
|
-
q = 1;
|
|
184
|
-
var e = A, i = Y();
|
|
185
|
-
function a(E, u) {
|
|
186
|
-
return E === u && (E !== 0 || 1 / E === 1 / u) || E !== E && u !== u;
|
|
187
|
-
}
|
|
188
|
-
var f = typeof Object.is == "function" ? Object.is : a, p = i.useSyncExternalStore, y = e.useRef, g = e.useEffect, L = e.useMemo, h = e.useDebugValue;
|
|
189
|
-
return M.useSyncExternalStoreWithSelector = function(E, u, t, r, s) {
|
|
190
|
-
var d = y(null);
|
|
191
|
-
if (d.current === null) {
|
|
192
|
-
var l = { hasValue: !1, value: null };
|
|
193
|
-
d.current = l;
|
|
194
|
-
} else l = d.current;
|
|
195
|
-
d = L(function() {
|
|
196
|
-
function D(o) {
|
|
197
|
-
if (!R) {
|
|
198
|
-
if (R = !0, c = o, o = r(o), s !== void 0 && l.hasValue) {
|
|
199
|
-
var _ = l.value;
|
|
200
|
-
if (s(_, o)) return n = _;
|
|
201
|
-
}
|
|
202
|
-
return n = o;
|
|
203
|
-
}
|
|
204
|
-
if (_ = n, f(c, o)) return _;
|
|
205
|
-
var m = r(o);
|
|
206
|
-
return s !== void 0 && s(_, m) ? _ : (c = o, n = m);
|
|
207
|
-
}
|
|
208
|
-
var R = !1, c, n, v = t === void 0 ? null : t;
|
|
209
|
-
return [function() {
|
|
210
|
-
return D(u());
|
|
211
|
-
}, v === null ? void 0 : function() {
|
|
212
|
-
return D(v());
|
|
213
|
-
}];
|
|
214
|
-
}, [u, t, r, s]);
|
|
215
|
-
var S = p(E, d[0], d[1]);
|
|
216
|
-
return g(function() {
|
|
217
|
-
l.hasValue = !0, l.value = S;
|
|
218
|
-
}, [S]), h(S), S;
|
|
219
|
-
}, M;
|
|
220
|
-
}
|
|
221
|
-
var G = {};
|
|
222
|
-
/**
|
|
223
|
-
* @license React
|
|
224
|
-
* use-sync-external-store-shim/with-selector.development.js
|
|
225
|
-
*
|
|
226
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
227
|
-
*
|
|
228
|
-
* This source code is licensed under the MIT license found in the
|
|
229
|
-
* LICENSE file in the root directory of this source tree.
|
|
230
|
-
*/
|
|
231
|
-
var z;
|
|
232
|
-
function re() {
|
|
233
|
-
return z || (z = 1, process.env.NODE_ENV !== "production" && function() {
|
|
234
|
-
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
235
|
-
var e = A, i = Y();
|
|
236
|
-
function a(u, t) {
|
|
237
|
-
return u === t && (u !== 0 || 1 / u === 1 / t) || u !== u && t !== t;
|
|
238
|
-
}
|
|
239
|
-
var f = typeof Object.is == "function" ? Object.is : a, p = i.useSyncExternalStore, y = e.useRef, g = e.useEffect, L = e.useMemo, h = e.useDebugValue;
|
|
240
|
-
function E(u, t, r, s, d) {
|
|
241
|
-
var l = y(null), S;
|
|
242
|
-
l.current === null ? (S = {
|
|
243
|
-
hasValue: !1,
|
|
244
|
-
value: null
|
|
245
|
-
}, l.current = S) : S = l.current;
|
|
246
|
-
var D = L(function() {
|
|
247
|
-
var v = !1, o, _, m = function(w) {
|
|
248
|
-
if (!v) {
|
|
249
|
-
v = !0, o = w;
|
|
250
|
-
var x = s(w);
|
|
251
|
-
if (d !== void 0 && S.hasValue) {
|
|
252
|
-
var I = S.value;
|
|
253
|
-
if (d(I, x))
|
|
254
|
-
return _ = I, I;
|
|
255
|
-
}
|
|
256
|
-
return _ = x, x;
|
|
257
|
-
}
|
|
258
|
-
var J = o, j = _;
|
|
259
|
-
if (f(J, w))
|
|
260
|
-
return j;
|
|
261
|
-
var C = s(w);
|
|
262
|
-
return d !== void 0 && d(j, C) ? j : (o = w, _ = C, C);
|
|
263
|
-
}, O = r === void 0 ? null : r, b = function() {
|
|
264
|
-
return m(t());
|
|
265
|
-
}, V = O === null ? void 0 : function() {
|
|
266
|
-
return m(O());
|
|
267
|
-
};
|
|
268
|
-
return [b, V];
|
|
269
|
-
}, [t, r, s, d]), R = D[0], c = D[1], n = p(u, R, c);
|
|
270
|
-
return g(function() {
|
|
271
|
-
S.hasValue = !0, S.value = n;
|
|
272
|
-
}, [n]), h(n), n;
|
|
273
|
-
}
|
|
274
|
-
G.useSyncExternalStoreWithSelector = E, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
275
|
-
}()), G;
|
|
276
|
-
}
|
|
277
|
-
process.env.NODE_ENV === "production" ? U.exports = ne() : U.exports = re();
|
|
278
|
-
var oe = U.exports;
|
|
279
|
-
const ue = /* @__PURE__ */ Q(oe);
|
|
280
|
-
var k = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
281
|
-
const { useDebugValue: ie } = A, { useSyncExternalStoreWithSelector: ae } = ue;
|
|
282
|
-
let F = !1;
|
|
283
|
-
const se = (e) => e;
|
|
284
|
-
function ce(e, i = se, a) {
|
|
285
|
-
(k ? "production" : void 0) !== "production" && a && !F && (console.warn(
|
|
286
|
-
"[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"
|
|
287
|
-
), F = !0);
|
|
288
|
-
const f = ae(
|
|
289
|
-
e.subscribe,
|
|
290
|
-
e.getState,
|
|
291
|
-
e.getServerState || e.getInitialState,
|
|
292
|
-
i,
|
|
293
|
-
a
|
|
294
|
-
);
|
|
295
|
-
return ie(f), f;
|
|
296
|
-
}
|
|
297
|
-
const $ = (e) => {
|
|
298
|
-
(k ? "production" : void 0) !== "production" && typeof e != "function" && console.warn(
|
|
299
|
-
"[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`."
|
|
300
|
-
);
|
|
301
|
-
const i = typeof e == "function" ? Z(e) : e, a = (f, p) => ce(i, f, p);
|
|
302
|
-
return Object.assign(a, i), a;
|
|
303
|
-
}, fe = (e) => e ? $(e) : $, _e = fe(() => ({
|
|
304
|
-
isPending: !0,
|
|
305
|
-
isAuthenticated: !1
|
|
306
|
-
}));
|
|
307
|
-
export {
|
|
308
|
-
de as a,
|
|
309
|
-
Se as b,
|
|
310
|
-
fe as c,
|
|
311
|
-
Q as g,
|
|
312
|
-
_e as u
|
|
313
|
-
};
|