zudoku 0.0.0-ff3751f → 0.0.0-fix-display-option-navigation-items.4bdfe991
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/cli.js +9 -0
- package/dist/app/ZuploBuildConfig.d.ts +45 -0
- package/dist/app/ZuploBuildConfig.js +29 -0
- package/dist/app/ZuploBuildConfig.js.map +1 -0
- package/dist/app/demo.js +22 -9
- package/dist/app/demo.js.map +1 -1
- package/dist/app/entry.client.d.ts +6 -2
- package/dist/app/entry.client.js +51 -3
- package/dist/app/entry.client.js.map +1 -1
- package/dist/app/entry.server.d.ts +9 -8
- package/dist/app/entry.server.js +18 -16
- package/dist/app/entry.server.js.map +1 -1
- package/dist/app/env.d.ts +33 -0
- package/dist/app/env.js +37 -0
- package/dist/app/env.js.map +1 -0
- package/dist/app/main.d.ts +4 -3
- package/dist/app/main.js +44 -43
- package/dist/app/main.js.map +1 -1
- package/dist/app/sentry.d.ts +3 -0
- package/dist/app/sentry.js +19 -0
- package/dist/app/sentry.js.map +1 -0
- package/dist/app/standalone.js +8 -10
- package/dist/app/standalone.js.map +1 -1
- package/dist/cli/build/handler.d.ts +1 -3
- package/dist/cli/build/handler.js +18 -2
- package/dist/cli/build/handler.js.map +1 -1
- package/dist/cli/cli.js +17 -3
- package/dist/cli/cli.js.map +1 -1
- package/dist/cli/cmds/build.d.ts +11 -3
- package/dist/cli/cmds/build.js +21 -13
- package/dist/cli/cmds/build.js.map +1 -1
- package/dist/cli/cmds/dev.d.ts +1 -1
- package/dist/cli/cmds/dev.js +5 -0
- package/dist/cli/cmds/dev.js.map +1 -1
- package/dist/cli/cmds/preview.d.ts +16 -0
- package/dist/cli/cmds/preview.js +25 -0
- package/dist/cli/cmds/preview.js.map +1 -0
- package/dist/cli/common/logger.js +9 -0
- package/dist/cli/common/logger.js.map +1 -1
- package/dist/cli/common/machine-id/lib.js +1 -0
- package/dist/cli/common/machine-id/lib.js.map +1 -1
- package/dist/cli/common/outdated.js +2 -1
- package/dist/cli/common/outdated.js.map +1 -1
- package/dist/cli/common/output.js.map +1 -1
- package/dist/cli/common/utils/ports.d.ts +1 -1
- package/dist/cli/common/utils/ports.js +16 -15
- package/dist/cli/common/utils/ports.js.map +1 -1
- package/dist/cli/dev/handler.d.ts +1 -0
- package/dist/cli/dev/handler.js +15 -12
- package/dist/cli/dev/handler.js.map +1 -1
- package/dist/cli/preview/handler.d.ts +3 -0
- package/dist/cli/preview/handler.js +35 -0
- package/dist/cli/preview/handler.js.map +1 -0
- package/dist/codegen.d.ts +3 -0
- package/dist/codegen.js +45 -0
- package/dist/codegen.js.map +1 -0
- package/dist/config/config.d.ts +28 -13
- package/dist/config/file-exists.d.ts +1 -0
- package/dist/config/file-exists.js +5 -0
- package/dist/config/file-exists.js.map +1 -0
- package/dist/config/loader.d.ts +21 -0
- package/dist/config/loader.js +141 -0
- package/dist/config/loader.js.map +1 -0
- package/dist/config/validators/BuildSchema.d.ts +36 -0
- package/dist/config/validators/BuildSchema.js +25 -0
- package/dist/config/validators/BuildSchema.js.map +1 -0
- package/dist/config/validators/InputNavigationSchema.d.ts +7460 -0
- package/dist/config/validators/InputNavigationSchema.js +74 -0
- package/dist/config/validators/InputNavigationSchema.js.map +1 -0
- package/dist/config/validators/InputNavigationSchema.test-d.js +145 -0
- package/dist/config/validators/InputNavigationSchema.test-d.js.map +1 -0
- package/dist/config/validators/NavigationSchema.d.ts +44 -0
- package/dist/config/validators/NavigationSchema.js +96 -0
- package/dist/config/validators/NavigationSchema.js.map +1 -0
- package/dist/config/validators/ProtectedRoutesSchema.d.ts +12 -0
- package/dist/config/validators/ProtectedRoutesSchema.js +19 -0
- package/dist/config/validators/ProtectedRoutesSchema.js.map +1 -0
- package/dist/config/validators/icon-types.d.ts +2 -0
- package/dist/config/validators/icon-types.js +1830 -0
- package/dist/config/validators/icon-types.js.map +1 -0
- package/dist/config/validators/validate.d.ts +655 -1564
- package/dist/config/validators/validate.js +345 -145
- package/dist/config/validators/validate.js.map +1 -1
- package/dist/config/validators/validate.test.js +141 -0
- package/dist/config/validators/validate.test.js.map +1 -0
- package/dist/index.d.ts +9 -5
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/lib/MissingIcon.d.ts +2 -0
- package/dist/lib/MissingIcon.js +7 -0
- package/dist/lib/MissingIcon.js.map +1 -0
- package/dist/lib/auth/issuer.d.ts +2 -0
- package/dist/lib/auth/issuer.js +37 -0
- package/dist/lib/auth/issuer.js.map +1 -0
- package/dist/lib/auth/issuer.test.js +94 -0
- package/dist/lib/auth/issuer.test.js.map +1 -0
- package/dist/lib/authentication/AuthenticationPlugin.d.ts +6 -4
- package/dist/lib/authentication/AuthenticationPlugin.js +4 -1
- package/dist/lib/authentication/AuthenticationPlugin.js.map +1 -1
- package/dist/lib/authentication/authentication.d.ts +6 -5
- package/dist/lib/authentication/components/CallbackHandler.js +17 -11
- package/dist/lib/authentication/components/CallbackHandler.js.map +1 -1
- package/dist/lib/authentication/components/OAuthErrorPage.d.ts +3 -0
- package/dist/lib/authentication/components/OAuthErrorPage.js +99 -0
- package/dist/lib/authentication/components/OAuthErrorPage.js.map +1 -0
- package/dist/lib/authentication/components/SignIn.d.ts +1 -1
- package/dist/lib/authentication/components/SignIn.js +6 -2
- package/dist/lib/authentication/components/SignIn.js.map +1 -1
- package/dist/lib/authentication/components/SignOut.js +2 -2
- package/dist/lib/authentication/components/SignOut.js.map +1 -1
- package/dist/lib/authentication/components/SignUp.d.ts +1 -1
- package/dist/lib/authentication/components/SignUp.js +4 -1
- package/dist/lib/authentication/components/SignUp.js.map +1 -1
- package/dist/lib/authentication/errors.d.ts +6 -12
- package/dist/lib/authentication/errors.js +2 -1
- package/dist/lib/authentication/errors.js.map +1 -1
- package/dist/lib/authentication/hook.d.ts +13 -4
- package/dist/lib/authentication/hook.js +12 -4
- package/dist/lib/authentication/hook.js.map +1 -1
- package/dist/lib/authentication/providers/auth0.d.ts +2 -2
- package/dist/lib/authentication/providers/auth0.js +16 -14
- package/dist/lib/authentication/providers/auth0.js.map +1 -1
- package/dist/lib/authentication/providers/azureb2c.d.ts +28 -0
- package/dist/lib/authentication/providers/azureb2c.js +147 -0
- package/dist/lib/authentication/providers/azureb2c.js.map +1 -0
- package/dist/lib/authentication/providers/clerk.d.ts +2 -2
- package/dist/lib/authentication/providers/clerk.js +108 -48
- package/dist/lib/authentication/providers/clerk.js.map +1 -1
- package/dist/lib/authentication/providers/openid.d.ts +26 -21
- package/dist/lib/authentication/providers/openid.js +112 -73
- package/dist/lib/authentication/providers/openid.js.map +1 -1
- package/dist/lib/authentication/providers/supabase.d.ts +4 -0
- package/dist/lib/authentication/providers/supabase.js +108 -0
- package/dist/lib/authentication/providers/supabase.js.map +1 -0
- package/dist/lib/authentication/state.d.ts +24 -19
- package/dist/lib/authentication/state.js +47 -7
- package/dist/lib/authentication/state.js.map +1 -1
- package/dist/lib/authentication/use-broadcast/shared.d.ts +48 -0
- package/dist/lib/authentication/use-broadcast/shared.js +243 -0
- package/dist/lib/authentication/use-broadcast/shared.js.map +1 -0
- package/dist/lib/authentication/use-broadcast/useBroadcast.d.ts +24 -0
- package/dist/lib/authentication/use-broadcast/useBroadcast.js +106 -0
- package/dist/lib/authentication/use-broadcast/useBroadcast.js.map +1 -0
- package/dist/lib/components/AnchorLink.d.ts +2 -2
- package/dist/lib/components/AnchorLink.js +9 -5
- package/dist/lib/components/AnchorLink.js.map +1 -1
- package/dist/lib/components/Autocomplete.d.ts +13 -0
- package/dist/lib/components/Autocomplete.js +47 -0
- package/dist/lib/components/Autocomplete.js.map +1 -0
- package/dist/lib/components/Banner.js +2 -2
- package/dist/lib/components/Banner.js.map +1 -1
- package/dist/lib/components/Bootstrap.d.ts +5 -3
- package/dist/lib/components/Bootstrap.js +13 -6
- package/dist/lib/components/Bootstrap.js.map +1 -1
- package/dist/lib/components/BuildCheck.d.ts +4 -0
- package/dist/lib/components/BuildCheck.js +38 -0
- package/dist/lib/components/BuildCheck.js.map +1 -0
- package/dist/lib/components/CategoryHeading.js +1 -1
- package/dist/lib/components/CategoryHeading.js.map +1 -1
- package/dist/lib/components/ClientOnly.d.ts +4 -2
- package/dist/lib/components/ClientOnly.js +1 -1
- package/dist/lib/components/ClientOnly.js.map +1 -1
- package/dist/lib/components/DeveloperHint.js +2 -1
- package/dist/lib/components/DeveloperHint.js.map +1 -1
- package/dist/lib/components/ErrorPage.js +2 -2
- package/dist/lib/components/ErrorPage.js.map +1 -1
- package/dist/lib/components/Footer.d.ts +1 -0
- package/dist/lib/components/Footer.js +32 -0
- package/dist/lib/components/Footer.js.map +1 -0
- package/dist/lib/components/Framed.d.ts +7 -0
- package/dist/lib/components/Framed.js +26 -0
- package/dist/lib/components/Framed.js.map +1 -0
- package/dist/lib/components/Header.js +32 -17
- package/dist/lib/components/Header.js.map +1 -1
- package/dist/lib/components/Heading.d.ts +10 -6
- package/dist/lib/components/Heading.js +7 -2
- package/dist/lib/components/Heading.js.map +1 -1
- package/dist/lib/components/InlineCode.d.ts +2 -1
- package/dist/lib/components/InlineCode.js +2 -9
- package/dist/lib/components/InlineCode.js.map +1 -1
- package/dist/lib/components/Layout.js +10 -21
- package/dist/lib/components/Layout.js.map +1 -1
- package/dist/lib/components/Main.d.ts +2 -0
- package/dist/lib/components/Main.js +18 -0
- package/dist/lib/components/Main.js.map +1 -0
- package/dist/lib/components/Markdown.d.ts +4 -3
- package/dist/lib/components/Markdown.js +14 -14
- package/dist/lib/components/Markdown.js.map +1 -1
- package/dist/lib/components/MobileTopNavigation.js +18 -9
- package/dist/lib/components/MobileTopNavigation.js.map +1 -1
- package/dist/lib/components/NotFoundPage.js +3 -3
- package/dist/lib/components/NotFoundPage.js.map +1 -1
- package/dist/lib/components/PageProgress.d.ts +1 -0
- package/dist/lib/components/PageProgress.js +20 -0
- package/dist/lib/components/PageProgress.js.map +1 -0
- package/dist/lib/components/Pagination.d.ts +11 -0
- package/dist/lib/components/Pagination.js +10 -0
- package/dist/lib/components/Pagination.js.map +1 -0
- package/dist/lib/components/PathRenderer.d.ts +11 -0
- package/dist/lib/components/PathRenderer.js +28 -0
- package/dist/lib/components/PathRenderer.js.map +1 -0
- package/dist/lib/components/ReactMarkdown.d.ts +29 -0
- package/dist/lib/components/ReactMarkdown.js +182 -0
- package/dist/lib/components/ReactMarkdown.js.map +1 -0
- package/dist/lib/components/Search.d.ts +3 -1
- package/dist/lib/components/Search.js +9 -3
- package/dist/lib/components/Search.js.map +1 -1
- package/dist/lib/components/Slot.d.ts +17 -0
- package/dist/lib/components/Slot.js +24 -0
- package/dist/lib/components/Slot.js.map +1 -0
- package/dist/lib/components/Slot.test.d.ts +1 -0
- package/dist/lib/components/Slot.test.js +168 -0
- package/dist/lib/components/Slot.test.js.map +1 -0
- package/dist/lib/components/StatusPage.d.ts +7 -0
- package/dist/lib/components/StatusPage.js +75 -0
- package/dist/lib/components/StatusPage.js.map +1 -0
- package/dist/lib/components/ThemeSwitch.d.ts +1 -0
- package/dist/lib/components/ThemeSwitch.js +16 -0
- package/dist/lib/components/ThemeSwitch.js.map +1 -0
- package/dist/lib/components/TopNavigation.d.ts +7 -3
- package/dist/lib/components/TopNavigation.js +55 -37
- package/dist/lib/components/TopNavigation.js.map +1 -1
- package/dist/lib/components/Typography.d.ts +5 -0
- package/dist/lib/components/Typography.js +8 -0
- package/dist/lib/components/Typography.js.map +1 -0
- package/dist/lib/components/Zudoku.d.ts +7 -0
- package/dist/lib/components/Zudoku.js +58 -0
- package/dist/lib/components/Zudoku.js.map +1 -0
- package/dist/lib/components/cache.d.ts +13 -0
- package/dist/lib/components/cache.js +20 -0
- package/dist/lib/components/cache.js.map +1 -0
- package/dist/lib/components/context/BypassProtectedRoutesContext.d.ts +1 -0
- package/dist/lib/components/context/BypassProtectedRoutesContext.js +3 -0
- package/dist/lib/components/context/BypassProtectedRoutesContext.js.map +1 -0
- package/dist/lib/components/context/RouterEventsEmitter.d.ts +1 -0
- package/dist/lib/components/context/RouterEventsEmitter.js +17 -0
- package/dist/lib/components/context/RouterEventsEmitter.js.map +1 -0
- package/dist/lib/components/context/SlotProvider.d.ts +26 -0
- package/dist/lib/components/context/SlotProvider.js +83 -0
- package/dist/lib/components/context/SlotProvider.js.map +1 -0
- package/dist/lib/components/context/ViewportAnchorContext.d.ts +2 -4
- package/dist/lib/components/context/ViewportAnchorContext.js +29 -23
- package/dist/lib/components/context/ViewportAnchorContext.js.map +1 -1
- package/dist/lib/components/context/ZudokuContext.d.ts +9 -13
- package/dist/lib/components/context/ZudokuContext.js +64 -31
- package/dist/lib/components/context/ZudokuContext.js.map +1 -1
- package/dist/lib/components/context/ZudokuProvider.d.ts +2 -2
- package/dist/lib/components/context/ZudokuProvider.js +2 -1
- package/dist/lib/components/context/ZudokuProvider.js.map +1 -1
- package/dist/lib/components/index.d.ts +69 -20
- package/dist/lib/components/index.js +31 -9
- package/dist/lib/components/index.js.map +1 -1
- package/dist/lib/components/navigation/Navigation.d.ts +5 -0
- package/dist/lib/components/navigation/Navigation.js +12 -0
- package/dist/lib/components/navigation/Navigation.js.map +1 -0
- package/dist/lib/components/navigation/NavigationBadge.d.ts +26 -0
- package/dist/lib/components/navigation/NavigationBadge.js +26 -0
- package/dist/lib/components/navigation/NavigationBadge.js.map +1 -0
- package/dist/lib/components/navigation/NavigationCategory.d.ts +5 -0
- package/dist/lib/components/navigation/NavigationCategory.js +61 -0
- package/dist/lib/components/navigation/NavigationCategory.js.map +1 -0
- package/dist/lib/components/navigation/NavigationItem.d.ts +6 -0
- package/dist/lib/components/navigation/NavigationItem.js +54 -0
- package/dist/lib/components/navigation/NavigationItem.js.map +1 -0
- package/dist/lib/components/navigation/NavigationWrapper.d.ts +7 -0
- package/dist/lib/components/navigation/NavigationWrapper.js +21 -0
- package/dist/lib/components/navigation/NavigationWrapper.js.map +1 -0
- package/dist/lib/components/navigation/PoweredByZudoku.d.ts +3 -0
- package/dist/lib/components/navigation/PoweredByZudoku.js +7 -0
- package/dist/lib/components/navigation/PoweredByZudoku.js.map +1 -0
- package/dist/lib/components/navigation/Toc.js +46 -0
- package/dist/lib/components/navigation/Toc.js.map +1 -0
- package/dist/lib/components/navigation/ZudokuLogo.d.ts +6 -0
- package/dist/lib/components/navigation/ZudokuLogo.js +5 -0
- package/dist/lib/components/navigation/ZudokuLogo.js.map +1 -0
- package/dist/lib/components/navigation/ZuploLogo.d.ts +3 -0
- package/dist/lib/components/navigation/ZuploLogo.js +4 -0
- package/dist/lib/components/navigation/ZuploLogo.js.map +1 -0
- package/dist/lib/components/navigation/utils.d.ts +14 -6
- package/dist/lib/components/navigation/utils.js +50 -19
- package/dist/lib/components/navigation/utils.js.map +1 -1
- package/dist/lib/core/RouteGuard.d.ts +2 -0
- package/dist/lib/core/RouteGuard.js +52 -0
- package/dist/lib/core/RouteGuard.js.map +1 -0
- package/dist/lib/core/ZudokuContext.d.ts +113 -0
- package/dist/lib/core/ZudokuContext.js +93 -0
- package/dist/lib/core/ZudokuContext.js.map +1 -0
- package/dist/lib/core/plugins.d.ts +37 -19
- package/dist/lib/core/plugins.js +4 -0
- package/dist/lib/core/plugins.js.map +1 -1
- package/dist/lib/errors/ErrorAlert.js +5 -1
- package/dist/lib/errors/ErrorAlert.js.map +1 -1
- package/dist/lib/errors/RouterError.js +1 -1
- package/dist/lib/errors/RouterError.js.map +1 -1
- package/dist/lib/hooks/index.d.ts +28 -0
- package/dist/lib/hooks/index.js +16 -0
- package/dist/lib/hooks/index.js.map +1 -0
- package/dist/lib/hooks/useEvent.d.ts +11 -0
- package/dist/lib/hooks/useEvent.js +19 -0
- package/dist/lib/hooks/useEvent.js.map +1 -0
- package/dist/lib/hooks/useEvent.test.d.ts +1 -0
- package/dist/lib/hooks/useEvent.test.js +102 -0
- package/dist/lib/hooks/useEvent.test.js.map +1 -0
- package/dist/lib/hooks/useHotkey.d.ts +4 -0
- package/dist/lib/hooks/useHotkey.js +58 -0
- package/dist/lib/hooks/useHotkey.js.map +1 -0
- package/dist/lib/icons.d.ts +1 -0
- package/dist/lib/icons.js +1 -0
- package/dist/lib/icons.js.map +1 -1
- package/dist/lib/oas/graphql/circular.d.ts +3 -0
- package/dist/lib/oas/graphql/circular.js +43 -0
- package/dist/lib/oas/graphql/circular.js.map +1 -0
- package/dist/lib/oas/graphql/index.d.ts +25 -1
- package/dist/lib/oas/graphql/index.js +216 -69
- package/dist/lib/oas/graphql/index.js.map +1 -1
- package/dist/lib/oas/parser/dereference/index.js +8 -3
- package/dist/lib/oas/parser/dereference/index.js.map +1 -1
- package/dist/lib/oas/parser/index.d.ts +8 -3
- package/dist/lib/oas/parser/index.js +7 -23
- package/dist/lib/oas/parser/index.js.map +1 -1
- package/dist/lib/oas/parser/upgrade/index.d.ts +3 -2
- package/dist/lib/oas/parser/upgrade/index.js +83 -31
- package/dist/lib/oas/parser/upgrade/index.js.map +1 -1
- package/dist/lib/plugins/api-catalog/Catalog.d.ts +4 -0
- package/dist/lib/plugins/api-catalog/Catalog.js +26 -0
- package/dist/lib/plugins/api-catalog/Catalog.js.map +1 -0
- package/dist/lib/plugins/api-catalog/index.d.ts +31 -0
- package/dist/lib/plugins/api-catalog/index.js +46 -0
- package/dist/lib/plugins/api-catalog/index.js.map +1 -0
- package/dist/lib/plugins/api-keys/CreateApiKey.d.ts +3 -2
- package/dist/lib/plugins/api-keys/CreateApiKey.js +15 -7
- package/dist/lib/plugins/api-keys/CreateApiKey.js.map +1 -1
- package/dist/lib/plugins/api-keys/ProtectedRoute.js +1 -1
- package/dist/lib/plugins/api-keys/ProtectedRoute.js.map +1 -1
- package/dist/lib/plugins/api-keys/SettingsApiKeys.d.ts +1 -1
- package/dist/lib/plugins/api-keys/SettingsApiKeys.js +151 -28
- package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
- package/dist/lib/plugins/api-keys/index.d.ts +25 -15
- package/dist/lib/plugins/api-keys/index.js +68 -30
- package/dist/lib/plugins/api-keys/index.js.map +1 -1
- package/dist/lib/plugins/custom-pages/index.d.ts +4 -6
- package/dist/lib/plugins/custom-pages/index.js +15 -10
- package/dist/lib/plugins/custom-pages/index.js.map +1 -1
- package/dist/lib/plugins/markdown/MdxPage.d.ts +9 -2
- package/dist/lib/plugins/markdown/MdxPage.js +43 -10
- package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
- package/dist/lib/plugins/markdown/index.d.ts +14 -4
- package/dist/lib/plugins/markdown/index.js +9 -26
- package/dist/lib/plugins/markdown/index.js.map +1 -1
- package/dist/lib/plugins/openapi/CollapsibleCode.d.ts +5 -0
- package/dist/lib/plugins/openapi/CollapsibleCode.js +25 -0
- package/dist/lib/plugins/openapi/CollapsibleCode.js.map +1 -0
- package/dist/lib/plugins/openapi/ColorizedParam.d.ts +10 -2
- package/dist/lib/plugins/openapi/ColorizedParam.js +29 -14
- package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
- package/dist/lib/plugins/openapi/Endpoint.js +13 -16
- package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
- package/dist/lib/plugins/openapi/OasProvider.d.ts +8 -0
- package/dist/lib/plugins/openapi/OasProvider.js +29 -0
- package/dist/lib/plugins/openapi/OasProvider.js.map +1 -0
- package/dist/lib/plugins/openapi/OperationList.d.ts +6 -3
- package/dist/lib/plugins/openapi/OperationList.js +109 -29
- package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.d.ts +5 -3
- package/dist/lib/plugins/openapi/OperationListItem.js +13 -7
- package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/ParamInfos.d.ts +6 -0
- package/dist/lib/plugins/openapi/ParamInfos.js +45 -0
- package/dist/lib/plugins/openapi/ParamInfos.js.map +1 -0
- package/dist/lib/plugins/openapi/ParameterList.d.ts +2 -1
- package/dist/lib/plugins/openapi/ParameterList.js +3 -2
- package/dist/lib/plugins/openapi/ParameterList.js.map +1 -1
- package/dist/lib/plugins/openapi/ParameterListItem.js +19 -1
- package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.d.ts +4 -2
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +17 -4
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
- package/dist/lib/plugins/openapi/RequestBodySidecarBox.d.ts +3 -4
- package/dist/lib/plugins/openapi/RequestBodySidecarBox.js +5 -9
- package/dist/lib/plugins/openapi/RequestBodySidecarBox.js.map +1 -1
- package/dist/lib/plugins/openapi/ResponsesSidecarBox.d.ts +2 -4
- package/dist/lib/plugins/openapi/ResponsesSidecarBox.js +4 -6
- package/dist/lib/plugins/openapi/ResponsesSidecarBox.js.map +1 -1
- package/dist/lib/plugins/openapi/SchemaList.d.ts +1 -0
- package/dist/lib/plugins/openapi/SchemaList.js +52 -0
- package/dist/lib/plugins/openapi/SchemaList.js.map +1 -0
- package/dist/lib/plugins/openapi/Sidecar.d.ts +1 -1
- package/dist/lib/plugins/openapi/Sidecar.js +87 -118
- package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
- package/dist/lib/plugins/openapi/SidecarBox.js +4 -4
- package/dist/lib/plugins/openapi/SidecarBox.js.map +1 -1
- package/dist/lib/plugins/openapi/SidecarExamples.d.ts +9 -0
- package/dist/lib/plugins/openapi/SidecarExamples.js +76 -0
- package/dist/lib/plugins/openapi/SidecarExamples.js.map +1 -0
- package/dist/lib/plugins/openapi/SimpleSelect.js +1 -1
- package/dist/lib/plugins/openapi/SimpleSelect.js.map +1 -1
- package/dist/lib/plugins/openapi/client/GraphQLClient.d.ts +8 -0
- package/dist/lib/plugins/openapi/client/GraphQLClient.js +43 -0
- package/dist/lib/plugins/openapi/client/GraphQLClient.js.map +1 -0
- package/dist/lib/plugins/openapi/client/GraphQLContext.d.ts +7 -0
- package/dist/lib/plugins/openapi/client/GraphQLContext.js +5 -0
- package/dist/lib/plugins/openapi/client/GraphQLContext.js.map +1 -0
- package/dist/lib/plugins/openapi/client/createServer.d.ts +3 -1
- package/dist/lib/plugins/openapi/client/createServer.js +5 -2
- package/dist/lib/plugins/openapi/client/createServer.js.map +1 -1
- package/dist/lib/plugins/openapi/client/useCreateQuery.d.ts +14 -0
- package/dist/lib/plugins/openapi/client/useCreateQuery.js +20 -0
- package/dist/lib/plugins/openapi/client/useCreateQuery.js.map +1 -0
- package/dist/lib/plugins/openapi/components/ConstValue.d.ts +5 -0
- package/dist/lib/plugins/openapi/components/ConstValue.js +6 -0
- package/dist/lib/plugins/openapi/components/ConstValue.js.map +1 -0
- package/dist/lib/plugins/openapi/components/EnumValues.d.ts +5 -0
- package/dist/lib/plugins/openapi/components/EnumValues.js +15 -0
- package/dist/lib/plugins/openapi/components/EnumValues.js.map +1 -0
- package/dist/lib/plugins/openapi/components/ResponseContent.d.ts +12 -0
- package/dist/lib/plugins/openapi/components/ResponseContent.js +21 -0
- package/dist/lib/plugins/openapi/components/ResponseContent.js.map +1 -0
- package/dist/lib/plugins/openapi/components/SelectOnClick.d.ts +5 -0
- package/dist/lib/plugins/openapi/components/SelectOnClick.js +16 -0
- package/dist/lib/plugins/openapi/components/SelectOnClick.js.map +1 -0
- package/dist/lib/plugins/openapi/context.d.ts +3 -3
- package/dist/lib/plugins/openapi/graphql/fragment-masking.d.ts +3 -3
- package/dist/lib/plugins/openapi/graphql/fragment-masking.js +3 -4
- package/dist/lib/plugins/openapi/graphql/fragment-masking.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/gql.d.ts +8 -46
- package/dist/lib/plugins/openapi/graphql/gql.js +6 -13
- package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/graphql.d.ts +142 -25
- package/dist/lib/plugins/openapi/graphql/graphql.js +239 -662
- package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
- package/dist/lib/plugins/openapi/index.d.ts +11 -8
- package/dist/lib/plugins/openapi/index.js +106 -104
- package/dist/lib/plugins/openapi/index.js.map +1 -1
- package/dist/lib/plugins/openapi/interfaces.d.ts +58 -4
- package/dist/lib/plugins/openapi/playground/BodyPanel.d.ts +5 -0
- package/dist/lib/plugins/openapi/playground/BodyPanel.js +26 -0
- package/dist/lib/plugins/openapi/playground/BodyPanel.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/CollapsibleHeader.d.ts +8 -0
- package/dist/lib/plugins/openapi/playground/CollapsibleHeader.js +11 -0
- package/dist/lib/plugins/openapi/playground/CollapsibleHeader.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.d.ts +6 -0
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js +9 -0
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/Headers.d.ts +5 -4
- package/dist/lib/plugins/openapi/playground/Headers.js +108 -7
- package/dist/lib/plugins/openapi/playground/Headers.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/IdentityDialog.d.ts +11 -0
- package/dist/lib/plugins/openapi/playground/IdentityDialog.js +15 -0
- package/dist/lib/plugins/openapi/playground/IdentityDialog.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/IdentitySelector.d.ts +7 -0
- package/dist/lib/plugins/openapi/playground/IdentitySelector.js +7 -0
- package/dist/lib/plugins/openapi/playground/IdentitySelector.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/InlineInput.js +1 -1
- package/dist/lib/plugins/openapi/playground/InlineInput.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/ParamsGrid.d.ts +9 -0
- package/dist/lib/plugins/openapi/playground/ParamsGrid.js +5 -0
- package/dist/lib/plugins/openapi/playground/ParamsGrid.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/PathParams.d.ts +3 -2
- package/dist/lib/plugins/openapi/playground/PathParams.js +4 -7
- package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/Playground.d.ts +32 -2
- package/dist/lib/plugins/openapi/playground/Playground.js +168 -84
- package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js +1 -1
- package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/QueryParams.d.ts +3 -3
- package/dist/lib/plugins/openapi/playground/QueryParams.js +43 -22
- package/dist/lib/plugins/openapi/playground/QueryParams.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/RequestLoginDialog.d.ts +7 -0
- package/dist/lib/plugins/openapi/playground/RequestLoginDialog.js +8 -0
- package/dist/lib/plugins/openapi/playground/RequestLoginDialog.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/Spinner.d.ts +2 -0
- package/dist/lib/plugins/openapi/playground/Spinner.js +63 -0
- package/dist/lib/plugins/openapi/playground/Spinner.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/fileUtils.d.ts +2 -0
- package/dist/lib/plugins/openapi/playground/fileUtils.js +22 -0
- package/dist/lib/plugins/openapi/playground/fileUtils.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/rememberedIdentity.d.ts +17 -0
- package/dist/lib/plugins/openapi/playground/rememberedIdentity.js +11 -0
- package/dist/lib/plugins/openapi/playground/rememberedIdentity.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/request-panel/UrlPath.d.ts +3 -0
- package/dist/lib/plugins/openapi/playground/request-panel/UrlPath.js +13 -0
- package/dist/lib/plugins/openapi/playground/request-panel/UrlPath.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.d.ts +1 -0
- package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.js +12 -0
- package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/result-panel/Highlight.d.ts +12 -0
- package/dist/lib/plugins/openapi/playground/result-panel/Highlight.js +11 -0
- package/dist/lib/plugins/openapi/playground/result-panel/Highlight.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.d.ts +8 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.js +69 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.d.ts +14 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js +103 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.d.ts +11 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js +15 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.d.ts +10 -0
- package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js +32 -0
- package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.test.d.ts +1 -0
- package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.test.js +56 -0
- package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.test.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.d.ts +16 -0
- package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.js +10 -0
- package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.js.map +1 -0
- package/dist/lib/plugins/openapi/processors/removeExtensions.d.ts +8 -0
- package/dist/lib/plugins/openapi/processors/removeExtensions.js +16 -0
- package/dist/lib/plugins/openapi/processors/removeExtensions.js.map +1 -0
- package/dist/lib/plugins/openapi/processors/removeExtensions.test.d.ts +1 -0
- package/dist/lib/plugins/openapi/processors/removeExtensions.test.js +194 -0
- package/dist/lib/plugins/openapi/processors/removeExtensions.test.js.map +1 -0
- package/dist/lib/plugins/openapi/processors/removeParameters.d.ts +12 -0
- package/dist/lib/plugins/openapi/processors/removeParameters.js +66 -0
- package/dist/lib/plugins/openapi/processors/removeParameters.js.map +1 -0
- package/dist/lib/plugins/openapi/processors/removeParameters.test.d.ts +1 -0
- package/dist/lib/plugins/openapi/processors/removeParameters.test.js +159 -0
- package/dist/lib/plugins/openapi/processors/removeParameters.test.js.map +1 -0
- package/dist/lib/plugins/openapi/processors/removePaths.d.ts +13 -0
- package/dist/lib/plugins/openapi/processors/removePaths.js +33 -0
- package/dist/lib/plugins/openapi/processors/removePaths.js.map +1 -0
- package/dist/lib/plugins/openapi/processors/removePaths.test.d.ts +1 -0
- package/dist/lib/plugins/openapi/processors/removePaths.test.js +144 -0
- package/dist/lib/plugins/openapi/processors/removePaths.test.js.map +1 -0
- package/dist/lib/plugins/openapi/processors/traverse.d.ts +1 -0
- package/dist/lib/plugins/openapi/processors/traverse.js +2 -0
- package/dist/lib/plugins/openapi/processors/traverse.js.map +1 -0
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.d.ts +1 -2
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js +2 -2
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.d.ts +2 -1
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js +2 -2
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.d.ts +0 -1
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js +1 -1
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.d.ts +4 -0
- package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js +15 -0
- package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js.map +1 -0
- package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.d.ts +11 -0
- package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js +44 -0
- package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js.map +1 -0
- package/dist/lib/plugins/openapi/schema/SchemaView.d.ts +2 -2
- package/dist/lib/plugins/openapi/schema/SchemaView.js +40 -51
- package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/utils.d.ts +8 -1
- package/dist/lib/plugins/openapi/schema/utils.js +16 -4
- package/dist/lib/plugins/openapi/schema/utils.js.map +1 -1
- package/dist/lib/plugins/openapi/state.d.ts +25 -0
- package/dist/lib/plugins/openapi/state.js +18 -0
- package/dist/lib/plugins/openapi/state.js.map +1 -0
- package/dist/lib/plugins/openapi/util/createHttpSnippet.d.ts +11 -0
- package/dist/lib/plugins/openapi/util/createHttpSnippet.js +89 -0
- package/dist/lib/plugins/openapi/util/createHttpSnippet.js.map +1 -0
- package/dist/lib/plugins/openapi/util/createNavigationCategory.d.ts +9 -0
- package/dist/lib/plugins/openapi/util/createNavigationCategory.js +24 -0
- package/dist/lib/plugins/openapi/util/createNavigationCategory.js.map +1 -0
- package/dist/lib/plugins/openapi/util/generateSchemaExample.d.ts +1 -2
- package/dist/lib/plugins/openapi/util/generateSchemaExample.js +80 -39
- package/dist/lib/plugins/openapi/util/generateSchemaExample.js.map +1 -1
- package/dist/lib/plugins/openapi/util/getRoutes.d.ts +10 -0
- package/dist/lib/plugins/openapi/util/getRoutes.js +117 -0
- package/dist/lib/plugins/openapi/util/getRoutes.js.map +1 -0
- package/dist/lib/plugins/openapi/util/methodColorMap.d.ts +2 -0
- package/dist/lib/plugins/openapi/util/methodColorMap.js +10 -0
- package/dist/lib/plugins/openapi/util/methodColorMap.js.map +1 -0
- package/dist/lib/plugins/openapi/util/methodToColor.d.ts +20 -0
- package/dist/lib/plugins/openapi/util/methodToColor.js +24 -0
- package/dist/lib/plugins/openapi/util/methodToColor.js.map +1 -0
- package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.d.ts +1 -0
- package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.js +27 -0
- package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.js.map +1 -0
- package/dist/lib/plugins/redirect/index.d.ts +3 -3
- package/dist/lib/plugins/redirect/index.js +1 -1
- package/dist/lib/plugins/redirect/index.js.map +1 -1
- package/dist/lib/plugins/search-inkeep/index.d.ts +8 -6
- package/dist/lib/plugins/search-inkeep/index.js +49 -7
- package/dist/lib/plugins/search-inkeep/index.js.map +1 -1
- package/dist/lib/plugins/search-inkeep/inkeep.d.ts +2 -19
- package/dist/lib/plugins/search-inkeep/inkeep.js +10 -19
- package/dist/lib/plugins/search-inkeep/inkeep.js.map +1 -1
- package/dist/lib/plugins/search-pagefind/PagefindSearch.d.ts +6 -0
- package/dist/lib/plugins/search-pagefind/PagefindSearch.js +80 -0
- package/dist/lib/plugins/search-pagefind/PagefindSearch.js.map +1 -0
- package/dist/lib/plugins/search-pagefind/ResultList.d.ts +8 -0
- package/dist/lib/plugins/search-pagefind/ResultList.js +39 -0
- package/dist/lib/plugins/search-pagefind/ResultList.js.map +1 -0
- package/dist/lib/plugins/search-pagefind/get-results.d.ts +10 -0
- package/dist/lib/plugins/search-pagefind/get-results.js +42 -0
- package/dist/lib/plugins/search-pagefind/get-results.js.map +1 -0
- package/dist/lib/plugins/search-pagefind/index.d.ts +6 -0
- package/dist/lib/plugins/search-pagefind/index.js +9 -0
- package/dist/lib/plugins/search-pagefind/index.js.map +1 -0
- package/dist/lib/plugins/search-pagefind/types.d.ts +85 -0
- package/dist/lib/plugins/search-pagefind/types.js +2 -0
- package/dist/lib/plugins/search-pagefind/types.js.map +1 -0
- package/dist/lib/shiki.d.ts +31 -0
- package/dist/lib/shiki.js +101 -0
- package/dist/lib/shiki.js.map +1 -0
- package/dist/lib/ui/ActionButton.d.ts +4 -0
- package/dist/lib/ui/ActionButton.js +10 -0
- package/dist/lib/ui/ActionButton.js.map +1 -0
- package/dist/lib/ui/Alert.d.ts +6 -5
- package/dist/lib/ui/Alert.js +12 -10
- package/dist/lib/ui/Alert.js.map +1 -1
- package/dist/lib/ui/Badge.d.ts +2 -2
- package/dist/lib/ui/Badge.js +2 -1
- package/dist/lib/ui/Badge.js.map +1 -1
- package/dist/lib/ui/Button.d.ts +3 -3
- package/dist/lib/ui/Button.js +9 -6
- package/dist/lib/ui/Button.js.map +1 -1
- package/dist/lib/ui/Callout.d.ts +2 -1
- package/dist/lib/ui/Callout.js +3 -2
- package/dist/lib/ui/Callout.js.map +1 -1
- package/dist/lib/ui/Card.js +1 -1
- package/dist/lib/ui/Card.js.map +1 -1
- package/dist/lib/ui/Checkbox.js +1 -1
- package/dist/lib/ui/Checkbox.js.map +1 -1
- package/dist/lib/ui/CodeBlock.d.ts +15 -0
- package/dist/lib/ui/CodeBlock.js +17 -0
- package/dist/lib/ui/CodeBlock.js.map +1 -0
- package/dist/lib/ui/Command.d.ts +17 -3
- package/dist/lib/ui/Command.js +9 -5
- package/dist/lib/ui/Command.js.map +1 -1
- package/dist/lib/ui/Dialog.d.ts +3 -1
- package/dist/lib/ui/Dialog.js +2 -2
- package/dist/lib/ui/Dialog.js.map +1 -1
- package/dist/lib/ui/DropdownMenu.js +4 -4
- package/dist/lib/ui/DropdownMenu.js.map +1 -1
- package/dist/lib/ui/EmbeddedCodeBlock.d.ts +15 -0
- package/dist/lib/ui/EmbeddedCodeBlock.js +18 -0
- package/dist/lib/ui/EmbeddedCodeBlock.js.map +1 -0
- package/dist/lib/ui/Form.d.ts +1 -1
- package/dist/lib/ui/HoverCard.js +1 -1
- package/dist/lib/ui/HoverCard.js.map +1 -1
- package/dist/lib/ui/Input.d.ts +1 -2
- package/dist/lib/ui/Input.js +1 -1
- package/dist/lib/ui/Input.js.map +1 -1
- package/dist/lib/ui/Popover.js +1 -1
- package/dist/lib/ui/Popover.js.map +1 -1
- package/dist/lib/ui/RadioGroup.js +1 -1
- package/dist/lib/ui/RadioGroup.js.map +1 -1
- package/dist/lib/ui/Select.js +4 -4
- package/dist/lib/ui/Select.js.map +1 -1
- package/dist/lib/ui/Slider.js +1 -1
- package/dist/lib/ui/Slider.js.map +1 -1
- package/dist/lib/ui/Stepper.d.ts +3 -0
- package/dist/lib/ui/Stepper.js +7 -0
- package/dist/lib/ui/Stepper.js.map +1 -0
- package/dist/lib/ui/Switch.js +1 -1
- package/dist/lib/ui/Switch.js.map +1 -1
- package/dist/lib/ui/SyntaxHighlight.d.ts +12 -0
- package/dist/lib/ui/SyntaxHighlight.js +15 -0
- package/dist/lib/ui/SyntaxHighlight.js.map +1 -0
- package/dist/lib/ui/Tabs.js +2 -2
- package/dist/lib/ui/Tabs.js.map +1 -1
- package/dist/lib/ui/Textarea.js +1 -1
- package/dist/lib/ui/Textarea.js.map +1 -1
- package/dist/lib/ui/Toggle.js +1 -1
- package/dist/lib/ui/Toggle.js.map +1 -1
- package/dist/lib/ui/Tooltip.d.ts +2 -1
- package/dist/lib/ui/Tooltip.js +2 -1
- package/dist/lib/ui/Tooltip.js.map +1 -1
- package/dist/lib/ui/util.d.ts +2 -0
- package/dist/lib/ui/util.js +3 -0
- package/dist/lib/ui/util.js.map +1 -0
- package/dist/lib/util/MdxComponents.d.ts +38 -21
- package/dist/lib/util/MdxComponents.js +21 -17
- package/dist/lib/util/MdxComponents.js.map +1 -1
- package/dist/lib/util/createVariantComponent.d.ts +2 -2
- package/dist/lib/util/detectOS.d.ts +1 -0
- package/dist/lib/util/detectOS.js +11 -0
- package/dist/lib/util/detectOS.js.map +1 -0
- package/dist/lib/util/ensureArray.d.ts +1 -0
- package/dist/lib/util/ensureArray.js +2 -0
- package/dist/lib/util/ensureArray.js.map +1 -0
- package/dist/lib/util/humanFileSize.d.ts +6 -0
- package/dist/lib/util/humanFileSize.js +14 -0
- package/dist/lib/util/humanFileSize.js.map +1 -0
- package/dist/lib/util/humanFileSize.test.d.ts +1 -0
- package/dist/lib/util/humanFileSize.test.js +22 -0
- package/dist/lib/util/humanFileSize.test.js.map +1 -0
- package/dist/lib/util/invariant.d.ts +6 -5
- package/dist/lib/util/invariant.js +1 -1
- package/dist/lib/util/invariant.js.map +1 -1
- package/dist/lib/util/joinPath.d.ts +3 -0
- package/dist/lib/util/joinPath.js +3 -0
- package/dist/lib/util/joinPath.js.map +1 -1
- package/dist/lib/util/joinUrl.d.ts +1 -0
- package/dist/lib/util/joinUrl.js +40 -0
- package/dist/lib/util/joinUrl.js.map +1 -0
- package/dist/lib/util/joinUrl.test.d.ts +1 -0
- package/dist/lib/util/joinUrl.test.js +43 -0
- package/dist/lib/util/joinUrl.test.js.map +1 -0
- package/dist/lib/util/os.d.ts +2 -0
- package/dist/lib/util/os.js +21 -0
- package/dist/lib/util/os.js.map +1 -0
- package/dist/lib/util/scrollIntoViewIfNeeded.d.ts +1 -0
- package/dist/lib/util/scrollIntoViewIfNeeded.js +14 -0
- package/dist/lib/util/scrollIntoViewIfNeeded.js.map +1 -0
- package/dist/lib/util/traverse.d.ts +3 -0
- package/dist/lib/util/traverse.js +23 -0
- package/dist/lib/util/traverse.js.map +1 -0
- package/dist/lib/util/types.d.ts +7 -0
- package/dist/lib/util/types.js +2 -0
- package/dist/lib/util/types.js.map +1 -0
- package/dist/lib/util/url.d.ts +4 -0
- package/dist/lib/util/url.js +13 -0
- package/dist/lib/util/url.js.map +1 -0
- package/dist/lib/util/url.test.d.ts +1 -0
- package/dist/lib/util/url.test.js +26 -0
- package/dist/lib/util/url.test.js.map +1 -0
- package/dist/lib/util/useCopyToClipboard.d.ts +1 -0
- package/dist/lib/util/useCopyToClipboard.js +11 -0
- package/dist/lib/util/useCopyToClipboard.js.map +1 -0
- package/dist/lib/util/useExposedProps.d.ts +8 -1
- package/dist/lib/util/useExposedProps.js +1 -1
- package/dist/lib/util/useExposedProps.js.map +1 -1
- package/dist/lib/util/useIsomorphicLayoutEffect.d.ts +3 -0
- package/dist/lib/util/useIsomorphicLayoutEffect.js +4 -0
- package/dist/lib/util/useIsomorphicLayoutEffect.js.map +1 -0
- package/dist/lib/util/useLatest.d.ts +1 -0
- package/dist/lib/util/useLatest.js +15 -0
- package/dist/lib/util/useLatest.js.map +1 -0
- package/dist/lib/util/useOnScreen.d.ts +5 -0
- package/dist/lib/util/useOnScreen.js +19 -0
- package/dist/lib/util/useOnScreen.js.map +1 -0
- package/dist/lib/util/useScrollToAnchor.d.ts +1 -0
- package/dist/lib/util/useScrollToAnchor.js +43 -38
- package/dist/lib/util/useScrollToAnchor.js.map +1 -1
- package/dist/lib/util/useScrollToTop.js +7 -5
- package/dist/lib/util/useScrollToTop.js.map +1 -1
- package/dist/vite/api/SchemaManager.d.ts +36 -0
- package/dist/vite/api/SchemaManager.js +141 -0
- package/dist/vite/api/SchemaManager.js.map +1 -0
- package/dist/vite/api/SchemaManager.test.d.ts +1 -0
- package/dist/vite/api/SchemaManager.test.js +106 -0
- package/dist/vite/api/SchemaManager.test.js.map +1 -0
- package/dist/vite/api/schema-codegen.d.ts +12 -0
- package/dist/vite/api/schema-codegen.js +116 -0
- package/dist/vite/api/schema-codegen.js.map +1 -0
- package/dist/vite/api/schema-codegen.test.d.ts +1 -0
- package/dist/vite/api/schema-codegen.test.js +395 -0
- package/dist/vite/api/schema-codegen.test.js.map +1 -0
- package/dist/vite/build.js +58 -18
- package/dist/vite/build.js.map +1 -1
- package/dist/vite/config.d.ts +2 -10
- package/dist/vite/config.js +115 -112
- package/dist/vite/config.js.map +1 -1
- package/dist/vite/config.test.js +12 -6
- package/dist/vite/config.test.js.map +1 -1
- package/dist/vite/create-pagefind-index.d.ts +4 -0
- package/dist/vite/create-pagefind-index.js +12 -0
- package/dist/vite/create-pagefind-index.js.map +1 -0
- package/dist/vite/css/collect.d.ts +2 -0
- package/dist/vite/css/collect.js +27 -0
- package/dist/vite/css/collect.js.map +1 -0
- package/dist/vite/css/plugin.d.ts +4 -0
- package/dist/vite/css/plugin.js +91 -0
- package/dist/vite/css/plugin.js.map +1 -0
- package/dist/vite/dev-server.d.ts +5 -3
- package/dist/vite/dev-server.js +81 -22
- package/dist/vite/dev-server.js.map +1 -1
- package/dist/vite/error-handler.d.ts +1 -1
- package/dist/vite/error-handler.js +1 -1
- package/dist/vite/error-handler.js.map +1 -1
- package/dist/vite/html.d.ts +7 -3
- package/dist/vite/html.js +15 -11
- package/dist/vite/html.js.map +1 -1
- package/dist/vite/mdx/remark-last-modified.d.ts +3 -0
- package/dist/vite/mdx/remark-last-modified.js +29 -0
- package/dist/vite/mdx/remark-last-modified.js.map +1 -0
- package/dist/vite/mdx/utils.d.ts +2 -0
- package/dist/vite/mdx/utils.js +31 -0
- package/dist/vite/mdx/utils.js.map +1 -0
- package/dist/vite/output.d.ts +15 -3
- package/dist/vite/output.js +46 -16
- package/dist/vite/output.js.map +1 -1
- package/dist/vite/plugin-api-keys.d.ts +1 -2
- package/dist/vite/plugin-api-keys.js +13 -7
- package/dist/vite/plugin-api-keys.js.map +1 -1
- package/dist/vite/plugin-api.d.ts +1 -2
- package/dist/vite/plugin-api.js +146 -32
- package/dist/vite/plugin-api.js.map +1 -1
- package/dist/vite/plugin-auth.d.ts +1 -2
- package/dist/vite/plugin-auth.js +10 -6
- package/dist/vite/plugin-auth.js.map +1 -1
- package/dist/vite/plugin-component.d.ts +1 -2
- package/dist/vite/plugin-component.js +23 -22
- package/dist/vite/plugin-component.js.map +1 -1
- package/dist/vite/plugin-config-reload.d.ts +3 -4
- package/dist/vite/plugin-config-reload.js +31 -23
- package/dist/vite/plugin-config-reload.js.map +1 -1
- package/dist/vite/plugin-config.d.ts +1 -2
- package/dist/vite/plugin-config.js +27 -2
- package/dist/vite/plugin-config.js.map +1 -1
- package/dist/vite/plugin-custom-pages.d.ts +1 -2
- package/dist/vite/plugin-custom-pages.js +7 -6
- package/dist/vite/plugin-custom-pages.js.map +1 -1
- package/dist/vite/plugin-docs.d.ts +2 -3
- package/dist/vite/plugin-docs.js +73 -46
- package/dist/vite/plugin-docs.js.map +1 -1
- package/dist/vite/plugin-frontmatter.d.ts +1 -2
- package/dist/vite/plugin-frontmatter.js +13 -7
- package/dist/vite/plugin-frontmatter.js.map +1 -1
- package/dist/vite/plugin-mdx.d.ts +1 -8
- package/dist/vite/plugin-mdx.js +72 -26
- package/dist/vite/plugin-mdx.js.map +1 -1
- package/dist/vite/plugin-navigation.d.ts +4 -0
- package/dist/vite/plugin-navigation.js +64 -0
- package/dist/vite/plugin-navigation.js.map +1 -0
- package/dist/vite/plugin-redirect.d.ts +1 -2
- package/dist/vite/plugin-redirect.js +6 -5
- package/dist/vite/plugin-redirect.js.map +1 -1
- package/dist/vite/plugin-search.d.ts +1 -2
- package/dist/vite/plugin-search.js +8 -3
- package/dist/vite/plugin-search.js.map +1 -1
- package/dist/vite/plugin-shiki-register.d.ts +2 -0
- package/dist/vite/plugin-shiki-register.js +39 -0
- package/dist/vite/plugin-shiki-register.js.map +1 -0
- package/dist/vite/plugin-theme.d.ts +8 -0
- package/dist/vite/plugin-theme.js +274 -0
- package/dist/vite/plugin-theme.js.map +1 -0
- package/dist/vite/plugin-theme.test.d.ts +1 -0
- package/dist/vite/plugin-theme.test.js +312 -0
- package/dist/vite/plugin-theme.test.js.map +1 -0
- package/dist/vite/plugin.d.ts +1 -3
- package/dist/vite/plugin.js +24 -21
- package/dist/vite/plugin.js.map +1 -1
- package/dist/vite/prerender/FileWritingResponse.d.ts +25 -0
- package/dist/vite/prerender/FileWritingResponse.js +51 -0
- package/dist/vite/prerender/FileWritingResponse.js.map +1 -0
- package/dist/vite/prerender/InMemoryResponse.d.ts +16 -0
- package/dist/vite/prerender/InMemoryResponse.js +32 -0
- package/dist/vite/prerender/InMemoryResponse.js.map +1 -0
- package/dist/vite/prerender/PrerenderResponse.d.ts +10 -0
- package/dist/vite/prerender/PrerenderResponse.js +2 -0
- package/dist/vite/prerender/PrerenderResponse.js.map +1 -0
- package/dist/vite/prerender/prerender.d.ts +15 -0
- package/dist/vite/prerender/prerender.js +109 -0
- package/dist/vite/prerender/prerender.js.map +1 -0
- package/dist/vite/prerender/worker.d.ts +13 -0
- package/dist/vite/prerender/worker.js +63 -0
- package/dist/vite/prerender/worker.js.map +1 -0
- package/dist/vite/remarkStaticGeneration.d.ts +3 -0
- package/dist/vite/remarkStaticGeneration.js +125 -0
- package/dist/vite/remarkStaticGeneration.js.map +1 -0
- package/dist/vite/reporter.d.ts +3 -0
- package/dist/vite/reporter.js +33 -0
- package/dist/vite/reporter.js.map +1 -0
- package/dist/vite/shadcn-registry.d.ts +45 -0
- package/dist/vite/shadcn-registry.js +29 -0
- package/dist/vite/shadcn-registry.js.map +1 -0
- package/dist/vite/sitemap.d.ts +1 -1
- package/dist/vite/sitemap.js +2 -1
- package/dist/vite/sitemap.js.map +1 -1
- package/dist/zuplo/enrich-with-zuplo.d.ts +5 -0
- package/dist/zuplo/enrich-with-zuplo.js +185 -0
- package/dist/zuplo/enrich-with-zuplo.js.map +1 -0
- package/dist/zuplo/policy-types.d.ts +33 -0
- package/dist/zuplo/policy-types.js +8 -0
- package/dist/zuplo/policy-types.js.map +1 -0
- package/dist/zuplo/with-zuplo-processors.d.ts +3 -0
- package/dist/zuplo/with-zuplo-processors.js +26 -0
- package/dist/zuplo/with-zuplo-processors.js.map +1 -0
- package/dist/zuplo/with-zuplo.d.ts +6 -0
- package/dist/zuplo/with-zuplo.js +10 -0
- package/dist/zuplo/with-zuplo.js.map +1 -0
- package/lib/Alert-De-0F8I9.js +161 -0
- package/lib/Alert-De-0F8I9.js.map +1 -0
- package/lib/Button-B3o-2Xdf.js +51 -0
- package/lib/Button-B3o-2Xdf.js.map +1 -0
- package/lib/Card-CMDQUPM4.js +61 -0
- package/lib/Card-CMDQUPM4.js.map +1 -0
- package/lib/ClientOnly-E7hGysn1.js +11 -0
- package/lib/ClientOnly-E7hGysn1.js.map +1 -0
- package/lib/CodeBlock-B-G0eKtw.js +85 -0
- package/lib/CodeBlock-B-G0eKtw.js.map +1 -0
- package/lib/Command-C9AC5cf-.js +140 -0
- package/lib/Command-C9AC5cf-.js.map +1 -0
- package/lib/Dialog-DMWw1doX.js +99 -0
- package/lib/Dialog-DMWw1doX.js.map +1 -0
- package/lib/Drawer-DJ05s2pH.js +1133 -0
- package/lib/Drawer-DJ05s2pH.js.map +1 -0
- package/lib/MdxPage-Cipn_ReM.js +110 -0
- package/lib/MdxPage-Cipn_ReM.js.map +1 -0
- package/lib/OAuthErrorPage-DpNmpL61.js +150 -0
- package/lib/OAuthErrorPage-DpNmpL61.js.map +1 -0
- package/lib/OasProvider-6hriUaZr.js +35 -0
- package/lib/OasProvider-6hriUaZr.js.map +1 -0
- package/lib/OperationList-o1tnXlAi.js +5167 -0
- package/lib/OperationList-o1tnXlAi.js.map +1 -0
- package/lib/Pagination-BtZ4LBGC.js +37 -0
- package/lib/Pagination-BtZ4LBGC.js.map +1 -0
- package/lib/RouteGuard-BxsRhHRt.js +738 -0
- package/lib/RouteGuard-BxsRhHRt.js.map +1 -0
- package/lib/SchemaList-XZWLQ9Iu.js +149 -0
- package/lib/SchemaList-XZWLQ9Iu.js.map +1 -0
- package/lib/SchemaView-CnCipUNH.js +366 -0
- package/lib/SchemaView-CnCipUNH.js.map +1 -0
- package/lib/SignUp-CEKqv066.js +56 -0
- package/lib/SignUp-CEKqv066.js.map +1 -0
- package/lib/Slot-DAyXieeZ.js +15726 -0
- package/lib/Slot-DAyXieeZ.js.map +1 -0
- package/lib/Spinner-mNLZ6awP.js +7 -0
- package/lib/Spinner-mNLZ6awP.js.map +1 -0
- package/lib/SyntaxHighlight-BMKR4pl6.js +10306 -0
- package/lib/SyntaxHighlight-BMKR4pl6.js.map +1 -0
- package/lib/Toc-BKDRCQzU.js +92 -0
- package/lib/Toc-BKDRCQzU.js.map +1 -0
- package/lib/ZudokuContext-CLl5w57E.js +1278 -0
- package/lib/ZudokuContext-CLl5w57E.js.map +1 -0
- package/lib/chunk-QMGIS6GS-CEOk3lro.js +1839 -0
- package/lib/chunk-QMGIS6GS-CEOk3lro.js.map +1 -0
- package/lib/circular-NO6Ikm3k.js +14934 -0
- package/lib/circular-NO6Ikm3k.js.map +1 -0
- package/lib/clsx-OuTLNxxd.js +17 -0
- package/lib/clsx-OuTLNxxd.js.map +1 -0
- package/lib/cn-dYga0KKN.js +2731 -0
- package/lib/cn-dYga0KKN.js.map +1 -0
- package/lib/createServer-CSgplJuR.js +12505 -0
- package/lib/createServer-CSgplJuR.js.map +1 -0
- package/lib/errors-D036swsq.js +45 -0
- package/lib/errors-D036swsq.js.map +1 -0
- package/lib/hook-DbUCLQNg.js +247 -0
- package/lib/hook-DbUCLQNg.js.map +1 -0
- package/lib/index-BdJ_3lZe.js +3500 -0
- package/lib/index-BdJ_3lZe.js.map +1 -0
- package/lib/index-BkW9tJ6j.js +2094 -0
- package/lib/index-BkW9tJ6j.js.map +1 -0
- package/lib/index-Bm35Tkgf.js +107 -0
- package/lib/index-Bm35Tkgf.js.map +1 -0
- package/lib/index-BtBsh6LU.js +4081 -0
- package/lib/index-BtBsh6LU.js.map +1 -0
- package/lib/index-CrcNWbel.js +316 -0
- package/lib/index-CrcNWbel.js.map +1 -0
- package/lib/index-DI5SPFK9.js +36 -0
- package/lib/index-DI5SPFK9.js.map +1 -0
- package/lib/index-DmNq2fbN.js +4827 -0
- package/lib/index-DmNq2fbN.js.map +1 -0
- package/lib/index.esm-CpVp4hQq.js +1254 -0
- package/lib/index.esm-CpVp4hQq.js.map +1 -0
- package/lib/invariant-Bm-FVUQE.js +44 -0
- package/lib/invariant-Bm-FVUQE.js.map +1 -0
- package/lib/jsx-runtime-C5mzlN2N.js +285 -0
- package/lib/jsx-runtime-C5mzlN2N.js.map +1 -0
- package/lib/processors/removeExtensions.js +11 -0
- package/lib/processors/removeExtensions.js.map +1 -0
- package/lib/processors/removeParameters.js +47 -0
- package/lib/processors/removeParameters.js.map +1 -0
- package/lib/processors/removePaths.js +28 -0
- package/lib/processors/removePaths.js.map +1 -0
- package/lib/processors/traverse.js +17 -0
- package/lib/processors/traverse.js.map +1 -0
- package/lib/ui/Accordion.js +2 -2
- package/lib/ui/Accordion.js.map +1 -1
- package/lib/ui/ActionButton.js +25 -0
- package/lib/ui/ActionButton.js.map +1 -0
- package/lib/ui/Alert.js +55 -39
- package/lib/ui/Alert.js.map +1 -1
- package/lib/ui/AlertDialog.js +2 -2
- package/lib/ui/AlertDialog.js.map +1 -1
- package/lib/ui/Badge.js +5 -4
- package/lib/ui/Badge.js.map +1 -1
- package/lib/ui/Breadcrumb.js +5 -5
- package/lib/ui/Breadcrumb.js.map +1 -1
- package/lib/ui/Button.js +22 -19
- package/lib/ui/Button.js.map +1 -1
- package/lib/ui/Callout.js +40 -20
- package/lib/ui/Callout.js.map +1 -1
- package/lib/ui/Card.js +3 -3
- package/lib/ui/Card.js.map +1 -1
- package/lib/ui/Carousel.js +552 -546
- package/lib/ui/Carousel.js.map +1 -1
- package/lib/ui/Checkbox.js +14 -13
- package/lib/ui/Checkbox.js.map +1 -1
- package/lib/ui/CodeBlock.js +9 -0
- package/lib/ui/CodeBlock.js.map +1 -0
- package/lib/ui/Command.js +116 -510
- package/lib/ui/Command.js.map +1 -1
- package/lib/ui/Dialog.js +41 -41
- package/lib/ui/Dialog.js.map +1 -1
- package/lib/ui/Drawer.js +14 -1150
- package/lib/ui/Drawer.js.map +1 -1
- package/lib/ui/DropdownMenu.js +35 -35
- package/lib/ui/DropdownMenu.js.map +1 -1
- package/lib/ui/EmbeddedCodeBlock.js +80 -0
- package/lib/ui/EmbeddedCodeBlock.js.map +1 -0
- package/lib/ui/Form.js +6 -6
- package/lib/ui/Form.js.map +1 -1
- package/lib/ui/HoverCard.js +6 -6
- package/lib/ui/HoverCard.js.map +1 -1
- package/lib/ui/Input.js +3 -3
- package/lib/ui/Input.js.map +1 -1
- package/lib/ui/Label.js +3 -3
- package/lib/ui/Label.js.map +1 -1
- package/lib/ui/Pagination.js +5 -5
- package/lib/ui/Pagination.js.map +1 -1
- package/lib/ui/Popover.js +3 -3
- package/lib/ui/Popover.js.map +1 -1
- package/lib/ui/Progress.js +2 -2
- package/lib/ui/Progress.js.map +1 -1
- package/lib/ui/RadioGroup.js +11 -11
- package/lib/ui/RadioGroup.js.map +1 -1
- package/lib/ui/ScrollArea.js +2 -2
- package/lib/ui/ScrollArea.js.map +1 -1
- package/lib/ui/Select.js +34 -34
- package/lib/ui/Select.js.map +1 -1
- package/lib/ui/Skeleton.js +2 -2
- package/lib/ui/Skeleton.js.map +1 -1
- package/lib/ui/Slider.js +6 -6
- package/lib/ui/Slider.js.map +1 -1
- package/lib/ui/Stepper.js +6 -0
- package/lib/ui/Stepper.js.map +1 -0
- package/lib/ui/Switch.js +6 -6
- package/lib/ui/Switch.js.map +1 -1
- package/lib/ui/SyntaxHighlight.js +11 -0
- package/lib/ui/SyntaxHighlight.js.map +1 -0
- package/lib/ui/Tabs.js +17 -17
- package/lib/ui/Tabs.js.map +1 -1
- package/lib/ui/Textarea.js +6 -6
- package/lib/ui/Textarea.js.map +1 -1
- package/lib/ui/Toggle.js +8 -8
- package/lib/ui/Toggle.js.map +1 -1
- package/lib/ui/ToggleGroup.js +2 -2
- package/lib/ui/ToggleGroup.js.map +1 -1
- package/lib/ui/Tooltip.js +15 -8
- package/lib/ui/Tooltip.js.map +1 -1
- package/lib/ui/util.js +6 -0
- package/lib/ui/util.js.map +1 -0
- package/lib/useExposedProps-KcgXHKeE.js +9 -0
- package/lib/useExposedProps-KcgXHKeE.js.map +1 -0
- package/lib/zudoku.auth-auth0.js +32 -30
- package/lib/zudoku.auth-auth0.js.map +1 -1
- package/lib/zudoku.auth-azureb2c.js +137 -0
- package/lib/zudoku.auth-azureb2c.js.map +1 -0
- package/lib/zudoku.auth-clerk.js +108 -60
- package/lib/zudoku.auth-clerk.js.map +1 -1
- package/lib/zudoku.auth-openid.js +600 -623
- package/lib/zudoku.auth-openid.js.map +1 -1
- package/lib/zudoku.auth-supabase.js +97 -0
- package/lib/zudoku.auth-supabase.js.map +1 -0
- package/lib/zudoku.components.js +34 -1464
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.hooks.js +28 -0
- package/lib/zudoku.hooks.js.map +1 -0
- package/lib/zudoku.icons.js +10 -0
- package/lib/zudoku.icons.js.map +1 -1
- package/lib/zudoku.plugin-api-catalog.js +118 -0
- package/lib/zudoku.plugin-api-catalog.js.map +1 -0
- package/lib/zudoku.plugin-api-keys.js +560 -204
- package/lib/zudoku.plugin-api-keys.js.map +1 -1
- package/lib/zudoku.plugin-custom-pages.js +12 -18
- package/lib/zudoku.plugin-custom-pages.js.map +1 -1
- package/lib/zudoku.plugin-markdown.js +20 -93
- package/lib/zudoku.plugin-markdown.js.map +1 -1
- package/lib/zudoku.plugin-openapi.js +8 -10
- package/lib/zudoku.plugin-openapi.js.map +1 -1
- package/lib/zudoku.plugin-redirect.js +1 -1
- package/lib/zudoku.plugin-redirect.js.map +1 -1
- package/lib/zudoku.plugin-search-inkeep.js +61 -36
- package/lib/zudoku.plugin-search-inkeep.js.map +1 -1
- package/lib/zudoku.plugin-search-pagefind.js +325 -0
- package/lib/zudoku.plugin-search-pagefind.js.map +1 -0
- package/lib/zudoku.plugins.js +15 -0
- package/lib/zudoku.plugins.js.map +1 -0
- package/package.json +187 -101
- package/src/app/ZuploBuildConfig.ts +33 -0
- package/src/app/defaultTheme.css +73 -0
- package/src/app/demo-cdn.html +31 -31
- package/src/app/demo.html +1 -1
- package/src/app/demo.tsx +25 -11
- package/src/app/entry.client.tsx +67 -3
- package/src/app/entry.server.tsx +80 -65
- package/src/app/env.ts +43 -0
- package/src/app/font.geist.css +73 -0
- package/src/app/main.css +177 -130
- package/src/app/main.tsx +72 -50
- package/src/app/sentry.ts +24 -0
- package/src/app/standalone.tsx +8 -11
- package/src/lib/MissingIcon.tsx +22 -0
- package/src/lib/auth/issuer.test.ts +120 -0
- package/src/lib/auth/issuer.ts +41 -0
- package/src/lib/authentication/AuthenticationPlugin.tsx +8 -5
- package/src/lib/authentication/authentication.ts +7 -8
- package/src/lib/authentication/components/CallbackHandler.tsx +29 -12
- package/src/lib/authentication/components/OAuthErrorPage.tsx +171 -0
- package/src/lib/authentication/components/SignIn.tsx +28 -2
- package/src/lib/authentication/components/SignOut.tsx +3 -2
- package/src/lib/authentication/components/SignUp.tsx +35 -1
- package/src/lib/authentication/errors.ts +27 -13
- package/src/lib/authentication/hook.ts +15 -4
- package/src/lib/authentication/providers/auth0.tsx +29 -19
- package/src/lib/authentication/providers/azureb2c.tsx +201 -0
- package/src/lib/authentication/providers/clerk.tsx +127 -53
- package/src/lib/authentication/providers/openid.tsx +169 -88
- package/src/lib/authentication/providers/supabase.tsx +150 -0
- package/src/lib/authentication/state.ts +86 -25
- package/src/lib/authentication/use-broadcast/LICENSE.md +9 -0
- package/src/lib/authentication/use-broadcast/shared.ts +372 -0
- package/src/lib/authentication/use-broadcast/useBroadcast.ts +146 -0
- package/src/lib/components/AnchorLink.tsx +13 -8
- package/src/lib/components/Autocomplete.tsx +114 -0
- package/src/lib/components/Banner.tsx +3 -3
- package/src/lib/components/Bootstrap.tsx +43 -16
- package/src/lib/components/BuildCheck.tsx +75 -0
- package/src/lib/components/CategoryHeading.tsx +4 -1
- package/src/lib/components/ClientOnly.tsx +6 -3
- package/src/lib/components/DeveloperHint.tsx +6 -1
- package/src/lib/components/ErrorPage.tsx +3 -3
- package/src/lib/components/Footer.tsx +136 -0
- package/src/lib/components/Framed.tsx +51 -0
- package/src/lib/components/Header.tsx +119 -80
- package/src/lib/components/Heading.tsx +26 -18
- package/src/lib/components/InlineCode.tsx +13 -16
- package/src/lib/components/Layout.tsx +36 -60
- package/src/lib/components/Main.tsx +51 -0
- package/src/lib/components/Markdown.tsx +42 -30
- package/src/lib/components/MobileTopNavigation.tsx +96 -32
- package/src/lib/components/NotFoundPage.tsx +7 -6
- package/src/lib/components/PageProgress.tsx +28 -0
- package/src/lib/components/Pagination.tsx +45 -0
- package/src/lib/components/PathRenderer.tsx +61 -0
- package/src/lib/components/ReactMarkdown.license.txt +21 -0
- package/src/lib/components/ReactMarkdown.tsx +264 -0
- package/src/lib/components/Search.tsx +18 -7
- package/src/lib/components/Slot.test.tsx +465 -0
- package/src/lib/components/Slot.tsx +64 -0
- package/src/lib/components/StatusPage.tsx +96 -0
- package/src/lib/components/ThemeSwitch.tsx +46 -0
- package/src/lib/components/TopNavigation.tsx +91 -61
- package/src/lib/components/Typography.tsx +14 -0
- package/src/lib/components/Zudoku.tsx +119 -0
- package/src/lib/components/cache.ts +23 -0
- package/src/lib/components/context/BypassProtectedRoutesContext.ts +3 -0
- package/src/lib/components/context/RouterEventsEmitter.tsx +19 -0
- package/src/lib/components/context/SlotProvider.tsx +149 -0
- package/src/lib/components/context/ViewportAnchorContext.tsx +34 -36
- package/src/lib/components/context/ZudokuContext.ts +79 -38
- package/src/lib/components/context/ZudokuProvider.tsx +4 -3
- package/src/lib/components/index.ts +37 -13
- package/src/lib/components/navigation/Navigation.tsx +50 -0
- package/src/lib/components/navigation/NavigationBadge.tsx +48 -0
- package/src/lib/components/navigation/NavigationCategory.tsx +146 -0
- package/src/lib/components/navigation/NavigationItem.tsx +159 -0
- package/src/lib/components/navigation/NavigationWrapper.tsx +49 -0
- package/src/lib/components/navigation/PoweredByZudoku.tsx +33 -0
- package/src/lib/components/navigation/Toc.tsx +126 -0
- package/src/lib/components/navigation/ZudokuLogo.tsx +25 -0
- package/src/lib/components/navigation/ZuploLogo.tsx +14 -0
- package/src/lib/components/navigation/utils.ts +70 -29
- package/src/lib/core/RouteGuard.tsx +96 -0
- package/src/lib/core/ZudokuContext.ts +227 -0
- package/src/lib/core/plugins.ts +55 -24
- package/src/lib/errors/ErrorAlert.tsx +18 -18
- package/src/lib/errors/RouterError.tsx +1 -1
- package/src/lib/hooks/index.ts +16 -0
- package/src/lib/hooks/useEvent.test.tsx +151 -0
- package/src/lib/hooks/useEvent.ts +41 -0
- package/src/lib/hooks/useHotkey.ts +70 -0
- package/src/lib/icons.ts +1 -0
- package/src/lib/oas/graphql/circular.ts +58 -0
- package/src/lib/oas/graphql/index.ts +298 -104
- package/src/lib/oas/parser/dereference/index.ts +10 -4
- package/src/lib/oas/parser/index.ts +14 -30
- package/src/lib/oas/parser/upgrade/index.ts +103 -38
- package/src/lib/plugins/api-catalog/Catalog.tsx +73 -0
- package/src/lib/plugins/api-catalog/index.tsx +115 -0
- package/src/lib/plugins/api-keys/CreateApiKey.tsx +61 -45
- package/src/lib/plugins/api-keys/ProtectedRoute.tsx +1 -1
- package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +464 -116
- package/src/lib/plugins/api-keys/index.tsx +141 -62
- package/src/lib/plugins/custom-pages/index.tsx +22 -17
- package/src/lib/plugins/markdown/MdxPage.tsx +111 -54
- package/src/lib/plugins/markdown/index.tsx +33 -43
- package/src/lib/plugins/openapi/CollapsibleCode.tsx +86 -0
- package/src/lib/plugins/openapi/ColorizedParam.tsx +49 -23
- package/src/lib/plugins/openapi/Endpoint.tsx +19 -22
- package/src/lib/plugins/openapi/OasProvider.tsx +51 -0
- package/src/lib/plugins/openapi/OperationList.tsx +234 -72
- package/src/lib/plugins/openapi/OperationListItem.tsx +123 -94
- package/src/lib/plugins/openapi/ParamInfos.tsx +90 -0
- package/src/lib/plugins/openapi/ParameterList.tsx +4 -0
- package/src/lib/plugins/openapi/ParameterListItem.tsx +84 -31
- package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +28 -3
- package/src/lib/plugins/openapi/RequestBodySidecarBox.tsx +15 -33
- package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +36 -59
- package/src/lib/plugins/openapi/SchemaList.tsx +157 -0
- package/src/lib/plugins/openapi/Sidecar.tsx +154 -172
- package/src/lib/plugins/openapi/SidecarBox.tsx +4 -16
- package/src/lib/plugins/openapi/SidecarExamples.tsx +169 -0
- package/src/lib/plugins/openapi/SimpleSelect.tsx +1 -1
- package/src/lib/plugins/openapi/client/GraphQLClient.tsx +65 -0
- package/src/lib/plugins/openapi/client/GraphQLContext.tsx +16 -0
- package/src/lib/plugins/openapi/client/createServer.ts +8 -2
- package/src/lib/plugins/openapi/client/useCreateQuery.ts +45 -0
- package/src/lib/plugins/openapi/components/ConstValue.tsx +24 -0
- package/src/lib/plugins/openapi/components/EnumValues.tsx +58 -0
- package/src/lib/plugins/openapi/components/ResponseContent.tsx +104 -0
- package/src/lib/plugins/openapi/components/SelectOnClick.tsx +29 -0
- package/src/lib/plugins/openapi/context.tsx +2 -2
- package/src/lib/plugins/openapi/graphql/fragment-masking.ts +11 -18
- package/src/lib/plugins/openapi/graphql/gql.ts +38 -30
- package/src/lib/plugins/openapi/graphql/graphql.ts +388 -682
- package/src/lib/plugins/openapi/index.tsx +161 -134
- package/src/lib/plugins/openapi/interfaces.ts +59 -4
- package/src/lib/plugins/openapi/playground/BodyPanel.tsx +55 -0
- package/src/lib/plugins/openapi/playground/CollapsibleHeader.tsx +47 -0
- package/src/lib/plugins/openapi/playground/ExamplesDropdown.tsx +59 -0
- package/src/lib/plugins/openapi/playground/Headers.tsx +284 -53
- package/src/lib/plugins/openapi/playground/IdentityDialog.tsx +75 -0
- package/src/lib/plugins/openapi/playground/IdentitySelector.tsx +38 -0
- package/src/lib/plugins/openapi/playground/InlineInput.tsx +1 -1
- package/src/lib/plugins/openapi/playground/ParamsGrid.tsx +13 -0
- package/src/lib/plugins/openapi/playground/PathParams.tsx +38 -64
- package/src/lib/plugins/openapi/playground/Playground.tsx +405 -288
- package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +7 -3
- package/src/lib/plugins/openapi/playground/QueryParams.tsx +134 -90
- package/src/lib/plugins/openapi/playground/RequestLoginDialog.tsx +51 -0
- package/src/lib/plugins/openapi/playground/Spinner.tsx +87 -0
- package/src/lib/plugins/openapi/playground/fileUtils.ts +32 -0
- package/src/lib/plugins/openapi/playground/rememberedIdentity.ts +26 -0
- package/src/lib/plugins/openapi/playground/request-panel/UrlPath.tsx +31 -0
- package/src/lib/plugins/openapi/playground/request-panel/UrlQueryParams.tsx +25 -0
- package/src/lib/plugins/openapi/playground/result-panel/Highlight.tsx +26 -0
- package/src/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.tsx +115 -0
- package/src/lib/plugins/openapi/playground/result-panel/ResponseTab.tsx +271 -0
- package/src/lib/plugins/openapi/playground/result-panel/ResultPanel.tsx +102 -0
- package/src/lib/plugins/openapi/playground/result-panel/convertToTypes.test.ts +64 -0
- package/src/lib/plugins/openapi/playground/result-panel/convertToTypes.ts +36 -0
- package/src/lib/plugins/openapi/playground/useRememberSkipLoginDialog.tsx +20 -0
- package/src/lib/plugins/openapi/processors/removeExtensions.test.ts +222 -0
- package/src/lib/plugins/openapi/processors/removeExtensions.ts +29 -0
- package/src/lib/plugins/openapi/processors/removeParameters.test.ts +182 -0
- package/src/lib/plugins/openapi/processors/removeParameters.ts +103 -0
- package/src/lib/plugins/openapi/processors/removePaths.test.ts +167 -0
- package/src/lib/plugins/openapi/processors/removePaths.ts +57 -0
- package/src/lib/plugins/openapi/processors/traverse.ts +1 -0
- package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.tsx +1 -8
- package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.tsx +3 -0
- package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.tsx +6 -3
- package/src/lib/plugins/openapi/schema/SchemaExampleAndDefault.tsx +39 -0
- package/src/lib/plugins/openapi/schema/SchemaPropertyItem.tsx +159 -0
- package/src/lib/plugins/openapi/schema/SchemaView.tsx +103 -141
- package/src/lib/plugins/openapi/schema/utils.ts +33 -5
- package/src/lib/plugins/openapi/state.ts +36 -0
- package/src/lib/plugins/openapi/util/createHttpSnippet.ts +107 -0
- package/src/lib/plugins/openapi/util/createNavigationCategory.tsx +38 -0
- package/src/lib/plugins/openapi/util/generateSchemaExample.ts +95 -44
- package/src/lib/plugins/openapi/util/getRoutes.tsx +198 -0
- package/src/lib/plugins/openapi/util/methodColorMap.tsx +11 -0
- package/src/lib/plugins/openapi/util/methodToColor.ts +27 -0
- package/src/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.tsx +32 -0
- package/src/lib/plugins/redirect/index.tsx +4 -4
- package/src/lib/plugins/search-inkeep/index.tsx +83 -32
- package/src/lib/plugins/search-inkeep/inkeep.ts +15 -23
- package/src/lib/plugins/search-pagefind/PagefindSearch.tsx +165 -0
- package/src/lib/plugins/search-pagefind/ResultList.tsx +114 -0
- package/src/lib/plugins/search-pagefind/get-results.tsx +75 -0
- package/src/lib/plugins/search-pagefind/index.tsx +21 -0
- package/src/lib/plugins/search-pagefind/types.ts +118 -0
- package/src/lib/shiki.ts +132 -0
- package/src/lib/ui/ActionButton.tsx +30 -0
- package/src/lib/ui/Alert.tsx +45 -39
- package/src/lib/ui/Badge.tsx +3 -2
- package/src/lib/ui/Button.tsx +12 -7
- package/src/lib/ui/Callout.tsx +30 -10
- package/src/lib/ui/Card.tsx +1 -1
- package/src/lib/ui/Checkbox.tsx +2 -1
- package/src/lib/ui/CodeBlock.tsx +88 -0
- package/src/lib/ui/Command.tsx +47 -5
- package/src/lib/ui/Dialog.tsx +11 -7
- package/src/lib/ui/DropdownMenu.tsx +4 -4
- package/src/lib/ui/EmbeddedCodeBlock.tsx +94 -0
- package/src/lib/ui/HoverCard.tsx +1 -1
- package/src/lib/ui/Input.tsx +2 -3
- package/src/lib/ui/Popover.tsx +1 -1
- package/src/lib/ui/RadioGroup.tsx +1 -1
- package/src/lib/ui/Select.tsx +4 -4
- package/src/lib/ui/Slider.tsx +1 -1
- package/src/lib/ui/Stepper.tsx +8 -0
- package/src/lib/ui/Switch.tsx +1 -1
- package/src/lib/ui/SyntaxHighlight.tsx +35 -0
- package/src/lib/ui/Tabs.tsx +2 -2
- package/src/lib/ui/Textarea.tsx +1 -1
- package/src/lib/ui/Toggle.tsx +1 -1
- package/src/lib/ui/Tooltip.tsx +16 -1
- package/src/lib/ui/util.tsx +3 -0
- package/src/lib/util/MdxComponents.tsx +50 -25
- package/src/lib/util/createVariantComponent.tsx +2 -2
- package/src/lib/util/detectOS.ts +9 -0
- package/src/lib/util/ensureArray.ts +3 -0
- package/src/lib/util/humanFileSize.test.ts +24 -0
- package/src/lib/util/humanFileSize.ts +16 -0
- package/src/lib/util/invariant.ts +7 -5
- package/src/lib/util/joinPath.tsx +3 -0
- package/src/lib/util/joinUrl.test.ts +62 -0
- package/src/lib/util/joinUrl.ts +57 -0
- package/src/lib/util/os.ts +18 -0
- package/src/lib/util/scrollIntoViewIfNeeded.ts +18 -0
- package/src/lib/util/traverse.ts +34 -0
- package/src/lib/util/types.ts +7 -0
- package/src/lib/util/url.test.ts +51 -0
- package/src/lib/util/url.ts +18 -0
- package/src/lib/util/useCopyToClipboard.ts +17 -0
- package/src/lib/util/useExposedProps.tsx +13 -2
- package/src/lib/util/useIsomorphicLayoutEffect.ts +5 -0
- package/src/lib/util/useLatest.ts +18 -0
- package/src/lib/util/useOnScreen.ts +34 -0
- package/src/lib/util/useScrollToAnchor.ts +49 -40
- package/src/lib/util/useScrollToTop.ts +9 -4
- package/src/shiki/langs/abap.js +1 -0
- package/src/shiki/langs/actionscript-3.js +1 -0
- package/src/shiki/langs/ada.js +1 -0
- package/src/shiki/langs/angular-expression.js +1 -0
- package/src/shiki/langs/angular-html.js +1 -0
- package/src/shiki/langs/angular-inline-style.js +1 -0
- package/src/shiki/langs/angular-inline-template.js +1 -0
- package/src/shiki/langs/angular-let-declaration.js +1 -0
- package/src/shiki/langs/angular-template-blocks.js +1 -0
- package/src/shiki/langs/angular-template.js +1 -0
- package/src/shiki/langs/angular-ts.js +1 -0
- package/src/shiki/langs/apache.js +1 -0
- package/src/shiki/langs/apex.js +1 -0
- package/src/shiki/langs/apl.js +1 -0
- package/src/shiki/langs/applescript.js +1 -0
- package/src/shiki/langs/ara.js +1 -0
- package/src/shiki/langs/asciidoc.js +1 -0
- package/src/shiki/langs/asm.js +1 -0
- package/src/shiki/langs/astro.js +1 -0
- package/src/shiki/langs/awk.js +1 -0
- package/src/shiki/langs/ballerina.js +1 -0
- package/src/shiki/langs/bat.js +1 -0
- package/src/shiki/langs/beancount.js +1 -0
- package/src/shiki/langs/berry.js +1 -0
- package/src/shiki/langs/bibtex.js +1 -0
- package/src/shiki/langs/bicep.js +1 -0
- package/src/shiki/langs/blade.js +1 -0
- package/src/shiki/langs/bsl.js +1 -0
- package/src/shiki/langs/c.js +1 -0
- package/src/shiki/langs/cadence.js +1 -0
- package/src/shiki/langs/cairo.js +1 -0
- package/src/shiki/langs/clarity.js +1 -0
- package/src/shiki/langs/clojure.js +1 -0
- package/src/shiki/langs/cmake.js +1 -0
- package/src/shiki/langs/cobol.js +1 -0
- package/src/shiki/langs/codeowners.js +1 -0
- package/src/shiki/langs/codeql.js +1 -0
- package/src/shiki/langs/coffee.js +1 -0
- package/src/shiki/langs/common-lisp.js +1 -0
- package/src/shiki/langs/coq.js +1 -0
- package/src/shiki/langs/cpp-macro.js +1 -0
- package/src/shiki/langs/cpp.js +1 -0
- package/src/shiki/langs/crystal.js +1 -0
- package/src/shiki/langs/csharp.js +1 -0
- package/src/shiki/langs/css.js +1 -0
- package/src/shiki/langs/csv.js +1 -0
- package/src/shiki/langs/cue.js +1 -0
- package/src/shiki/langs/cypher.js +1 -0
- package/src/shiki/langs/d.js +1 -0
- package/src/shiki/langs/dart.js +1 -0
- package/src/shiki/langs/dax.js +1 -0
- package/src/shiki/langs/desktop.js +1 -0
- package/src/shiki/langs/diff.js +1 -0
- package/src/shiki/langs/docker.js +1 -0
- package/src/shiki/langs/dotenv.js +1 -0
- package/src/shiki/langs/dream-maker.js +1 -0
- package/src/shiki/langs/edge.js +1 -0
- package/src/shiki/langs/elixir.js +1 -0
- package/src/shiki/langs/elm.js +1 -0
- package/src/shiki/langs/emacs-lisp.js +1 -0
- package/src/shiki/langs/erb.js +1 -0
- package/src/shiki/langs/erlang.js +1 -0
- package/src/shiki/langs/es-tag-css.js +1 -0
- package/src/shiki/langs/es-tag-glsl.js +1 -0
- package/src/shiki/langs/es-tag-html.js +1 -0
- package/src/shiki/langs/es-tag-sql.js +1 -0
- package/src/shiki/langs/es-tag-xml.js +1 -0
- package/src/shiki/langs/fennel.js +1 -0
- package/src/shiki/langs/fish.js +1 -0
- package/src/shiki/langs/fluent.js +1 -0
- package/src/shiki/langs/fortran-fixed-form.js +1 -0
- package/src/shiki/langs/fortran-free-form.js +1 -0
- package/src/shiki/langs/fsharp.js +1 -0
- package/src/shiki/langs/gdresource.js +1 -0
- package/src/shiki/langs/gdscript.js +1 -0
- package/src/shiki/langs/gdshader.js +1 -0
- package/src/shiki/langs/genie.js +1 -0
- package/src/shiki/langs/gherkin.js +1 -0
- package/src/shiki/langs/git-commit.js +1 -0
- package/src/shiki/langs/git-rebase.js +1 -0
- package/src/shiki/langs/gleam.js +1 -0
- package/src/shiki/langs/glimmer-js.js +1 -0
- package/src/shiki/langs/glimmer-ts.js +1 -0
- package/src/shiki/langs/glsl.js +1 -0
- package/src/shiki/langs/gnuplot.js +1 -0
- package/src/shiki/langs/go.js +1 -0
- package/src/shiki/langs/graphql.js +1 -0
- package/src/shiki/langs/groovy.js +1 -0
- package/src/shiki/langs/hack.js +1 -0
- package/src/shiki/langs/haml.js +1 -0
- package/src/shiki/langs/handlebars.js +1 -0
- package/src/shiki/langs/haskell.js +1 -0
- package/src/shiki/langs/haxe.js +1 -0
- package/src/shiki/langs/hcl.js +1 -0
- package/src/shiki/langs/hjson.js +1 -0
- package/src/shiki/langs/hlsl.js +1 -0
- package/src/shiki/langs/html-derivative.js +1 -0
- package/src/shiki/langs/html.js +1 -0
- package/src/shiki/langs/http.js +1 -0
- package/src/shiki/langs/hxml.js +1 -0
- package/src/shiki/langs/hy.js +1 -0
- package/src/shiki/langs/imba.js +1 -0
- package/src/shiki/langs/ini.js +1 -0
- package/src/shiki/langs/java.js +1 -0
- package/src/shiki/langs/javascript.js +1 -0
- package/src/shiki/langs/jinja-html.js +1 -0
- package/src/shiki/langs/jinja.js +1 -0
- package/src/shiki/langs/jison.js +1 -0
- package/src/shiki/langs/json.js +1 -0
- package/src/shiki/langs/json5.js +1 -0
- package/src/shiki/langs/jsonc.js +1 -0
- package/src/shiki/langs/jsonl.js +1 -0
- package/src/shiki/langs/jsonnet.js +1 -0
- package/src/shiki/langs/jssm.js +1 -0
- package/src/shiki/langs/jsx.js +1 -0
- package/src/shiki/langs/julia.js +1 -0
- package/src/shiki/langs/kotlin.js +1 -0
- package/src/shiki/langs/kusto.js +1 -0
- package/src/shiki/langs/latex.js +1 -0
- package/src/shiki/langs/lean.js +1 -0
- package/src/shiki/langs/less.js +1 -0
- package/src/shiki/langs/liquid.js +1 -0
- package/src/shiki/langs/llvm.js +1 -0
- package/src/shiki/langs/log.js +1 -0
- package/src/shiki/langs/logo.js +1 -0
- package/src/shiki/langs/lua.js +1 -0
- package/src/shiki/langs/luau.js +1 -0
- package/src/shiki/langs/make.js +1 -0
- package/src/shiki/langs/markdown-vue.js +1 -0
- package/src/shiki/langs/markdown.js +1 -0
- package/src/shiki/langs/marko.js +1 -0
- package/src/shiki/langs/matlab.js +1 -0
- package/src/shiki/langs/mdc.js +1 -0
- package/src/shiki/langs/mdx.js +1 -0
- package/src/shiki/langs/mermaid.js +1 -0
- package/src/shiki/langs/mipsasm.js +1 -0
- package/src/shiki/langs/mojo.js +1 -0
- package/src/shiki/langs/move.js +1 -0
- package/src/shiki/langs/narrat.js +1 -0
- package/src/shiki/langs/nextflow.js +1 -0
- package/src/shiki/langs/nginx.js +1 -0
- package/src/shiki/langs/nim.js +1 -0
- package/src/shiki/langs/nix.js +1 -0
- package/src/shiki/langs/nushell.js +1 -0
- package/src/shiki/langs/objective-c.js +1 -0
- package/src/shiki/langs/objective-cpp.js +1 -0
- package/src/shiki/langs/ocaml.js +1 -0
- package/src/shiki/langs/pascal.js +1 -0
- package/src/shiki/langs/perl.js +1 -0
- package/src/shiki/langs/php.js +1 -0
- package/src/shiki/langs/plsql.js +1 -0
- package/src/shiki/langs/po.js +1 -0
- package/src/shiki/langs/polar.js +1 -0
- package/src/shiki/langs/postcss.js +1 -0
- package/src/shiki/langs/powerquery.js +1 -0
- package/src/shiki/langs/powershell.js +1 -0
- package/src/shiki/langs/prisma.js +1 -0
- package/src/shiki/langs/prolog.js +1 -0
- package/src/shiki/langs/proto.js +1 -0
- package/src/shiki/langs/pug.js +1 -0
- package/src/shiki/langs/puppet.js +1 -0
- package/src/shiki/langs/purescript.js +1 -0
- package/src/shiki/langs/python.js +1 -0
- package/src/shiki/langs/qml.js +1 -0
- package/src/shiki/langs/qmldir.js +1 -0
- package/src/shiki/langs/qss.js +1 -0
- package/src/shiki/langs/r.js +1 -0
- package/src/shiki/langs/racket.js +1 -0
- package/src/shiki/langs/raku.js +1 -0
- package/src/shiki/langs/razor.js +1 -0
- package/src/shiki/langs/reg.js +1 -0
- package/src/shiki/langs/regexp.js +1 -0
- package/src/shiki/langs/rel.js +1 -0
- package/src/shiki/langs/riscv.js +1 -0
- package/src/shiki/langs/rst.js +1 -0
- package/src/shiki/langs/ruby.js +1 -0
- package/src/shiki/langs/rust.js +1 -0
- package/src/shiki/langs/sas.js +1 -0
- package/src/shiki/langs/sass.js +1 -0
- package/src/shiki/langs/scala.js +1 -0
- package/src/shiki/langs/scheme.js +1 -0
- package/src/shiki/langs/scss.js +1 -0
- package/src/shiki/langs/sdbl.js +1 -0
- package/src/shiki/langs/shaderlab.js +1 -0
- package/src/shiki/langs/shellscript.js +1 -0
- package/src/shiki/langs/shellsession.js +1 -0
- package/src/shiki/langs/smalltalk.js +1 -0
- package/src/shiki/langs/solidity.js +1 -0
- package/src/shiki/langs/soy.js +1 -0
- package/src/shiki/langs/sparql.js +1 -0
- package/src/shiki/langs/splunk.js +1 -0
- package/src/shiki/langs/sql.js +1 -0
- package/src/shiki/langs/ssh-config.js +1 -0
- package/src/shiki/langs/stata.js +1 -0
- package/src/shiki/langs/stylus.js +1 -0
- package/src/shiki/langs/svelte.js +1 -0
- package/src/shiki/langs/swift.js +1 -0
- package/src/shiki/langs/system-verilog.js +1 -0
- package/src/shiki/langs/systemd.js +1 -0
- package/src/shiki/langs/talonscript.js +1 -0
- package/src/shiki/langs/tasl.js +1 -0
- package/src/shiki/langs/tcl.js +1 -0
- package/src/shiki/langs/templ.js +1 -0
- package/src/shiki/langs/terraform.js +1 -0
- package/src/shiki/langs/tex.js +1 -0
- package/src/shiki/langs/toml.js +1 -0
- package/src/shiki/langs/ts-tags.js +1 -0
- package/src/shiki/langs/tsv.js +1 -0
- package/src/shiki/langs/tsx.js +1 -0
- package/src/shiki/langs/turtle.js +1 -0
- package/src/shiki/langs/twig.js +1 -0
- package/src/shiki/langs/typescript.js +1 -0
- package/src/shiki/langs/typespec.js +1 -0
- package/src/shiki/langs/typst.js +1 -0
- package/src/shiki/langs/v.js +1 -0
- package/src/shiki/langs/vala.js +1 -0
- package/src/shiki/langs/vb.js +1 -0
- package/src/shiki/langs/verilog.js +1 -0
- package/src/shiki/langs/vhdl.js +1 -0
- package/src/shiki/langs/viml.js +1 -0
- package/src/shiki/langs/vue-directives.js +1 -0
- package/src/shiki/langs/vue-html.js +1 -0
- package/src/shiki/langs/vue-interpolations.js +1 -0
- package/src/shiki/langs/vue-sfc-style-variable-injection.js +1 -0
- package/src/shiki/langs/vue.js +1 -0
- package/src/shiki/langs/vyper.js +1 -0
- package/src/shiki/langs/wasm.js +1 -0
- package/src/shiki/langs/wenyan.js +1 -0
- package/src/shiki/langs/wgsl.js +1 -0
- package/src/shiki/langs/wikitext.js +1 -0
- package/src/shiki/langs/wit.js +1 -0
- package/src/shiki/langs/wolfram.js +1 -0
- package/src/shiki/langs/xml.js +1 -0
- package/src/shiki/langs/xsl.js +1 -0
- package/src/shiki/langs/yaml.js +1 -0
- package/src/shiki/langs/zenscript.js +1 -0
- package/src/shiki/langs/zig.js +1 -0
- package/src/shiki/themes/andromeeda.js +1 -0
- package/src/shiki/themes/aurora-x.js +1 -0
- package/src/shiki/themes/ayu-dark.js +1 -0
- package/src/shiki/themes/catppuccin-frappe.js +1 -0
- package/src/shiki/themes/catppuccin-latte.js +1 -0
- package/src/shiki/themes/catppuccin-macchiato.js +1 -0
- package/src/shiki/themes/catppuccin-mocha.js +1 -0
- package/src/shiki/themes/dark-plus.js +1 -0
- package/src/shiki/themes/dracula-soft.js +1 -0
- package/src/shiki/themes/dracula.js +1 -0
- package/src/shiki/themes/everforest-dark.js +1 -0
- package/src/shiki/themes/everforest-light.js +1 -0
- package/src/shiki/themes/github-dark-default.js +1 -0
- package/src/shiki/themes/github-dark-dimmed.js +1 -0
- package/src/shiki/themes/github-dark-high-contrast.js +1 -0
- package/src/shiki/themes/github-dark.js +1 -0
- package/src/shiki/themes/github-light-default.js +1 -0
- package/src/shiki/themes/github-light-high-contrast.js +1 -0
- package/src/shiki/themes/github-light.js +1 -0
- package/src/shiki/themes/gruvbox-dark-hard.js +1 -0
- package/src/shiki/themes/gruvbox-dark-medium.js +1 -0
- package/src/shiki/themes/gruvbox-dark-soft.js +1 -0
- package/src/shiki/themes/gruvbox-light-hard.js +1 -0
- package/src/shiki/themes/gruvbox-light-medium.js +1 -0
- package/src/shiki/themes/gruvbox-light-soft.js +1 -0
- package/src/shiki/themes/houston.js +1 -0
- package/src/shiki/themes/kanagawa-dragon.js +1 -0
- package/src/shiki/themes/kanagawa-lotus.js +1 -0
- package/src/shiki/themes/kanagawa-wave.js +1 -0
- package/src/shiki/themes/laserwave.js +1 -0
- package/src/shiki/themes/light-plus.js +1 -0
- package/src/shiki/themes/material-theme-darker.js +1 -0
- package/src/shiki/themes/material-theme-lighter.js +1 -0
- package/src/shiki/themes/material-theme-ocean.js +1 -0
- package/src/shiki/themes/material-theme-palenight.js +1 -0
- package/src/shiki/themes/material-theme.js +1 -0
- package/src/shiki/themes/min-dark.js +1 -0
- package/src/shiki/themes/min-light.js +1 -0
- package/src/shiki/themes/monokai.js +1 -0
- package/src/shiki/themes/night-owl.js +1 -0
- package/src/shiki/themes/nord.js +1 -0
- package/src/shiki/themes/one-dark-pro.js +1 -0
- package/src/shiki/themes/one-light.js +1 -0
- package/src/shiki/themes/plastic.js +1 -0
- package/src/shiki/themes/poimandres.js +1 -0
- package/src/shiki/themes/red.js +1 -0
- package/src/shiki/themes/rose-pine-dawn.js +1 -0
- package/src/shiki/themes/rose-pine-moon.js +1 -0
- package/src/shiki/themes/rose-pine.js +1 -0
- package/src/shiki/themes/slack-dark.js +1 -0
- package/src/shiki/themes/slack-ochin.js +1 -0
- package/src/shiki/themes/snazzy-light.js +1 -0
- package/src/shiki/themes/solarized-dark.js +1 -0
- package/src/shiki/themes/solarized-light.js +1 -0
- package/src/shiki/themes/synthwave-84.js +1 -0
- package/src/shiki/themes/tokyo-night.js +1 -0
- package/src/shiki/themes/vesper.js +1 -0
- package/src/shiki/themes/vitesse-black.js +1 -0
- package/src/shiki/themes/vitesse-dark.js +1 -0
- package/src/shiki/themes/vitesse-light.js +1 -0
- package/LICENSE.md +0 -9
- package/client.d.ts +0 -1
- package/dist/app/tailwind.d.ts +0 -3
- package/dist/app/tailwind.js +0 -65
- package/dist/app/tailwind.js.map +0 -1
- package/dist/config/validators/InputSidebarSchema.d.ts +0 -201
- package/dist/config/validators/InputSidebarSchema.js +0 -52
- package/dist/config/validators/InputSidebarSchema.js.map +0 -1
- package/dist/config/validators/SidebarSchema.d.ts +0 -46
- package/dist/config/validators/SidebarSchema.js +0 -118
- package/dist/config/validators/SidebarSchema.js.map +0 -1
- package/dist/lib/components/DevPortal.d.ts +0 -7
- package/dist/lib/components/DevPortal.js +0 -54
- package/dist/lib/components/DevPortal.js.map +0 -1
- package/dist/lib/components/SlotletProvider.d.ts +0 -17
- package/dist/lib/components/SlotletProvider.js +0 -18
- package/dist/lib/components/SlotletProvider.js.map +0 -1
- package/dist/lib/components/SyntaxHighlight.d.ts +0 -11
- package/dist/lib/components/SyntaxHighlight.js +0 -53
- package/dist/lib/components/SyntaxHighlight.js.map +0 -1
- package/dist/lib/components/context/PluginSystem.js +0 -2
- package/dist/lib/components/context/PluginSystem.js.map +0 -1
- package/dist/lib/components/context/ThemeContext.d.ts +0 -2
- package/dist/lib/components/context/ThemeContext.js +0 -7
- package/dist/lib/components/context/ThemeContext.js.map +0 -1
- package/dist/lib/components/context/ThemeProvider.d.ts +0 -4
- package/dist/lib/components/context/ThemeProvider.js +0 -23
- package/dist/lib/components/context/ThemeProvider.js.map +0 -1
- package/dist/lib/components/navigation/Sidebar.d.ts +0 -1
- package/dist/lib/components/navigation/Sidebar.js +0 -14
- package/dist/lib/components/navigation/Sidebar.js.map +0 -1
- package/dist/lib/components/navigation/SidebarBadge.d.ts +0 -23
- package/dist/lib/components/navigation/SidebarBadge.js +0 -24
- package/dist/lib/components/navigation/SidebarBadge.js.map +0 -1
- package/dist/lib/components/navigation/SidebarCategory.d.ts +0 -5
- package/dist/lib/components/navigation/SidebarCategory.js +0 -50
- package/dist/lib/components/navigation/SidebarCategory.js.map +0 -1
- package/dist/lib/components/navigation/SidebarItem.d.ts +0 -12
- package/dist/lib/components/navigation/SidebarItem.js +0 -48
- package/dist/lib/components/navigation/SidebarItem.js.map +0 -1
- package/dist/lib/components/navigation/SidebarWrapper.d.ts +0 -6
- package/dist/lib/components/navigation/SidebarWrapper.js +0 -6
- package/dist/lib/components/navigation/SidebarWrapper.js.map +0 -1
- package/dist/lib/core/DevPortalContext.d.ts +0 -75
- package/dist/lib/core/DevPortalContext.js +0 -49
- package/dist/lib/core/DevPortalContext.js.map +0 -1
- package/dist/lib/plugins/custom-pages/CustomPage.d.ts +0 -2
- package/dist/lib/plugins/custom-pages/CustomPage.js +0 -11
- package/dist/lib/plugins/custom-pages/CustomPage.js.map +0 -1
- package/dist/lib/plugins/markdown/Toc.js +0 -48
- package/dist/lib/plugins/markdown/Toc.js.map +0 -1
- package/dist/lib/plugins/markdown/resolver.d.ts +0 -38
- package/dist/lib/plugins/markdown/resolver.js +0 -75
- package/dist/lib/plugins/markdown/resolver.js.map +0 -1
- package/dist/lib/plugins/openapi/Route.d.ts +0 -6
- package/dist/lib/plugins/openapi/Route.js +0 -8
- package/dist/lib/plugins/openapi/Route.js.map +0 -1
- package/dist/lib/plugins/openapi/client/createMemoryClient.d.ts +0 -12
- package/dist/lib/plugins/openapi/client/createMemoryClient.js +0 -46
- package/dist/lib/plugins/openapi/client/createMemoryClient.js.map +0 -1
- package/dist/lib/plugins/openapi/client/createWorkerClient.d.ts +0 -10
- package/dist/lib/plugins/openapi/client/createWorkerClient.js +0 -61
- package/dist/lib/plugins/openapi/client/createWorkerClient.js.map +0 -1
- package/dist/lib/plugins/openapi/client/interfaces.d.ts +0 -4
- package/dist/lib/plugins/openapi/client/interfaces.js +0 -2
- package/dist/lib/plugins/openapi/client/interfaces.js.map +0 -1
- package/dist/lib/plugins/openapi/client/worker.js +0 -20
- package/dist/lib/plugins/openapi/client/worker.js.map +0 -1
- package/dist/lib/plugins/openapi/playground/ResponseTab.d.ts +0 -4
- package/dist/lib/plugins/openapi/playground/ResponseTab.js +0 -42
- package/dist/lib/plugins/openapi/playground/ResponseTab.js.map +0 -1
- package/dist/lib/plugins/openapi/playground/UrlDisplay.d.ts +0 -4
- package/dist/lib/plugins/openapi/playground/UrlDisplay.js +0 -22
- package/dist/lib/plugins/openapi/playground/UrlDisplay.js.map +0 -1
- package/dist/lib/plugins/openapi/schema/SchemaComponents.d.ts +0 -13
- package/dist/lib/plugins/openapi/schema/SchemaComponents.js +0 -28
- package/dist/lib/plugins/openapi/schema/SchemaComponents.js.map +0 -1
- package/dist/lib/plugins/openapi-worker.d.ts +0 -1
- package/dist/lib/plugins/openapi-worker.js +0 -2
- package/dist/lib/plugins/openapi-worker.js.map +0 -1
- package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.d.ts +0 -2
- package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.js +0 -3
- package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.js.map +0 -1
- package/dist/lib/themeToggle.d.ts +0 -1
- package/dist/lib/themeToggle.js +0 -7
- package/dist/lib/themeToggle.js.map +0 -1
- package/dist/lib/util/createWaitForNotify.d.ts +0 -1
- package/dist/lib/util/createWaitForNotify.js +0 -15
- package/dist/lib/util/createWaitForNotify.js.map +0 -1
- package/dist/vite/plugin-custom-css.d.ts +0 -6
- package/dist/vite/plugin-custom-css.js +0 -55
- package/dist/vite/plugin-custom-css.js.map +0 -1
- package/dist/vite/plugin-docs.test.js +0 -30
- package/dist/vite/plugin-docs.test.js.map +0 -1
- package/dist/vite/plugin-html-transform.d.ts +0 -2
- package/dist/vite/plugin-html-transform.js +0 -15
- package/dist/vite/plugin-html-transform.js.map +0 -1
- package/dist/vite/plugin-sidebar.d.ts +0 -3
- package/dist/vite/plugin-sidebar.js +0 -47
- package/dist/vite/plugin-sidebar.js.map +0 -1
- package/dist/vite/prerender.d.ts +0 -21
- package/dist/vite/prerender.js +0 -88
- package/dist/vite/prerender.js.map +0 -1
- package/lib/AnchorLink-BbB2q-jx.js +0 -705
- package/lib/AnchorLink-BbB2q-jx.js.map +0 -1
- package/lib/AuthenticationPlugin-C9BHGXlE.js +0 -55
- package/lib/AuthenticationPlugin-C9BHGXlE.js.map +0 -1
- package/lib/CategoryHeading-Bb9dqxD3.js +0 -10
- package/lib/CategoryHeading-Bb9dqxD3.js.map +0 -1
- package/lib/ClientOnly-CVN6leDu.js +0 -11
- package/lib/ClientOnly-CVN6leDu.js.map +0 -1
- package/lib/DeveloperHint-DHdLXGHA.js +0 -16
- package/lib/DeveloperHint-DHdLXGHA.js.map +0 -1
- package/lib/Dialog-k70Qfukb.js +0 -67
- package/lib/Dialog-k70Qfukb.js.map +0 -1
- package/lib/InkeepCustomTrigger-CE5-K5ex.js +0 -6
- package/lib/InkeepCustomTrigger-CE5-K5ex.js.map +0 -1
- package/lib/Markdown-BDcCAWwm.js +0 -18059
- package/lib/Markdown-BDcCAWwm.js.map +0 -1
- package/lib/MdxPage-DKMH_t0f.js +0 -174
- package/lib/MdxPage-DKMH_t0f.js.map +0 -1
- package/lib/OperationList-Tj7ubW_t.js +0 -604
- package/lib/OperationList-Tj7ubW_t.js.map +0 -1
- package/lib/Route-C3DGB6OS.js +0 -13
- package/lib/Route-C3DGB6OS.js.map +0 -1
- package/lib/Select-Bagt3Bme.js +0 -223
- package/lib/Select-Bagt3Bme.js.map +0 -1
- package/lib/SlotletProvider-Da7eFgd2.js +0 -241
- package/lib/SlotletProvider-Da7eFgd2.js.map +0 -1
- package/lib/Spinner-C6zroowC.js +0 -40
- package/lib/Spinner-C6zroowC.js.map +0 -1
- package/lib/StaggeredRender-DDHSzQKE.js +0 -17
- package/lib/StaggeredRender-DDHSzQKE.js.map +0 -1
- package/lib/ZudokuContext-BKXGJTmu.js +0 -1222
- package/lib/ZudokuContext-BKXGJTmu.js.map +0 -1
- package/lib/__vite-browser-external-BYRIRx8p.js +0 -9
- package/lib/__vite-browser-external-BYRIRx8p.js.map +0 -1
- package/lib/_commonjsHelpers-BkfeUUK-.js +0 -29
- package/lib/_commonjsHelpers-BkfeUUK-.js.map +0 -1
- package/lib/assets/index-B_Jk_Yzp.js +0 -4820
- package/lib/assets/index-B_Jk_Yzp.js.map +0 -1
- package/lib/assets/worker-Bf8vjASY.js +0 -18197
- package/lib/assets/worker-Bf8vjASY.js.map +0 -1
- package/lib/cn-BmFQLtkS.js +0 -2279
- package/lib/cn-BmFQLtkS.js.map +0 -1
- package/lib/hook-sn0zMTkE.js +0 -229
- package/lib/hook-sn0zMTkE.js.map +0 -1
- package/lib/index-AjWCJNGC.js +0 -5690
- package/lib/index-AjWCJNGC.js.map +0 -1
- package/lib/index-Bn6Lc9tq.js +0 -9
- package/lib/index-Bn6Lc9tq.js.map +0 -1
- package/lib/index-BuAyrJe3.js +0 -46
- package/lib/index-BuAyrJe3.js.map +0 -1
- package/lib/index-CRo94sKK.js +0 -1783
- package/lib/index-CRo94sKK.js.map +0 -1
- package/lib/index-CkwDvuPt.js +0 -4820
- package/lib/index-CkwDvuPt.js.map +0 -1
- package/lib/index-LNp6rxyU.js +0 -2094
- package/lib/index-LNp6rxyU.js.map +0 -1
- package/lib/index.esm-C5mr_sKO.js +0 -1193
- package/lib/index.esm-C5mr_sKO.js.map +0 -1
- package/lib/invariant-Caa8-XvF.js +0 -26
- package/lib/invariant-Caa8-XvF.js.map +0 -1
- package/lib/jsx-runtime-B6kdoens.js +0 -635
- package/lib/jsx-runtime-B6kdoens.js.map +0 -1
- package/lib/prism-bash.min-DadFsM4Z.js +0 -7
- package/lib/prism-bash.min-DadFsM4Z.js.map +0 -1
- package/lib/prism-csharp.min-Yizuc34Y.js +0 -35
- package/lib/prism-csharp.min-Yizuc34Y.js.map +0 -1
- package/lib/prism-java.min-d5iT_mOd.js +0 -7
- package/lib/prism-java.min-d5iT_mOd.js.map +0 -1
- package/lib/prism-javascript.min-CEqHqgbm.js +0 -9
- package/lib/prism-javascript.min-CEqHqgbm.js.map +0 -1
- package/lib/prism-json.min-B1GJqK1k.js +0 -2
- package/lib/prism-json.min-B1GJqK1k.js.map +0 -1
- package/lib/prism-markdown.min-F3U-vPBi.js +0 -61
- package/lib/prism-markdown.min-F3U-vPBi.js.map +0 -1
- package/lib/prism-markup-BNGj0Tvm.js +0 -174
- package/lib/prism-markup-BNGj0Tvm.js.map +0 -1
- package/lib/prism-markup-templating-DZrrEs0A.js +0 -62
- package/lib/prism-markup-templating-DZrrEs0A.js.map +0 -1
- package/lib/prism-objectivec.min-BXSWqpJJ.js +0 -2
- package/lib/prism-objectivec.min-BXSWqpJJ.js.map +0 -1
- package/lib/prism-php.min-o7FpoMP_.js +0 -11
- package/lib/prism-php.min-o7FpoMP_.js.map +0 -1
- package/lib/prism-ruby.min-C7LwcKyz.js +0 -10
- package/lib/prism-ruby.min-C7LwcKyz.js.map +0 -1
- package/lib/prism-typescript.min-oSVeWCAd.js +0 -6
- package/lib/prism-typescript.min-oSVeWCAd.js.map +0 -1
- package/lib/router-BsfSoK2j.js +0 -3024
- package/lib/router-BsfSoK2j.js.map +0 -1
- package/lib/state-CsuHT8ZO.js +0 -183
- package/lib/state-CsuHT8ZO.js.map +0 -1
- package/lib/urql-core-KJnLL26g.js +0 -1455
- package/lib/urql-core-KJnLL26g.js.map +0 -1
- package/lib/useExposedProps-ChOIUaS4.js +0 -9
- package/lib/useExposedProps-ChOIUaS4.js.map +0 -1
- package/lib/zudoku.openapi-worker.js +0 -16341
- package/lib/zudoku.openapi-worker.js.map +0 -1
- package/src/app/tailwind.ts +0 -68
- package/src/lib/components/DevPortal.tsx +0 -111
- package/src/lib/components/SlotletProvider.tsx +0 -55
- package/src/lib/components/SyntaxHighlight.tsx +0 -126
- package/src/lib/components/context/PluginSystem.ts +0 -0
- package/src/lib/components/context/ThemeContext.tsx +0 -8
- package/src/lib/components/context/ThemeProvider.tsx +0 -27
- package/src/lib/components/navigation/Sidebar.tsx +0 -39
- package/src/lib/components/navigation/SidebarBadge.tsx +0 -43
- package/src/lib/components/navigation/SidebarCategory.tsx +0 -137
- package/src/lib/components/navigation/SidebarItem.tsx +0 -127
- package/src/lib/components/navigation/SidebarWrapper.tsx +0 -26
- package/src/lib/core/DevPortalContext.ts +0 -136
- package/src/lib/plugins/custom-pages/CustomPage.tsx +0 -18
- package/src/lib/plugins/markdown/Toc.tsx +0 -135
- package/src/lib/plugins/markdown/resolver.ts +0 -92
- package/src/lib/plugins/openapi/Route.tsx +0 -20
- package/src/lib/plugins/openapi/client/createMemoryClient.ts +0 -51
- package/src/lib/plugins/openapi/client/createWorkerClient.ts +0 -75
- package/src/lib/plugins/openapi/client/interfaces.ts +0 -5
- package/src/lib/plugins/openapi/client/worker.ts +0 -30
- package/src/lib/plugins/openapi/playground/ResponseTab.tsx +0 -76
- package/src/lib/plugins/openapi/playground/UrlDisplay.tsx +0 -32
- package/src/lib/plugins/openapi/schema/SchemaComponents.tsx +0 -126
- package/src/lib/plugins/openapi-worker.ts +0 -1
- package/src/lib/plugins/search-inkeep/InkeepCustomTrigger.tsx +0 -3
- package/src/lib/themeToggle.ts +0 -7
- package/src/lib/util/createWaitForNotify.ts +0 -18
- /package/dist/{lib/components/context/PluginSystem.d.ts → config/validators/InputNavigationSchema.test-d.d.ts} +0 -0
- /package/dist/{lib/plugins/openapi/client/worker.d.ts → config/validators/validate.test.d.ts} +0 -0
- /package/dist/{vite/plugin-docs.test.d.ts → lib/auth/issuer.test.d.ts} +0 -0
- /package/dist/lib/{plugins/markdown → components/navigation}/Toc.d.ts +0 -0
package/lib/ui/Carousel.js
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { j as R } from "../jsx-runtime-
|
|
2
|
-
import * as
|
|
3
|
-
import { useRef as qt, useState as $t, useCallback as
|
|
4
|
-
import { ArrowLeft as
|
|
5
|
-
import { c as gt } from "../cn-
|
|
1
|
+
import { j as R } from "../jsx-runtime-C5mzlN2N.js";
|
|
2
|
+
import * as j from "react";
|
|
3
|
+
import { useRef as qt, useState as $t, useCallback as fn, useEffect as It } from "react";
|
|
4
|
+
import { ArrowLeft as dn, ArrowRight as pn } from "lucide-react";
|
|
5
|
+
import { c as gt } from "../cn-dYga0KKN.js";
|
|
6
6
|
import { Button as Xt } from "./Button.js";
|
|
7
|
-
function
|
|
7
|
+
function mn(t) {
|
|
8
8
|
return Object.prototype.toString.call(t) === "[object Object]";
|
|
9
9
|
}
|
|
10
10
|
function Kt(t) {
|
|
11
|
-
return
|
|
11
|
+
return mn(t) || Array.isArray(t);
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function gn() {
|
|
14
14
|
return !!(typeof window < "u" && window.document && window.document.createElement);
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function At(t, n) {
|
|
17
17
|
const o = Object.keys(t), r = Object.keys(n);
|
|
18
18
|
if (o.length !== r.length) return !1;
|
|
19
19
|
const i = JSON.stringify(Object.keys(t.breakpoints || {})), s = JSON.stringify(Object.keys(n.breakpoints || {}));
|
|
20
20
|
return i !== s ? !1 : o.every((e) => {
|
|
21
|
-
const a = t[e],
|
|
22
|
-
return typeof a == "function" ? `${a}` == `${
|
|
21
|
+
const a = t[e], c = n[e];
|
|
22
|
+
return typeof a == "function" ? `${a}` == `${c}` : !Kt(a) || !Kt(c) ? a === c : At(a, c);
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
25
|
function Ut(t) {
|
|
26
26
|
return t.concat().sort((n, o) => n.name > o.name ? 1 : -1).map((n) => n.options);
|
|
27
27
|
}
|
|
28
|
-
function
|
|
28
|
+
function hn(t, n) {
|
|
29
29
|
if (t.length !== n.length) return !1;
|
|
30
30
|
const o = Ut(t), r = Ut(n);
|
|
31
31
|
return o.every((i, s) => {
|
|
32
32
|
const e = r[s];
|
|
33
|
-
return
|
|
33
|
+
return At(i, e);
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function Dt(t) {
|
|
37
37
|
return typeof t == "number";
|
|
38
38
|
}
|
|
39
39
|
function Tt(t) {
|
|
@@ -48,17 +48,20 @@ function Qt(t) {
|
|
|
48
48
|
function D(t) {
|
|
49
49
|
return Math.abs(t);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function Pt(t) {
|
|
52
52
|
return Math.sign(t);
|
|
53
53
|
}
|
|
54
54
|
function ft(t, n) {
|
|
55
55
|
return D(t - n);
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function Sn(t, n) {
|
|
58
58
|
if (t === 0 || n === 0 || D(t) <= D(n)) return 0;
|
|
59
59
|
const o = ft(D(t), D(n));
|
|
60
60
|
return D(o / t);
|
|
61
61
|
}
|
|
62
|
+
function yn(t) {
|
|
63
|
+
return Math.round(t * 100) / 100;
|
|
64
|
+
}
|
|
62
65
|
function dt(t) {
|
|
63
66
|
return pt(t).map(Number);
|
|
64
67
|
}
|
|
@@ -68,7 +71,7 @@ function V(t) {
|
|
|
68
71
|
function ht(t) {
|
|
69
72
|
return Math.max(0, t.length - 1);
|
|
70
73
|
}
|
|
71
|
-
function
|
|
74
|
+
function Ot(t, n) {
|
|
72
75
|
return n === ht(t);
|
|
73
76
|
}
|
|
74
77
|
function Jt(t, n = 0) {
|
|
@@ -83,10 +86,10 @@ function Yt(t, n) {
|
|
|
83
86
|
o[i] = a ? Yt(s, e) : e;
|
|
84
87
|
}), o), {});
|
|
85
88
|
}
|
|
86
|
-
function
|
|
89
|
+
function Nt(t, n) {
|
|
87
90
|
return typeof n.MouseEvent < "u" && t instanceof n.MouseEvent;
|
|
88
91
|
}
|
|
89
|
-
function
|
|
92
|
+
function xn(t, n) {
|
|
90
93
|
const o = {
|
|
91
94
|
start: r,
|
|
92
95
|
center: i,
|
|
@@ -95,14 +98,14 @@ function hn(t, n) {
|
|
|
95
98
|
function r() {
|
|
96
99
|
return 0;
|
|
97
100
|
}
|
|
98
|
-
function i(
|
|
99
|
-
return s(
|
|
101
|
+
function i(c) {
|
|
102
|
+
return s(c) / 2;
|
|
100
103
|
}
|
|
101
|
-
function s(
|
|
102
|
-
return n -
|
|
104
|
+
function s(c) {
|
|
105
|
+
return n - c;
|
|
103
106
|
}
|
|
104
|
-
function e(
|
|
105
|
-
return Tt(t) ? o[t](
|
|
107
|
+
function e(c, u) {
|
|
108
|
+
return Tt(t) ? o[t](c) : t(n, c, u);
|
|
106
109
|
}
|
|
107
110
|
return {
|
|
108
111
|
measure: e
|
|
@@ -113,14 +116,14 @@ function mt() {
|
|
|
113
116
|
function n(i, s, e, a = {
|
|
114
117
|
passive: !0
|
|
115
118
|
}) {
|
|
116
|
-
let
|
|
119
|
+
let c;
|
|
117
120
|
if ("addEventListener" in i)
|
|
118
|
-
i.addEventListener(s, e, a),
|
|
121
|
+
i.addEventListener(s, e, a), c = () => i.removeEventListener(s, e, a);
|
|
119
122
|
else {
|
|
120
|
-
const
|
|
121
|
-
|
|
123
|
+
const u = i;
|
|
124
|
+
u.addListener(e), c = () => u.removeListener(e);
|
|
122
125
|
}
|
|
123
|
-
return t.push(
|
|
126
|
+
return t.push(c), r;
|
|
124
127
|
}
|
|
125
128
|
function o() {
|
|
126
129
|
t = t.filter((i) => i());
|
|
@@ -131,87 +134,87 @@ function mt() {
|
|
|
131
134
|
};
|
|
132
135
|
return r;
|
|
133
136
|
}
|
|
134
|
-
function
|
|
137
|
+
function bn(t, n, o, r) {
|
|
135
138
|
const i = mt(), s = 1e3 / 60;
|
|
136
|
-
let e = null, a = 0,
|
|
137
|
-
function
|
|
139
|
+
let e = null, a = 0, c = 0;
|
|
140
|
+
function u() {
|
|
138
141
|
i.add(t, "visibilitychange", () => {
|
|
139
142
|
t.hidden && l();
|
|
140
143
|
});
|
|
141
144
|
}
|
|
142
|
-
function
|
|
145
|
+
function S() {
|
|
143
146
|
x(), i.clear();
|
|
144
147
|
}
|
|
145
148
|
function d(h) {
|
|
146
|
-
if (!
|
|
147
|
-
e || (e = h);
|
|
149
|
+
if (!c) return;
|
|
150
|
+
e || (e = h, o(), o());
|
|
148
151
|
const f = h - e;
|
|
149
152
|
for (e = h, a += f; a >= s; )
|
|
150
|
-
o(
|
|
151
|
-
const
|
|
152
|
-
r(
|
|
153
|
+
o(), a -= s;
|
|
154
|
+
const g = a / s;
|
|
155
|
+
r(g), c && (c = n.requestAnimationFrame(d));
|
|
153
156
|
}
|
|
154
|
-
function
|
|
155
|
-
|
|
157
|
+
function p() {
|
|
158
|
+
c || (c = n.requestAnimationFrame(d));
|
|
156
159
|
}
|
|
157
160
|
function x() {
|
|
158
|
-
n.cancelAnimationFrame(
|
|
161
|
+
n.cancelAnimationFrame(c), e = null, a = 0, c = 0;
|
|
159
162
|
}
|
|
160
163
|
function l() {
|
|
161
164
|
e = null, a = 0;
|
|
162
165
|
}
|
|
163
166
|
return {
|
|
164
|
-
init:
|
|
165
|
-
destroy:
|
|
166
|
-
start:
|
|
167
|
+
init: u,
|
|
168
|
+
destroy: S,
|
|
169
|
+
start: p,
|
|
167
170
|
stop: x,
|
|
168
|
-
update:
|
|
171
|
+
update: o,
|
|
169
172
|
render: r
|
|
170
173
|
};
|
|
171
174
|
}
|
|
172
|
-
function
|
|
173
|
-
const o = n === "rtl", r = t === "y", i = r ? "y" : "x", s = r ? "x" : "y", e = !r && o ? -1 : 1, a =
|
|
174
|
-
function
|
|
175
|
+
function En(t, n) {
|
|
176
|
+
const o = n === "rtl", r = t === "y", i = r ? "y" : "x", s = r ? "x" : "y", e = !r && o ? -1 : 1, a = S(), c = d();
|
|
177
|
+
function u(l) {
|
|
175
178
|
const {
|
|
176
|
-
height:
|
|
179
|
+
height: m,
|
|
177
180
|
width: h
|
|
178
181
|
} = l;
|
|
179
|
-
return r ?
|
|
182
|
+
return r ? m : h;
|
|
180
183
|
}
|
|
181
|
-
function
|
|
184
|
+
function S() {
|
|
182
185
|
return r ? "top" : o ? "right" : "left";
|
|
183
186
|
}
|
|
184
187
|
function d() {
|
|
185
188
|
return r ? "bottom" : o ? "left" : "right";
|
|
186
189
|
}
|
|
187
|
-
function
|
|
190
|
+
function p(l) {
|
|
188
191
|
return l * e;
|
|
189
192
|
}
|
|
190
193
|
return {
|
|
191
194
|
scroll: i,
|
|
192
195
|
cross: s,
|
|
193
196
|
startEdge: a,
|
|
194
|
-
endEdge:
|
|
195
|
-
measureSize:
|
|
196
|
-
direction:
|
|
197
|
+
endEdge: c,
|
|
198
|
+
measureSize: u,
|
|
199
|
+
direction: p
|
|
197
200
|
};
|
|
198
201
|
}
|
|
199
|
-
function
|
|
202
|
+
function et(t = 0, n = 0) {
|
|
200
203
|
const o = D(t - n);
|
|
201
|
-
function r(
|
|
202
|
-
return
|
|
204
|
+
function r(u) {
|
|
205
|
+
return u < t;
|
|
203
206
|
}
|
|
204
|
-
function i(
|
|
205
|
-
return
|
|
207
|
+
function i(u) {
|
|
208
|
+
return u > n;
|
|
206
209
|
}
|
|
207
|
-
function s(
|
|
208
|
-
return r(
|
|
210
|
+
function s(u) {
|
|
211
|
+
return r(u) || i(u);
|
|
209
212
|
}
|
|
210
|
-
function e(
|
|
211
|
-
return s(
|
|
213
|
+
function e(u) {
|
|
214
|
+
return s(u) ? r(u) ? t : n : u;
|
|
212
215
|
}
|
|
213
|
-
function a(
|
|
214
|
-
return o ?
|
|
216
|
+
function a(u) {
|
|
217
|
+
return o ? u - o * Math.ceil((u - n) / o) : u;
|
|
215
218
|
}
|
|
216
219
|
return {
|
|
217
220
|
length: o,
|
|
@@ -227,94 +230,94 @@ function ot(t = 0, n = 0) {
|
|
|
227
230
|
function _t(t, n, o) {
|
|
228
231
|
const {
|
|
229
232
|
constrain: r
|
|
230
|
-
} =
|
|
233
|
+
} = et(0, t), i = t + 1;
|
|
231
234
|
let s = e(n);
|
|
232
|
-
function e(
|
|
233
|
-
return o ? D((i +
|
|
235
|
+
function e(p) {
|
|
236
|
+
return o ? D((i + p) % i) : r(p);
|
|
234
237
|
}
|
|
235
238
|
function a() {
|
|
236
239
|
return s;
|
|
237
240
|
}
|
|
238
|
-
function
|
|
239
|
-
return s = e(
|
|
241
|
+
function c(p) {
|
|
242
|
+
return s = e(p), d;
|
|
240
243
|
}
|
|
241
|
-
function
|
|
242
|
-
return
|
|
244
|
+
function u(p) {
|
|
245
|
+
return S().set(a() + p);
|
|
243
246
|
}
|
|
244
|
-
function
|
|
247
|
+
function S() {
|
|
245
248
|
return _t(t, a(), o);
|
|
246
249
|
}
|
|
247
250
|
const d = {
|
|
248
251
|
get: a,
|
|
249
|
-
set:
|
|
250
|
-
add:
|
|
251
|
-
clone:
|
|
252
|
+
set: c,
|
|
253
|
+
add: u,
|
|
254
|
+
clone: S
|
|
252
255
|
};
|
|
253
256
|
return d;
|
|
254
257
|
}
|
|
255
|
-
function
|
|
258
|
+
function vn(t, n, o, r, i, s, e, a, c, u, S, d, p, x, l, m, h, f, g) {
|
|
256
259
|
const {
|
|
257
260
|
cross: b,
|
|
258
|
-
direction:
|
|
259
|
-
} = t,
|
|
261
|
+
direction: L
|
|
262
|
+
} = t, N = ["INPUT", "SELECT", "TEXTAREA"], C = {
|
|
260
263
|
passive: !1
|
|
261
|
-
}, E = mt(), v = mt(),
|
|
264
|
+
}, E = mt(), v = mt(), w = et(50, 225).constrain(x.measure(20)), P = {
|
|
262
265
|
mouse: 300,
|
|
263
266
|
touch: 400
|
|
264
|
-
},
|
|
267
|
+
}, I = {
|
|
265
268
|
mouse: 500,
|
|
266
269
|
touch: 600
|
|
267
|
-
},
|
|
268
|
-
let G = !1, H = 0, q = 0,
|
|
269
|
-
function it(
|
|
270
|
-
if (!
|
|
271
|
-
function
|
|
272
|
-
(xt(
|
|
270
|
+
}, F = l ? 43 : 25;
|
|
271
|
+
let G = !1, H = 0, q = 0, W = !1, _ = !1, U = !1, Q = !1;
|
|
272
|
+
function it(y) {
|
|
273
|
+
if (!g) return;
|
|
274
|
+
function T(k) {
|
|
275
|
+
(xt(g) || g(y, k)) && ut(k);
|
|
273
276
|
}
|
|
274
277
|
const O = n;
|
|
275
|
-
E.add(O, "dragstart", (k) => k.preventDefault(),
|
|
276
|
-
},
|
|
277
|
-
}).add(O, "touchstart",
|
|
278
|
+
E.add(O, "dragstart", (k) => k.preventDefault(), C).add(O, "touchmove", () => {
|
|
279
|
+
}, C).add(O, "touchend", () => {
|
|
280
|
+
}).add(O, "touchstart", T).add(O, "mousedown", T).add(O, "touchcancel", M).add(O, "contextmenu", M).add(O, "click", X, !0);
|
|
278
281
|
}
|
|
279
282
|
function $() {
|
|
280
283
|
E.clear(), v.clear();
|
|
281
284
|
}
|
|
282
|
-
function
|
|
283
|
-
const
|
|
284
|
-
v.add(
|
|
285
|
+
function ot() {
|
|
286
|
+
const y = Q ? o : n;
|
|
287
|
+
v.add(y, "touchmove", z, C).add(y, "touchend", M).add(y, "mousemove", z, C).add(y, "mouseup", M);
|
|
285
288
|
}
|
|
286
|
-
function
|
|
287
|
-
const
|
|
288
|
-
return
|
|
289
|
+
function rt(y) {
|
|
290
|
+
const T = y.nodeName || "";
|
|
291
|
+
return N.includes(T);
|
|
289
292
|
}
|
|
290
293
|
function J() {
|
|
291
|
-
return (l ?
|
|
294
|
+
return (l ? I : P)[Q ? "mouse" : "touch"];
|
|
292
295
|
}
|
|
293
|
-
function ct(
|
|
294
|
-
const O = d.add(
|
|
295
|
-
return l || D(
|
|
296
|
+
function ct(y, T) {
|
|
297
|
+
const O = d.add(Pt(y) * -1), k = S.byDistance(y, !l).distance;
|
|
298
|
+
return l || D(y) < w ? k : h && T ? k * 0.5 : S.byIndex(O.get(), 0).distance;
|
|
296
299
|
}
|
|
297
|
-
function ut(
|
|
298
|
-
const
|
|
299
|
-
Q =
|
|
300
|
+
function ut(y) {
|
|
301
|
+
const T = Nt(y, r);
|
|
302
|
+
Q = T, U = l && T && !y.buttons && G, G = ft(i.get(), e.get()) >= 2, !(T && y.button !== 0) && (rt(y.target) || (W = !0, s.pointerDown(y), u.useFriction(0).useDuration(0), i.set(e), ot(), H = s.readPoint(y), q = s.readPoint(y, b), p.emit("pointerDown")));
|
|
300
303
|
}
|
|
301
|
-
function z(
|
|
302
|
-
if (!
|
|
303
|
-
const O = s.readPoint(
|
|
304
|
-
if (!_ && !Q && (!
|
|
305
|
-
return M(
|
|
306
|
-
const
|
|
307
|
-
K >
|
|
304
|
+
function z(y) {
|
|
305
|
+
if (!Nt(y, r) && y.touches.length >= 2) return M(y);
|
|
306
|
+
const O = s.readPoint(y), k = s.readPoint(y, b), K = ft(O, H), Y = ft(k, q);
|
|
307
|
+
if (!_ && !Q && (!y.cancelable || (_ = K > Y, !_)))
|
|
308
|
+
return M(y);
|
|
309
|
+
const tt = s.pointerMove(y);
|
|
310
|
+
K > m && (U = !0), u.useFriction(0.3).useDuration(0.75), a.start(), i.add(L(tt)), y.preventDefault();
|
|
308
311
|
}
|
|
309
|
-
function M(
|
|
310
|
-
const O =
|
|
311
|
-
_ = !1,
|
|
312
|
+
function M(y) {
|
|
313
|
+
const O = S.byDistance(0, !1).index !== d.get(), k = s.pointerUp(y) * J(), K = ct(L(k), O), Y = Sn(k, K), tt = F - 10 * Y, Z = f + Y / 50;
|
|
314
|
+
_ = !1, W = !1, v.clear(), u.useDuration(tt).useFriction(Z), c.distance(K, !l), Q = !1, p.emit("pointerUp");
|
|
312
315
|
}
|
|
313
|
-
function X(
|
|
314
|
-
U && (
|
|
316
|
+
function X(y) {
|
|
317
|
+
U && (y.stopPropagation(), y.preventDefault(), U = !1);
|
|
315
318
|
}
|
|
316
319
|
function B() {
|
|
317
|
-
return
|
|
320
|
+
return W;
|
|
318
321
|
}
|
|
319
322
|
return {
|
|
320
323
|
init: it,
|
|
@@ -322,35 +325,35 @@ function xn(t, n, o, r, i, s, e, a, u, c, y, d, g, x, l, p, h, f, m) {
|
|
|
322
325
|
pointerDown: B
|
|
323
326
|
};
|
|
324
327
|
}
|
|
325
|
-
function
|
|
328
|
+
function Ln(t, n) {
|
|
326
329
|
let r, i;
|
|
327
330
|
function s(d) {
|
|
328
331
|
return d.timeStamp;
|
|
329
332
|
}
|
|
330
|
-
function e(d,
|
|
331
|
-
const l = `client${(
|
|
332
|
-
return (
|
|
333
|
+
function e(d, p) {
|
|
334
|
+
const l = `client${(p || t.scroll) === "x" ? "X" : "Y"}`;
|
|
335
|
+
return (Nt(d, n) ? d : d.touches[0])[l];
|
|
333
336
|
}
|
|
334
337
|
function a(d) {
|
|
335
338
|
return r = d, i = d, e(d);
|
|
336
339
|
}
|
|
337
|
-
function u(d) {
|
|
338
|
-
const g = e(d) - e(i), x = s(d) - s(r) > 170;
|
|
339
|
-
return i = d, x && (r = d), g;
|
|
340
|
-
}
|
|
341
340
|
function c(d) {
|
|
341
|
+
const p = e(d) - e(i), x = s(d) - s(r) > 170;
|
|
342
|
+
return i = d, x && (r = d), p;
|
|
343
|
+
}
|
|
344
|
+
function u(d) {
|
|
342
345
|
if (!r || !i) return 0;
|
|
343
|
-
const
|
|
344
|
-
return x && !l && D(
|
|
346
|
+
const p = e(i) - e(r), x = s(d) - s(r), l = s(d) - s(i) > 170, m = p / x;
|
|
347
|
+
return x && !l && D(m) > 0.1 ? m : 0;
|
|
345
348
|
}
|
|
346
349
|
return {
|
|
347
350
|
pointerDown: a,
|
|
348
|
-
pointerMove:
|
|
349
|
-
pointerUp:
|
|
351
|
+
pointerMove: c,
|
|
352
|
+
pointerUp: u,
|
|
350
353
|
readPoint: e
|
|
351
354
|
};
|
|
352
355
|
}
|
|
353
|
-
function
|
|
356
|
+
function Cn() {
|
|
354
357
|
function t(o) {
|
|
355
358
|
const {
|
|
356
359
|
offsetTop: r,
|
|
@@ -371,7 +374,7 @@ function En() {
|
|
|
371
374
|
measure: t
|
|
372
375
|
};
|
|
373
376
|
}
|
|
374
|
-
function
|
|
377
|
+
function wn(t) {
|
|
375
378
|
function n(r) {
|
|
376
379
|
return t * (r / 100);
|
|
377
380
|
}
|
|
@@ -379,54 +382,54 @@ function vn(t) {
|
|
|
379
382
|
measure: n
|
|
380
383
|
};
|
|
381
384
|
}
|
|
382
|
-
function
|
|
385
|
+
function In(t, n, o, r, i, s, e) {
|
|
383
386
|
const a = [t].concat(r);
|
|
384
|
-
let
|
|
385
|
-
function
|
|
387
|
+
let c, u, S = [], d = !1;
|
|
388
|
+
function p(h) {
|
|
386
389
|
return i.measureSize(e.measure(h));
|
|
387
390
|
}
|
|
388
391
|
function x(h) {
|
|
389
392
|
if (!s) return;
|
|
390
|
-
|
|
391
|
-
function f(
|
|
392
|
-
for (const b of
|
|
393
|
+
u = p(t), S = r.map(p);
|
|
394
|
+
function f(g) {
|
|
395
|
+
for (const b of g) {
|
|
393
396
|
if (d) return;
|
|
394
|
-
const
|
|
395
|
-
if (D(E -
|
|
397
|
+
const L = b.target === t, N = r.indexOf(b.target), C = L ? u : S[N], E = p(L ? t : r[N]);
|
|
398
|
+
if (D(E - C) >= 0.5) {
|
|
396
399
|
h.reInit(), n.emit("resize");
|
|
397
400
|
break;
|
|
398
401
|
}
|
|
399
402
|
}
|
|
400
403
|
}
|
|
401
|
-
|
|
402
|
-
(xt(s) || s(h,
|
|
404
|
+
c = new ResizeObserver((g) => {
|
|
405
|
+
(xt(s) || s(h, g)) && f(g);
|
|
403
406
|
}), o.requestAnimationFrame(() => {
|
|
404
|
-
a.forEach((
|
|
407
|
+
a.forEach((g) => c.observe(g));
|
|
405
408
|
});
|
|
406
409
|
}
|
|
407
410
|
function l() {
|
|
408
|
-
d = !0,
|
|
411
|
+
d = !0, c && c.disconnect();
|
|
409
412
|
}
|
|
410
413
|
return {
|
|
411
414
|
init: x,
|
|
412
415
|
destroy: l
|
|
413
416
|
};
|
|
414
417
|
}
|
|
415
|
-
function
|
|
416
|
-
let e = 0, a = 0,
|
|
417
|
-
function
|
|
418
|
-
const
|
|
419
|
-
let
|
|
420
|
-
return
|
|
418
|
+
function Tn(t, n, o, r, i, s) {
|
|
419
|
+
let e = 0, a = 0, c = i, u = s, S = t.get(), d = 0;
|
|
420
|
+
function p() {
|
|
421
|
+
const C = r.get() - t.get(), E = !c;
|
|
422
|
+
let v = 0;
|
|
423
|
+
return E ? (e = 0, o.set(r), t.set(r), v = C) : (o.set(t), e += C / c, e *= u, S += e, t.add(e), v = S - d), a = Pt(v), d = S, N;
|
|
421
424
|
}
|
|
422
425
|
function x() {
|
|
423
|
-
const
|
|
424
|
-
return D(
|
|
426
|
+
const C = r.get() - n.get();
|
|
427
|
+
return D(C) < 1e-3;
|
|
425
428
|
}
|
|
426
429
|
function l() {
|
|
427
|
-
return
|
|
430
|
+
return c;
|
|
428
431
|
}
|
|
429
|
-
function
|
|
432
|
+
function m() {
|
|
430
433
|
return a;
|
|
431
434
|
}
|
|
432
435
|
function h() {
|
|
@@ -435,104 +438,104 @@ function Cn(t, n, o, r, i, s) {
|
|
|
435
438
|
function f() {
|
|
436
439
|
return b(i);
|
|
437
440
|
}
|
|
438
|
-
function
|
|
439
|
-
return
|
|
441
|
+
function g() {
|
|
442
|
+
return L(s);
|
|
440
443
|
}
|
|
441
|
-
function b(
|
|
442
|
-
return
|
|
444
|
+
function b(C) {
|
|
445
|
+
return c = C, N;
|
|
443
446
|
}
|
|
444
|
-
function
|
|
445
|
-
return
|
|
447
|
+
function L(C) {
|
|
448
|
+
return u = C, N;
|
|
446
449
|
}
|
|
447
|
-
const
|
|
448
|
-
direction:
|
|
450
|
+
const N = {
|
|
451
|
+
direction: m,
|
|
449
452
|
duration: l,
|
|
450
453
|
velocity: h,
|
|
451
|
-
seek:
|
|
454
|
+
seek: p,
|
|
452
455
|
settled: x,
|
|
453
|
-
useBaseFriction:
|
|
456
|
+
useBaseFriction: g,
|
|
454
457
|
useBaseDuration: f,
|
|
455
|
-
useFriction:
|
|
458
|
+
useFriction: L,
|
|
456
459
|
useDuration: b
|
|
457
460
|
};
|
|
458
|
-
return
|
|
461
|
+
return N;
|
|
459
462
|
}
|
|
460
|
-
function
|
|
461
|
-
const s = i.measure(10), e = i.measure(50), a =
|
|
462
|
-
let
|
|
463
|
-
function
|
|
464
|
-
return !(
|
|
465
|
-
}
|
|
466
|
-
function
|
|
467
|
-
if (!
|
|
468
|
-
const l = t.reachedMin(n.get()) ? "min" : "max",
|
|
463
|
+
function Nn(t, n, o, r, i) {
|
|
464
|
+
const s = i.measure(10), e = i.measure(50), a = et(0.1, 0.99);
|
|
465
|
+
let c = !1;
|
|
466
|
+
function u() {
|
|
467
|
+
return !(c || !t.reachedAny(o.get()) || !t.reachedAny(n.get()));
|
|
468
|
+
}
|
|
469
|
+
function S(x) {
|
|
470
|
+
if (!u()) return;
|
|
471
|
+
const l = t.reachedMin(n.get()) ? "min" : "max", m = D(t[l] - n.get()), h = o.get() - n.get(), f = a.constrain(m / e);
|
|
469
472
|
o.subtract(h * f), !x && D(h) < s && (o.set(t.constrain(o.get())), r.useDuration(25).useBaseFriction());
|
|
470
473
|
}
|
|
471
474
|
function d(x) {
|
|
472
|
-
|
|
475
|
+
c = !x;
|
|
473
476
|
}
|
|
474
477
|
return {
|
|
475
|
-
shouldConstrain:
|
|
476
|
-
constrain:
|
|
478
|
+
shouldConstrain: u,
|
|
479
|
+
constrain: S,
|
|
477
480
|
toggleActive: d
|
|
478
481
|
};
|
|
479
482
|
}
|
|
480
|
-
function
|
|
481
|
-
const s =
|
|
482
|
-
function
|
|
483
|
-
return ft(l,
|
|
483
|
+
function An(t, n, o, r, i) {
|
|
484
|
+
const s = et(-n + t, 0), e = d(), a = S(), c = p();
|
|
485
|
+
function u(l, m) {
|
|
486
|
+
return ft(l, m) <= 1;
|
|
484
487
|
}
|
|
485
|
-
function
|
|
486
|
-
const l = e[0],
|
|
487
|
-
return
|
|
488
|
+
function S() {
|
|
489
|
+
const l = e[0], m = V(e), h = e.lastIndexOf(l), f = e.indexOf(m) + 1;
|
|
490
|
+
return et(h, f);
|
|
488
491
|
}
|
|
489
492
|
function d() {
|
|
490
|
-
return o.map((l,
|
|
493
|
+
return o.map((l, m) => {
|
|
491
494
|
const {
|
|
492
495
|
min: h,
|
|
493
496
|
max: f
|
|
494
|
-
} = s,
|
|
495
|
-
return b ? f :
|
|
497
|
+
} = s, g = s.constrain(l), b = !m, L = Ot(o, m);
|
|
498
|
+
return b ? f : L || u(h, g) ? h : u(f, g) ? f : g;
|
|
496
499
|
}).map((l) => parseFloat(l.toFixed(3)));
|
|
497
500
|
}
|
|
498
|
-
function
|
|
501
|
+
function p() {
|
|
499
502
|
if (n <= t + i) return [s.max];
|
|
500
503
|
if (r === "keepSnaps") return e;
|
|
501
504
|
const {
|
|
502
505
|
min: l,
|
|
503
|
-
max:
|
|
506
|
+
max: m
|
|
504
507
|
} = a;
|
|
505
|
-
return e.slice(l,
|
|
508
|
+
return e.slice(l, m);
|
|
506
509
|
}
|
|
507
510
|
return {
|
|
508
|
-
snapsContained:
|
|
511
|
+
snapsContained: c,
|
|
509
512
|
scrollContainLimit: a
|
|
510
513
|
};
|
|
511
514
|
}
|
|
512
|
-
function
|
|
515
|
+
function Dn(t, n, o) {
|
|
513
516
|
const r = n[0], i = o ? r - t : V(n);
|
|
514
517
|
return {
|
|
515
|
-
limit:
|
|
518
|
+
limit: et(i, r)
|
|
516
519
|
};
|
|
517
520
|
}
|
|
518
|
-
function
|
|
521
|
+
function Pn(t, n, o, r) {
|
|
519
522
|
const s = n.min + 0.1, e = n.max + 0.1, {
|
|
520
523
|
reachedMin: a,
|
|
521
|
-
reachedMax:
|
|
522
|
-
} =
|
|
523
|
-
function
|
|
524
|
-
return
|
|
525
|
-
}
|
|
526
|
-
function
|
|
527
|
-
if (!
|
|
528
|
-
const x = t * (
|
|
524
|
+
reachedMax: c
|
|
525
|
+
} = et(s, e);
|
|
526
|
+
function u(p) {
|
|
527
|
+
return p === 1 ? c(o.get()) : p === -1 ? a(o.get()) : !1;
|
|
528
|
+
}
|
|
529
|
+
function S(p) {
|
|
530
|
+
if (!u(p)) return;
|
|
531
|
+
const x = t * (p * -1);
|
|
529
532
|
r.forEach((l) => l.add(x));
|
|
530
533
|
}
|
|
531
534
|
return {
|
|
532
|
-
loop:
|
|
535
|
+
loop: S
|
|
533
536
|
};
|
|
534
537
|
}
|
|
535
|
-
function
|
|
538
|
+
function On(t) {
|
|
536
539
|
const {
|
|
537
540
|
max: n,
|
|
538
541
|
length: o
|
|
@@ -545,43 +548,43 @@ function An(t) {
|
|
|
545
548
|
get: r
|
|
546
549
|
};
|
|
547
550
|
}
|
|
548
|
-
function
|
|
551
|
+
function Mn(t, n, o, r, i) {
|
|
549
552
|
const {
|
|
550
553
|
startEdge: s,
|
|
551
554
|
endEdge: e
|
|
552
555
|
} = t, {
|
|
553
556
|
groupSlides: a
|
|
554
|
-
} = i,
|
|
557
|
+
} = i, c = d().map(n.measure), u = p(), S = x();
|
|
555
558
|
function d() {
|
|
556
|
-
return a(r).map((
|
|
559
|
+
return a(r).map((m) => V(m)[e] - m[0][s]).map(D);
|
|
557
560
|
}
|
|
558
|
-
function
|
|
559
|
-
return r.map((
|
|
561
|
+
function p() {
|
|
562
|
+
return r.map((m) => o[s] - m[s]).map((m) => -D(m));
|
|
560
563
|
}
|
|
561
564
|
function x() {
|
|
562
|
-
return a(
|
|
565
|
+
return a(u).map((m) => m[0]).map((m, h) => m + c[h]);
|
|
563
566
|
}
|
|
564
567
|
return {
|
|
565
|
-
snaps:
|
|
566
|
-
snapsAligned:
|
|
568
|
+
snaps: u,
|
|
569
|
+
snapsAligned: S
|
|
567
570
|
};
|
|
568
571
|
}
|
|
569
|
-
function
|
|
572
|
+
function kn(t, n, o, r, i, s) {
|
|
570
573
|
const {
|
|
571
574
|
groupSlides: e
|
|
572
575
|
} = i, {
|
|
573
576
|
min: a,
|
|
574
|
-
max:
|
|
575
|
-
} = r,
|
|
576
|
-
function
|
|
577
|
-
const
|
|
578
|
-
return o.length === 1 ? [s] : x ?
|
|
579
|
-
const f = !
|
|
577
|
+
max: c
|
|
578
|
+
} = r, u = S();
|
|
579
|
+
function S() {
|
|
580
|
+
const p = e(s), x = !t || n === "keepSnaps";
|
|
581
|
+
return o.length === 1 ? [s] : x ? p : p.slice(a, c).map((l, m, h) => {
|
|
582
|
+
const f = !m, g = Ot(h, m);
|
|
580
583
|
if (f) {
|
|
581
584
|
const b = V(h[0]) + 1;
|
|
582
585
|
return Jt(b);
|
|
583
586
|
}
|
|
584
|
-
if (
|
|
587
|
+
if (g) {
|
|
585
588
|
const b = ht(s) - V(h)[0] + 1;
|
|
586
589
|
return Jt(b, V(h)[0]);
|
|
587
590
|
}
|
|
@@ -589,108 +592,108 @@ function Pn(t, n, o, r, i, s) {
|
|
|
589
592
|
});
|
|
590
593
|
}
|
|
591
594
|
return {
|
|
592
|
-
slideRegistry:
|
|
595
|
+
slideRegistry: u
|
|
593
596
|
};
|
|
594
597
|
}
|
|
595
|
-
function
|
|
598
|
+
function jn(t, n, o, r, i) {
|
|
596
599
|
const {
|
|
597
600
|
reachedAny: s,
|
|
598
601
|
removeOffset: e,
|
|
599
602
|
constrain: a
|
|
600
603
|
} = r;
|
|
601
|
-
function u(l) {
|
|
602
|
-
return l.concat().sort((p, h) => D(p) - D(h))[0];
|
|
603
|
-
}
|
|
604
604
|
function c(l) {
|
|
605
|
-
|
|
606
|
-
|
|
605
|
+
return l.concat().sort((m, h) => D(m) - D(h))[0];
|
|
606
|
+
}
|
|
607
|
+
function u(l) {
|
|
608
|
+
const m = t ? e(l) : a(l), h = n.map((g, b) => ({
|
|
609
|
+
diff: S(g - m, 0),
|
|
607
610
|
index: b
|
|
608
|
-
})).sort((
|
|
611
|
+
})).sort((g, b) => D(g.diff) - D(b.diff)), {
|
|
609
612
|
index: f
|
|
610
613
|
} = h[0];
|
|
611
614
|
return {
|
|
612
615
|
index: f,
|
|
613
|
-
distance:
|
|
616
|
+
distance: m
|
|
614
617
|
};
|
|
615
618
|
}
|
|
616
|
-
function
|
|
619
|
+
function S(l, m) {
|
|
617
620
|
const h = [l, l + o, l - o];
|
|
618
621
|
if (!t) return l;
|
|
619
|
-
if (!
|
|
620
|
-
const f = h.filter((
|
|
621
|
-
return f.length ?
|
|
622
|
+
if (!m) return c(h);
|
|
623
|
+
const f = h.filter((g) => Pt(g) === m);
|
|
624
|
+
return f.length ? c(f) : V(h) - o;
|
|
622
625
|
}
|
|
623
|
-
function d(l,
|
|
624
|
-
const h = n[l] - i.get(), f =
|
|
626
|
+
function d(l, m) {
|
|
627
|
+
const h = n[l] - i.get(), f = S(h, m);
|
|
625
628
|
return {
|
|
626
629
|
index: l,
|
|
627
630
|
distance: f
|
|
628
631
|
};
|
|
629
632
|
}
|
|
630
|
-
function
|
|
633
|
+
function p(l, m) {
|
|
631
634
|
const h = i.get() + l, {
|
|
632
635
|
index: f,
|
|
633
|
-
distance:
|
|
634
|
-
} =
|
|
635
|
-
if (!
|
|
636
|
+
distance: g
|
|
637
|
+
} = u(h), b = !t && s(h);
|
|
638
|
+
if (!m || b) return {
|
|
636
639
|
index: f,
|
|
637
640
|
distance: l
|
|
638
641
|
};
|
|
639
|
-
const
|
|
642
|
+
const L = n[f] - g, N = l + S(L, 0);
|
|
640
643
|
return {
|
|
641
644
|
index: f,
|
|
642
|
-
distance:
|
|
645
|
+
distance: N
|
|
643
646
|
};
|
|
644
647
|
}
|
|
645
648
|
return {
|
|
646
|
-
byDistance:
|
|
649
|
+
byDistance: p,
|
|
647
650
|
byIndex: d,
|
|
648
|
-
shortcut:
|
|
651
|
+
shortcut: S
|
|
649
652
|
};
|
|
650
653
|
}
|
|
651
|
-
function
|
|
654
|
+
function Fn(t, n, o, r, i, s, e) {
|
|
652
655
|
function a(d) {
|
|
653
|
-
const
|
|
654
|
-
s.add(
|
|
656
|
+
const p = d.distance, x = d.index !== n.get();
|
|
657
|
+
s.add(p), p && (r.duration() ? t.start() : (t.update(), t.render(1), t.update())), x && (o.set(n.get()), n.set(d.index), e.emit("select"));
|
|
655
658
|
}
|
|
656
|
-
function
|
|
657
|
-
const x = i.byDistance(d,
|
|
659
|
+
function c(d, p) {
|
|
660
|
+
const x = i.byDistance(d, p);
|
|
658
661
|
a(x);
|
|
659
662
|
}
|
|
660
|
-
function
|
|
661
|
-
const x = n.clone().set(d), l = i.byIndex(x.get(),
|
|
663
|
+
function u(d, p) {
|
|
664
|
+
const x = n.clone().set(d), l = i.byIndex(x.get(), p);
|
|
662
665
|
a(l);
|
|
663
666
|
}
|
|
664
667
|
return {
|
|
665
|
-
distance:
|
|
666
|
-
index:
|
|
668
|
+
distance: c,
|
|
669
|
+
index: u
|
|
667
670
|
};
|
|
668
671
|
}
|
|
669
|
-
function
|
|
670
|
-
const
|
|
672
|
+
function zn(t, n, o, r, i, s, e, a) {
|
|
673
|
+
const c = {
|
|
671
674
|
passive: !0,
|
|
672
675
|
capture: !0
|
|
673
676
|
};
|
|
674
|
-
let
|
|
675
|
-
function
|
|
677
|
+
let u = 0;
|
|
678
|
+
function S(x) {
|
|
676
679
|
if (!a) return;
|
|
677
|
-
function l(
|
|
678
|
-
if ((/* @__PURE__ */ new Date()).getTime() -
|
|
680
|
+
function l(m) {
|
|
681
|
+
if ((/* @__PURE__ */ new Date()).getTime() - u > 10) return;
|
|
679
682
|
e.emit("slideFocusStart"), t.scrollLeft = 0;
|
|
680
|
-
const
|
|
681
|
-
|
|
683
|
+
const g = o.findIndex((b) => b.includes(m));
|
|
684
|
+
Dt(g) && (i.useDuration(0), r.index(g, 0), e.emit("slideFocus"));
|
|
682
685
|
}
|
|
683
|
-
s.add(document, "keydown", d, !1), n.forEach((
|
|
684
|
-
s.add(
|
|
686
|
+
s.add(document, "keydown", d, !1), n.forEach((m, h) => {
|
|
687
|
+
s.add(m, "focus", (f) => {
|
|
685
688
|
(xt(a) || a(x, f)) && l(h);
|
|
686
|
-
},
|
|
689
|
+
}, c);
|
|
687
690
|
});
|
|
688
691
|
}
|
|
689
692
|
function d(x) {
|
|
690
|
-
x.code === "Tab" && (
|
|
693
|
+
x.code === "Tab" && (u = (/* @__PURE__ */ new Date()).getTime());
|
|
691
694
|
}
|
|
692
695
|
return {
|
|
693
|
-
init:
|
|
696
|
+
init: S
|
|
694
697
|
};
|
|
695
698
|
}
|
|
696
699
|
function lt(t) {
|
|
@@ -698,17 +701,17 @@ function lt(t) {
|
|
|
698
701
|
function o() {
|
|
699
702
|
return n;
|
|
700
703
|
}
|
|
701
|
-
function r(
|
|
702
|
-
n = e(
|
|
704
|
+
function r(c) {
|
|
705
|
+
n = e(c);
|
|
703
706
|
}
|
|
704
|
-
function i(
|
|
705
|
-
n += e(
|
|
707
|
+
function i(c) {
|
|
708
|
+
n += e(c);
|
|
706
709
|
}
|
|
707
|
-
function s(
|
|
708
|
-
n -= e(
|
|
710
|
+
function s(c) {
|
|
711
|
+
n -= e(c);
|
|
709
712
|
}
|
|
710
|
-
function e(
|
|
711
|
-
return
|
|
713
|
+
function e(c) {
|
|
714
|
+
return Dt(c) ? c : c.get();
|
|
712
715
|
}
|
|
713
716
|
return {
|
|
714
717
|
get: o,
|
|
@@ -718,53 +721,55 @@ function lt(t) {
|
|
|
718
721
|
};
|
|
719
722
|
}
|
|
720
723
|
function Zt(t, n) {
|
|
721
|
-
const o = t.scroll === "x" ?
|
|
722
|
-
let i = !1;
|
|
723
|
-
function
|
|
724
|
-
return `translate3d(${
|
|
724
|
+
const o = t.scroll === "x" ? e : a, r = n.style;
|
|
725
|
+
let i = null, s = !1;
|
|
726
|
+
function e(p) {
|
|
727
|
+
return `translate3d(${p}px,0px,0px)`;
|
|
725
728
|
}
|
|
726
|
-
function
|
|
727
|
-
return `translate3d(0px,${
|
|
729
|
+
function a(p) {
|
|
730
|
+
return `translate3d(0px,${p}px,0px)`;
|
|
728
731
|
}
|
|
729
|
-
function
|
|
730
|
-
|
|
732
|
+
function c(p) {
|
|
733
|
+
if (s) return;
|
|
734
|
+
const x = yn(t.direction(p));
|
|
735
|
+
x !== i && (r.transform = o(x), i = x);
|
|
731
736
|
}
|
|
732
|
-
function u(
|
|
733
|
-
|
|
737
|
+
function u(p) {
|
|
738
|
+
s = !p;
|
|
734
739
|
}
|
|
735
|
-
function
|
|
736
|
-
|
|
740
|
+
function S() {
|
|
741
|
+
s || (r.transform = "", n.getAttribute("style") || n.removeAttribute("style"));
|
|
737
742
|
}
|
|
738
743
|
return {
|
|
739
|
-
clear:
|
|
740
|
-
to:
|
|
744
|
+
clear: S,
|
|
745
|
+
to: c,
|
|
741
746
|
toggleActive: u
|
|
742
747
|
};
|
|
743
748
|
}
|
|
744
|
-
function
|
|
745
|
-
const
|
|
749
|
+
function Bn(t, n, o, r, i, s, e, a, c) {
|
|
750
|
+
const S = dt(i), d = dt(i).reverse(), p = f().concat(g());
|
|
746
751
|
function x(E, v) {
|
|
747
|
-
return E.reduce((
|
|
752
|
+
return E.reduce((w, P) => w - i[P], v);
|
|
748
753
|
}
|
|
749
754
|
function l(E, v) {
|
|
750
|
-
return E.reduce((
|
|
755
|
+
return E.reduce((w, P) => x(w, v) > 0 ? w.concat([P]) : w, []);
|
|
751
756
|
}
|
|
752
|
-
function
|
|
753
|
-
return s.map((v,
|
|
754
|
-
start: v - r[
|
|
757
|
+
function m(E) {
|
|
758
|
+
return s.map((v, w) => ({
|
|
759
|
+
start: v - r[w] + 0.5 + E,
|
|
755
760
|
end: v + n - 0.5 + E
|
|
756
761
|
}));
|
|
757
762
|
}
|
|
758
|
-
function h(E, v,
|
|
759
|
-
const P =
|
|
760
|
-
return E.map((
|
|
761
|
-
const
|
|
763
|
+
function h(E, v, w) {
|
|
764
|
+
const P = m(v);
|
|
765
|
+
return E.map((I) => {
|
|
766
|
+
const F = w ? 0 : -o, G = w ? o : 0, H = w ? "end" : "start", q = P[I][H];
|
|
762
767
|
return {
|
|
763
|
-
index:
|
|
768
|
+
index: I,
|
|
764
769
|
loopPoint: q,
|
|
765
770
|
slideLocation: lt(-1),
|
|
766
|
-
translate: Zt(t,
|
|
767
|
-
target: () => a.get() > q ?
|
|
771
|
+
translate: Zt(t, c[I]),
|
|
772
|
+
target: () => a.get() > q ? F : G
|
|
768
773
|
};
|
|
769
774
|
});
|
|
770
775
|
}
|
|
@@ -772,51 +777,51 @@ function Fn(t, n, o, r, i, s, e, a, u) {
|
|
|
772
777
|
const E = e[0], v = l(d, E);
|
|
773
778
|
return h(v, o, !1);
|
|
774
779
|
}
|
|
775
|
-
function
|
|
776
|
-
const E = n - e[0] - 1, v = l(
|
|
780
|
+
function g() {
|
|
781
|
+
const E = n - e[0] - 1, v = l(S, E);
|
|
777
782
|
return h(v, -o, !0);
|
|
778
783
|
}
|
|
779
784
|
function b() {
|
|
780
|
-
return
|
|
785
|
+
return p.every(({
|
|
781
786
|
index: E
|
|
782
787
|
}) => {
|
|
783
|
-
const v =
|
|
788
|
+
const v = S.filter((w) => w !== E);
|
|
784
789
|
return x(v, n) <= 0.1;
|
|
785
790
|
});
|
|
786
791
|
}
|
|
787
|
-
function
|
|
788
|
-
|
|
792
|
+
function L() {
|
|
793
|
+
p.forEach((E) => {
|
|
789
794
|
const {
|
|
790
795
|
target: v,
|
|
791
|
-
translate:
|
|
796
|
+
translate: w,
|
|
792
797
|
slideLocation: P
|
|
793
|
-
} = E,
|
|
794
|
-
|
|
798
|
+
} = E, I = v();
|
|
799
|
+
I !== P.get() && (w.to(I), P.set(I));
|
|
795
800
|
});
|
|
796
801
|
}
|
|
797
|
-
function
|
|
798
|
-
|
|
802
|
+
function N() {
|
|
803
|
+
p.forEach((E) => E.translate.clear());
|
|
799
804
|
}
|
|
800
805
|
return {
|
|
801
806
|
canLoop: b,
|
|
802
|
-
clear:
|
|
803
|
-
loop:
|
|
804
|
-
loopPoints:
|
|
807
|
+
clear: N,
|
|
808
|
+
loop: L,
|
|
809
|
+
loopPoints: p
|
|
805
810
|
};
|
|
806
811
|
}
|
|
807
|
-
function
|
|
812
|
+
function Rn(t, n, o) {
|
|
808
813
|
let r, i = !1;
|
|
809
|
-
function s(
|
|
814
|
+
function s(c) {
|
|
810
815
|
if (!o) return;
|
|
811
|
-
function
|
|
812
|
-
for (const d of
|
|
816
|
+
function u(S) {
|
|
817
|
+
for (const d of S)
|
|
813
818
|
if (d.type === "childList") {
|
|
814
|
-
|
|
819
|
+
c.reInit(), n.emit("slidesChanged");
|
|
815
820
|
break;
|
|
816
821
|
}
|
|
817
822
|
}
|
|
818
|
-
r = new MutationObserver((
|
|
819
|
-
i || (xt(o) || o(
|
|
823
|
+
r = new MutationObserver((S) => {
|
|
824
|
+
i || (xt(o) || o(c, S)) && u(S);
|
|
820
825
|
}), r.observe(t, {
|
|
821
826
|
childList: !0
|
|
822
827
|
});
|
|
@@ -829,227 +834,228 @@ function jn(t, n, o) {
|
|
|
829
834
|
destroy: e
|
|
830
835
|
};
|
|
831
836
|
}
|
|
832
|
-
function
|
|
837
|
+
function Vn(t, n, o, r) {
|
|
833
838
|
const i = {};
|
|
834
|
-
let s = null, e = null, a,
|
|
835
|
-
function
|
|
839
|
+
let s = null, e = null, a, c = !1;
|
|
840
|
+
function u() {
|
|
836
841
|
a = new IntersectionObserver((l) => {
|
|
837
|
-
|
|
838
|
-
const h = n.indexOf(
|
|
839
|
-
i[h] =
|
|
842
|
+
c || (l.forEach((m) => {
|
|
843
|
+
const h = n.indexOf(m.target);
|
|
844
|
+
i[h] = m;
|
|
840
845
|
}), s = null, e = null, o.emit("slidesInView"));
|
|
841
846
|
}, {
|
|
842
847
|
root: t.parentElement,
|
|
843
848
|
threshold: r
|
|
844
849
|
}), n.forEach((l) => a.observe(l));
|
|
845
850
|
}
|
|
846
|
-
function
|
|
847
|
-
a && a.disconnect(),
|
|
851
|
+
function S() {
|
|
852
|
+
a && a.disconnect(), c = !0;
|
|
848
853
|
}
|
|
849
854
|
function d(l) {
|
|
850
|
-
return pt(i).reduce((
|
|
855
|
+
return pt(i).reduce((m, h) => {
|
|
851
856
|
const f = parseInt(h), {
|
|
852
|
-
isIntersecting:
|
|
857
|
+
isIntersecting: g
|
|
853
858
|
} = i[f];
|
|
854
|
-
return (l &&
|
|
859
|
+
return (l && g || !l && !g) && m.push(f), m;
|
|
855
860
|
}, []);
|
|
856
861
|
}
|
|
857
|
-
function
|
|
862
|
+
function p(l = !0) {
|
|
858
863
|
if (l && s) return s;
|
|
859
864
|
if (!l && e) return e;
|
|
860
|
-
const
|
|
861
|
-
return l && (s =
|
|
865
|
+
const m = d(l);
|
|
866
|
+
return l && (s = m), l || (e = m), m;
|
|
862
867
|
}
|
|
863
868
|
return {
|
|
864
|
-
init:
|
|
865
|
-
destroy:
|
|
866
|
-
get:
|
|
869
|
+
init: u,
|
|
870
|
+
destroy: S,
|
|
871
|
+
get: p
|
|
867
872
|
};
|
|
868
873
|
}
|
|
869
|
-
function
|
|
874
|
+
function Gn(t, n, o, r, i, s) {
|
|
870
875
|
const {
|
|
871
876
|
measureSize: e,
|
|
872
877
|
startEdge: a,
|
|
873
|
-
endEdge:
|
|
874
|
-
} = t,
|
|
878
|
+
endEdge: c
|
|
879
|
+
} = t, u = o[0] && i, S = l(), d = m(), p = o.map(e), x = h();
|
|
875
880
|
function l() {
|
|
876
|
-
if (!
|
|
877
|
-
const
|
|
878
|
-
return D(n[a] -
|
|
881
|
+
if (!u) return 0;
|
|
882
|
+
const g = o[0];
|
|
883
|
+
return D(n[a] - g[a]);
|
|
879
884
|
}
|
|
880
|
-
function
|
|
881
|
-
if (!
|
|
882
|
-
const
|
|
883
|
-
return parseFloat(
|
|
885
|
+
function m() {
|
|
886
|
+
if (!u) return 0;
|
|
887
|
+
const g = s.getComputedStyle(V(r));
|
|
888
|
+
return parseFloat(g.getPropertyValue(`margin-${c}`));
|
|
884
889
|
}
|
|
885
890
|
function h() {
|
|
886
|
-
return o.map((
|
|
887
|
-
const
|
|
888
|
-
return
|
|
891
|
+
return o.map((g, b, L) => {
|
|
892
|
+
const N = !b, C = Ot(L, b);
|
|
893
|
+
return N ? p[b] + S : C ? p[b] + d : L[b + 1][a] - g[a];
|
|
889
894
|
}).map(D);
|
|
890
895
|
}
|
|
891
896
|
return {
|
|
892
|
-
slideSizes:
|
|
897
|
+
slideSizes: p,
|
|
893
898
|
slideSizesWithGaps: x,
|
|
894
|
-
startGap:
|
|
899
|
+
startGap: S,
|
|
895
900
|
endGap: d
|
|
896
901
|
};
|
|
897
902
|
}
|
|
898
|
-
function
|
|
903
|
+
function Hn(t, n, o, r, i, s, e, a, c) {
|
|
899
904
|
const {
|
|
900
|
-
startEdge:
|
|
901
|
-
endEdge:
|
|
905
|
+
startEdge: u,
|
|
906
|
+
endEdge: S,
|
|
902
907
|
direction: d
|
|
903
|
-
} = t,
|
|
904
|
-
function x(f,
|
|
905
|
-
return dt(f).filter((b) => b %
|
|
908
|
+
} = t, p = Dt(o);
|
|
909
|
+
function x(f, g) {
|
|
910
|
+
return dt(f).filter((b) => b % g === 0).map((b) => f.slice(b, b + g));
|
|
906
911
|
}
|
|
907
912
|
function l(f) {
|
|
908
|
-
return f.length ? dt(f).reduce((
|
|
909
|
-
const
|
|
910
|
-
return
|
|
911
|
-
}, []).map((
|
|
912
|
-
const
|
|
913
|
-
return f.slice(
|
|
913
|
+
return f.length ? dt(f).reduce((g, b, L) => {
|
|
914
|
+
const N = V(g) || 0, C = N === 0, E = b === ht(f), v = i[u] - s[N][u], w = i[u] - s[b][S], P = !r && C ? d(e) : 0, I = !r && E ? d(a) : 0, F = D(w - I - (v + P));
|
|
915
|
+
return L && F > n + c && g.push(b), E && g.push(f.length), g;
|
|
916
|
+
}, []).map((g, b, L) => {
|
|
917
|
+
const N = Math.max(L[b - 1] || 0);
|
|
918
|
+
return f.slice(N, g);
|
|
914
919
|
}) : [];
|
|
915
920
|
}
|
|
916
|
-
function
|
|
917
|
-
return
|
|
921
|
+
function m(f) {
|
|
922
|
+
return p ? x(f, o) : l(f);
|
|
918
923
|
}
|
|
919
924
|
return {
|
|
920
|
-
groupSlides:
|
|
925
|
+
groupSlides: m
|
|
921
926
|
};
|
|
922
927
|
}
|
|
923
|
-
function
|
|
928
|
+
function qn(t, n, o, r, i, s, e) {
|
|
924
929
|
const {
|
|
925
930
|
align: a,
|
|
926
|
-
axis:
|
|
927
|
-
direction:
|
|
928
|
-
startIndex:
|
|
931
|
+
axis: c,
|
|
932
|
+
direction: u,
|
|
933
|
+
startIndex: S,
|
|
929
934
|
loop: d,
|
|
930
|
-
duration:
|
|
935
|
+
duration: p,
|
|
931
936
|
dragFree: x,
|
|
932
937
|
dragThreshold: l,
|
|
933
|
-
inViewThreshold:
|
|
938
|
+
inViewThreshold: m,
|
|
934
939
|
slidesToScroll: h,
|
|
935
940
|
skipSnaps: f,
|
|
936
|
-
containScroll:
|
|
941
|
+
containScroll: g,
|
|
937
942
|
watchResize: b,
|
|
938
|
-
watchSlides:
|
|
939
|
-
watchDrag:
|
|
940
|
-
watchFocus:
|
|
941
|
-
} = s, E = 2, v =
|
|
943
|
+
watchSlides: L,
|
|
944
|
+
watchDrag: N,
|
|
945
|
+
watchFocus: C
|
|
946
|
+
} = s, E = 2, v = Cn(), w = v.measure(n), P = o.map(v.measure), I = En(c, u), F = I.measureSize(w), G = wn(F), H = xn(a, F), q = !d && !!g, W = d || !!g, {
|
|
942
947
|
slideSizes: _,
|
|
943
948
|
slideSizesWithGaps: U,
|
|
944
949
|
startGap: Q,
|
|
945
950
|
endGap: it
|
|
946
|
-
} =
|
|
947
|
-
snaps:
|
|
948
|
-
snapsAligned:
|
|
949
|
-
} =
|
|
951
|
+
} = Gn(I, w, P, o, W, i), $ = Hn(I, F, h, d, w, P, Q, it, E), {
|
|
952
|
+
snaps: ot,
|
|
953
|
+
snapsAligned: rt
|
|
954
|
+
} = Mn(I, H, w, P, $), J = -V(ot) + V(U), {
|
|
950
955
|
snapsContained: ct,
|
|
951
956
|
scrollContainLimit: ut
|
|
952
|
-
} =
|
|
957
|
+
} = An(F, J, rt, g, E), z = q ? ct : rt, {
|
|
953
958
|
limit: M
|
|
954
|
-
} =
|
|
955
|
-
dragHandler:
|
|
959
|
+
} = Dn(J, z, d), X = _t(ht(z), S, d), B = X.clone(), A = dt(o), y = ({
|
|
960
|
+
dragHandler: st,
|
|
956
961
|
scrollBody: Ct,
|
|
957
962
|
scrollBounds: wt,
|
|
958
963
|
options: {
|
|
959
|
-
loop:
|
|
964
|
+
loop: St
|
|
960
965
|
}
|
|
961
|
-
}
|
|
962
|
-
|
|
963
|
-
},
|
|
964
|
-
scrollBody:
|
|
966
|
+
}) => {
|
|
967
|
+
St || wt.constrain(st.pointerDown()), Ct.seek();
|
|
968
|
+
}, T = ({
|
|
969
|
+
scrollBody: st,
|
|
965
970
|
translate: Ct,
|
|
966
971
|
location: wt,
|
|
967
|
-
offsetLocation:
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
972
|
+
offsetLocation: St,
|
|
973
|
+
previousLocation: en,
|
|
974
|
+
scrollLooper: on,
|
|
975
|
+
slideLooper: rn,
|
|
976
|
+
dragHandler: sn,
|
|
977
|
+
animation: cn,
|
|
978
|
+
eventHandler: zt,
|
|
979
|
+
scrollBounds: un,
|
|
974
980
|
options: {
|
|
975
|
-
loop:
|
|
981
|
+
loop: Bt
|
|
976
982
|
}
|
|
977
|
-
},
|
|
978
|
-
const
|
|
979
|
-
Ht &&
|
|
980
|
-
const
|
|
981
|
-
|
|
982
|
-
}, O =
|
|
983
|
-
slideRegistry:
|
|
984
|
-
} =
|
|
983
|
+
}, Rt) => {
|
|
984
|
+
const Vt = st.settled(), an = !un.shouldConstrain(), Gt = Bt ? Vt : Vt && an, Ht = Gt && !sn.pointerDown();
|
|
985
|
+
Ht && cn.stop();
|
|
986
|
+
const ln = wt.get() * Rt + en.get() * (1 - Rt);
|
|
987
|
+
St.set(ln), Bt && (on.loop(st.direction()), rn.loop()), Ct.to(St.get()), Ht && zt.emit("settle"), Gt || zt.emit("scroll");
|
|
988
|
+
}, O = bn(r, i, () => y(Lt), (st) => T(Lt, st)), k = 0.68, K = z[X.get()], Y = lt(K), tt = lt(K), Z = lt(K), nt = lt(K), at = Tn(Y, Z, tt, nt, p, k), Et = jn(d, z, J, M, nt), vt = Fn(O, X, B, at, Et, nt, e), kt = On(M), jt = mt(), tn = Vn(n, o, e, m), {
|
|
989
|
+
slideRegistry: Ft
|
|
990
|
+
} = kn(q, g, z, ut, $, A), nn = zn(t, o, Ft, vt, at, jt, e, C), Lt = {
|
|
985
991
|
ownerDocument: r,
|
|
986
992
|
ownerWindow: i,
|
|
987
993
|
eventHandler: e,
|
|
988
|
-
containerRect:
|
|
994
|
+
containerRect: w,
|
|
989
995
|
slideRects: P,
|
|
990
996
|
animation: O,
|
|
991
|
-
axis:
|
|
992
|
-
dragHandler:
|
|
997
|
+
axis: I,
|
|
998
|
+
dragHandler: vn(I, t, r, i, nt, Ln(I, i), Y, O, vt, at, Et, X, e, G, x, l, f, k, N),
|
|
993
999
|
eventStore: jt,
|
|
994
1000
|
percentOfView: G,
|
|
995
1001
|
index: X,
|
|
996
1002
|
indexPrevious: B,
|
|
997
1003
|
limit: M,
|
|
998
1004
|
location: Y,
|
|
999
|
-
offsetLocation:
|
|
1000
|
-
previousLocation:
|
|
1005
|
+
offsetLocation: Z,
|
|
1006
|
+
previousLocation: tt,
|
|
1001
1007
|
options: s,
|
|
1002
|
-
resizeHandler:
|
|
1008
|
+
resizeHandler: In(n, e, i, o, I, b, v),
|
|
1003
1009
|
scrollBody: at,
|
|
1004
|
-
scrollBounds:
|
|
1005
|
-
scrollLooper:
|
|
1006
|
-
scrollProgress:
|
|
1007
|
-
scrollSnapList: z.map(
|
|
1010
|
+
scrollBounds: Nn(M, Z, nt, at, G),
|
|
1011
|
+
scrollLooper: Pn(J, M, Z, [Y, Z, tt, nt]),
|
|
1012
|
+
scrollProgress: kt,
|
|
1013
|
+
scrollSnapList: z.map(kt.get),
|
|
1008
1014
|
scrollSnaps: z,
|
|
1009
1015
|
scrollTarget: Et,
|
|
1010
1016
|
scrollTo: vt,
|
|
1011
|
-
slideLooper:
|
|
1017
|
+
slideLooper: Bn(I, F, J, _, U, ot, z, Z, o),
|
|
1012
1018
|
slideFocus: nn,
|
|
1013
|
-
slidesHandler:
|
|
1019
|
+
slidesHandler: Rn(n, e, L),
|
|
1014
1020
|
slidesInView: tn,
|
|
1015
1021
|
slideIndexes: A,
|
|
1016
|
-
slideRegistry:
|
|
1022
|
+
slideRegistry: Ft,
|
|
1017
1023
|
slidesToScroll: $,
|
|
1018
|
-
target:
|
|
1019
|
-
translate: Zt(
|
|
1024
|
+
target: nt,
|
|
1025
|
+
translate: Zt(I, n)
|
|
1020
1026
|
};
|
|
1021
1027
|
return Lt;
|
|
1022
1028
|
}
|
|
1023
|
-
function
|
|
1029
|
+
function $n() {
|
|
1024
1030
|
let t = {}, n;
|
|
1025
|
-
function o(
|
|
1026
|
-
n =
|
|
1031
|
+
function o(u) {
|
|
1032
|
+
n = u;
|
|
1027
1033
|
}
|
|
1028
|
-
function r(
|
|
1029
|
-
return t[
|
|
1034
|
+
function r(u) {
|
|
1035
|
+
return t[u] || [];
|
|
1030
1036
|
}
|
|
1031
|
-
function i(
|
|
1032
|
-
return r(
|
|
1037
|
+
function i(u) {
|
|
1038
|
+
return r(u).forEach((S) => S(n, u)), c;
|
|
1033
1039
|
}
|
|
1034
|
-
function s(
|
|
1035
|
-
return t[
|
|
1040
|
+
function s(u, S) {
|
|
1041
|
+
return t[u] = r(u).concat([S]), c;
|
|
1036
1042
|
}
|
|
1037
|
-
function e(
|
|
1038
|
-
return t[
|
|
1043
|
+
function e(u, S) {
|
|
1044
|
+
return t[u] = r(u).filter((d) => d !== S), c;
|
|
1039
1045
|
}
|
|
1040
1046
|
function a() {
|
|
1041
1047
|
t = {};
|
|
1042
1048
|
}
|
|
1043
|
-
const
|
|
1049
|
+
const c = {
|
|
1044
1050
|
init: o,
|
|
1045
1051
|
emit: i,
|
|
1046
1052
|
off: e,
|
|
1047
1053
|
on: s,
|
|
1048
1054
|
clear: a
|
|
1049
1055
|
};
|
|
1050
|
-
return
|
|
1056
|
+
return c;
|
|
1051
1057
|
}
|
|
1052
|
-
const
|
|
1058
|
+
const Kn = {
|
|
1053
1059
|
align: "center",
|
|
1054
1060
|
axis: "x",
|
|
1055
1061
|
container: null,
|
|
@@ -1071,12 +1077,12 @@ const Hn = {
|
|
|
1071
1077
|
watchSlides: !0,
|
|
1072
1078
|
watchFocus: !0
|
|
1073
1079
|
};
|
|
1074
|
-
function
|
|
1080
|
+
function Un(t) {
|
|
1075
1081
|
function n(s, e) {
|
|
1076
1082
|
return Yt(s, e || {});
|
|
1077
1083
|
}
|
|
1078
1084
|
function o(s) {
|
|
1079
|
-
const e = s.breakpoints || {}, a = pt(e).filter((
|
|
1085
|
+
const e = s.breakpoints || {}, a = pt(e).filter((c) => t.matchMedia(c).matches).map((c) => e[c]).reduce((c, u) => n(c, u), {});
|
|
1080
1086
|
return n(s, a);
|
|
1081
1087
|
}
|
|
1082
1088
|
function r(s) {
|
|
@@ -1088,13 +1094,13 @@ function qn(t) {
|
|
|
1088
1094
|
optionsMediaQueries: r
|
|
1089
1095
|
};
|
|
1090
1096
|
}
|
|
1091
|
-
function
|
|
1097
|
+
function Qn(t) {
|
|
1092
1098
|
let n = [];
|
|
1093
1099
|
function o(s, e) {
|
|
1094
1100
|
return n = e.filter(({
|
|
1095
1101
|
options: a
|
|
1096
|
-
}) => t.optionsAtMedia(a).active !== !1), n.forEach((a) => a.init(s, t)), e.reduce((a,
|
|
1097
|
-
[
|
|
1102
|
+
}) => t.optionsAtMedia(a).active !== !1), n.forEach((a) => a.init(s, t)), e.reduce((a, c) => Object.assign(a, {
|
|
1103
|
+
[c.name]: c
|
|
1098
1104
|
}), {});
|
|
1099
1105
|
}
|
|
1100
1106
|
function r() {
|
|
@@ -1105,63 +1111,63 @@ function $n(t) {
|
|
|
1105
1111
|
destroy: r
|
|
1106
1112
|
};
|
|
1107
1113
|
}
|
|
1108
|
-
function
|
|
1109
|
-
const r = t.ownerDocument, i = r.defaultView, s =
|
|
1110
|
-
mergeOptions:
|
|
1111
|
-
optionsAtMedia:
|
|
1114
|
+
function yt(t, n, o) {
|
|
1115
|
+
const r = t.ownerDocument, i = r.defaultView, s = Un(i), e = Qn(s), a = mt(), c = $n(), {
|
|
1116
|
+
mergeOptions: u,
|
|
1117
|
+
optionsAtMedia: S,
|
|
1112
1118
|
optionsMediaQueries: d
|
|
1113
1119
|
} = s, {
|
|
1114
|
-
on:
|
|
1120
|
+
on: p,
|
|
1115
1121
|
off: x,
|
|
1116
1122
|
emit: l
|
|
1117
|
-
} =
|
|
1118
|
-
let h = !1, f,
|
|
1123
|
+
} = c, m = I;
|
|
1124
|
+
let h = !1, f, g = u(Kn, yt.globalOptions), b = u(g), L = [], N, C, E;
|
|
1119
1125
|
function v() {
|
|
1120
1126
|
const {
|
|
1121
1127
|
container: A,
|
|
1122
|
-
slides:
|
|
1128
|
+
slides: y
|
|
1123
1129
|
} = b;
|
|
1124
|
-
|
|
1125
|
-
const O = Tt(
|
|
1126
|
-
E = [].slice.call(O ||
|
|
1127
|
-
}
|
|
1128
|
-
function
|
|
1129
|
-
const
|
|
1130
|
-
if (A.loop && !
|
|
1131
|
-
const
|
|
1130
|
+
C = (Tt(A) ? t.querySelector(A) : A) || t.children[0];
|
|
1131
|
+
const O = Tt(y) ? C.querySelectorAll(y) : y;
|
|
1132
|
+
E = [].slice.call(O || C.children);
|
|
1133
|
+
}
|
|
1134
|
+
function w(A) {
|
|
1135
|
+
const y = qn(t, C, E, r, i, A, c);
|
|
1136
|
+
if (A.loop && !y.slideLooper.canLoop()) {
|
|
1137
|
+
const T = Object.assign({}, A, {
|
|
1132
1138
|
loop: !1
|
|
1133
1139
|
});
|
|
1134
|
-
return
|
|
1140
|
+
return w(T);
|
|
1135
1141
|
}
|
|
1136
|
-
return
|
|
1142
|
+
return y;
|
|
1137
1143
|
}
|
|
1138
|
-
function P(A,
|
|
1139
|
-
h || (
|
|
1140
|
-
options:
|
|
1141
|
-
}) =>
|
|
1144
|
+
function P(A, y) {
|
|
1145
|
+
h || (g = u(g, A), b = S(g), L = y || L, v(), f = w(b), d([g, ...L.map(({
|
|
1146
|
+
options: T
|
|
1147
|
+
}) => T)]).forEach((T) => a.add(T, "change", I)), b.active && (f.translate.to(f.location.get()), f.animation.init(), f.slidesInView.init(), f.slideFocus.init(B), f.eventHandler.init(B), f.resizeHandler.init(B), f.slidesHandler.init(B), f.options.loop && f.slideLooper.loop(), C.offsetParent && E.length && f.dragHandler.init(B), N = e.init(B, L)));
|
|
1142
1148
|
}
|
|
1143
|
-
function
|
|
1144
|
-
const
|
|
1145
|
-
|
|
1146
|
-
startIndex:
|
|
1147
|
-
}, A),
|
|
1149
|
+
function I(A, y) {
|
|
1150
|
+
const T = $();
|
|
1151
|
+
F(), P(u({
|
|
1152
|
+
startIndex: T
|
|
1153
|
+
}, A), y), c.emit("reInit");
|
|
1148
1154
|
}
|
|
1149
|
-
function
|
|
1155
|
+
function F() {
|
|
1150
1156
|
f.dragHandler.destroy(), f.eventStore.clear(), f.translate.clear(), f.slideLooper.clear(), f.resizeHandler.destroy(), f.slidesHandler.destroy(), f.slidesInView.destroy(), f.animation.destroy(), e.destroy(), a.clear();
|
|
1151
1157
|
}
|
|
1152
1158
|
function G() {
|
|
1153
|
-
h || (h = !0, a.clear(),
|
|
1159
|
+
h || (h = !0, a.clear(), F(), c.emit("destroy"), c.clear());
|
|
1154
1160
|
}
|
|
1155
|
-
function H(A,
|
|
1156
|
-
!b.active || h || (f.scrollBody.useBaseFriction().useDuration(
|
|
1161
|
+
function H(A, y, T) {
|
|
1162
|
+
!b.active || h || (f.scrollBody.useBaseFriction().useDuration(y === !0 ? 0 : b.duration), f.scrollTo.index(A, T || 0));
|
|
1157
1163
|
}
|
|
1158
1164
|
function q(A) {
|
|
1159
|
-
const
|
|
1160
|
-
H(
|
|
1165
|
+
const y = f.index.add(1).get();
|
|
1166
|
+
H(y, A, -1);
|
|
1161
1167
|
}
|
|
1162
|
-
function
|
|
1163
|
-
const
|
|
1164
|
-
H(
|
|
1168
|
+
function W(A) {
|
|
1169
|
+
const y = f.index.add(-1).get();
|
|
1170
|
+
H(y, A, 1);
|
|
1165
1171
|
}
|
|
1166
1172
|
function _() {
|
|
1167
1173
|
return f.index.add(1).get() !== $();
|
|
@@ -1173,22 +1179,22 @@ function St(t, n, o) {
|
|
|
1173
1179
|
return f.scrollSnapList;
|
|
1174
1180
|
}
|
|
1175
1181
|
function it() {
|
|
1176
|
-
return f.scrollProgress.get(f.
|
|
1182
|
+
return f.scrollProgress.get(f.offsetLocation.get());
|
|
1177
1183
|
}
|
|
1178
1184
|
function $() {
|
|
1179
1185
|
return f.index.get();
|
|
1180
1186
|
}
|
|
1181
|
-
function
|
|
1187
|
+
function ot() {
|
|
1182
1188
|
return f.indexPrevious.get();
|
|
1183
1189
|
}
|
|
1184
|
-
function
|
|
1190
|
+
function rt() {
|
|
1185
1191
|
return f.slidesInView.get();
|
|
1186
1192
|
}
|
|
1187
1193
|
function J() {
|
|
1188
1194
|
return f.slidesInView.get(!1);
|
|
1189
1195
|
}
|
|
1190
1196
|
function ct() {
|
|
1191
|
-
return
|
|
1197
|
+
return N;
|
|
1192
1198
|
}
|
|
1193
1199
|
function ut() {
|
|
1194
1200
|
return f;
|
|
@@ -1197,7 +1203,7 @@ function St(t, n, o) {
|
|
|
1197
1203
|
return t;
|
|
1198
1204
|
}
|
|
1199
1205
|
function M() {
|
|
1200
|
-
return
|
|
1206
|
+
return C;
|
|
1201
1207
|
}
|
|
1202
1208
|
function X() {
|
|
1203
1209
|
return E;
|
|
@@ -1209,51 +1215,51 @@ function St(t, n, o) {
|
|
|
1209
1215
|
internalEngine: ut,
|
|
1210
1216
|
destroy: G,
|
|
1211
1217
|
off: x,
|
|
1212
|
-
on:
|
|
1218
|
+
on: p,
|
|
1213
1219
|
emit: l,
|
|
1214
1220
|
plugins: ct,
|
|
1215
|
-
previousScrollSnap:
|
|
1216
|
-
reInit:
|
|
1221
|
+
previousScrollSnap: ot,
|
|
1222
|
+
reInit: m,
|
|
1217
1223
|
rootNode: z,
|
|
1218
1224
|
scrollNext: q,
|
|
1219
|
-
scrollPrev:
|
|
1225
|
+
scrollPrev: W,
|
|
1220
1226
|
scrollProgress: it,
|
|
1221
1227
|
scrollSnapList: Q,
|
|
1222
1228
|
scrollTo: H,
|
|
1223
1229
|
selectedScrollSnap: $,
|
|
1224
1230
|
slideNodes: X,
|
|
1225
|
-
slidesInView:
|
|
1231
|
+
slidesInView: rt,
|
|
1226
1232
|
slidesNotInView: J
|
|
1227
1233
|
};
|
|
1228
|
-
return P(n, o), setTimeout(() =>
|
|
1234
|
+
return P(n, o), setTimeout(() => c.emit("init"), 0), B;
|
|
1229
1235
|
}
|
|
1230
|
-
|
|
1231
|
-
function
|
|
1232
|
-
const o = qt(t), r = qt(n), [i, s] = $t(), [e, a] = $t(),
|
|
1236
|
+
yt.globalOptions = void 0;
|
|
1237
|
+
function Mt(t = {}, n = []) {
|
|
1238
|
+
const o = qt(t), r = qt(n), [i, s] = $t(), [e, a] = $t(), c = fn(() => {
|
|
1233
1239
|
i && i.reInit(o.current, r.current);
|
|
1234
1240
|
}, [i]);
|
|
1235
|
-
return
|
|
1236
|
-
|
|
1237
|
-
}, [t,
|
|
1238
|
-
|
|
1239
|
-
}, [n,
|
|
1240
|
-
if (
|
|
1241
|
-
|
|
1242
|
-
const
|
|
1243
|
-
return s(
|
|
1241
|
+
return It(() => {
|
|
1242
|
+
At(o.current, t) || (o.current = t, c());
|
|
1243
|
+
}, [t, c]), It(() => {
|
|
1244
|
+
hn(r.current, n) || (r.current = n, c());
|
|
1245
|
+
}, [n, c]), It(() => {
|
|
1246
|
+
if (gn() && e) {
|
|
1247
|
+
yt.globalOptions = Mt.globalOptions;
|
|
1248
|
+
const u = yt(e, o.current, r.current);
|
|
1249
|
+
return s(u), () => u.destroy();
|
|
1244
1250
|
} else
|
|
1245
1251
|
s(void 0);
|
|
1246
1252
|
}, [e, s]), [a, i];
|
|
1247
1253
|
}
|
|
1248
|
-
|
|
1249
|
-
const Wt =
|
|
1254
|
+
Mt.globalOptions = void 0;
|
|
1255
|
+
const Wt = j.createContext(null);
|
|
1250
1256
|
function bt() {
|
|
1251
|
-
const t =
|
|
1257
|
+
const t = j.useContext(Wt);
|
|
1252
1258
|
if (!t)
|
|
1253
1259
|
throw new Error("useCarousel must be used within a <Carousel />");
|
|
1254
1260
|
return t;
|
|
1255
1261
|
}
|
|
1256
|
-
const
|
|
1262
|
+
const Jn = j.forwardRef(
|
|
1257
1263
|
({
|
|
1258
1264
|
orientation: t = "horizontal",
|
|
1259
1265
|
opts: n,
|
|
@@ -1263,43 +1269,43 @@ const Kn = F.forwardRef(
|
|
|
1263
1269
|
children: s,
|
|
1264
1270
|
...e
|
|
1265
1271
|
}, a) => {
|
|
1266
|
-
const [
|
|
1272
|
+
const [c, u] = Mt(
|
|
1267
1273
|
{
|
|
1268
1274
|
...n,
|
|
1269
1275
|
axis: t === "horizontal" ? "x" : "y"
|
|
1270
1276
|
},
|
|
1271
1277
|
r
|
|
1272
|
-
), [
|
|
1273
|
-
|
|
1274
|
-
}, []),
|
|
1275
|
-
|
|
1276
|
-
}, [
|
|
1277
|
-
|
|
1278
|
-
}, [
|
|
1279
|
-
(
|
|
1280
|
-
|
|
1278
|
+
), [S, d] = j.useState(!1), [p, x] = j.useState(!1), l = j.useCallback((g) => {
|
|
1279
|
+
g && (d(g.canScrollPrev()), x(g.canScrollNext()));
|
|
1280
|
+
}, []), m = j.useCallback(() => {
|
|
1281
|
+
u?.scrollPrev();
|
|
1282
|
+
}, [u]), h = j.useCallback(() => {
|
|
1283
|
+
u?.scrollNext();
|
|
1284
|
+
}, [u]), f = j.useCallback(
|
|
1285
|
+
(g) => {
|
|
1286
|
+
g.key === "ArrowLeft" ? (g.preventDefault(), m()) : g.key === "ArrowRight" && (g.preventDefault(), h());
|
|
1281
1287
|
},
|
|
1282
|
-
[
|
|
1288
|
+
[m, h]
|
|
1283
1289
|
);
|
|
1284
|
-
return
|
|
1285
|
-
!
|
|
1286
|
-
}, [
|
|
1287
|
-
if (
|
|
1288
|
-
return l(
|
|
1289
|
-
|
|
1290
|
+
return j.useEffect(() => {
|
|
1291
|
+
!u || !o || o(u);
|
|
1292
|
+
}, [u, o]), j.useEffect(() => {
|
|
1293
|
+
if (u)
|
|
1294
|
+
return l(u), u.on("reInit", l), u.on("select", l), () => {
|
|
1295
|
+
u.off("select", l);
|
|
1290
1296
|
};
|
|
1291
|
-
}, [
|
|
1297
|
+
}, [u, l]), /* @__PURE__ */ R.jsx(
|
|
1292
1298
|
Wt.Provider,
|
|
1293
1299
|
{
|
|
1294
1300
|
value: {
|
|
1295
|
-
carouselRef:
|
|
1296
|
-
api:
|
|
1301
|
+
carouselRef: c,
|
|
1302
|
+
api: u,
|
|
1297
1303
|
opts: n,
|
|
1298
|
-
orientation: t || (
|
|
1299
|
-
scrollPrev:
|
|
1304
|
+
orientation: t || (n?.axis === "y" ? "vertical" : "horizontal"),
|
|
1305
|
+
scrollPrev: m,
|
|
1300
1306
|
scrollNext: h,
|
|
1301
|
-
canScrollPrev:
|
|
1302
|
-
canScrollNext:
|
|
1307
|
+
canScrollPrev: S,
|
|
1308
|
+
canScrollNext: p
|
|
1303
1309
|
},
|
|
1304
1310
|
children: /* @__PURE__ */ R.jsx(
|
|
1305
1311
|
"div",
|
|
@@ -1317,8 +1323,8 @@ const Kn = F.forwardRef(
|
|
|
1317
1323
|
);
|
|
1318
1324
|
}
|
|
1319
1325
|
);
|
|
1320
|
-
|
|
1321
|
-
const
|
|
1326
|
+
Jn.displayName = "Carousel";
|
|
1327
|
+
const Xn = j.forwardRef(({ className: t, ...n }, o) => {
|
|
1322
1328
|
const { carouselRef: r, orientation: i } = bt();
|
|
1323
1329
|
return /* @__PURE__ */ R.jsx("div", { ref: r, className: "overflow-hidden", children: /* @__PURE__ */ R.jsx(
|
|
1324
1330
|
"div",
|
|
@@ -1333,8 +1339,8 @@ const Un = F.forwardRef(({ className: t, ...n }, o) => {
|
|
|
1333
1339
|
}
|
|
1334
1340
|
) });
|
|
1335
1341
|
});
|
|
1336
|
-
|
|
1337
|
-
const
|
|
1342
|
+
Xn.displayName = "CarouselContent";
|
|
1343
|
+
const Yn = j.forwardRef(({ className: t, ...n }, o) => {
|
|
1338
1344
|
const { orientation: r } = bt();
|
|
1339
1345
|
return /* @__PURE__ */ R.jsx(
|
|
1340
1346
|
"div",
|
|
@@ -1351,8 +1357,8 @@ const Qn = F.forwardRef(({ className: t, ...n }, o) => {
|
|
|
1351
1357
|
}
|
|
1352
1358
|
);
|
|
1353
1359
|
});
|
|
1354
|
-
|
|
1355
|
-
const
|
|
1360
|
+
Yn.displayName = "CarouselItem";
|
|
1361
|
+
const _n = j.forwardRef(({ className: t, variant: n = "outline", size: o = "icon", ...r }, i) => {
|
|
1356
1362
|
const { orientation: s, scrollPrev: e, canScrollPrev: a } = bt();
|
|
1357
1363
|
return /* @__PURE__ */ R.jsxs(
|
|
1358
1364
|
Xt,
|
|
@@ -1369,14 +1375,14 @@ const Jn = F.forwardRef(({ className: t, variant: n = "outline", size: o = "icon
|
|
|
1369
1375
|
onClick: e,
|
|
1370
1376
|
...r,
|
|
1371
1377
|
children: [
|
|
1372
|
-
/* @__PURE__ */ R.jsx(
|
|
1378
|
+
/* @__PURE__ */ R.jsx(dn, { className: "h-4 w-4" }),
|
|
1373
1379
|
/* @__PURE__ */ R.jsx("span", { className: "sr-only", children: "Previous slide" })
|
|
1374
1380
|
]
|
|
1375
1381
|
}
|
|
1376
1382
|
);
|
|
1377
1383
|
});
|
|
1378
|
-
|
|
1379
|
-
const
|
|
1384
|
+
_n.displayName = "CarouselPrevious";
|
|
1385
|
+
const Zn = j.forwardRef(({ className: t, variant: n = "outline", size: o = "icon", ...r }, i) => {
|
|
1380
1386
|
const { orientation: s, scrollNext: e, canScrollNext: a } = bt();
|
|
1381
1387
|
return /* @__PURE__ */ R.jsxs(
|
|
1382
1388
|
Xt,
|
|
@@ -1393,18 +1399,18 @@ const Xn = F.forwardRef(({ className: t, variant: n = "outline", size: o = "icon
|
|
|
1393
1399
|
onClick: e,
|
|
1394
1400
|
...r,
|
|
1395
1401
|
children: [
|
|
1396
|
-
/* @__PURE__ */ R.jsx(
|
|
1402
|
+
/* @__PURE__ */ R.jsx(pn, { className: "h-4 w-4" }),
|
|
1397
1403
|
/* @__PURE__ */ R.jsx("span", { className: "sr-only", children: "Next slide" })
|
|
1398
1404
|
]
|
|
1399
1405
|
}
|
|
1400
1406
|
);
|
|
1401
1407
|
});
|
|
1402
|
-
|
|
1408
|
+
Zn.displayName = "CarouselNext";
|
|
1403
1409
|
export {
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1410
|
+
Jn as Carousel,
|
|
1411
|
+
Xn as CarouselContent,
|
|
1412
|
+
Yn as CarouselItem,
|
|
1413
|
+
Zn as CarouselNext,
|
|
1414
|
+
_n as CarouselPrevious
|
|
1409
1415
|
};
|
|
1410
1416
|
//# sourceMappingURL=Carousel.js.map
|