zudoku 0.3.0-dev.3 → 0.3.0-dev.31
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/dist/app/demo.d.ts +2 -0
- package/dist/app/demo.js +27 -0
- package/dist/app/demo.js.map +1 -0
- package/dist/app/main.d.ts +2 -1
- package/dist/app/main.js +31 -10
- package/dist/app/main.js.map +1 -1
- package/dist/app/standalone.d.ts +2 -0
- package/dist/app/standalone.js +32 -0
- package/dist/app/standalone.js.map +1 -0
- package/dist/app/tailwind.d.ts +1 -1
- package/dist/app/tailwind.js +0 -9
- package/dist/app/tailwind.js.map +1 -1
- package/dist/config/config.d.ts +10 -16
- package/dist/lib/authentication/Callback.js +1 -1
- package/dist/lib/authentication/Callback.js.map +1 -1
- package/dist/lib/authentication/authentication.d.ts +2 -2
- package/dist/lib/authentication/hook.d.ts +1 -0
- package/dist/lib/authentication/hook.js +1 -0
- package/dist/lib/authentication/hook.js.map +1 -1
- package/dist/lib/authentication/providers/auth0.js +1 -0
- package/dist/lib/authentication/providers/auth0.js.map +1 -1
- package/dist/lib/authentication/providers/clerk.js +2 -0
- package/dist/lib/authentication/providers/clerk.js.map +1 -1
- package/dist/lib/authentication/providers/openid.d.ts +1 -1
- package/dist/lib/authentication/providers/openid.js +2 -0
- package/dist/lib/authentication/providers/openid.js.map +1 -1
- package/dist/lib/authentication/state.d.ts +1 -0
- package/dist/lib/authentication/state.js +1 -0
- package/dist/lib/authentication/state.js.map +1 -1
- package/dist/lib/components/DevPortal.d.ts +5 -20
- package/dist/lib/components/DevPortal.js +20 -11
- package/dist/lib/components/DevPortal.js.map +1 -1
- package/dist/lib/components/Header.js +3 -3
- 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/Layout.js +2 -2
- package/dist/lib/components/Layout.js.map +1 -1
- package/dist/lib/components/Router.js +2 -1
- package/dist/lib/components/Router.js.map +1 -1
- package/dist/lib/components/SyntaxHighlight.js +5 -1
- package/dist/lib/components/SyntaxHighlight.js.map +1 -1
- package/dist/lib/components/TopNavigation.d.ts +1 -1
- package/dist/lib/components/TopNavigation.js +4 -0
- package/dist/lib/components/TopNavigation.js.map +1 -1
- package/dist/lib/components/context/DevPortalProvider.d.ts +1 -1
- package/dist/lib/components/context/DevPortalProvider.js +2 -2
- package/dist/lib/components/context/DevPortalProvider.js.map +1 -1
- package/dist/lib/components/index.d.ts +13 -3
- package/dist/lib/components/index.js +8 -3
- package/dist/lib/components/index.js.map +1 -1
- package/dist/lib/core/DevPortalContext.d.ts +33 -3
- package/dist/lib/core/DevPortalContext.js +8 -4
- package/dist/lib/core/DevPortalContext.js.map +1 -1
- package/dist/lib/core/plugins.d.ts +7 -4
- package/dist/lib/core/plugins.js +1 -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 +9 -0
- package/dist/lib/errors/RouterError.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 +1 -1
- package/dist/lib/oas/graphql/index.js.map +1 -1
- package/dist/lib/oas/parser/index.js +3 -1
- package/dist/lib/oas/parser/index.js.map +1 -1
- package/dist/lib/plugins/api-keys/CreateApiKey.d.ts +4 -0
- package/dist/lib/plugins/{api-key → api-keys}/CreateApiKey.js +1 -1
- package/dist/lib/plugins/api-keys/CreateApiKey.js.map +1 -0
- package/dist/lib/plugins/api-keys/SettingsApiKeys.d.ts +4 -0
- package/dist/lib/plugins/api-keys/SettingsApiKeys.js +38 -0
- package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -0
- package/dist/lib/plugins/{api-key → api-keys}/index.js +37 -9
- package/dist/lib/plugins/api-keys/index.js.map +1 -0
- package/dist/lib/plugins/markdown/MdxPage.d.ts +3 -2
- package/dist/lib/plugins/markdown/MdxPage.js +7 -6
- package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
- package/dist/lib/plugins/markdown/Toc.js +1 -1
- 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 +4 -4
- 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 +2 -2
- package/dist/lib/plugins/markdown/index.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationList.js +5 -4
- package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.js +8 -4
- package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/ParameterList.js +1 -1
- package/dist/lib/plugins/openapi/ParameterList.js.map +1 -1
- package/dist/lib/plugins/openapi/ParameterListItem.js +1 -1
- package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/{MakeRequest.d.ts → PlaygroundDialogWrapper.d.ts} +1 -1
- package/dist/lib/plugins/openapi/{MakeRequest.js → PlaygroundDialogWrapper.js} +5 -5
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -0
- package/dist/lib/plugins/openapi/RequestBodySidecarBox.js +1 -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 +4 -26
- package/dist/lib/plugins/openapi/SchemaListView.js.map +1 -1
- package/dist/lib/plugins/openapi/SchemaListViewItem.d.ts +7 -0
- package/dist/lib/plugins/openapi/SchemaListViewItem.js +16 -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.js +10 -8
- package/dist/lib/plugins/openapi/Sidecar.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/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} +11 -2
- package/dist/lib/plugins/openapi/client/createWorkerClient.js.map +1 -0
- package/dist/lib/plugins/openapi/client/interfaces.d.ts +2 -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/index.d.ts +1 -19
- package/dist/lib/plugins/openapi/index.js +27 -20
- package/dist/lib/plugins/openapi/index.js.map +1 -1
- package/dist/lib/plugins/openapi/interfaces.d.ts +15 -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.d.ts +2 -3
- package/dist/lib/plugins/openapi/playground/Headers.js +16 -6
- package/dist/lib/plugins/openapi/playground/Headers.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/PathParams.d.ts +1 -1
- package/dist/lib/plugins/openapi/playground/Playground.d.ts +4 -3
- package/dist/lib/plugins/openapi/playground/Playground.js +8 -12
- package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/PlaygroundDialog.d.ts +3 -0
- package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js +10 -0
- package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/QueryParams.d.ts +1 -1
- package/dist/lib/plugins/openapi/playground/createUrl.d.ts +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/ui/Callout.js +1 -1
- package/dist/lib/ui/Callout.js.map +1 -1
- package/dist/lib/ui/button-variants.d.ts +1 -1
- package/dist/lib/util/MdxComponents.js +1 -1
- package/dist/lib/util/MdxComponents.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/vite/build.js +4 -1
- package/dist/vite/build.js.map +1 -1
- package/dist/vite/config.d.ts +11 -8
- package/dist/vite/config.js +58 -50
- package/dist/vite/config.js.map +1 -1
- package/dist/vite/config.test.js +7 -4
- package/dist/vite/config.test.js.map +1 -1
- package/dist/vite/dev-server.js +4 -4
- package/dist/vite/dev-server.js.map +1 -1
- package/dist/vite/html.js +0 -1
- 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 +7 -11
- 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 +1 -1
- package/dist/vite/plugin-component.js.map +1 -1
- package/dist/vite/plugin-config.d.ts +0 -1
- package/dist/vite/plugin-config.js +13 -7
- package/dist/vite/plugin-config.js.map +1 -1
- package/dist/vite/plugin-docs.js +9 -8
- package/dist/vite/plugin-docs.js.map +1 -1
- package/dist/vite/plugin-docs.test.js +1 -1
- package/dist/vite/plugin-docs.test.js.map +1 -1
- package/dist/vite/plugin-html.js +1 -9
- package/dist/vite/plugin-html.js.map +1 -1
- package/dist/vite/plugin-mdx.d.ts +3 -1
- package/dist/vite/plugin-mdx.js +4 -4
- package/dist/vite/plugin-mdx.js.map +1 -1
- package/dist/vite/plugin-openapi-worker.js +11 -3
- package/dist/vite/plugin-openapi-worker.js.map +1 -1
- package/dist/vite/plugin-redirect.js +9 -9
- package/dist/vite/plugin-redirect.js.map +1 -1
- package/dist/vite/plugin.js +1 -1
- package/dist/vite/plugin.js.map +1 -1
- package/lib/AnchorLink-ptdQk87q.js +706 -0
- package/lib/AnchorLink-ptdQk87q.js.map +1 -0
- package/lib/DevPortalProvider-BMk-RCE0.js +1081 -0
- package/lib/DevPortalProvider-BMk-RCE0.js.map +1 -0
- package/lib/Markdown-DDmW47R9.js +8621 -0
- package/lib/Markdown-DDmW47R9.js.map +1 -0
- package/lib/MdxComponents-C0R6zobS.js +3019 -0
- package/lib/MdxComponents-C0R6zobS.js.map +1 -0
- package/lib/MdxPage-DyJAHF9y.js +217 -0
- package/lib/MdxPage-DyJAHF9y.js.map +1 -0
- package/lib/OperationList-Dz9rHM9r.js +5546 -0
- package/lib/OperationList-Dz9rHM9r.js.map +1 -0
- package/lib/Route-CN_7-e5r.js +14 -0
- package/lib/Route-CN_7-e5r.js.map +1 -0
- package/lib/Select-D-Jtx53Q.js +4572 -0
- package/lib/Select-D-Jtx53Q.js.map +1 -0
- package/lib/Spinner-BG1JnYy0.js +182 -0
- package/lib/Spinner-BG1JnYy0.js.map +1 -0
- package/lib/_commonjsHelpers-BkfeUUK-.js +1 -0
- package/lib/_commonjsHelpers-BkfeUUK-.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-BXS8hiSM.js} +9844 -9800
- package/lib/assets/worker-BXS8hiSM.js.map +1 -0
- package/lib/cn-DpqTslo9.js +2342 -0
- package/lib/cn-DpqTslo9.js.map +1 -0
- package/lib/context-_fYfJFgk.js +14 -0
- package/lib/context-_fYfJFgk.js.map +1 -0
- package/lib/hook-BzBeIPL4.js +25 -0
- package/lib/hook-BzBeIPL4.js.map +1 -0
- package/lib/index-BaOOUFsA.js +412 -0
- package/lib/index-BaOOUFsA.js.map +1 -0
- package/lib/index-CPvRaBBB.js +713 -0
- package/lib/index-CPvRaBBB.js.map +1 -0
- package/lib/index-Cpdpun6t.js +710 -0
- package/lib/index-Cpdpun6t.js.map +1 -0
- package/lib/index-DLS6fPwU.js +464 -0
- package/lib/index-DLS6fPwU.js.map +1 -0
- package/lib/jsx-runtime-SV6hXQua.js +3009 -0
- package/lib/jsx-runtime-SV6hXQua.js.map +1 -0
- package/lib/loglevel-CA34MiFn.js +153 -0
- package/lib/loglevel-CA34MiFn.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 +35 -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 +2 -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/{state-oycsxkHz.js → state-Ds_OxRHP.js} +20 -18
- package/lib/state-Ds_OxRHP.js.map +1 -0
- package/lib/urql-DMlBWUKL.js +1 -0
- package/lib/urql-DMlBWUKL.js.map +1 -0
- package/lib/util-CCWvaWo7.js +41 -0
- package/lib/util-CCWvaWo7.js.map +1 -0
- package/lib/zudoku.auth-auth0.js +3 -1
- package/lib/zudoku.auth-auth0.js.map +1 -0
- package/lib/zudoku.auth-clerk.js +11 -8
- package/lib/zudoku.auth-clerk.js.map +1 -0
- package/lib/zudoku.auth-openid.js +444 -588
- package/lib/zudoku.auth-openid.js.map +1 -0
- package/lib/zudoku.components.js +429 -334
- package/lib/zudoku.components.js.map +1 -0
- package/lib/zudoku.openapi-worker.js +16 -13
- package/lib/zudoku.openapi-worker.js.map +1 -0
- package/lib/zudoku.plugin-api-keys.js +296 -0
- package/lib/zudoku.plugin-api-keys.js.map +1 -0
- package/lib/zudoku.plugin-markdown.js +52 -0
- package/lib/zudoku.plugin-markdown.js.map +1 -0
- package/lib/zudoku.plugin-openapi.js +8 -0
- package/lib/zudoku.plugin-openapi.js.map +1 -0
- package/lib/zudoku.plugin-redirect.js +12 -0
- package/lib/zudoku.plugin-redirect.js.map +1 -0
- package/package.json +21 -6
- package/src/app/demo-cdn.html +26 -0
- package/src/app/demo.html +18 -0
- package/src/app/demo.tsx +40 -0
- package/src/app/main.css +74 -0
- package/src/app/main.tsx +42 -9
- package/src/app/standalone.html +20 -0
- package/src/app/standalone.tsx +46 -0
- package/src/app/tailwind.ts +1 -11
- package/src/lib/authentication/Callback.tsx +1 -1
- package/src/lib/authentication/authentication.ts +2 -5
- package/src/lib/authentication/hook.ts +1 -0
- package/src/lib/authentication/providers/auth0.tsx +1 -0
- package/src/lib/authentication/providers/clerk.tsx +2 -0
- package/src/lib/authentication/providers/openid.tsx +3 -1
- package/src/lib/authentication/state.ts +2 -0
- package/src/lib/components/DevPortal.tsx +23 -30
- package/src/lib/components/Header.tsx +7 -7
- package/src/lib/components/Heading.tsx +26 -7
- package/src/lib/components/Layout.tsx +3 -4
- package/src/lib/components/Router.tsx +3 -7
- package/src/lib/components/SyntaxHighlight.tsx +5 -1
- package/src/lib/components/TopNavigation.tsx +5 -0
- package/src/lib/components/context/DevPortalProvider.ts +2 -2
- package/src/lib/components/index.ts +9 -3
- package/src/lib/core/DevPortalContext.ts +42 -12
- package/src/lib/core/plugins.ts +10 -5
- package/src/lib/errors/ErrorAlert.tsx +21 -0
- package/src/lib/errors/RouterError.tsx +12 -0
- package/src/lib/errors/TopLevelError.tsx +8 -0
- package/src/lib/oas/graphql/index.ts +2 -2
- package/src/lib/oas/parser/index.ts +3 -1
- package/src/lib/plugins/{api-key → api-keys}/CreateApiKey.tsx +2 -8
- package/src/lib/plugins/{api-key → api-keys}/SettingsApiKeys.tsx +21 -14
- package/src/lib/plugins/{api-key → api-keys}/index.tsx +54 -8
- package/src/lib/plugins/markdown/MdxPage.tsx +52 -35
- package/src/lib/plugins/markdown/Toc.tsx +1 -1
- package/src/lib/plugins/markdown/generateRoutes.tsx +15 -5
- package/src/lib/plugins/markdown/index.tsx +8 -1
- package/src/lib/plugins/openapi/OperationList.tsx +10 -4
- package/src/lib/plugins/openapi/OperationListItem.tsx +66 -41
- package/src/lib/plugins/openapi/ParameterList.tsx +1 -1
- package/src/lib/plugins/openapi/ParameterListItem.tsx +3 -4
- package/src/lib/plugins/openapi/{MakeRequest.tsx → PlaygroundDialogWrapper.tsx} +4 -4
- package/src/lib/plugins/openapi/RequestBodySidecarBox.tsx +2 -16
- package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +3 -1
- package/src/lib/plugins/openapi/Route.tsx +21 -0
- package/src/lib/plugins/openapi/SchemaListView.tsx +15 -182
- package/src/lib/plugins/openapi/SchemaListViewItem.tsx +110 -0
- package/src/lib/plugins/openapi/SchemaListViewItemGroup.tsx +63 -0
- package/src/lib/plugins/openapi/Sidecar.tsx +15 -10
- package/src/lib/plugins/openapi/{Select.tsx → SimpleSelect.tsx} +6 -3
- 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} +13 -1
- package/src/lib/plugins/openapi/client/interfaces.ts +3 -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/index.tsx +37 -51
- package/src/lib/plugins/openapi/interfaces.ts +9 -0
- package/src/lib/plugins/openapi/playground/Headers.tsx +60 -33
- package/src/lib/plugins/openapi/playground/PathParams.tsx +1 -1
- package/src/lib/plugins/openapi/playground/Playground.tsx +158 -193
- package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +34 -0
- package/src/lib/plugins/openapi/playground/QueryParams.tsx +1 -1
- package/src/lib/plugins/openapi/playground/createUrl.ts +1 -1
- package/src/lib/plugins/openapi/util/prose.ts +7 -0
- package/src/lib/plugins/openapi-worker.ts +1 -1
- package/src/lib/ui/Callout.tsx +2 -2
- package/src/lib/util/MdxComponents.tsx +1 -2
- 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/dist/app/App.d.ts +0 -2
- package/dist/app/App.js +0 -29
- package/dist/app/App.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/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.d.ts +0 -5
- package/dist/lib/plugins/api-key/CreateApiKey.js.map +0 -1
- package/dist/lib/plugins/api-key/SettingsApiKeys.d.ts +0 -5
- 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.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/vite/common.d.ts +0 -1
- package/dist/vite/common.js +0 -5
- package/dist/vite/common.js.map +0 -1
- package/lib/Spinner-7LezPqGn.js +0 -8393
- package/lib/clerk-Wslx_mPo.js +0 -19685
- package/lib/index-DNx3xWa2.js +0 -3461
- package/lib/zudoku.plugins.js +0 -19863
- package/src/app/App.tsx +0 -40
- package/src/lib/components/Link.tsx +0 -1
- 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/worker/shared-worker.ts +0 -5
- /package/dist/lib/plugins/{api-key → api-keys}/index.d.ts +0 -0
- /package/dist/lib/plugins/openapi/{worker → client}/worker.d.ts +0 -0
package/lib/zudoku.components.js
CHANGED
|
@@ -1,33 +1,89 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var Re = Object.defineProperty;
|
|
2
|
+
var ae = (t) => {
|
|
3
3
|
throw TypeError(t);
|
|
4
4
|
};
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var i = (t, e, s) => (
|
|
8
|
-
var
|
|
5
|
+
var He = (t, e, s) => e in t ? Re(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s;
|
|
6
|
+
var g = (t, e, s) => He(t, typeof e != "symbol" ? e + "" : e, s), ne = (t, e, s) => e.has(t) || ae("Cannot " + s);
|
|
7
|
+
var i = (t, e, s) => (ne(t, e, "read from private field"), s ? s.call(t) : e.get(t)), v = (t, e, s) => e.has(t) ? ae("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, s), d = (t, e, s, a) => (ne(t, e, "write to private field"), a ? a.call(t, s) : e.set(t, s), s);
|
|
8
|
+
var I = (t, e, s, a) => ({
|
|
9
9
|
set _(r) {
|
|
10
|
-
|
|
10
|
+
d(t, e, r, s);
|
|
11
11
|
},
|
|
12
12
|
get _() {
|
|
13
13
|
return i(t, e, a);
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
|
|
16
|
+
import { c as B, N as U, a as Le, b as Be, d as Ke, R as ze, L as Ve } from "./index-CPvRaBBB.js";
|
|
17
|
+
import { u as Ue, a as X, M as We, T as Xe, V as _e, C as Ge } from "./MdxComponents-C0R6zobS.js";
|
|
18
|
+
import { j as n } from "./jsx-runtime-SV6hXQua.js";
|
|
19
|
+
import { S as ge, h as ve, Q as Je, n as p, m as re, a as ie, b as j, e as Ye, c as Ze, d as $e, f as et, o as oe, r as le, g as tt, i as ce, p as ue, s as st, u as _, j as at, k as nt, l as rt, D as it } from "./DevPortalProvider-BMk-RCE0.js";
|
|
20
|
+
import { createContext as xe, Component as ot, createElement as he, isValidElement as lt, memo as ye, useEffect as T, useRef as K, useState as ct, forwardRef as ut, Suspense as be, useMemo as H, Fragment as ht } from "react";
|
|
21
|
+
import { A as dt, H as je, a as ft, M as mt, u as pt } from "./AnchorLink-ptdQk87q.js";
|
|
22
|
+
import { c as gt } from "./state-Ds_OxRHP.js";
|
|
23
|
+
import { M as vt } from "./index-BaOOUFsA.js";
|
|
24
|
+
import { u as xt } from "./hook-BzBeIPL4.js";
|
|
25
|
+
import { u as D, O as yt, a as bt } from "./index-DLS6fPwU.js";
|
|
26
|
+
import { R as Pe, T as we, C as Ce, S as jt } from "./Spinner-BG1JnYy0.js";
|
|
27
|
+
import { c as L } from "./cn-DpqTslo9.js";
|
|
28
|
+
import { c as G, i as W, j as Ne, a as Pt } from "./util-CCWvaWo7.js";
|
|
29
|
+
/**
|
|
30
|
+
* @license lucide-react v0.378.0 - ISC
|
|
31
|
+
*
|
|
32
|
+
* This source code is licensed under the ISC license.
|
|
33
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
34
|
+
*/
|
|
35
|
+
const ke = B("ChevronRight", [
|
|
36
|
+
["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]
|
|
37
|
+
]);
|
|
38
|
+
/**
|
|
39
|
+
* @license lucide-react v0.378.0 - ISC
|
|
40
|
+
*
|
|
41
|
+
* This source code is licensed under the ISC license.
|
|
42
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
43
|
+
*/
|
|
44
|
+
const wt = B("ExternalLink", [
|
|
45
|
+
["path", { d: "M15 3h6v6", key: "1q9fwt" }],
|
|
46
|
+
["path", { d: "M10 14 21 3", key: "gplh6r" }],
|
|
47
|
+
["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
|
|
48
|
+
]);
|
|
49
|
+
/**
|
|
50
|
+
* @license lucide-react v0.378.0 - ISC
|
|
51
|
+
*
|
|
52
|
+
* This source code is licensed under the ISC license.
|
|
53
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
54
|
+
*/
|
|
55
|
+
const Ct = B("MoonStar", [
|
|
56
|
+
["path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9", key: "4ay0iu" }],
|
|
57
|
+
["path", { d: "M20 3v4", key: "1olli1" }],
|
|
58
|
+
["path", { d: "M22 5h-4", key: "1gvqau" }]
|
|
59
|
+
]);
|
|
60
|
+
/**
|
|
61
|
+
* @license lucide-react v0.378.0 - ISC
|
|
62
|
+
*
|
|
63
|
+
* This source code is licensed under the ISC license.
|
|
64
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
65
|
+
*/
|
|
66
|
+
const Nt = B("Sun", [
|
|
67
|
+
["circle", { cx: "12", cy: "12", r: "4", key: "4exip2" }],
|
|
68
|
+
["path", { d: "M12 2v2", key: "tus03m" }],
|
|
69
|
+
["path", { d: "M12 20v2", key: "1lh1kg" }],
|
|
70
|
+
["path", { d: "m4.93 4.93 1.41 1.41", key: "149t6j" }],
|
|
71
|
+
["path", { d: "m17.66 17.66 1.41 1.41", key: "ptbguv" }],
|
|
72
|
+
["path", { d: "M2 12h2", key: "1t8f8n" }],
|
|
73
|
+
["path", { d: "M20 12h2", key: "1q8mjw" }],
|
|
74
|
+
["path", { d: "m6.34 17.66-1.41 1.41", key: "1m8zz5" }],
|
|
75
|
+
["path", { d: "m19.07 4.93-1.41 1.41", key: "1shlcs" }]
|
|
76
|
+
]);
|
|
77
|
+
var y, fe, kt = (fe = class extends ge {
|
|
22
78
|
constructor(e = {}) {
|
|
23
79
|
super();
|
|
24
|
-
|
|
25
|
-
this.config = e,
|
|
80
|
+
v(this, y);
|
|
81
|
+
this.config = e, d(this, y, /* @__PURE__ */ new Map());
|
|
26
82
|
}
|
|
27
83
|
build(e, s, a) {
|
|
28
|
-
const r = s.queryKey, o = s.queryHash ??
|
|
84
|
+
const r = s.queryKey, o = s.queryHash ?? ve(r, s);
|
|
29
85
|
let l = this.get(o);
|
|
30
|
-
return l || (l = new
|
|
86
|
+
return l || (l = new Je({
|
|
31
87
|
cache: this,
|
|
32
88
|
queryKey: r,
|
|
33
89
|
queryHash: o,
|
|
@@ -37,14 +93,14 @@ var x, de, dt = (de = class extends me {
|
|
|
37
93
|
}), this.add(l)), l;
|
|
38
94
|
}
|
|
39
95
|
add(e) {
|
|
40
|
-
i(this,
|
|
96
|
+
i(this, y).has(e.queryHash) || (i(this, y).set(e.queryHash, e), this.notify({
|
|
41
97
|
type: "added",
|
|
42
98
|
query: e
|
|
43
99
|
}));
|
|
44
100
|
}
|
|
45
101
|
remove(e) {
|
|
46
|
-
const s = i(this,
|
|
47
|
-
s && (e.destroy(), s === e && i(this,
|
|
102
|
+
const s = i(this, y).get(e.queryHash);
|
|
103
|
+
s && (e.destroy(), s === e && i(this, y).delete(e.queryHash), this.notify({ type: "removed", query: e }));
|
|
48
104
|
}
|
|
49
105
|
clear() {
|
|
50
106
|
p.batch(() => {
|
|
@@ -54,20 +110,20 @@ var x, de, dt = (de = class extends me {
|
|
|
54
110
|
});
|
|
55
111
|
}
|
|
56
112
|
get(e) {
|
|
57
|
-
return i(this,
|
|
113
|
+
return i(this, y).get(e);
|
|
58
114
|
}
|
|
59
115
|
getAll() {
|
|
60
|
-
return [...i(this,
|
|
116
|
+
return [...i(this, y).values()];
|
|
61
117
|
}
|
|
62
118
|
find(e) {
|
|
63
119
|
const s = { exact: !0, ...e };
|
|
64
120
|
return this.getAll().find(
|
|
65
|
-
(a) =>
|
|
121
|
+
(a) => re(s, a)
|
|
66
122
|
);
|
|
67
123
|
}
|
|
68
124
|
findAll(e = {}) {
|
|
69
125
|
const s = this.getAll();
|
|
70
|
-
return Object.keys(e).length > 0 ? s.filter((a) =>
|
|
126
|
+
return Object.keys(e).length > 0 ? s.filter((a) => re(e, a)) : s;
|
|
71
127
|
}
|
|
72
128
|
notify(e) {
|
|
73
129
|
p.batch(() => {
|
|
@@ -90,43 +146,43 @@ var x, de, dt = (de = class extends me {
|
|
|
90
146
|
});
|
|
91
147
|
});
|
|
92
148
|
}
|
|
93
|
-
},
|
|
149
|
+
}, y = new WeakMap(), fe), m, S, me, Mt = (me = class extends ge {
|
|
94
150
|
constructor(e = {}) {
|
|
95
151
|
super();
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
this.config = e,
|
|
152
|
+
v(this, m);
|
|
153
|
+
v(this, S);
|
|
154
|
+
this.config = e, d(this, m, /* @__PURE__ */ new Map()), d(this, S, Date.now());
|
|
99
155
|
}
|
|
100
156
|
build(e, s, a) {
|
|
101
|
-
const r = new
|
|
157
|
+
const r = new vt({
|
|
102
158
|
mutationCache: this,
|
|
103
|
-
mutationId: ++
|
|
159
|
+
mutationId: ++I(this, S)._,
|
|
104
160
|
options: e.defaultMutationOptions(s),
|
|
105
161
|
state: a
|
|
106
162
|
});
|
|
107
163
|
return this.add(r), r;
|
|
108
164
|
}
|
|
109
165
|
add(e) {
|
|
110
|
-
const s =
|
|
111
|
-
a.push(e), i(this,
|
|
166
|
+
const s = F(e), a = i(this, m).get(s) ?? [];
|
|
167
|
+
a.push(e), i(this, m).set(s, a), this.notify({ type: "added", mutation: e });
|
|
112
168
|
}
|
|
113
169
|
remove(e) {
|
|
114
170
|
var a;
|
|
115
|
-
const s =
|
|
116
|
-
if (i(this,
|
|
117
|
-
const r = (a = i(this,
|
|
118
|
-
r && (r.length === 0 ? i(this,
|
|
171
|
+
const s = F(e);
|
|
172
|
+
if (i(this, m).has(s)) {
|
|
173
|
+
const r = (a = i(this, m).get(s)) == null ? void 0 : a.filter((o) => o !== e);
|
|
174
|
+
r && (r.length === 0 ? i(this, m).delete(s) : i(this, m).set(s, r));
|
|
119
175
|
}
|
|
120
176
|
this.notify({ type: "removed", mutation: e });
|
|
121
177
|
}
|
|
122
178
|
canRun(e) {
|
|
123
179
|
var a;
|
|
124
|
-
const s = (a = i(this,
|
|
180
|
+
const s = (a = i(this, m).get(F(e))) == null ? void 0 : a.find((r) => r.state.status === "pending");
|
|
125
181
|
return !s || s === e;
|
|
126
182
|
}
|
|
127
183
|
runNext(e) {
|
|
128
184
|
var a;
|
|
129
|
-
const s = (a = i(this,
|
|
185
|
+
const s = (a = i(this, m).get(F(e))) == null ? void 0 : a.find((r) => r !== e && r.state.isPaused);
|
|
130
186
|
return (s == null ? void 0 : s.continue()) ?? Promise.resolve();
|
|
131
187
|
}
|
|
132
188
|
clear() {
|
|
@@ -137,16 +193,16 @@ var x, de, dt = (de = class extends me {
|
|
|
137
193
|
});
|
|
138
194
|
}
|
|
139
195
|
getAll() {
|
|
140
|
-
return [...i(this,
|
|
196
|
+
return [...i(this, m).values()].flat();
|
|
141
197
|
}
|
|
142
198
|
find(e) {
|
|
143
199
|
const s = { exact: !0, ...e };
|
|
144
200
|
return this.getAll().find(
|
|
145
|
-
(a) =>
|
|
201
|
+
(a) => ie(s, a)
|
|
146
202
|
);
|
|
147
203
|
}
|
|
148
204
|
findAll(e = {}) {
|
|
149
|
-
return this.getAll().filter((s) =>
|
|
205
|
+
return this.getAll().filter((s) => ie(e, s));
|
|
150
206
|
}
|
|
151
207
|
notify(e) {
|
|
152
208
|
p.batch(() => {
|
|
@@ -163,64 +219,64 @@ var x, de, dt = (de = class extends me {
|
|
|
163
219
|
)
|
|
164
220
|
);
|
|
165
221
|
}
|
|
166
|
-
},
|
|
167
|
-
function
|
|
222
|
+
}, m = new WeakMap(), S = new WeakMap(), me);
|
|
223
|
+
function F(t) {
|
|
168
224
|
var e;
|
|
169
225
|
return ((e = t.options.scope) == null ? void 0 : e.id) ?? String(t.mutationId);
|
|
170
226
|
}
|
|
171
|
-
function
|
|
227
|
+
function Ot(t) {
|
|
172
228
|
return {
|
|
173
229
|
onFetch: (e, s) => {
|
|
174
230
|
const a = async () => {
|
|
175
|
-
var
|
|
176
|
-
const r = e.options, o = (
|
|
231
|
+
var J, Y, Z, $, ee;
|
|
232
|
+
const r = e.options, o = (Z = (Y = (J = e.fetchOptions) == null ? void 0 : J.meta) == null ? void 0 : Y.fetchMore) == null ? void 0 : Z.direction, l = (($ = e.state.data) == null ? void 0 : $.pages) || [], c = ((ee = e.state.data) == null ? void 0 : ee.pageParams) || [], h = { pages: [], pageParams: [] };
|
|
177
233
|
let b = !1;
|
|
178
|
-
const
|
|
179
|
-
Object.defineProperty(
|
|
234
|
+
const f = (x) => {
|
|
235
|
+
Object.defineProperty(x, "signal", {
|
|
180
236
|
enumerable: !0,
|
|
181
237
|
get: () => (e.signal.aborted ? b = !0 : e.signal.addEventListener("abort", () => {
|
|
182
238
|
b = !0;
|
|
183
239
|
}), e.signal)
|
|
184
240
|
});
|
|
185
|
-
},
|
|
241
|
+
}, Ie = Ye(e.options, e.fetchOptions), z = async (x, P, k) => {
|
|
186
242
|
if (b)
|
|
187
243
|
return Promise.reject();
|
|
188
|
-
if (
|
|
189
|
-
return Promise.resolve(
|
|
190
|
-
const
|
|
244
|
+
if (P == null && x.pages.length)
|
|
245
|
+
return Promise.resolve(x);
|
|
246
|
+
const q = {
|
|
191
247
|
queryKey: e.queryKey,
|
|
192
|
-
pageParam:
|
|
193
|
-
direction:
|
|
248
|
+
pageParam: P,
|
|
249
|
+
direction: k ? "backward" : "forward",
|
|
194
250
|
meta: e.options.meta
|
|
195
251
|
};
|
|
196
|
-
|
|
197
|
-
const
|
|
198
|
-
|
|
199
|
-
), { maxPages:
|
|
252
|
+
f(q);
|
|
253
|
+
const Fe = await Ie(
|
|
254
|
+
q
|
|
255
|
+
), { maxPages: te } = e.options, se = k ? Ze : $e;
|
|
200
256
|
return {
|
|
201
|
-
pages:
|
|
202
|
-
pageParams:
|
|
257
|
+
pages: se(x.pages, Fe, te),
|
|
258
|
+
pageParams: se(x.pageParams, P, te)
|
|
203
259
|
};
|
|
204
260
|
};
|
|
205
|
-
let
|
|
261
|
+
let M;
|
|
206
262
|
if (o && l.length) {
|
|
207
|
-
const
|
|
263
|
+
const x = o === "backward", P = x ? At : de, k = {
|
|
208
264
|
pages: l,
|
|
209
|
-
pageParams:
|
|
210
|
-
},
|
|
211
|
-
|
|
265
|
+
pageParams: c
|
|
266
|
+
}, q = P(r, k);
|
|
267
|
+
M = await z(k, q, x);
|
|
212
268
|
} else {
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
269
|
+
M = await z(
|
|
270
|
+
h,
|
|
271
|
+
c[0] ?? r.initialPageParam
|
|
216
272
|
);
|
|
217
|
-
const
|
|
218
|
-
for (let
|
|
219
|
-
const
|
|
220
|
-
|
|
273
|
+
const x = t ?? l.length;
|
|
274
|
+
for (let P = 1; P < x; P++) {
|
|
275
|
+
const k = de(r, M);
|
|
276
|
+
M = await z(M, k);
|
|
221
277
|
}
|
|
222
278
|
}
|
|
223
|
-
return
|
|
279
|
+
return M;
|
|
224
280
|
};
|
|
225
281
|
e.options.persister ? e.fetchFn = () => {
|
|
226
282
|
var r, o;
|
|
@@ -238,7 +294,7 @@ function pt(t) {
|
|
|
238
294
|
}
|
|
239
295
|
};
|
|
240
296
|
}
|
|
241
|
-
function
|
|
297
|
+
function de(t, { pages: e, pageParams: s }) {
|
|
242
298
|
const a = e.length - 1;
|
|
243
299
|
return t.getNextPageParam(
|
|
244
300
|
e[a],
|
|
@@ -247,7 +303,7 @@ function he(t, { pages: e, pageParams: s }) {
|
|
|
247
303
|
s
|
|
248
304
|
);
|
|
249
305
|
}
|
|
250
|
-
function
|
|
306
|
+
function At(t, { pages: e, pageParams: s }) {
|
|
251
307
|
var a;
|
|
252
308
|
return (a = t.getPreviousPageParam) == null ? void 0 : a.call(
|
|
253
309
|
t,
|
|
@@ -257,65 +313,65 @@ function mt(t, { pages: e, pageParams: s }) {
|
|
|
257
313
|
s
|
|
258
314
|
);
|
|
259
315
|
}
|
|
260
|
-
var
|
|
316
|
+
var u, w, C, O, A, N, E, Q, pe, Et = (pe = class {
|
|
261
317
|
constructor(t = {}) {
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
318
|
+
v(this, u);
|
|
319
|
+
v(this, w);
|
|
320
|
+
v(this, C);
|
|
321
|
+
v(this, O);
|
|
322
|
+
v(this, A);
|
|
323
|
+
v(this, N);
|
|
324
|
+
v(this, E);
|
|
325
|
+
v(this, Q);
|
|
326
|
+
d(this, u, t.queryCache || new kt()), d(this, w, t.mutationCache || new Mt()), d(this, C, t.defaultOptions || {}), d(this, O, /* @__PURE__ */ new Map()), d(this, A, /* @__PURE__ */ new Map()), d(this, N, 0);
|
|
271
327
|
}
|
|
272
328
|
mount() {
|
|
273
|
-
|
|
274
|
-
t && (await this.resumePausedMutations(), i(this,
|
|
275
|
-
})),
|
|
276
|
-
t && (await this.resumePausedMutations(), i(this,
|
|
329
|
+
I(this, N)._++, i(this, N) === 1 && (d(this, E, et.subscribe(async (t) => {
|
|
330
|
+
t && (await this.resumePausedMutations(), i(this, u).onFocus());
|
|
331
|
+
})), d(this, Q, oe.subscribe(async (t) => {
|
|
332
|
+
t && (await this.resumePausedMutations(), i(this, u).onOnline());
|
|
277
333
|
})));
|
|
278
334
|
}
|
|
279
335
|
unmount() {
|
|
280
336
|
var t, e;
|
|
281
|
-
|
|
337
|
+
I(this, N)._--, i(this, N) === 0 && ((t = i(this, E)) == null || t.call(this), d(this, E, void 0), (e = i(this, Q)) == null || e.call(this), d(this, Q, void 0));
|
|
282
338
|
}
|
|
283
339
|
isFetching(t) {
|
|
284
|
-
return i(this,
|
|
340
|
+
return i(this, u).findAll({ ...t, fetchStatus: "fetching" }).length;
|
|
285
341
|
}
|
|
286
342
|
isMutating(t) {
|
|
287
|
-
return i(this,
|
|
343
|
+
return i(this, w).findAll({ ...t, status: "pending" }).length;
|
|
288
344
|
}
|
|
289
345
|
getQueryData(t) {
|
|
290
346
|
var s;
|
|
291
347
|
const e = this.defaultQueryOptions({ queryKey: t });
|
|
292
|
-
return (s = i(this,
|
|
348
|
+
return (s = i(this, u).get(e.queryHash)) == null ? void 0 : s.state.data;
|
|
293
349
|
}
|
|
294
350
|
ensureQueryData(t) {
|
|
295
351
|
const e = this.getQueryData(t.queryKey);
|
|
296
352
|
if (e === void 0)
|
|
297
353
|
return this.fetchQuery(t);
|
|
298
354
|
{
|
|
299
|
-
const s = this.defaultQueryOptions(t), a = i(this,
|
|
300
|
-
return t.revalidateIfStale && a.isStaleByTime(
|
|
355
|
+
const s = this.defaultQueryOptions(t), a = i(this, u).build(this, s);
|
|
356
|
+
return t.revalidateIfStale && a.isStaleByTime(le(s.staleTime, a)) && this.prefetchQuery(s), Promise.resolve(e);
|
|
301
357
|
}
|
|
302
358
|
}
|
|
303
359
|
getQueriesData(t) {
|
|
304
|
-
return i(this,
|
|
360
|
+
return i(this, u).findAll(t).map(({ queryKey: e, state: s }) => {
|
|
305
361
|
const a = s.data;
|
|
306
362
|
return [e, a];
|
|
307
363
|
});
|
|
308
364
|
}
|
|
309
365
|
setQueryData(t, e, s) {
|
|
310
|
-
const a = this.defaultQueryOptions({ queryKey: t }), r = i(this,
|
|
366
|
+
const a = this.defaultQueryOptions({ queryKey: t }), r = i(this, u).get(
|
|
311
367
|
a.queryHash
|
|
312
|
-
), o = r == null ? void 0 : r.state.data, l =
|
|
368
|
+
), o = r == null ? void 0 : r.state.data, l = tt(e, o);
|
|
313
369
|
if (l !== void 0)
|
|
314
|
-
return i(this,
|
|
370
|
+
return i(this, u).build(this, a).setData(l, { ...s, manual: !0 });
|
|
315
371
|
}
|
|
316
372
|
setQueriesData(t, e, s) {
|
|
317
373
|
return p.batch(
|
|
318
|
-
() => i(this,
|
|
374
|
+
() => i(this, u).findAll(t).map(({ queryKey: a }) => [
|
|
319
375
|
a,
|
|
320
376
|
this.setQueryData(a, e, s)
|
|
321
377
|
])
|
|
@@ -324,10 +380,10 @@ var c, P, N, C, M, k, Q, q, pe, gt = (pe = class {
|
|
|
324
380
|
getQueryState(t) {
|
|
325
381
|
var s;
|
|
326
382
|
const e = this.defaultQueryOptions({ queryKey: t });
|
|
327
|
-
return (s = i(this,
|
|
383
|
+
return (s = i(this, u).get(e.queryHash)) == null ? void 0 : s.state;
|
|
328
384
|
}
|
|
329
385
|
removeQueries(t) {
|
|
330
|
-
const e = i(this,
|
|
386
|
+
const e = i(this, u);
|
|
331
387
|
p.batch(() => {
|
|
332
388
|
e.findAll(t).forEach((s) => {
|
|
333
389
|
e.remove(s);
|
|
@@ -335,7 +391,7 @@ var c, P, N, C, M, k, Q, q, pe, gt = (pe = class {
|
|
|
335
391
|
});
|
|
336
392
|
}
|
|
337
393
|
resetQueries(t, e) {
|
|
338
|
-
const s = i(this,
|
|
394
|
+
const s = i(this, u), a = {
|
|
339
395
|
type: "active",
|
|
340
396
|
...t
|
|
341
397
|
};
|
|
@@ -345,13 +401,13 @@ var c, P, N, C, M, k, Q, q, pe, gt = (pe = class {
|
|
|
345
401
|
}
|
|
346
402
|
cancelQueries(t = {}, e = {}) {
|
|
347
403
|
const s = { revert: !0, ...e }, a = p.batch(
|
|
348
|
-
() => i(this,
|
|
404
|
+
() => i(this, u).findAll(t).map((r) => r.cancel(s))
|
|
349
405
|
);
|
|
350
406
|
return Promise.all(a).then(j).catch(j);
|
|
351
407
|
}
|
|
352
408
|
invalidateQueries(t = {}, e = {}) {
|
|
353
409
|
return p.batch(() => {
|
|
354
|
-
if (i(this,
|
|
410
|
+
if (i(this, u).findAll(t).forEach((a) => {
|
|
355
411
|
a.invalidate();
|
|
356
412
|
}), t.refetchType === "none")
|
|
357
413
|
return Promise.resolve();
|
|
@@ -367,7 +423,7 @@ var c, P, N, C, M, k, Q, q, pe, gt = (pe = class {
|
|
|
367
423
|
...e,
|
|
368
424
|
cancelRefetch: (e == null ? void 0 : e.cancelRefetch) ?? !0
|
|
369
425
|
}, a = p.batch(
|
|
370
|
-
() => i(this,
|
|
426
|
+
() => i(this, u).findAll(t).filter((r) => !r.isDisabled()).map((r) => {
|
|
371
427
|
let o = r.fetch(void 0, s);
|
|
372
428
|
return s.throwOnError || (o = o.catch(j)), r.state.fetchStatus === "paused" ? Promise.resolve() : o;
|
|
373
429
|
})
|
|
@@ -377,106 +433,196 @@ var c, P, N, C, M, k, Q, q, pe, gt = (pe = class {
|
|
|
377
433
|
fetchQuery(t) {
|
|
378
434
|
const e = this.defaultQueryOptions(t);
|
|
379
435
|
e.retry === void 0 && (e.retry = !1);
|
|
380
|
-
const s = i(this,
|
|
436
|
+
const s = i(this, u).build(this, e);
|
|
381
437
|
return s.isStaleByTime(
|
|
382
|
-
|
|
438
|
+
le(e.staleTime, s)
|
|
383
439
|
) ? s.fetch(e) : Promise.resolve(s.state.data);
|
|
384
440
|
}
|
|
385
441
|
prefetchQuery(t) {
|
|
386
442
|
return this.fetchQuery(t).then(j).catch(j);
|
|
387
443
|
}
|
|
388
444
|
fetchInfiniteQuery(t) {
|
|
389
|
-
return t.behavior =
|
|
445
|
+
return t.behavior = Ot(t.pages), this.fetchQuery(t);
|
|
390
446
|
}
|
|
391
447
|
prefetchInfiniteQuery(t) {
|
|
392
448
|
return this.fetchInfiniteQuery(t).then(j).catch(j);
|
|
393
449
|
}
|
|
394
450
|
resumePausedMutations() {
|
|
395
|
-
return
|
|
451
|
+
return oe.isOnline() ? i(this, w).resumePausedMutations() : Promise.resolve();
|
|
396
452
|
}
|
|
397
453
|
getQueryCache() {
|
|
398
|
-
return i(this,
|
|
454
|
+
return i(this, u);
|
|
399
455
|
}
|
|
400
456
|
getMutationCache() {
|
|
401
|
-
return i(this,
|
|
457
|
+
return i(this, w);
|
|
402
458
|
}
|
|
403
459
|
getDefaultOptions() {
|
|
404
|
-
return i(this,
|
|
460
|
+
return i(this, C);
|
|
405
461
|
}
|
|
406
462
|
setDefaultOptions(t) {
|
|
407
|
-
|
|
463
|
+
d(this, C, t);
|
|
408
464
|
}
|
|
409
465
|
setQueryDefaults(t, e) {
|
|
410
|
-
i(this,
|
|
466
|
+
i(this, O).set(ce(t), {
|
|
411
467
|
queryKey: t,
|
|
412
468
|
defaultOptions: e
|
|
413
469
|
});
|
|
414
470
|
}
|
|
415
471
|
getQueryDefaults(t) {
|
|
416
|
-
const e = [...i(this,
|
|
472
|
+
const e = [...i(this, O).values()];
|
|
417
473
|
let s = {};
|
|
418
474
|
return e.forEach((a) => {
|
|
419
|
-
|
|
475
|
+
ue(t, a.queryKey) && (s = { ...s, ...a.defaultOptions });
|
|
420
476
|
}), s;
|
|
421
477
|
}
|
|
422
478
|
setMutationDefaults(t, e) {
|
|
423
|
-
i(this,
|
|
479
|
+
i(this, A).set(ce(t), {
|
|
424
480
|
mutationKey: t,
|
|
425
481
|
defaultOptions: e
|
|
426
482
|
});
|
|
427
483
|
}
|
|
428
484
|
getMutationDefaults(t) {
|
|
429
|
-
const e = [...i(this,
|
|
485
|
+
const e = [...i(this, A).values()];
|
|
430
486
|
let s = {};
|
|
431
487
|
return e.forEach((a) => {
|
|
432
|
-
|
|
488
|
+
ue(t, a.mutationKey) && (s = { ...s, ...a.defaultOptions });
|
|
433
489
|
}), s;
|
|
434
490
|
}
|
|
435
491
|
defaultQueryOptions(t) {
|
|
436
492
|
if (t._defaulted)
|
|
437
493
|
return t;
|
|
438
494
|
const e = {
|
|
439
|
-
...i(this,
|
|
495
|
+
...i(this, C).queries,
|
|
440
496
|
...this.getQueryDefaults(t.queryKey),
|
|
441
497
|
...t,
|
|
442
498
|
_defaulted: !0
|
|
443
499
|
};
|
|
444
|
-
return e.queryHash || (e.queryHash =
|
|
500
|
+
return e.queryHash || (e.queryHash = ve(
|
|
445
501
|
e.queryKey,
|
|
446
502
|
e
|
|
447
|
-
)), 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.enabled !== !0 && e.queryFn ===
|
|
503
|
+
)), 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.enabled !== !0 && e.queryFn === st && (e.enabled = !1), e;
|
|
448
504
|
}
|
|
449
505
|
defaultMutationOptions(t) {
|
|
450
506
|
return t != null && t._defaulted ? t : {
|
|
451
|
-
...i(this,
|
|
507
|
+
...i(this, C).mutations,
|
|
452
508
|
...(t == null ? void 0 : t.mutationKey) && this.getMutationDefaults(t.mutationKey),
|
|
453
509
|
...t,
|
|
454
510
|
_defaulted: !0
|
|
455
511
|
};
|
|
456
512
|
}
|
|
457
513
|
clear() {
|
|
458
|
-
i(this,
|
|
514
|
+
i(this, u).clear(), i(this, w).clear();
|
|
459
515
|
}
|
|
460
|
-
},
|
|
461
|
-
const
|
|
462
|
-
|
|
516
|
+
}, u = new WeakMap(), w = new WeakMap(), C = new WeakMap(), O = new WeakMap(), A = new WeakMap(), N = new WeakMap(), E = new WeakMap(), Q = new WeakMap(), pe);
|
|
517
|
+
const Qt = xe(null), V = {
|
|
518
|
+
didCatch: !1,
|
|
519
|
+
error: null
|
|
520
|
+
};
|
|
521
|
+
class Dt extends ot {
|
|
463
522
|
constructor(e) {
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
523
|
+
super(e), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = V;
|
|
524
|
+
}
|
|
525
|
+
static getDerivedStateFromError(e) {
|
|
526
|
+
return {
|
|
527
|
+
didCatch: !0,
|
|
528
|
+
error: e
|
|
529
|
+
};
|
|
530
|
+
}
|
|
531
|
+
resetErrorBoundary() {
|
|
532
|
+
const {
|
|
533
|
+
error: e
|
|
534
|
+
} = this.state;
|
|
535
|
+
if (e !== null) {
|
|
536
|
+
for (var s, a, r = arguments.length, o = new Array(r), l = 0; l < r; l++)
|
|
537
|
+
o[l] = arguments[l];
|
|
538
|
+
(s = (a = this.props).onReset) === null || s === void 0 || s.call(a, {
|
|
539
|
+
args: o,
|
|
540
|
+
reason: "imperative-api"
|
|
541
|
+
}), this.setState(V);
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
componentDidCatch(e, s) {
|
|
545
|
+
var a, r;
|
|
546
|
+
(a = (r = this.props).onError) === null || a === void 0 || a.call(r, e, s);
|
|
547
|
+
}
|
|
548
|
+
componentDidUpdate(e, s) {
|
|
549
|
+
const {
|
|
550
|
+
didCatch: a
|
|
551
|
+
} = this.state, {
|
|
552
|
+
resetKeys: r
|
|
553
|
+
} = this.props;
|
|
554
|
+
if (a && s.error !== null && St(e.resetKeys, r)) {
|
|
555
|
+
var o, l;
|
|
556
|
+
(o = (l = this.props).onReset) === null || o === void 0 || o.call(l, {
|
|
557
|
+
next: r,
|
|
558
|
+
prev: e.resetKeys,
|
|
559
|
+
reason: "keys"
|
|
560
|
+
}), this.setState(V);
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
render() {
|
|
564
|
+
const {
|
|
565
|
+
children: e,
|
|
566
|
+
fallbackRender: s,
|
|
567
|
+
FallbackComponent: a,
|
|
568
|
+
fallback: r
|
|
569
|
+
} = this.props, {
|
|
570
|
+
didCatch: o,
|
|
571
|
+
error: l
|
|
572
|
+
} = this.state;
|
|
573
|
+
let c = e;
|
|
574
|
+
if (o) {
|
|
575
|
+
const h = {
|
|
576
|
+
error: l,
|
|
577
|
+
resetErrorBoundary: this.resetErrorBoundary
|
|
578
|
+
};
|
|
579
|
+
if (typeof s == "function")
|
|
580
|
+
c = s(h);
|
|
581
|
+
else if (a)
|
|
582
|
+
c = he(a, h);
|
|
583
|
+
else if (r === null || lt(r))
|
|
584
|
+
c = r;
|
|
585
|
+
else
|
|
586
|
+
throw l;
|
|
587
|
+
}
|
|
588
|
+
return he(Qt.Provider, {
|
|
589
|
+
value: {
|
|
590
|
+
didCatch: o,
|
|
591
|
+
error: l,
|
|
592
|
+
resetErrorBoundary: this.resetErrorBoundary
|
|
593
|
+
}
|
|
594
|
+
}, c);
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
function St() {
|
|
598
|
+
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
|
|
599
|
+
return t.length !== e.length || t.some((s, a) => !Object.is(s, e[a]));
|
|
600
|
+
}
|
|
601
|
+
const Me = (t) => "getRoutes" in t && typeof t.getRoutes == "function", Tt = (t) => "initialize" in t && typeof t.initialize == "function", qt = (t) => "getHead" in t && typeof t.getHead == "function", It = (t) => "getIdentities" in t && typeof t.getIdentities == "function", Oe = new Et(), Ft = gt(() => ({}));
|
|
602
|
+
class Rt {
|
|
603
|
+
constructor(e) {
|
|
604
|
+
g(this, "plugins", []);
|
|
605
|
+
g(this, "navigationPlugins");
|
|
606
|
+
g(this, "navigation");
|
|
607
|
+
g(this, "meta");
|
|
608
|
+
g(this, "page");
|
|
609
|
+
g(this, "authentication");
|
|
610
|
+
g(this, "state");
|
|
611
|
+
g(this, "initialize", async () => {
|
|
612
|
+
await Promise.all([
|
|
613
|
+
this.plugins.filter(Tt).map((e) => {
|
|
614
|
+
var s;
|
|
615
|
+
return (s = e.initialize) == null ? void 0 : s.call(e, this);
|
|
616
|
+
})
|
|
617
|
+
]);
|
|
472
618
|
});
|
|
473
|
-
|
|
474
|
-
await
|
|
619
|
+
g(this, "invalidateCache", async (e) => {
|
|
620
|
+
await Oe.invalidateQueries({ queryKey: e });
|
|
475
621
|
});
|
|
476
|
-
|
|
477
|
-
this.plugins.filter(
|
|
622
|
+
g(this, "getApiIdentities", async () => (await Promise.all(
|
|
623
|
+
this.plugins.filter(It).map((s) => s.getIdentities(this))
|
|
478
624
|
)).flat());
|
|
479
|
-
|
|
625
|
+
g(this, "getNavigation", async (e) => (await Promise.all(
|
|
480
626
|
this.navigationPlugins.map(
|
|
481
627
|
async (a) => {
|
|
482
628
|
var r;
|
|
@@ -484,7 +630,7 @@ class bt {
|
|
|
484
630
|
}
|
|
485
631
|
)
|
|
486
632
|
)).flatMap((a) => a ?? []));
|
|
487
|
-
this.plugins = e.plugins ?? [], this.navigation = e.navigation, this.navigationPlugins = this.plugins.filter(
|
|
633
|
+
this.plugins = e.plugins ?? [], this.navigation = e.navigation, this.navigationPlugins = this.plugins.filter(Me), this.authentication = e.authentication, this.meta = e.metadata, this.page = e.page, this.state = Ft;
|
|
488
634
|
}
|
|
489
635
|
async signRequest(e) {
|
|
490
636
|
if (!this.authentication)
|
|
@@ -493,86 +639,23 @@ class bt {
|
|
|
493
639
|
return e.headers.set("Authorization", `Bearer ${s}`), e;
|
|
494
640
|
}
|
|
495
641
|
}
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
*/
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
const jt = E("ExternalLink", [
|
|
512
|
-
["path", { d: "M15 3h6v6", key: "1q9fwt" }],
|
|
513
|
-
["path", { d: "M10 14 21 3", key: "gplh6r" }],
|
|
514
|
-
["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
|
|
515
|
-
]);
|
|
516
|
-
/**
|
|
517
|
-
* @license lucide-react v0.378.0 - ISC
|
|
518
|
-
*
|
|
519
|
-
* This source code is licensed under the ISC license.
|
|
520
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
521
|
-
*/
|
|
522
|
-
const wt = E("MoonStar", [
|
|
523
|
-
["path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9", key: "4ay0iu" }],
|
|
524
|
-
["path", { d: "M20 3v4", key: "1olli1" }],
|
|
525
|
-
["path", { d: "M22 5h-4", key: "1gvqau" }]
|
|
526
|
-
]);
|
|
527
|
-
/**
|
|
528
|
-
* @license lucide-react v0.378.0 - ISC
|
|
529
|
-
*
|
|
530
|
-
* This source code is licensed under the ISC license.
|
|
531
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
532
|
-
*/
|
|
533
|
-
const Pt = E("Search", [
|
|
534
|
-
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
|
535
|
-
["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
|
|
536
|
-
]);
|
|
537
|
-
/**
|
|
538
|
-
* @license lucide-react v0.378.0 - ISC
|
|
539
|
-
*
|
|
540
|
-
* This source code is licensed under the ISC license.
|
|
541
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
542
|
-
*/
|
|
543
|
-
const Nt = E("Sun", [
|
|
544
|
-
["circle", { cx: "12", cy: "12", r: "4", key: "4exip2" }],
|
|
545
|
-
["path", { d: "M12 2v2", key: "tus03m" }],
|
|
546
|
-
["path", { d: "M12 20v2", key: "1lh1kg" }],
|
|
547
|
-
["path", { d: "m4.93 4.93 1.41 1.41", key: "149t6j" }],
|
|
548
|
-
["path", { d: "m17.66 17.66 1.41 1.41", key: "ptbguv" }],
|
|
549
|
-
["path", { d: "M2 12h2", key: "1t8f8n" }],
|
|
550
|
-
["path", { d: "M20 12h2", key: "1q8mjw" }],
|
|
551
|
-
["path", { d: "m6.34 17.66-1.41 1.41", key: "1m8zz5" }],
|
|
552
|
-
["path", { d: "m19.07 4.93-1.41 1.41", key: "1shlcs" }]
|
|
553
|
-
]), kt = () => {
|
|
554
|
-
const { authentication: t } = K(), e = ut(), s = typeof t < "u";
|
|
555
|
-
return {
|
|
556
|
-
isAuthEnabled: s,
|
|
557
|
-
profile: e.profile,
|
|
558
|
-
isAuthenticated: e.profile,
|
|
559
|
-
login: async () => {
|
|
560
|
-
if (!s)
|
|
561
|
-
throw new Error("Authentication is not enabled.");
|
|
562
|
-
await t.login();
|
|
563
|
-
},
|
|
564
|
-
logout: async () => {
|
|
565
|
-
if (!s)
|
|
566
|
-
throw new Error("Authentication is not enabled.");
|
|
567
|
-
await t.logout(), window.location.href = "/";
|
|
568
|
-
}
|
|
569
|
-
};
|
|
570
|
-
}, Ot = () => {
|
|
571
|
-
const { navigation: t } = K();
|
|
572
|
-
return /* @__PURE__ */ n.jsx("nav", { className: "border-b border-border text-sm px-12 h-[--top-nav-height]", children: /* @__PURE__ */ n.jsx("ul", { className: "flex flex-row items-center gap-8", children: t.map((e) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsx(
|
|
573
|
-
V,
|
|
642
|
+
function Ae({ error: t }) {
|
|
643
|
+
const e = (t == null ? void 0 : t.message) ?? "Something went wrong", s = t == null ? void 0 : t.stack;
|
|
644
|
+
return /* @__PURE__ */ n.jsx("div", { className: "flex h-screen max-h-screen min-h-full items-center justify-center bg-primary-background px-4 py-16 lg:px-8", children: /* @__PURE__ */ n.jsxs("div", { className: "mx-auto max-w-[85%] sm:max-w-[50%]", children: [
|
|
645
|
+
/* @__PURE__ */ n.jsx("h1", { className: "text-4xl font-bold tracking-tight text-h1-text sm:text-5xl", children: "Something went wrong" }),
|
|
646
|
+
/* @__PURE__ */ n.jsx("p", { className: "mt-5 text-h1-text", children: e }),
|
|
647
|
+
s ? /* @__PURE__ */ n.jsx("pre", { className: "mt-5 max-h-[400px] w-full overflow-scroll rounded-md border border-input-border bg-input-background p-3 text-property-name-text text-red-700", children: s }) : null
|
|
648
|
+
] }) });
|
|
649
|
+
}
|
|
650
|
+
function Ht({ error: t, resetErrorBoundary: e }) {
|
|
651
|
+
return /* @__PURE__ */ n.jsx(Ae, { error: t });
|
|
652
|
+
}
|
|
653
|
+
const Lt = () => {
|
|
654
|
+
const { navigation: t } = _();
|
|
655
|
+
return t.length <= 1 ? null : /* @__PURE__ */ n.jsx("nav", { className: "border-b border-border text-sm px-12 h-[--top-nav-height]", children: /* @__PURE__ */ n.jsx("ul", { className: "flex flex-row items-center gap-8", children: t.map((e) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsx(
|
|
656
|
+
U,
|
|
574
657
|
{
|
|
575
|
-
className: ({ isActive: s }) =>
|
|
658
|
+
className: ({ isActive: s }) => Le(
|
|
576
659
|
"block py-3.5 font-medium -mb-px border-b-2",
|
|
577
660
|
s ? "border-primary text-foreground" : "border-transparent text-foreground/75 hover:text-foreground hover:border-accent-foreground/25"
|
|
578
661
|
),
|
|
@@ -580,28 +663,22 @@ const Nt = E("Sun", [
|
|
|
580
663
|
children: e.label
|
|
581
664
|
}
|
|
582
665
|
) }, e.label)) }) });
|
|
583
|
-
},
|
|
584
|
-
const [e, s] =
|
|
666
|
+
}, Ee = ye(function() {
|
|
667
|
+
const [e, s] = Ue(), { isAuthenticated: a, profile: r, isAuthEnabled: o, login: l, logout: c } = xt(), { page: h } = _(), b = e ? Ct : Nt;
|
|
585
668
|
return /* @__PURE__ */ n.jsx("header", { className: "fixed top-0 w-full z-10 bg-background/80 backdrop-blur", children: /* @__PURE__ */ n.jsxs("div", { className: "max-w-screen-2xl mx-auto", children: [
|
|
586
669
|
/* @__PURE__ */ n.jsxs("div", { className: "grid grid-cols-[calc(var(--side-nav-width))_1fr] lg:gap-12 items-center border-b border-border px-12 h-[--top-header-height]", children: [
|
|
587
670
|
/* @__PURE__ */ n.jsxs("div", { className: "flex items-center gap-3.5", children: [
|
|
588
|
-
(
|
|
589
|
-
/* @__PURE__ */ n.jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children:
|
|
671
|
+
(h == null ? void 0 : h.logo) && /* @__PURE__ */ n.jsx("img", { src: h.logo, alt: h.pageTitle, className: "h-10" }),
|
|
672
|
+
/* @__PURE__ */ n.jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children: h == null ? void 0 : h.pageTitle })
|
|
590
673
|
] }),
|
|
591
674
|
/* @__PURE__ */ n.jsxs("div", { className: "grid grid-cols-[--sidecar-grid-cols] items-center gap-8", children: [
|
|
592
|
-
/* @__PURE__ */ n.jsx("div", { className: "w-full max-w-prose"
|
|
593
|
-
/* @__PURE__ */ n.jsxs("div", { className: "flex items-center gap-2 flex-grow", children: [
|
|
594
|
-
/* @__PURE__ */ n.jsx(Pt, { size: 14 }),
|
|
595
|
-
"Search"
|
|
596
|
-
] }),
|
|
597
|
-
/* @__PURE__ */ n.jsx("kbd", { className: "absolute right-[0.3rem] top-[0.3rem] hidden h-5 select-none items-center gap-1 rounded border border-border bg-muted px-1.5 font-mono text-[11px] font-medium opacity-100 sm:flex", children: "⌘K" })
|
|
598
|
-
] }) }),
|
|
675
|
+
/* @__PURE__ */ n.jsx("div", { className: "w-full max-w-prose" }),
|
|
599
676
|
/* @__PURE__ */ n.jsxs("div", { className: "items-center justify-self-end text-sm hidden lg:flex", children: [
|
|
600
677
|
o && /* @__PURE__ */ n.jsx(n.Fragment, { children: a ? /* @__PURE__ */ n.jsxs(
|
|
601
678
|
"button",
|
|
602
679
|
{
|
|
603
680
|
className: "cursor-pointer hover:bg-secondary p-1 px-2 mx-2 rounded text-nowrap",
|
|
604
|
-
onClick:
|
|
681
|
+
onClick: c,
|
|
605
682
|
children: [
|
|
606
683
|
"Logout ",
|
|
607
684
|
r != null && r.email ? `(${r.email})` : null
|
|
@@ -626,12 +703,12 @@ const Nt = E("Sun", [
|
|
|
626
703
|
] })
|
|
627
704
|
] })
|
|
628
705
|
] }),
|
|
629
|
-
/* @__PURE__ */ n.jsx(
|
|
706
|
+
/* @__PURE__ */ n.jsx(Lt, {})
|
|
630
707
|
] }) });
|
|
631
|
-
}),
|
|
632
|
-
Header:
|
|
633
|
-
},
|
|
634
|
-
const t = D(), { setActiveAnchor: e } =
|
|
708
|
+
}), Qe = {
|
|
709
|
+
Header: Ee
|
|
710
|
+
}, Bt = xe(Qe), Kt = Bt.Provider, zt = () => {
|
|
711
|
+
const t = D(), { setActiveAnchor: e } = X();
|
|
635
712
|
T(() => {
|
|
636
713
|
if (!t.hash) return;
|
|
637
714
|
const s = t.hash.split("/")[0].slice(1), a = document.getElementById(decodeURIComponent(s));
|
|
@@ -642,26 +719,26 @@ const Nt = E("Sun", [
|
|
|
642
719
|
return;
|
|
643
720
|
}
|
|
644
721
|
const r = new MutationObserver((o, l) => {
|
|
645
|
-
const
|
|
646
|
-
|
|
722
|
+
const c = document.getElementById(decodeURIComponent(s));
|
|
723
|
+
c && (c.scrollIntoView(), requestIdleCallback(() => e(s)), l.disconnect());
|
|
647
724
|
});
|
|
648
725
|
return r.observe(document.body, { childList: !0, subtree: !0 }), () => r.disconnect();
|
|
649
726
|
}, [t.hash, e]);
|
|
650
|
-
},
|
|
651
|
-
const t = D(), e =
|
|
727
|
+
}, Vt = () => {
|
|
728
|
+
const t = D(), e = K(t.pathname);
|
|
652
729
|
T(() => {
|
|
653
730
|
e.current !== t.pathname && (window.scrollTo(0, 0), e.current = t.pathname);
|
|
654
731
|
}, [t.pathname]);
|
|
655
|
-
},
|
|
732
|
+
}, De = ({
|
|
656
733
|
item: t,
|
|
657
734
|
defaultOpen: e,
|
|
658
735
|
path: s
|
|
659
736
|
}) => {
|
|
660
|
-
const [a, r] =
|
|
737
|
+
const [a, r] = ct(e), o = D(), l = K(o.pathname);
|
|
661
738
|
return T(() => {
|
|
662
|
-
!a && l.current !== o.pathname && r(
|
|
739
|
+
!a && l.current !== o.pathname && r(G(t, o.pathname, s)), l.current = o.pathname;
|
|
663
740
|
}, [a, t, s, o.pathname]), [a, r];
|
|
664
|
-
},
|
|
741
|
+
}, R = Be(
|
|
665
742
|
"flex px-[--padding-nav-item] py-1.5 rounded-lg hover:bg-accent transition-colors duration-300",
|
|
666
743
|
{
|
|
667
744
|
variants: {
|
|
@@ -675,38 +752,38 @@ const Nt = E("Sun", [
|
|
|
675
752
|
}
|
|
676
753
|
}
|
|
677
754
|
}
|
|
678
|
-
),
|
|
755
|
+
), Ut = "data-anchor", Se = ({
|
|
679
756
|
category: t,
|
|
680
757
|
item: e,
|
|
681
758
|
activeAnchor: s,
|
|
682
759
|
currentTopNavItem: a,
|
|
683
760
|
basePath: r = ""
|
|
684
761
|
}) => {
|
|
685
|
-
const o =
|
|
762
|
+
const o = W(e) ? Ne(r, e.path) : "", l = D(), [c, h] = De({
|
|
686
763
|
item: e,
|
|
687
764
|
path: o,
|
|
688
|
-
defaultOpen: () =>
|
|
765
|
+
defaultOpen: () => G(e, l.pathname, o)
|
|
689
766
|
});
|
|
690
|
-
if (
|
|
691
|
-
const
|
|
767
|
+
if (Pt(e)) {
|
|
768
|
+
const f = L(
|
|
692
769
|
"flex items-center gap-2",
|
|
693
|
-
|
|
770
|
+
R({
|
|
694
771
|
isActive: e.href === l.pathname
|
|
695
772
|
})
|
|
696
773
|
);
|
|
697
774
|
return e.href.startsWith("http") ? /* @__PURE__ */ n.jsxs(
|
|
698
775
|
"a",
|
|
699
776
|
{
|
|
700
|
-
className:
|
|
777
|
+
className: f,
|
|
701
778
|
href: e.href,
|
|
702
779
|
target: "_blank",
|
|
703
780
|
rel: "noopener noreferrer",
|
|
704
781
|
children: [
|
|
705
782
|
e.label,
|
|
706
|
-
/* @__PURE__ */ n.jsx(
|
|
783
|
+
/* @__PURE__ */ n.jsx(wt, { size: 14 })
|
|
707
784
|
]
|
|
708
785
|
}
|
|
709
|
-
) : /* @__PURE__ */ n.jsx(
|
|
786
|
+
) : /* @__PURE__ */ n.jsx(U, { className: f, to: e.href, children: e.label });
|
|
710
787
|
}
|
|
711
788
|
const b = /* @__PURE__ */ n.jsxs("div", { className: "flex justify-between w-full", children: [
|
|
712
789
|
/* @__PURE__ */ n.jsxs("div", { className: "flex items-center gap-2 truncate w-full", children: [
|
|
@@ -722,72 +799,72 @@ const Nt = E("Sun", [
|
|
|
722
799
|
)
|
|
723
800
|
] });
|
|
724
801
|
return /* @__PURE__ */ n.jsx("li", { title: typeof e.label == "string" ? e.label : e.title, children: e.children ? /* @__PURE__ */ n.jsxs(
|
|
725
|
-
|
|
802
|
+
Pe,
|
|
726
803
|
{
|
|
727
|
-
open:
|
|
728
|
-
onOpenChange: () =>
|
|
804
|
+
open: c,
|
|
805
|
+
onOpenChange: () => h((f) => !f),
|
|
729
806
|
className: "flex flex-col",
|
|
730
807
|
children: [
|
|
731
808
|
/* @__PURE__ */ n.jsx(
|
|
732
|
-
|
|
809
|
+
we,
|
|
733
810
|
{
|
|
734
|
-
className:
|
|
811
|
+
className: L(
|
|
735
812
|
"group text-start",
|
|
736
|
-
|
|
813
|
+
R({ isActive: !1 })
|
|
737
814
|
),
|
|
738
815
|
children: b
|
|
739
816
|
}
|
|
740
817
|
),
|
|
741
|
-
/* @__PURE__ */ n.jsx(
|
|
742
|
-
|
|
818
|
+
/* @__PURE__ */ n.jsx(Ce, { className: "CollapsibleContent ms-[calc(var(--padding-nav-item)*1.125)]", children: /* @__PURE__ */ n.jsx("ul", { className: "mt-1 border-border border-l ps-1.5", children: e.children.map((f) => /* @__PURE__ */ n.jsx(
|
|
819
|
+
Se,
|
|
743
820
|
{
|
|
744
821
|
category: t,
|
|
745
|
-
item:
|
|
822
|
+
item: f,
|
|
746
823
|
activeAnchor: s,
|
|
747
824
|
currentTopNavItem: a,
|
|
748
825
|
basePath: o
|
|
749
826
|
},
|
|
750
|
-
|
|
827
|
+
W(f) ? f.path : f.href
|
|
751
828
|
)) }) })
|
|
752
829
|
]
|
|
753
830
|
}
|
|
754
831
|
) : e.path.startsWith("#") ? /* @__PURE__ */ n.jsx(
|
|
755
|
-
|
|
832
|
+
dt,
|
|
756
833
|
{
|
|
757
834
|
to: e.path,
|
|
758
|
-
[
|
|
759
|
-
className:
|
|
835
|
+
[Ut]: e.path,
|
|
836
|
+
className: R({
|
|
760
837
|
isActive: e.path.slice(1) === s,
|
|
761
838
|
isMuted: e.muted
|
|
762
839
|
}),
|
|
763
840
|
children: b
|
|
764
841
|
}
|
|
765
842
|
) : /* @__PURE__ */ n.jsx(
|
|
766
|
-
|
|
843
|
+
U,
|
|
767
844
|
{
|
|
768
|
-
className: ({ isActive:
|
|
845
|
+
className: ({ isActive: f }) => R({ isActive: f }),
|
|
769
846
|
to: o,
|
|
770
847
|
children: b
|
|
771
848
|
}
|
|
772
849
|
) });
|
|
773
|
-
},
|
|
850
|
+
}, Wt = ({
|
|
774
851
|
category: t
|
|
775
852
|
}) => {
|
|
776
|
-
const { activeAnchor: e } =
|
|
853
|
+
const { activeAnchor: e } = X(), s = at(), a = D(), r = t.collapsible ?? !0, [o, l] = De({
|
|
777
854
|
item: t,
|
|
778
855
|
path: (s == null ? void 0 : s.path) ?? "",
|
|
779
|
-
defaultOpen: () => !r || t.expanded ||
|
|
856
|
+
defaultOpen: () => !r || t.expanded || G(t, a.pathname, (s == null ? void 0 : s.path) ?? "")
|
|
780
857
|
});
|
|
781
858
|
return /* @__PURE__ */ n.jsxs(
|
|
782
|
-
|
|
859
|
+
Pe,
|
|
783
860
|
{
|
|
784
861
|
open: o,
|
|
785
|
-
onOpenChange: () => l((
|
|
862
|
+
onOpenChange: () => l((c) => !c),
|
|
786
863
|
children: [
|
|
787
|
-
t.label.length > 0 ? /* @__PURE__ */ n.jsx(
|
|
864
|
+
t.label.length > 0 ? /* @__PURE__ */ n.jsx(we, { asChild: r, disabled: !r, children: /* @__PURE__ */ n.jsxs(
|
|
788
865
|
"h5",
|
|
789
866
|
{
|
|
790
|
-
className:
|
|
867
|
+
className: L(
|
|
791
868
|
"flex group items-center justify-between cursor-pointer font-semibold text-foreground/90 px-[--padding-nav-item] py-1.5 rounded-lg transition-colors duration-300 -mx-[--padding-nav-item]",
|
|
792
869
|
r ? "hover:bg-accent" : "cursor-auto"
|
|
793
870
|
),
|
|
@@ -803,27 +880,27 @@ const Nt = E("Sun", [
|
|
|
803
880
|
]
|
|
804
881
|
}
|
|
805
882
|
) }) : "Endpoints",
|
|
806
|
-
/* @__PURE__ */ n.jsx(
|
|
807
|
-
|
|
883
|
+
/* @__PURE__ */ n.jsx(Ce, { className: "CollapsibleContent -mx-[--padding-nav-item]", children: /* @__PURE__ */ n.jsx("ul", { className: "space-y-0.5 mt-1.5 mb-4 ms-3", children: t.children.map((c) => /* @__PURE__ */ n.jsx(
|
|
884
|
+
Se,
|
|
808
885
|
{
|
|
809
886
|
category: t,
|
|
810
|
-
item:
|
|
887
|
+
item: c,
|
|
811
888
|
activeAnchor: e,
|
|
812
889
|
currentTopNavItem: s,
|
|
813
|
-
basePath:
|
|
890
|
+
basePath: Ne(s == null ? void 0 : s.path, t.path)
|
|
814
891
|
},
|
|
815
|
-
|
|
892
|
+
W(c) ? c.path + c.label : c.href
|
|
816
893
|
)) }) })
|
|
817
894
|
]
|
|
818
895
|
},
|
|
819
896
|
t.label
|
|
820
897
|
);
|
|
821
|
-
},
|
|
898
|
+
}, Xt = ut(function({ children: e, className: s, pushMainContent: a }, r) {
|
|
822
899
|
return /* @__PURE__ */ n.jsx(
|
|
823
900
|
"nav",
|
|
824
901
|
{
|
|
825
902
|
"data-navigation": String(a),
|
|
826
|
-
className:
|
|
903
|
+
className: L(
|
|
827
904
|
"peer hidden lg:flex flex-col fixed text-sm overflow-y-auto shrink-0 p-[--padding-nav-item] -mx-[--padding-nav-item] pb-20 pt-[--padding-content-top] w-[--side-nav-width] h-[calc(100%-var(--header-height))] scroll-pt-2 gap-2",
|
|
828
905
|
s
|
|
829
906
|
),
|
|
@@ -831,43 +908,42 @@ const Nt = E("Sun", [
|
|
|
831
908
|
children: e
|
|
832
909
|
}
|
|
833
910
|
);
|
|
834
|
-
}),
|
|
835
|
-
const t =
|
|
911
|
+
}), _t = () => {
|
|
912
|
+
const t = K(null), e = nt();
|
|
836
913
|
return /* @__PURE__ */ n.jsx(
|
|
837
|
-
|
|
914
|
+
Xt,
|
|
838
915
|
{
|
|
839
916
|
ref: t,
|
|
840
917
|
pushMainContent: e.data.items.length > 0,
|
|
841
|
-
children: e.data.items.map((s) => /* @__PURE__ */ n.jsx(
|
|
918
|
+
children: e.data.items.map((s) => /* @__PURE__ */ n.jsx(Wt, { category: s }, s.label))
|
|
842
919
|
}
|
|
843
920
|
);
|
|
844
|
-
},
|
|
845
|
-
const e = D(), { setActiveAnchor: s } =
|
|
846
|
-
|
|
847
|
-
const r =
|
|
921
|
+
}, Te = ({ children: t }) => {
|
|
922
|
+
const e = D(), { setActiveAnchor: s } = X(), { meta: a } = _();
|
|
923
|
+
zt(), Vt();
|
|
924
|
+
const r = K(e.pathname);
|
|
848
925
|
return T(() => {
|
|
849
926
|
e.pathname !== r.current && s(""), r.current = e.pathname;
|
|
850
927
|
}, [e.pathname, s]), /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
851
|
-
/* @__PURE__ */ n.jsxs(
|
|
852
|
-
/* @__PURE__ */ n.jsx("title", { children: "Home" }),
|
|
928
|
+
/* @__PURE__ */ n.jsxs(je, { titleTemplate: a == null ? void 0 : a.title, children: [
|
|
853
929
|
(a == null ? void 0 : a.description) && /* @__PURE__ */ n.jsx("meta", { name: "description", content: a.description }),
|
|
854
930
|
(a == null ? void 0 : a.favicon) && /* @__PURE__ */ n.jsx("link", { rel: "icon", href: a.favicon })
|
|
855
931
|
] }),
|
|
856
|
-
/* @__PURE__ */ n.jsx(
|
|
932
|
+
/* @__PURE__ */ n.jsx(Ee, {}),
|
|
857
933
|
/* @__PURE__ */ n.jsx("div", { className: "max-w-screen-2xl mx-auto pt-[--header-height] px-10 lg:px-12 h-full", children: /* @__PURE__ */ n.jsxs(
|
|
858
|
-
|
|
934
|
+
be,
|
|
859
935
|
{
|
|
860
|
-
fallback: /* @__PURE__ */ n.jsx("div", { className: "grid h-full place-items-center", children: /* @__PURE__ */ n.jsx(
|
|
936
|
+
fallback: /* @__PURE__ */ n.jsx("div", { className: "grid h-full place-items-center", children: /* @__PURE__ */ n.jsx(jt, {}) }),
|
|
861
937
|
children: [
|
|
862
|
-
/* @__PURE__ */ n.jsx(
|
|
938
|
+
/* @__PURE__ */ n.jsx(_t, {}),
|
|
863
939
|
/* @__PURE__ */ n.jsx(
|
|
864
940
|
"main",
|
|
865
941
|
{
|
|
866
|
-
className: `dark:border-white/10 translate-x-0
|
|
942
|
+
className: `dark:border-white/10 translate-x-0 h-full
|
|
867
943
|
lg:overflow-visible
|
|
868
944
|
lg:peer-data-[navigation=true]:w-[calc(100%-var(--side-nav-width))]
|
|
869
945
|
lg:peer-data-[navigation=true]:translate-x-[--side-nav-width] peer-data-[navigation=true]:pl-12`,
|
|
870
|
-
children: t ?? /* @__PURE__ */ n.jsx(
|
|
946
|
+
children: t ?? /* @__PURE__ */ n.jsx(yt, {})
|
|
871
947
|
}
|
|
872
948
|
)
|
|
873
949
|
]
|
|
@@ -875,51 +951,70 @@ const Nt = E("Sun", [
|
|
|
875
951
|
) })
|
|
876
952
|
] });
|
|
877
953
|
};
|
|
878
|
-
function
|
|
879
|
-
const
|
|
954
|
+
function Gt() {
|
|
955
|
+
const t = bt();
|
|
956
|
+
return /* @__PURE__ */ n.jsx(Te, { children: /* @__PURE__ */ n.jsx(Ae, { error: t }) });
|
|
957
|
+
}
|
|
958
|
+
function Jt({ plugins: t }) {
|
|
959
|
+
const e = H(() => {
|
|
880
960
|
const s = (t ?? []).flatMap(
|
|
881
|
-
(a) =>
|
|
961
|
+
(a) => Me(a) ? a.getRoutes() : []
|
|
882
962
|
);
|
|
883
|
-
return
|
|
963
|
+
return Ke([
|
|
884
964
|
{
|
|
885
965
|
path: "/",
|
|
886
|
-
element: /* @__PURE__ */ n.jsx(
|
|
887
|
-
errorElement: /* @__PURE__ */ n.jsx(
|
|
966
|
+
element: /* @__PURE__ */ n.jsx(Te, {}),
|
|
967
|
+
errorElement: /* @__PURE__ */ n.jsx(Gt, {}),
|
|
888
968
|
children: s
|
|
889
969
|
}
|
|
890
970
|
]);
|
|
891
971
|
}, [t]);
|
|
892
|
-
return /* @__PURE__ */ n.jsx(
|
|
972
|
+
return /* @__PURE__ */ n.jsx(ze, { router: e });
|
|
893
973
|
}
|
|
894
|
-
const
|
|
895
|
-
|
|
896
|
-
|
|
974
|
+
const Yt = (t) => {
|
|
975
|
+
var o;
|
|
976
|
+
const e = H(
|
|
977
|
+
() => ({ ...Qe, ...t.overrides }),
|
|
897
978
|
[t.overrides]
|
|
898
|
-
), s =
|
|
899
|
-
() => ({ ...
|
|
979
|
+
), s = H(
|
|
980
|
+
() => ({ ...We, ...t.mdxComponents }),
|
|
900
981
|
[t.mdxComponents]
|
|
901
|
-
), a =
|
|
902
|
-
|
|
982
|
+
), a = H(() => new Rt(t), [t]);
|
|
983
|
+
T(() => {
|
|
903
984
|
a.initialize();
|
|
904
|
-
}, [a])
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
985
|
+
}, [a]);
|
|
986
|
+
const r = (o = t.plugins) == null ? void 0 : o.filter(qt).map((l, c) => {
|
|
987
|
+
var h;
|
|
988
|
+
return /* @__PURE__ */ n.jsx(ht, { children: (h = l.getHead) == null ? void 0 : h.call(l) }, c);
|
|
989
|
+
});
|
|
990
|
+
return /* @__PURE__ */ n.jsx(rt, { client: Oe, children: /* @__PURE__ */ n.jsxs(ft, { children: [
|
|
991
|
+
/* @__PURE__ */ n.jsx(je, { children: r }),
|
|
992
|
+
/* @__PURE__ */ n.jsx(it, { value: a, children: /* @__PURE__ */ n.jsx(mt, { components: s, children: /* @__PURE__ */ n.jsx(Xe, { children: /* @__PURE__ */ n.jsx(Kt, { value: e, children: /* @__PURE__ */ n.jsx(_e, { children: /* @__PURE__ */ n.jsx(
|
|
993
|
+
be,
|
|
994
|
+
{
|
|
995
|
+
fallback: /* @__PURE__ */ n.jsx("div", { className: "grid place-items-center h-full", children: "Loading..." }),
|
|
996
|
+
children: /* @__PURE__ */ n.jsx(
|
|
997
|
+
Jt,
|
|
998
|
+
{
|
|
999
|
+
plugins: [
|
|
1000
|
+
...t.plugins ?? [],
|
|
1001
|
+
...t.authentication ? [t.authentication] : []
|
|
1002
|
+
]
|
|
1003
|
+
}
|
|
1004
|
+
)
|
|
1005
|
+
}
|
|
1006
|
+
) }) }) }) }) })
|
|
1007
|
+
] }) });
|
|
1008
|
+
}, qe = (t) => {
|
|
1009
|
+
const e = ye(Yt);
|
|
1010
|
+
return /* @__PURE__ */ n.jsx(Dt, { FallbackComponent: Ht, children: /* @__PURE__ */ n.jsx(e, { ...t }) });
|
|
1011
|
+
};
|
|
1012
|
+
qe.displayName = "DevPortal";
|
|
1013
|
+
const ds = pt, fs = Ge, ms = qe, ps = Ve;
|
|
921
1014
|
export {
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
1015
|
+
fs as Callout,
|
|
1016
|
+
ms as DevPortal,
|
|
1017
|
+
ps as Link,
|
|
1018
|
+
ds as useMDXComponents
|
|
925
1019
|
};
|
|
1020
|
+
//# sourceMappingURL=zudoku.components.js.map
|