@m5kdev/web-ui 0.8.7 → 0.8.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_rolldown/runtime.js +23 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/api/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/context/endpoint-context.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/context/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/context/transaction.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/adapter/factory.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/adapter/get-default-field-name.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/adapter/get-default-model-name.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/adapter/get-field-attributes.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/adapter/get-field-name.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/adapter/get-id-field.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/adapter/get-model-name.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/adapter/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/adapter/types.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/adapter/utils.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/get-tables.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/plugin.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/schema/account.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/schema/rate-limit.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/schema/session.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/schema/shared.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/schema/user.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/schema/verification.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/type.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/oauth2/client-credentials-token.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/oauth2/create-authorization-url.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/oauth2/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/oauth2/oauth-provider.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/oauth2/refresh-access-token.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/oauth2/utils.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/oauth2/validate-authorization-code.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/apple.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/atlassian.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/cognito.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/discord.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/dropbox.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/facebook.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/figma.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/github.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/gitlab.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/google.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/huggingface.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/kakao.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/kick.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/line.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/linear.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/linkedin.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/microsoft-entra-id.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/naver.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/notion.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/paybin.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/paypal.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/polar.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/reddit.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/roblox.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/salesforce.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/slack.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/spotify.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/tiktok.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/twitch.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/twitter.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/vercel.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/vk.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/zoom.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/types/context.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/types/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/types/init-options.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/types/plugin-client.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/types/plugin.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/utils/db.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/utils/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_telemetry@1.4.18_@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better_5bdd8772f1558f3b68c06a14d130fcab/node_modules/@better-auth/telemetry/dist/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/@libsql_core@0.17.0/node_modules/@libsql/core/lib-esm/api.d.ts +79 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/client.d.ts +580 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/exports.d.ts +14 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/integration.d.ts +10 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/scope.d.ts +289 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/attachment.d.ts +32 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/breadcrumb.d.ts +86 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/checkin.d.ts +101 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/clientreport.d.ts +16 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/context.d.ts +132 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/csp.d.ts +19 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/datacategory.d.ts +5 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/debugMeta.d.ts +30 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/dsn.d.ts +23 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/envelope.d.ts +153 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/event.d.ts +91 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/eventprocessor.d.ts +16 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/exception.d.ts +16 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/extra.d.ts +6 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/feedback/sendFeedback.d.ts +35 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/integration.d.ts +43 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/link.d.ts +32 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/log.d.ts +73 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/measurement.d.ts +26 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/mechanism.d.ts +54 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/metric.d.ts +77 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/misc.d.ts +32 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/opentelemetry.d.ts +17 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/options.d.ts +426 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/package.d.ts +11 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/parameterize.d.ts +8 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/profiling.d.ts +132 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/replay.d.ts +29 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/request.d.ts +21 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/samplingcontext.d.ts +49 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/sdkinfo.d.ts +18 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/sdkmetadata.d.ts +9 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/session.d.ts +68 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/severity.d.ts +5 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/span.d.ts +183 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/spanStatus.d.ts +27 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/stackframe.d.ts +25 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/stacktrace.d.ts +12 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/startSpanOptions.d.ts +66 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/thread.d.ts +15 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/tracing.d.ts +51 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/transaction.d.ts +9 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/transport.d.ts +32 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/user.d.ts +20 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/utils/featureFlags.d.ts +13 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/utils/prepareEvent.d.ts +13 -0
- package/dist/node_modules/.pnpm/@trpc_server@11.4.3_typescript@5.9.2/node_modules/@trpc/server/dist/index.d-D4qZxQJh.d.ts +31 -0
- package/dist/node_modules/.pnpm/@trpc_server@11.4.3_typescript@5.9.2/node_modules/@trpc/server/dist/unstable-core-do-not-import.d-ClFRzVsT.d.ts +912 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/api/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/api/middlewares/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/api/middlewares/origin-check.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/api/routes/account.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/api/routes/callback.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/api/routes/email-verification.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/api/routes/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/api/routes/password.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/api/routes/session.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/api/routes/sign-in.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/api/routes/sign-up.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/api/routes/update-user.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/auth/full.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/client/path-to-object.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/client/types.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/db/adapter-base.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/db/adapter-kysely.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/db/field-converter.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/db/field.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/db/get-migration.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/db/get-schema.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/db/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/db/internal-adapter.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/db/schema.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/db/to-zod.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/db/with-hooks.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/index.d.ts +3 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/oauth2/state.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/access/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/access/types.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/admin/admin.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/admin/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/admin/types.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/anonymous/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/anonymous/types.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/api-key/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/api-key/schema.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/api-key/types.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/bearer/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/captcha/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/custom-session/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/device-authorization/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/email-otp/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/email-otp/types.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/generic-oauth/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/generic-oauth/providers/auth0.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/generic-oauth/providers/gumroad.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/generic-oauth/providers/hubspot.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/generic-oauth/providers/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/generic-oauth/providers/keycloak.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/generic-oauth/providers/line.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/generic-oauth/providers/microsoft-entra-id.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/generic-oauth/providers/okta.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/generic-oauth/providers/patreon.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/generic-oauth/providers/slack.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/generic-oauth/types.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/haveibeenpwned/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/jwt/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/jwt/sign.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/jwt/types.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/jwt/utils.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/jwt/verify.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/last-login-method/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/magic-link/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/mcp/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/multi-session/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/oauth-proxy/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/oidc-provider/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/oidc-provider/schema.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/oidc-provider/types.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/one-tap/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/one-time-token/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/open-api/generator.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/open-api/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/organization/access/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/organization/access/statement.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/organization/adapter.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/organization/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/organization/organization.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/organization/routes/crud-access-control.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/organization/routes/crud-invites.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/organization/routes/crud-members.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/organization/routes/crud-org.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/organization/routes/crud-team.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/organization/schema.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/organization/types.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/phone-number/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/phone-number/types.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/siwe/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/two-factor/backup-codes/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/two-factor/client.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/two-factor/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/two-factor/otp/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/two-factor/totp/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/two-factor/types.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/username/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/username/schema.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/state.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/types/adapter.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/types/api.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/types/auth.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/types/helper.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/types/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/types/models.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/types/plugins.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/utils/get-request-ip.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/utils/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/batch.d.ts +9 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/cache/core/cache.d.ts +33 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/cache/core/types.d.ts +37 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/casing.d.ts +17 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/column-builder.d.ts +116 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/column.d.ts +69 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/entity.d.ts +5 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/gel-core/columns/common.d.ts +16 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/gel-core/table.d.ts +12 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/libsql/driver-core.d.ts +13 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/migrator.d.ts +15 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/mysql-core/columns/common.d.ts +16 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/mysql-core/table.d.ts +13 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/operations.d.ts +27 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/pg-core/columns/common.d.ts +16 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/pg-core/sequence.d.ts +12 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/pg-core/table.d.ts +12 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/query-builders/query-builder.d.ts +16 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/query-builders/select.types.d.ts +38 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/query-promise.d.ts +14 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/relations.d.ts +171 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/runnable-query.d.ts +12 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/session.d.ts +10 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/singlestore-core/columns/common.d.ts +16 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/singlestore-core/table.d.ts +13 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sql/expressions/conditions.d.ts +287 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sql/expressions/select.d.ts +43 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sql/sql.d.ts +225 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/columns/common.d.ts +18 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/db.d.ts +258 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/dialect.d.ts +132 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/indexes.d.ts +8 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/count.d.ts +31 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/delete.d.ts +122 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/insert.d.ts +171 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/query-builder.d.ts +33 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/query.d.ts +60 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/raw.d.ts +34 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/select.d.ts +476 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/select.types.d.ts +122 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/update.d.ts +154 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/session.d.ts +112 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/subquery.d.ts +23 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/table.d.ts +13 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/view-base.d.ts +13 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/view.d.ts +21 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/subquery.d.ts +24 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/table.d.ts +71 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/utils.d.ts +27 -0
- package/dist/node_modules/.pnpm/drizzle-zod@0.8.2_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-valid_797c3b5a0ad29f2403edf9a3c791ff27/node_modules/drizzle-zod/column.d.ts +1 -0
- package/dist/node_modules/.pnpm/drizzle-zod@0.8.2_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-valid_797c3b5a0ad29f2403edf9a3c791ff27/node_modules/drizzle-zod/column.types.d.ts +1 -0
- package/dist/node_modules/.pnpm/drizzle-zod@0.8.2_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-valid_797c3b5a0ad29f2403edf9a3c791ff27/node_modules/drizzle-zod/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/drizzle-zod@0.8.2_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-valid_797c3b5a0ad29f2403edf9a3c791ff27/node_modules/drizzle-zod/schema.d.ts +1 -0
- package/dist/node_modules/.pnpm/drizzle-zod@0.8.2_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-valid_797c3b5a0ad29f2403edf9a3c791ff27/node_modules/drizzle-zod/schema.types.d.ts +1 -0
- package/dist/node_modules/.pnpm/drizzle-zod@0.8.2_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-valid_797c3b5a0ad29f2403edf9a3c791ff27/node_modules/drizzle-zod/schema.types.internal.d.ts +1 -0
- package/dist/node_modules/.pnpm/drizzle-zod@0.8.2_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-valid_797c3b5a0ad29f2403edf9a3c791ff27/node_modules/drizzle-zod/utils.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/dialect-adapter-base.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/dialect-adapter.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/dialect.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mssql/mssql-adapter.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mssql/mssql-dialect.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mssql/mssql-introspector.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mysql/mysql-adapter.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mysql/mysql-dialect.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mysql/mysql-introspector.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/postgres/postgres-adapter.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/postgres/postgres-dialect.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/postgres/postgres-introspector.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/sqlite/sqlite-adapter.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/sqlite/sqlite-dialect.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/sqlite/sqlite-introspector.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/expression/expression-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/kysely.d.ts +38 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/migration/file-migration-provider.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/migration/migrator.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/binary-operation-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/delete-from-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/expression-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/group-by-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/insert-values-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/join-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/merge-into-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/reference-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/returning-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/select-from-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/select-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/set-operation-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/tuple-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/unary-operation-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/update-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/update-set-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/value-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/with-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/case-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/delete-query-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/having-interface.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/insert-query-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/join-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/merge-query-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/on-conflict-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/output-interface.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/returning-interface.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/select-query-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/update-query-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/where-interface.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-creator.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-executor/default-query-executor.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-executor/noop-query-executor.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-executor/query-executor-base.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-executor/query-executor-provider.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-executor/query-executor.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/raw-builder/raw-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/raw-builder/sql.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/alter-table-add-foreign-key-constraint-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/alter-table-add-index-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/alter-table-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/alter-table-drop-constraint-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/alter-table-executor.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/create-index-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/create-schema-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/create-table-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/create-type-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/create-view-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/drop-index-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/drop-schema-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/drop-table-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/drop-type-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/drop-view-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/refresh-materialized-view-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/schema.d.ts +1 -0
- package/dist/node_modules/.pnpm/neverthrow@8.2.0/node_modules/neverthrow/dist/index.d.ts +299 -0
- package/dist/node_modules/.pnpm/pino-std-serializers@7.0.0/node_modules/pino-std-serializers/index.d.ts +132 -0
- package/dist/node_modules/.pnpm/pino@9.6.0/node_modules/pino/pino.d.ts +766 -0
- package/dist/node_modules/.pnpm/resend@6.5.2_@react-email_render@2.0.0_react-dom@19.2.1_react@19.2.1__react@19.2.1_/node_modules/resend/dist/index.d.ts +1295 -0
- package/dist/node_modules/.pnpm/sonic-boom@4.2.0/node_modules/sonic-boom/types/index.d.ts +55 -0
- package/dist/node_modules/.pnpm/stripe@20.1.0_@types_node@20.19.11/node_modules/stripe/types/index.d.ts +573 -0
- package/dist/packages/backend/dist/src/modules/auth/auth.db.d.ts +610 -0
- package/dist/packages/backend/dist/src/modules/auth/auth.dto.d.ts +71 -0
- package/dist/packages/backend/dist/src/modules/auth/auth.lib.d.ts +8 -0
- package/dist/packages/backend/dist/src/modules/auth/auth.repository.d.ts +2455 -0
- package/dist/packages/backend/dist/src/modules/auth/auth.service.d.ts +106 -0
- package/dist/packages/backend/dist/src/modules/base/base.abstract.d.ts +30 -0
- package/dist/packages/backend/dist/src/modules/base/base.actor.d.ts +38 -0
- package/dist/packages/backend/dist/src/modules/base/base.dto.d.ts +13 -0
- package/dist/packages/backend/dist/src/modules/base/base.grants.d.ts +1 -0
- package/dist/packages/backend/dist/src/modules/base/base.procedure.d.ts +47 -0
- package/dist/packages/backend/dist/src/modules/base/base.repository.d.mts +2 -0
- package/dist/packages/backend/dist/src/modules/base/base.repository.d.ts +128 -0
- package/dist/packages/backend/dist/src/modules/base/base.service.d.ts +34 -0
- package/dist/packages/backend/dist/src/modules/base/base.types.d.ts +6 -0
- package/dist/packages/backend/dist/src/modules/billing/billing.repository.d.ts +2788 -0
- package/dist/packages/backend/dist/src/modules/billing/billing.service.d.ts +53 -0
- package/dist/packages/backend/dist/src/modules/email/email.service.d.ts +63 -0
- package/dist/packages/backend/dist/src/types.d.mts +6 -6
- package/dist/packages/backend/dist/src/types.d.ts +344 -0
- package/dist/packages/backend/dist/src/utils/errors.d.ts +60 -0
- package/dist/packages/backend/dist/src/utils/logger.d.ts +8 -0
- package/dist/packages/backend/dist/src/utils/trpc.d.ts +23 -0
- package/dist/src/animations/card.motion.d.ts +7 -0
- package/dist/src/animations/card.motion.js +27 -0
- package/dist/src/animations/card.motion.js.map +1 -0
- package/dist/src/components/AvatarUpload.d.ts +16 -0
- package/dist/src/components/AvatarUpload.js +111 -0
- package/dist/src/components/AvatarUpload.js.map +1 -0
- package/dist/src/components/AvatarUpload.mjs +2 -2
- package/dist/src/components/Button.d.ts +15 -0
- package/dist/src/components/Button.js +16 -0
- package/dist/src/components/Button.js.map +1 -0
- package/dist/src/components/Calendar.d.ts +37 -0
- package/dist/src/components/Calendar.js +31 -0
- package/dist/src/components/Calendar.js.map +1 -0
- package/dist/src/components/CardsSelect.d.ts +27 -0
- package/dist/src/components/CardsSelect.js +82 -0
- package/dist/src/components/CardsSelect.js.map +1 -0
- package/dist/src/components/CardsSelect.mjs +1 -1
- package/dist/src/components/CollapsibleSidebarMenuItem.d.ts +22 -0
- package/dist/src/components/CollapsibleSidebarMenuItem.js +36 -0
- package/dist/src/components/CollapsibleSidebarMenuItem.js.map +1 -0
- package/dist/src/components/CollapsibleSidebarMenuItem.mjs +1 -1
- package/dist/src/components/ColorPicker.d.mts +1 -1
- package/dist/src/components/ColorPicker.d.ts +15 -0
- package/dist/src/components/ColorPicker.js +54 -0
- package/dist/src/components/ColorPicker.js.map +1 -0
- package/dist/src/components/ColorPicker.mjs +2 -2
- package/dist/src/components/CopyButton.d.mts +1 -1
- package/dist/src/components/CopyButton.d.ts +18 -0
- package/dist/src/components/CopyButton.js +35 -0
- package/dist/src/components/CopyButton.js.map +1 -0
- package/dist/src/components/CopyButton.mjs +3 -3
- package/dist/src/components/CropDialog.d.ts +22 -0
- package/dist/src/components/CropDialog.js +116 -0
- package/dist/src/components/CropDialog.js.map +1 -0
- package/dist/src/components/CropDialog.mjs +2 -2
- package/dist/src/components/DialogProvider.d.mts +1 -1
- package/dist/src/components/DialogProvider.d.ts +23 -0
- package/dist/src/components/DialogProvider.js +75 -0
- package/dist/src/components/DialogProvider.js.map +1 -0
- package/dist/src/components/DialogProvider.mjs +1 -1
- package/dist/src/components/ErrorFallback.d.ts +13 -0
- package/dist/src/components/ErrorFallback.js +32 -0
- package/dist/src/components/ErrorFallback.js.map +1 -0
- package/dist/src/components/FileDropzone.d.ts +14 -0
- package/dist/src/components/FileDropzone.js +103 -0
- package/dist/src/components/FileDropzone.js.map +1 -0
- package/dist/src/components/FileDropzone.mjs +1 -1
- package/dist/src/components/MultiSelectDropdown.d.ts +29 -0
- package/dist/src/components/MultiSelectDropdown.js +106 -0
- package/dist/src/components/MultiSelectDropdown.js.map +1 -0
- package/dist/src/components/MultiSelectDropdown.mjs +1 -1
- package/dist/src/components/Orb.d.ts +16 -0
- package/dist/src/components/Orb.js +268 -0
- package/dist/src/components/Orb.js.map +1 -0
- package/dist/src/components/PageAlert.d.ts +23 -0
- package/dist/src/components/PageAlert.js +78 -0
- package/dist/src/components/PageAlert.js.map +1 -0
- package/dist/src/components/PageAlert.mjs +2 -2
- package/dist/src/components/SelectChips.d.mts +1 -1
- package/dist/src/components/SelectChips.d.ts +21 -0
- package/dist/src/components/SelectChips.js +25 -0
- package/dist/src/components/SelectChips.js.map +1 -0
- package/dist/src/components/SelectChips.mjs +1 -1
- package/dist/src/components/SidebarItem.d.ts +18 -0
- package/dist/src/components/SidebarItem.js +20 -0
- package/dist/src/components/SidebarItem.js.map +1 -0
- package/dist/src/components/Steps.d.ts +24 -0
- package/dist/src/components/Steps.js +204 -0
- package/dist/src/components/Steps.js.map +1 -0
- package/dist/src/components/Steps.mjs +1 -1
- package/dist/src/components/TablerIconPicker.d.mts +1 -1
- package/dist/src/components/TablerIconPicker.d.ts +13 -0
- package/dist/src/components/TablerIconPicker.js +4260 -0
- package/dist/src/components/TablerIconPicker.js.map +1 -0
- package/dist/src/components/TablerIconPicker.mjs +1 -1
- package/dist/src/components/app-header.d.ts +14 -0
- package/dist/src/components/app-header.js +31 -0
- package/dist/src/components/app-header.js.map +1 -0
- package/dist/src/components/blur-card.d.ts +27 -0
- package/dist/src/components/blur-card.js +139 -0
- package/dist/src/components/blur-card.js.map +1 -0
- package/dist/src/components/features-section-demo-1.d.ts +22 -0
- package/dist/src/components/features-section-demo-1.js +132 -0
- package/dist/src/components/features-section-demo-1.js.map +1 -0
- package/dist/src/components/features-section-demo-2.d.ts +6 -0
- package/dist/src/components/features-section-demo-2.js +83 -0
- package/dist/src/components/features-section-demo-2.js.map +1 -0
- package/dist/src/components/features-section-demo-3.d.ts +16 -0
- package/dist/src/components/features-section-demo-3.js +263 -0
- package/dist/src/components/features-section-demo-3.js.map +1 -0
- package/dist/src/components/mode-toggle.d.ts +7 -0
- package/dist/src/components/mode-toggle.js +46 -0
- package/dist/src/components/mode-toggle.js.map +1 -0
- package/dist/src/components/mode-toggle.mjs +1 -1
- package/dist/src/components/nav-main.d.mts +1 -1
- package/dist/src/components/nav-main.d.ts +21 -0
- package/dist/src/components/nav-main.js +37 -0
- package/dist/src/components/nav-main.js.map +1 -0
- package/dist/src/components/nav-main.mjs +1 -1
- package/dist/src/components/pricing-cards.d.ts +7 -0
- package/dist/src/components/pricing-cards.js +130 -0
- package/dist/src/components/pricing-cards.js.map +1 -0
- package/dist/src/components/pricing-cards.mjs +1 -1
- package/dist/src/components/shared/ButtonCopy.d.ts +17 -0
- package/dist/src/components/shared/ButtonCopy.js +37 -0
- package/dist/src/components/shared/ButtonCopy.js.map +1 -0
- package/dist/src/components/shared/ButtonCopy.mjs +2 -2
- package/dist/src/components/team-switcher.d.ts +16 -0
- package/dist/src/components/team-switcher.js +75 -0
- package/dist/src/components/team-switcher.js.map +1 -0
- package/dist/src/components/team-switcher.mjs +1 -1
- package/dist/src/components/theme-provider.d.ts +23 -0
- package/dist/src/components/theme-provider.js +48 -0
- package/dist/src/components/theme-provider.js.map +1 -0
- package/dist/src/components/typewriter.d.ts +39 -0
- package/dist/src/components/typewriter.js +50 -0
- package/dist/src/components/typewriter.js.map +1 -0
- package/dist/src/components/ui/alert-dialog.d.ts +49 -0
- package/dist/src/components/ui/alert-dialog.js +94 -0
- package/dist/src/components/ui/alert-dialog.js.map +1 -0
- package/dist/src/components/ui/alert.d.mts +1 -1
- package/dist/src/components/ui/alert.d.ts +25 -0
- package/dist/src/components/ui/alert.js +40 -0
- package/dist/src/components/ui/alert.js.map +1 -0
- package/dist/src/components/ui/alert.mjs +1 -1
- package/dist/src/components/ui/avatar.d.ts +10 -0
- package/dist/src/components/ui/avatar.js +34 -0
- package/dist/src/components/ui/avatar.js.map +1 -0
- package/dist/src/components/ui/badge.d.mts +2 -2
- package/dist/src/components/ui/badge.d.ts +18 -0
- package/dist/src/components/ui/badge.js +25 -0
- package/dist/src/components/ui/badge.js.map +1 -0
- package/dist/src/components/ui/badge.mjs +1 -1
- package/dist/src/components/ui/bento-grid.d.ts +26 -0
- package/dist/src/components/ui/bento-grid.js +35 -0
- package/dist/src/components/ui/bento-grid.js.map +1 -0
- package/dist/src/components/ui/bento-grid2.d.ts +31 -0
- package/dist/src/components/ui/bento-grid2.js +52 -0
- package/dist/src/components/ui/bento-grid2.js.map +1 -0
- package/dist/src/components/ui/breadcrumb.d.ts +31 -0
- package/dist/src/components/ui/breadcrumb.js +72 -0
- package/dist/src/components/ui/breadcrumb.js.map +1 -0
- package/dist/src/components/ui/breadcrumb.mjs +2 -2
- package/dist/src/components/ui/button.d.mts +1 -1
- package/dist/src/components/ui/button.d.ts +16 -0
- package/dist/src/components/ui/button.js +47 -0
- package/dist/src/components/ui/button.js.map +1 -0
- package/dist/src/components/ui/button.mjs +1 -1
- package/dist/src/components/ui/card.d.ts +12 -0
- package/dist/src/components/ui/card.js +52 -0
- package/dist/src/components/ui/card.js.map +1 -0
- package/dist/src/components/ui/checkbox.d.ts +8 -0
- package/dist/src/components/ui/checkbox.js +24 -0
- package/dist/src/components/ui/checkbox.js.map +1 -0
- package/dist/src/components/ui/checkbox.mjs +1 -1
- package/dist/src/components/ui/collapsible.d.ts +10 -0
- package/dist/src/components/ui/collapsible.js +14 -0
- package/dist/src/components/ui/collapsible.js.map +1 -0
- package/dist/src/components/ui/dialog.d.ts +45 -0
- package/dist/src/components/ui/dialog.js +97 -0
- package/dist/src/components/ui/dialog.js.map +1 -0
- package/dist/src/components/ui/dialog.mjs +1 -1
- package/dist/src/components/ui/dropdown-menu.d.ts +35 -0
- package/dist/src/components/ui/dropdown-menu.js +100 -0
- package/dist/src/components/ui/dropdown-menu.js.map +1 -0
- package/dist/src/components/ui/dropdown-menu.mjs +1 -1
- package/dist/src/components/ui/floating-navbar.d.ts +18 -0
- package/dist/src/components/ui/floating-navbar.js +54 -0
- package/dist/src/components/ui/floating-navbar.js.map +1 -0
- package/dist/src/components/ui/form.d.mts +1 -1
- package/dist/src/components/ui/form.d.ts +32 -0
- package/dist/src/components/ui/form.js +102 -0
- package/dist/src/components/ui/form.js.map +1 -0
- package/dist/src/components/ui/form.mjs +1 -1
- package/dist/src/components/ui/image.d.ts +9 -0
- package/dist/src/components/ui/image.js +57 -0
- package/dist/src/components/ui/image.js.map +1 -0
- package/dist/src/components/ui/input.d.ts +7 -0
- package/dist/src/components/ui/input.js +20 -0
- package/dist/src/components/ui/input.js.map +1 -0
- package/dist/src/components/ui/label.d.ts +10 -0
- package/dist/src/components/ui/label.js +21 -0
- package/dist/src/components/ui/label.js.map +1 -0
- package/dist/src/components/ui/label.mjs +1 -1
- package/dist/src/components/ui/pagination.d.ts +40 -0
- package/dist/src/components/ui/pagination.js +87 -0
- package/dist/src/components/ui/pagination.js.map +1 -0
- package/dist/src/components/ui/pagination.mjs +1 -1
- package/dist/src/components/ui/progress.d.ts +8 -0
- package/dist/src/components/ui/progress.js +23 -0
- package/dist/src/components/ui/progress.js.map +1 -0
- package/dist/src/components/ui/resizable-navbar.d.ts +97 -0
- package/dist/src/components/ui/resizable-navbar.js +149 -0
- package/dist/src/components/ui/resizable-navbar.js.map +1 -0
- package/dist/src/components/ui/resizable-navbar.mjs +1 -1
- package/dist/src/components/ui/segment-control.d.ts +12 -0
- package/dist/src/components/ui/segment-control.js +89 -0
- package/dist/src/components/ui/segment-control.js.map +1 -0
- package/dist/src/components/ui/select.d.ts +17 -0
- package/dist/src/components/ui/select.js +88 -0
- package/dist/src/components/ui/select.js.map +1 -0
- package/dist/src/components/ui/select.mjs +1 -1
- package/dist/src/components/ui/separator.d.ts +8 -0
- package/dist/src/components/ui/separator.js +21 -0
- package/dist/src/components/ui/separator.js.map +1 -0
- package/dist/src/components/ui/sheet.d.mts +1 -1
- package/dist/src/components/ui/sheet.d.ts +36 -0
- package/dist/src/components/ui/sheet.js +79 -0
- package/dist/src/components/ui/sheet.js.map +1 -0
- package/dist/src/components/ui/sheet.mjs +2 -2
- package/dist/src/components/ui/sidebar.d.ts +73 -0
- package/dist/src/components/ui/sidebar.js +403 -0
- package/dist/src/components/ui/sidebar.js.map +1 -0
- package/dist/src/components/ui/sidebar.mjs +3 -3
- package/dist/src/components/ui/skeleton.d.ts +10 -0
- package/dist/src/components/ui/skeleton.js +15 -0
- package/dist/src/components/ui/skeleton.js.map +1 -0
- package/dist/src/components/ui/slider.d.ts +8 -0
- package/dist/src/components/ui/slider.js +23 -0
- package/dist/src/components/ui/slider.js.map +1 -0
- package/dist/src/components/ui/sonner.d.ts +11 -0
- package/dist/src/components/ui/sonner.js +24 -0
- package/dist/src/components/ui/sonner.js.map +1 -0
- package/dist/src/components/ui/spinner.d.mts +1 -1
- package/dist/src/components/ui/spinner.d.ts +25 -0
- package/dist/src/components/ui/spinner.js +32 -0
- package/dist/src/components/ui/spinner.js.map +1 -0
- package/dist/src/components/ui/spinner.mjs +1 -1
- package/dist/src/components/ui/switch.d.ts +8 -0
- package/dist/src/components/ui/switch.js +20 -0
- package/dist/src/components/ui/switch.js.map +1 -0
- package/dist/src/components/ui/table.d.ts +39 -0
- package/dist/src/components/ui/table.js +76 -0
- package/dist/src/components/ui/table.js.map +1 -0
- package/dist/src/components/ui/tabs.d.ts +24 -0
- package/dist/src/components/ui/tabs.js +42 -0
- package/dist/src/components/ui/tabs.js.map +1 -0
- package/dist/src/components/ui/textarea.d.ts +11 -0
- package/dist/src/components/ui/textarea.js +16 -0
- package/dist/src/components/ui/textarea.js.map +1 -0
- package/dist/src/components/ui/timeline.d.ts +18 -0
- package/dist/src/components/ui/timeline.js +92 -0
- package/dist/src/components/ui/timeline.js.map +1 -0
- package/dist/src/components/ui/toast.d.ts +20 -0
- package/dist/src/components/ui/toast.js +69 -0
- package/dist/src/components/ui/toast.js.map +1 -0
- package/dist/src/components/ui/toast.mjs +2 -2
- package/dist/src/components/ui/tooltip.d.ts +24 -0
- package/dist/src/components/ui/tooltip.js +42 -0
- package/dist/src/components/ui/tooltip.js.map +1 -0
- package/dist/src/components/ui/typewriter-effect.d.ts +30 -0
- package/dist/src/components/ui/typewriter-effect.js +109 -0
- package/dist/src/components/ui/typewriter-effect.js.map +1 -0
- package/dist/src/hooks/use-mobile.d.ts +5 -0
- package/dist/src/hooks/use-mobile.js +23 -0
- package/dist/src/hooks/use-mobile.js.map +1 -0
- package/dist/src/hooks/useDialog.d.ts +8 -0
- package/dist/src/hooks/useDialog.js +29 -0
- package/dist/src/hooks/useDialog.js.map +1 -0
- package/dist/src/icons/GoogleIcon.d.ts +9 -0
- package/dist/src/icons/GoogleIcon.js +35 -0
- package/dist/src/icons/GoogleIcon.js.map +1 -0
- package/dist/src/icons/LinkedInIcon.d.ts +9 -0
- package/dist/src/icons/LinkedInIcon.js +30 -0
- package/dist/src/icons/LinkedInIcon.js.map +1 -0
- package/dist/src/icons/MicrosoftIcon.d.ts +9 -0
- package/dist/src/icons/MicrosoftIcon.js +34 -0
- package/dist/src/icons/MicrosoftIcon.js.map +1 -0
- package/dist/src/lib/chatwoot.d.ts +20 -0
- package/dist/src/lib/chatwoot.js +27 -0
- package/dist/src/lib/chatwoot.js.map +1 -0
- package/dist/src/lib/utils.d.ts +7 -0
- package/dist/src/lib/utils.js +12 -0
- package/dist/src/lib/utils.js.map +1 -0
- package/dist/src/modules/app/components/AppLoader.d.mts +1 -1
- package/dist/src/modules/app/components/AppLoader.d.ts +8 -0
- package/dist/src/modules/app/components/AppLoader.js +18 -0
- package/dist/src/modules/app/components/AppLoader.js.map +1 -0
- package/dist/src/modules/app/components/AppLoader.mjs +1 -1
- package/dist/src/modules/app/components/AppShell.d.ts +16 -0
- package/dist/src/modules/app/components/AppShell.js +18 -0
- package/dist/src/modules/app/components/AppShell.js.map +1 -0
- package/dist/src/modules/app/components/AppSidebar.d.ts +17 -0
- package/dist/src/modules/app/components/AppSidebar.js +20 -0
- package/dist/src/modules/app/components/AppSidebar.js.map +1 -0
- package/dist/src/modules/app/components/AppSidebarContent.d.ts +25 -0
- package/dist/src/modules/app/components/AppSidebarContent.js +38 -0
- package/dist/src/modules/app/components/AppSidebarContent.js.map +1 -0
- package/dist/src/modules/app/components/AppSidebarHeader.d.ts +18 -0
- package/dist/src/modules/app/components/AppSidebarHeader.js +43 -0
- package/dist/src/modules/app/components/AppSidebarHeader.js.map +1 -0
- package/dist/src/modules/app/components/AppSidebarHeader.mjs +4 -4
- package/dist/src/modules/app/components/AppSidebarHeader.mjs.map +1 -1
- package/dist/src/modules/app/components/AppSidebarInvites.d.ts +11 -0
- package/dist/src/modules/app/components/AppSidebarInvites.js +45 -0
- package/dist/src/modules/app/components/AppSidebarInvites.js.map +1 -0
- package/dist/src/modules/app/components/AppSidebarInvites.mjs +4 -4
- package/dist/src/modules/app/components/AppSidebarInvites.mjs.map +1 -1
- package/dist/src/modules/app/components/AppSidebarUser.d.ts +21 -0
- package/dist/src/modules/app/components/AppSidebarUser.js +127 -0
- package/dist/src/modules/app/components/AppSidebarUser.js.map +1 -0
- package/dist/src/modules/app/components/AppSidebarUser.mjs +1 -1
- package/dist/src/modules/auth/components/AdminUserManagement.d.ts +13 -0
- package/dist/src/modules/auth/components/AdminUserManagement.js +977 -0
- package/dist/src/modules/auth/components/AdminUserManagement.js.map +1 -0
- package/dist/src/modules/auth/components/AdminUserManagement.mjs +2 -2
- package/dist/src/modules/auth/components/AdminWaitlist.d.ts +13 -0
- package/dist/src/modules/auth/components/AdminWaitlist.js +289 -0
- package/dist/src/modules/auth/components/AdminWaitlist.js.map +1 -0
- package/dist/src/modules/auth/components/AdminWaitlist.mjs +2 -2
- package/dist/src/modules/auth/components/AuthLayout.d.ts +12 -0
- package/dist/src/modules/auth/components/AuthLayout.js +21 -0
- package/dist/src/modules/auth/components/AuthLayout.js.map +1 -0
- package/dist/src/modules/auth/components/AuthProviders.d.ts +17 -0
- package/dist/src/modules/auth/components/AuthProviders.js +86 -0
- package/dist/src/modules/auth/components/AuthProviders.js.map +1 -0
- package/dist/src/modules/auth/components/AuthProviders.mjs +2 -2
- package/dist/src/modules/auth/components/AuthRouter.d.ts +18 -0
- package/dist/src/modules/auth/components/AuthRouter.js +50 -0
- package/dist/src/modules/auth/components/AuthRouter.js.map +1 -0
- package/dist/src/modules/auth/components/ClaimAccountRoute.d.ts +12 -0
- package/dist/src/modules/auth/components/ClaimAccountRoute.js +208 -0
- package/dist/src/modules/auth/components/ClaimAccountRoute.js.map +1 -0
- package/dist/src/modules/auth/components/ClaimAccountRoute.mjs +1 -1
- package/dist/src/modules/auth/components/ErrorAuthRoute.d.ts +7 -0
- package/dist/src/modules/auth/components/ErrorAuthRoute.js +131 -0
- package/dist/src/modules/auth/components/ErrorAuthRoute.js.map +1 -0
- package/dist/src/modules/auth/components/ErrorAuthRoute.mjs +5 -5
- package/dist/src/modules/auth/components/ErrorAuthRoute.mjs.map +1 -1
- package/dist/src/modules/auth/components/ForgotPasswordForm.d.ts +7 -0
- package/dist/src/modules/auth/components/ForgotPasswordForm.js +55 -0
- package/dist/src/modules/auth/components/ForgotPasswordForm.js.map +1 -0
- package/dist/src/modules/auth/components/ForgotPasswordForm.mjs +3 -3
- package/dist/src/modules/auth/components/ForgotPasswordRoute.d.ts +7 -0
- package/dist/src/modules/auth/components/ForgotPasswordRoute.js +39 -0
- package/dist/src/modules/auth/components/ForgotPasswordRoute.js.map +1 -0
- package/dist/src/modules/auth/components/ForgotPasswordRoute.mjs +4 -4
- package/dist/src/modules/auth/components/ForgotPasswordRoute.mjs.map +1 -1
- package/dist/src/modules/auth/components/InviteFriends.d.ts +13 -0
- package/dist/src/modules/auth/components/InviteFriends.js +282 -0
- package/dist/src/modules/auth/components/InviteFriends.js.map +1 -0
- package/dist/src/modules/auth/components/InviteFriends.mjs +2 -2
- package/dist/src/modules/auth/components/LastUsedBadge.d.mts +1 -1
- package/dist/src/modules/auth/components/LastUsedBadge.d.ts +17 -0
- package/dist/src/modules/auth/components/LastUsedBadge.js +21 -0
- package/dist/src/modules/auth/components/LastUsedBadge.js.map +1 -0
- package/dist/src/modules/auth/components/LastUsedBadge.mjs +2 -2
- package/dist/src/modules/auth/components/LoginForm.d.ts +11 -0
- package/dist/src/modules/auth/components/LoginForm.js +113 -0
- package/dist/src/modules/auth/components/LoginForm.js.map +1 -0
- package/dist/src/modules/auth/components/LoginForm.mjs +6 -6
- package/dist/src/modules/auth/components/LoginForm.mjs.map +1 -1
- package/dist/src/modules/auth/components/LoginRoute.d.ts +11 -0
- package/dist/src/modules/auth/components/LoginRoute.js +46 -0
- package/dist/src/modules/auth/components/LoginRoute.js.map +1 -0
- package/dist/src/modules/auth/components/LoginRoute.mjs +5 -5
- package/dist/src/modules/auth/components/LoginRoute.mjs.map +1 -1
- package/dist/src/modules/auth/components/LogoutRoute.d.ts +6 -0
- package/dist/src/modules/auth/components/LogoutRoute.js +22 -0
- package/dist/src/modules/auth/components/LogoutRoute.js.map +1 -0
- package/dist/src/modules/auth/components/LogoutRoute.mjs +1 -1
- package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.d.ts +22 -0
- package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.js +114 -0
- package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.js.map +1 -0
- package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.mjs +2 -2
- package/dist/src/modules/auth/components/OrganizationMembersRoute.d.ts +61 -0
- package/dist/src/modules/auth/components/OrganizationMembersRoute.js +460 -0
- package/dist/src/modules/auth/components/OrganizationMembersRoute.js.map +1 -0
- package/dist/src/modules/auth/components/OrganizationMembersRoute.mjs +3 -3
- package/dist/src/modules/auth/components/OrganizationPreferences.d.ts +30 -0
- package/dist/src/modules/auth/components/OrganizationPreferences.js +140 -0
- package/dist/src/modules/auth/components/OrganizationPreferences.js.map +1 -0
- package/dist/src/modules/auth/components/OrganizationPreferences.mjs +2 -2
- package/dist/src/modules/auth/components/OrganizationSettingsRoute.d.ts +29 -0
- package/dist/src/modules/auth/components/OrganizationSettingsRoute.js +195 -0
- package/dist/src/modules/auth/components/OrganizationSettingsRoute.js.map +1 -0
- package/dist/src/modules/auth/components/OrganizationSettingsRoute.mjs +2 -2
- package/dist/src/modules/auth/components/OrganizationSwitcher.d.ts +18 -0
- package/dist/src/modules/auth/components/OrganizationSwitcher.js +98 -0
- package/dist/src/modules/auth/components/OrganizationSwitcher.js.map +1 -0
- package/dist/src/modules/auth/components/OrganizationSwitcher.mjs +5 -5
- package/dist/src/modules/auth/components/OrganizationSwitcher.mjs.map +1 -1
- package/dist/src/modules/auth/components/PreferencesEditor.d.ts +49 -0
- package/dist/src/modules/auth/components/PreferencesEditor.js +87 -0
- package/dist/src/modules/auth/components/PreferencesEditor.js.map +1 -0
- package/dist/src/modules/auth/components/PreferencesEditor.mjs +1 -1
- package/dist/src/modules/auth/components/ProfileRoute.d.ts +7 -0
- package/dist/src/modules/auth/components/ProfileRoute.js +87 -0
- package/dist/src/modules/auth/components/ProfileRoute.js.map +1 -0
- package/dist/src/modules/auth/components/ProfileRoute.mjs +3 -3
- package/dist/src/modules/auth/components/RangeNuqsDatePicker.d.ts +45 -0
- package/dist/src/modules/auth/components/RangeNuqsDatePicker.js +241 -0
- package/dist/src/modules/auth/components/RangeNuqsDatePicker.js.map +1 -0
- package/dist/src/modules/auth/components/RangeNuqsDatePicker.mjs +2 -2
- package/dist/src/modules/auth/components/ResetPasswordForm.d.ts +7 -0
- package/dist/src/modules/auth/components/ResetPasswordForm.js +103 -0
- package/dist/src/modules/auth/components/ResetPasswordForm.js.map +1 -0
- package/dist/src/modules/auth/components/ResetPasswordForm.mjs +5 -5
- package/dist/src/modules/auth/components/ResetPasswordForm.mjs.map +1 -1
- package/dist/src/modules/auth/components/ResetPasswordRoute.d.ts +7 -0
- package/dist/src/modules/auth/components/ResetPasswordRoute.js +39 -0
- package/dist/src/modules/auth/components/ResetPasswordRoute.js.map +1 -0
- package/dist/src/modules/auth/components/ResetPasswordRoute.mjs +4 -4
- package/dist/src/modules/auth/components/ResetPasswordRoute.mjs.map +1 -1
- package/dist/src/modules/auth/components/SignupFormRoute.d.ts +15 -0
- package/dist/src/modules/auth/components/SignupFormRoute.js +151 -0
- package/dist/src/modules/auth/components/SignupFormRoute.js.map +1 -0
- package/dist/src/modules/auth/components/SignupFormRoute.mjs +3 -3
- package/dist/src/modules/auth/components/SignupRoute.d.ts +15 -0
- package/dist/src/modules/auth/components/SignupRoute.js +64 -0
- package/dist/src/modules/auth/components/SignupRoute.js.map +1 -0
- package/dist/src/modules/auth/components/SignupRoute.mjs +4 -4
- package/dist/src/modules/auth/components/SignupRoute.mjs.map +1 -1
- package/dist/src/modules/auth/components/UserPreferences.d.ts +23 -0
- package/dist/src/modules/auth/components/UserPreferences.js +28 -0
- package/dist/src/modules/auth/components/UserPreferences.js.map +1 -0
- package/dist/src/modules/auth/components/UserPreferences.mjs +1 -1
- package/dist/src/modules/auth/components/WaitlistCard.d.ts +13 -0
- package/dist/src/modules/auth/components/WaitlistCard.js +69 -0
- package/dist/src/modules/auth/components/WaitlistCard.js.map +1 -0
- package/dist/src/modules/auth/components/WaitlistCard.mjs +2 -2
- package/dist/src/modules/auth/components/WaitlistCodeValidation.d.ts +15 -0
- package/dist/src/modules/auth/components/WaitlistCodeValidation.js +47 -0
- package/dist/src/modules/auth/components/WaitlistCodeValidation.js.map +1 -0
- package/dist/src/modules/auth/components/WaitlistCodeValidation.mjs +2 -2
- package/dist/src/modules/billing/components/BillingBetaPage.d.ts +17 -0
- package/dist/src/modules/billing/components/BillingBetaPage.js +160 -0
- package/dist/src/modules/billing/components/BillingBetaPage.js.map +1 -0
- package/dist/src/modules/billing/components/BillingBetaPage.mjs +1 -1
- package/dist/src/modules/billing/components/BillingInvoicePage.d.ts +15 -0
- package/dist/src/modules/billing/components/BillingInvoicePage.js +164 -0
- package/dist/src/modules/billing/components/BillingInvoicePage.js.map +1 -0
- package/dist/src/modules/billing/components/BillingInvoicePage.mjs +2 -2
- package/dist/src/modules/billing/components/BillingPlanSelect.d.ts +13 -0
- package/dist/src/modules/billing/components/BillingPlanSelect.js +13 -0
- package/dist/src/modules/billing/components/BillingPlanSelect.js.map +1 -0
- package/dist/src/modules/billing/components/BillingRouter.d.ts +17 -0
- package/dist/src/modules/billing/components/BillingRouter.js +23 -0
- package/dist/src/modules/billing/components/BillingRouter.js.map +1 -0
- package/dist/src/modules/billing/components/BillingSinglePlanSelect.d.ts +18 -0
- package/dist/src/modules/billing/components/BillingSinglePlanSelect.js +169 -0
- package/dist/src/modules/billing/components/BillingSinglePlanSelect.js.map +1 -0
- package/dist/src/modules/billing/components/BillingSinglePlanSelect.mjs +5 -5
- package/dist/src/modules/billing/components/BillingSinglePlanSelect.mjs.map +1 -1
- package/dist/src/modules/table/components/ColumnOrderAndVisibility.d.ts +20 -0
- package/dist/src/modules/table/components/ColumnOrderAndVisibility.js +87 -0
- package/dist/src/modules/table/components/ColumnOrderAndVisibility.js.map +1 -0
- package/dist/src/modules/table/components/ColumnOrderAndVisibility.mjs +1 -1
- package/dist/src/modules/table/components/NuqsTable.d.mts +3 -1
- package/dist/src/modules/table/components/NuqsTable.d.ts +38 -0
- package/dist/src/modules/table/components/NuqsTable.js +345 -0
- package/dist/src/modules/table/components/NuqsTable.js.map +1 -0
- package/dist/src/modules/table/components/NuqsTable.mjs +111 -76
- package/dist/src/modules/table/components/NuqsTable.mjs.map +1 -1
- package/dist/src/modules/table/components/TableFiltering.d.ts +35 -0
- package/dist/src/modules/table/components/TableFiltering.js +420 -0
- package/dist/src/modules/table/components/TableFiltering.js.map +1 -0
- package/dist/src/modules/table/components/TableFiltering.mjs +2 -2
- package/dist/src/modules/table/components/TableGroupBy.d.ts +22 -0
- package/dist/src/modules/table/components/TableGroupBy.js +60 -0
- package/dist/src/modules/table/components/TableGroupBy.js.map +1 -0
- package/dist/src/modules/table/components/TablePagination.d.ts +19 -0
- package/dist/src/modules/table/components/TablePagination.js +68 -0
- package/dist/src/modules/table/components/TablePagination.js.map +1 -0
- package/dist/src/modules/table/components/table.types.d.ts +17 -0
- package/dist/src/modules/table/components/table.types.js +0 -0
- package/dist/src/modules/table/filterTransformers.d.ts +58 -0
- package/dist/src/modules/table/filterTransformers.js +219 -0
- package/dist/src/modules/table/filterTransformers.js.map +1 -0
- package/dist/src/types.d.ts +8 -0
- package/dist/src/types.js +0 -0
- package/package.json +126 -36
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
require("../../../../_virtual/_rolldown/runtime.js");
|
|
3
|
+
let _heroui_react = require("@heroui/react");
|
|
4
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
|
+
let lucide_react = require("lucide-react");
|
|
6
|
+
let _m5kdev_frontend_modules_billing_hooks_useSubscription = require("@m5kdev/frontend/modules/billing/hooks/useSubscription");
|
|
7
|
+
let _tanstack_react_query = require("@tanstack/react-query");
|
|
8
|
+
//#region src/modules/billing/components/BillingInvoicePage.tsx
|
|
9
|
+
function BillingInvoicePage({ useTRPC, serverUrl }) {
|
|
10
|
+
const { data: invoices, isLoading } = (0, _tanstack_react_query.useQuery)(useTRPC().billing.listInvoices.queryOptions());
|
|
11
|
+
const { data: activeSubscription, isLoading: isLoadingSubscriptions } = (0, _m5kdev_frontend_modules_billing_hooks_useSubscription.useSubscription)();
|
|
12
|
+
const formatCurrency = (amount, currency) => {
|
|
13
|
+
return new Intl.NumberFormat("en-US", {
|
|
14
|
+
style: "currency",
|
|
15
|
+
currency: currency.toUpperCase()
|
|
16
|
+
}).format(amount / 100);
|
|
17
|
+
};
|
|
18
|
+
const formatDate = (timestamp) => {
|
|
19
|
+
return (timestamp instanceof Date ? timestamp : /* @__PURE__ */ new Date(timestamp * 1e3)).toLocaleDateString(void 0, {
|
|
20
|
+
year: "numeric",
|
|
21
|
+
month: "long",
|
|
22
|
+
day: "numeric"
|
|
23
|
+
});
|
|
24
|
+
};
|
|
25
|
+
const cancelAt = activeSubscription?.cancelAt || activeSubscription?.cancelAtPeriodEnd;
|
|
26
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
27
|
+
className: "container mx-auto p-10 space-y-8",
|
|
28
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_heroui_react.Card, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_heroui_react.CardHeader, {
|
|
29
|
+
className: "flex flex-col items-start gap-1 px-6 pt-6",
|
|
30
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h1", {
|
|
31
|
+
className: "text-xl font-bold",
|
|
32
|
+
children: "Active Subscription"
|
|
33
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
34
|
+
className: "text-small text-default-500",
|
|
35
|
+
children: "Manage your active subscription."
|
|
36
|
+
})]
|
|
37
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.CardBody, {
|
|
38
|
+
className: "px-6 pb-6",
|
|
39
|
+
children: isLoadingSubscriptions ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
40
|
+
className: "flex justify-center py-8",
|
|
41
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.Spinner, {})
|
|
42
|
+
}) : !activeSubscription ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
43
|
+
className: "flex flex-col items-center justify-center py-8 text-center gap-4",
|
|
44
|
+
children: [
|
|
45
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
46
|
+
className: "p-4 rounded-full bg-default-100",
|
|
47
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.AlertCircle, { className: "w-8 h-8 text-default-500" })
|
|
48
|
+
}),
|
|
49
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
50
|
+
className: "text-lg font-medium",
|
|
51
|
+
children: "No active subscription"
|
|
52
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
53
|
+
className: "text-small text-default-500",
|
|
54
|
+
children: "You are currently on the free tier. Upgrade to access premium features."
|
|
55
|
+
})] }),
|
|
56
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.Button, {
|
|
57
|
+
as: _heroui_react.Link,
|
|
58
|
+
href: "/pricing",
|
|
59
|
+
color: "primary",
|
|
60
|
+
children: "View Plans"
|
|
61
|
+
})
|
|
62
|
+
]
|
|
63
|
+
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
64
|
+
className: "space-y-6",
|
|
65
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
66
|
+
className: "flex flex-col sm:flex-row justify-between items-start sm:items-center gap-4 p-4 rounded-lg bg-default-50 border border-default-200",
|
|
67
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
68
|
+
className: "space-y-1",
|
|
69
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
70
|
+
className: "flex items-center gap-2",
|
|
71
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h3", {
|
|
72
|
+
className: "text-lg font-semibold capitalize",
|
|
73
|
+
children: activeSubscription.plan || "Premium Plan"
|
|
74
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.Chip, {
|
|
75
|
+
color: cancelAt ? "danger" : activeSubscription.status === "active" ? "success" : "warning",
|
|
76
|
+
variant: "flat",
|
|
77
|
+
size: "sm",
|
|
78
|
+
startContent: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.CheckCircle2, { className: "w-3 h-3 ml-1" }),
|
|
79
|
+
children: cancelAt ? "Cancelled" : activeSubscription.status
|
|
80
|
+
})]
|
|
81
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("p", {
|
|
82
|
+
className: "text-small text-default-500 flex items-center gap-2",
|
|
83
|
+
children: [
|
|
84
|
+
cancelAt ? "Your subscription will end on " : "Next billing date: ",
|
|
85
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
86
|
+
className: "font-medium text-foreground",
|
|
87
|
+
children: activeSubscription.periodEnd ? formatDate(activeSubscription.periodEnd) : "N/A"
|
|
88
|
+
}),
|
|
89
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
90
|
+
className: "text-small text-default-500",
|
|
91
|
+
children: `(${activeSubscription.interval === "month" ? "Monthly" : "Annually"})`
|
|
92
|
+
})
|
|
93
|
+
]
|
|
94
|
+
})]
|
|
95
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
96
|
+
className: "flex gap-3",
|
|
97
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.Button, {
|
|
98
|
+
variant: "bordered",
|
|
99
|
+
as: "a",
|
|
100
|
+
href: `${serverUrl}/stripe/portal`,
|
|
101
|
+
children: "Manage Subscription"
|
|
102
|
+
})
|
|
103
|
+
})]
|
|
104
|
+
})
|
|
105
|
+
})
|
|
106
|
+
})] }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_heroui_react.Card, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_heroui_react.CardHeader, {
|
|
107
|
+
className: "flex flex-col items-start gap-1 px-6 pt-6",
|
|
108
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h1", {
|
|
109
|
+
className: "text-xl font-bold",
|
|
110
|
+
children: "Invoices"
|
|
111
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
112
|
+
className: "text-small text-default-500",
|
|
113
|
+
children: "View your invoice history and download past invoices."
|
|
114
|
+
})]
|
|
115
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.CardBody, {
|
|
116
|
+
className: "px-6 pb-6",
|
|
117
|
+
children: isLoading ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
118
|
+
className: "flex justify-center py-8",
|
|
119
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.Spinner, {})
|
|
120
|
+
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_heroui_react.Table, {
|
|
121
|
+
"aria-label": "Invoices table",
|
|
122
|
+
removeWrapper: true,
|
|
123
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_heroui_react.TableHeader, { children: [
|
|
124
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.TableColumn, { children: "Date" }),
|
|
125
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.TableColumn, { children: "Amount" }),
|
|
126
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.TableColumn, { children: "Status" }),
|
|
127
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.TableColumn, {
|
|
128
|
+
align: "end",
|
|
129
|
+
children: "Action"
|
|
130
|
+
})
|
|
131
|
+
] }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.TableBody, {
|
|
132
|
+
emptyContent: "No invoices found.",
|
|
133
|
+
children: (invoices || []).map((invoice) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_heroui_react.TableRow, { children: [
|
|
134
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.TableCell, { children: formatDate(invoice.created) }),
|
|
135
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.TableCell, { children: formatCurrency(invoice.total, invoice.currency) }),
|
|
136
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.TableCell, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.Chip, {
|
|
137
|
+
color: invoice.status === "paid" ? "success" : "default",
|
|
138
|
+
variant: "flat",
|
|
139
|
+
size: "sm",
|
|
140
|
+
children: invoice.status
|
|
141
|
+
}) }),
|
|
142
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.TableCell, {
|
|
143
|
+
className: "text-right",
|
|
144
|
+
children: invoice.hosted_invoice_url && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.Button, {
|
|
145
|
+
as: _heroui_react.Link,
|
|
146
|
+
href: invoice.hosted_invoice_url,
|
|
147
|
+
target: "_blank",
|
|
148
|
+
rel: "noopener noreferrer",
|
|
149
|
+
variant: "light",
|
|
150
|
+
size: "sm",
|
|
151
|
+
endContent: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ExternalLink, { className: "h-4 w-4" }),
|
|
152
|
+
children: "View"
|
|
153
|
+
})
|
|
154
|
+
})
|
|
155
|
+
] }, invoice.id))
|
|
156
|
+
})]
|
|
157
|
+
})
|
|
158
|
+
})] })]
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
//#endregion
|
|
162
|
+
exports.BillingInvoicePage = BillingInvoicePage;
|
|
163
|
+
|
|
164
|
+
//# sourceMappingURL=BillingInvoicePage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BillingInvoicePage.js","names":["Card","CardHeader","CardBody","Spinner","AlertCircle","Button","Link","Chip","CheckCircle2","Table","TableHeader","TableColumn","TableBody","TableRow","TableCell","ExternalLink"],"sources":["../../../../../src/modules/billing/components/BillingInvoicePage.tsx"],"sourcesContent":["import {\r\n Button,\r\n Card,\r\n CardBody,\r\n CardHeader,\r\n Chip,\r\n Link,\r\n Spinner,\r\n Table,\r\n TableBody,\r\n TableCell,\r\n TableColumn,\r\n TableHeader,\r\n TableRow,\r\n} from \"@heroui/react\";\r\nimport { useSubscription } from \"@m5kdev/frontend/modules/billing/hooks/useSubscription\";\r\nimport { useQuery } from \"@tanstack/react-query\";\r\nimport { AlertCircle, CheckCircle2, ExternalLink } from \"lucide-react\";\r\n\r\nimport type { UseBackendTRPC } from \"../../../types\";\r\n\r\ninterface BillingInvoicePageProps {\r\n useTRPC: UseBackendTRPC;\r\n serverUrl: string;\r\n}\r\n\r\nexport function BillingInvoicePage({ useTRPC, serverUrl }: BillingInvoicePageProps) {\r\n const trpc = useTRPC();\r\n const { data: invoices, isLoading } = useQuery(trpc.billing.listInvoices.queryOptions());\r\n\r\n const { data: activeSubscription, isLoading: isLoadingSubscriptions } = useSubscription();\r\n const formatCurrency = (amount: number, currency: string) => {\r\n return new Intl.NumberFormat(\"en-US\", {\r\n style: \"currency\",\r\n currency: currency.toUpperCase(),\r\n }).format(amount / 100);\r\n };\r\n\r\n const formatDate = (timestamp: number | Date) => {\r\n const date = timestamp instanceof Date ? timestamp : new Date(timestamp * 1000);\r\n return date.toLocaleDateString(undefined, {\r\n year: \"numeric\",\r\n month: \"long\",\r\n day: \"numeric\",\r\n });\r\n };\r\n\r\n const cancelAt = activeSubscription?.cancelAt || activeSubscription?.cancelAtPeriodEnd;\r\n return (\r\n <div className=\"container mx-auto p-10 space-y-8\">\r\n <Card>\r\n <CardHeader className=\"flex flex-col items-start gap-1 px-6 pt-6\">\r\n <h1 className=\"text-xl font-bold\">Active Subscription</h1>\r\n <p className=\"text-small text-default-500\">Manage your active subscription.</p>\r\n </CardHeader>\r\n <CardBody className=\"px-6 pb-6\">\r\n {isLoadingSubscriptions ? (\r\n <div className=\"flex justify-center py-8\">\r\n <Spinner />\r\n </div>\r\n ) : !activeSubscription ? (\r\n <div className=\"flex flex-col items-center justify-center py-8 text-center gap-4\">\r\n <div className=\"p-4 rounded-full bg-default-100\">\r\n <AlertCircle className=\"w-8 h-8 text-default-500\" />\r\n </div>\r\n <div>\r\n <p className=\"text-lg font-medium\">No active subscription</p>\r\n <p className=\"text-small text-default-500\">\r\n You are currently on the free tier. Upgrade to access premium features.\r\n </p>\r\n </div>\r\n <Button as={Link} href=\"/pricing\" color=\"primary\">\r\n View Plans\r\n </Button>\r\n </div>\r\n ) : (\r\n <div className=\"space-y-6\">\r\n <div className=\"flex flex-col sm:flex-row justify-between items-start sm:items-center gap-4 p-4 rounded-lg bg-default-50 border border-default-200\">\r\n <div className=\"space-y-1\">\r\n <div className=\"flex items-center gap-2\">\r\n <h3 className=\"text-lg font-semibold capitalize\">\r\n {activeSubscription.plan || \"Premium Plan\"}\r\n </h3>\r\n\r\n <Chip\r\n color={\r\n cancelAt\r\n ? \"danger\"\r\n : activeSubscription.status === \"active\"\r\n ? \"success\"\r\n : \"warning\"\r\n }\r\n variant=\"flat\"\r\n size=\"sm\"\r\n startContent={<CheckCircle2 className=\"w-3 h-3 ml-1\" />}\r\n >\r\n {cancelAt ? \"Cancelled\" : activeSubscription.status}\r\n </Chip>\r\n </div>\r\n <p className=\"text-small text-default-500 flex items-center gap-2\">\r\n {cancelAt ? \"Your subscription will end on \" : \"Next billing date: \"}\r\n <span className=\"font-medium text-foreground\">\r\n {activeSubscription.periodEnd\r\n ? formatDate(activeSubscription.periodEnd)\r\n : \"N/A\"}\r\n </span>\r\n <span className=\"text-small text-default-500\">\r\n {`(${activeSubscription.interval === \"month\" ? \"Monthly\" : \"Annually\"})`}\r\n </span>\r\n </p>\r\n </div>\r\n <div className=\"flex gap-3\">\r\n <Button variant=\"bordered\" as=\"a\" href={`${serverUrl}/stripe/portal`}>\r\n Manage Subscription\r\n </Button>\r\n </div>\r\n </div>\r\n </div>\r\n )}\r\n </CardBody>\r\n </Card>\r\n <Card>\r\n <CardHeader className=\"flex flex-col items-start gap-1 px-6 pt-6\">\r\n <h1 className=\"text-xl font-bold\">Invoices</h1>\r\n <p className=\"text-small text-default-500\">\r\n View your invoice history and download past invoices.\r\n </p>\r\n </CardHeader>\r\n <CardBody className=\"px-6 pb-6\">\r\n {isLoading ? (\r\n <div className=\"flex justify-center py-8\">\r\n <Spinner />\r\n </div>\r\n ) : (\r\n <Table aria-label=\"Invoices table\" removeWrapper>\r\n <TableHeader>\r\n <TableColumn>Date</TableColumn>\r\n <TableColumn>Amount</TableColumn>\r\n <TableColumn>Status</TableColumn>\r\n <TableColumn align=\"end\">Action</TableColumn>\r\n </TableHeader>\r\n <TableBody emptyContent=\"No invoices found.\">\r\n {(invoices || []).map((invoice) => (\r\n <TableRow key={invoice.id}>\r\n <TableCell>{formatDate(invoice.created)}</TableCell>\r\n <TableCell>{formatCurrency(invoice.total, invoice.currency)}</TableCell>\r\n <TableCell>\r\n <Chip\r\n color={invoice.status === \"paid\" ? \"success\" : \"default\"}\r\n variant=\"flat\"\r\n size=\"sm\"\r\n >\r\n {invoice.status}\r\n </Chip>\r\n </TableCell>\r\n <TableCell className=\"text-right\">\r\n {invoice.hosted_invoice_url && (\r\n <Button\r\n as={Link}\r\n href={invoice.hosted_invoice_url}\r\n target=\"_blank\"\r\n rel=\"noopener noreferrer\"\r\n variant=\"light\"\r\n size=\"sm\"\r\n endContent={<ExternalLink className=\"h-4 w-4\" />}\r\n >\r\n View\r\n </Button>\r\n )}\r\n </TableCell>\r\n </TableRow>\r\n ))}\r\n </TableBody>\r\n </Table>\r\n )}\r\n </CardBody>\r\n </Card>\r\n </div>\r\n );\r\n}\r\n"],"mappings":"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"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AlertCircle, CheckCircle2, ExternalLink } from "lucide-react";
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
1
|
import { Button, Card, CardBody, CardHeader, Chip, Link, Spinner, Table, TableBody, TableCell, TableColumn, TableHeader, TableRow } from "@heroui/react";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { AlertCircle, CheckCircle2, ExternalLink } from "lucide-react";
|
|
4
4
|
import { useSubscription } from "@m5kdev/frontend/modules/billing/hooks/useSubscription";
|
|
5
5
|
import { useQuery } from "@tanstack/react-query";
|
|
6
6
|
//#region src/modules/billing/components/BillingInvoicePage.tsx
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import { StripePlan } from "@m5kdev/commons/modules/billing/billing.types";
|
|
3
|
+
|
|
4
|
+
//#region src/modules/billing/components/BillingPlanSelect.d.ts
|
|
5
|
+
interface BillingPlanSelectProps {
|
|
6
|
+
plans: StripePlan[];
|
|
7
|
+
}
|
|
8
|
+
declare function BillingPlanSelect({
|
|
9
|
+
plans
|
|
10
|
+
}: BillingPlanSelectProps): _$react_jsx_runtime0.JSX.Element | "Multiple plans selection not implemented yet";
|
|
11
|
+
//#endregion
|
|
12
|
+
export { BillingPlanSelect };
|
|
13
|
+
//# sourceMappingURL=BillingPlanSelect.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
require("../../../../_virtual/_rolldown/runtime.js");
|
|
3
|
+
const require_src_modules_billing_components_BillingSinglePlanSelect = require("./BillingSinglePlanSelect.js");
|
|
4
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
|
+
//#region src/modules/billing/components/BillingPlanSelect.tsx
|
|
6
|
+
function BillingPlanSelect({ plans }) {
|
|
7
|
+
if (plans.length === 1) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src_modules_billing_components_BillingSinglePlanSelect.BillingSinglePlanSelect, { plan: plans[0] });
|
|
8
|
+
return "Multiple plans selection not implemented yet";
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
exports.BillingPlanSelect = BillingPlanSelect;
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=BillingPlanSelect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BillingPlanSelect.js","names":["BillingSinglePlanSelect"],"sources":["../../../../../src/modules/billing/components/BillingPlanSelect.tsx"],"sourcesContent":["import type { StripePlan } from \"@m5kdev/commons/modules/billing/billing.types\";\r\nimport { BillingSinglePlanSelect } from \"./BillingSinglePlanSelect\";\r\n\r\ninterface BillingPlanSelectProps {\r\n plans: StripePlan[];\r\n}\r\n\r\nexport function BillingPlanSelect({ plans }: BillingPlanSelectProps) {\r\n if (plans.length === 1) {\r\n return <BillingSinglePlanSelect plan={plans[0]} />;\r\n }\r\n\r\n return \"Multiple plans selection not implemented yet\";\r\n}\r\n"],"mappings":";;;;;AAOA,SAAgB,kBAAkB,EAAE,SAAiC;AACnE,KAAI,MAAM,WAAW,EACnB,QAAO,iBAAA,GAAA,kBAAA,KAACA,+DAAAA,yBAAD,EAAyB,MAAM,MAAM,IAAM,CAAA;AAGpD,QAAO"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { UseBackendTRPC } from "../../../types.js";
|
|
2
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import { StripePlan } from "@m5kdev/commons/modules/billing/billing.types";
|
|
4
|
+
|
|
5
|
+
//#region src/modules/billing/components/BillingRouter.d.ts
|
|
6
|
+
interface BillingRouterProps {
|
|
7
|
+
useTRPC?: UseBackendTRPC;
|
|
8
|
+
serverUrl: string;
|
|
9
|
+
plans: StripePlan[];
|
|
10
|
+
}
|
|
11
|
+
declare function BillingRouter({
|
|
12
|
+
useTRPC,
|
|
13
|
+
serverUrl
|
|
14
|
+
}: BillingRouterProps): _$react_jsx_runtime0.JSX.Element | null;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { BillingRouter };
|
|
17
|
+
//# sourceMappingURL=BillingRouter.d.ts.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
require("../../../../_virtual/_rolldown/runtime.js");
|
|
3
|
+
const require_src_modules_billing_components_BillingInvoicePage = require("./BillingInvoicePage.js");
|
|
4
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
|
+
let react_router = require("react-router");
|
|
6
|
+
//#region src/modules/billing/components/BillingRouter.tsx
|
|
7
|
+
function BillingRouter({ useTRPC, serverUrl }) {
|
|
8
|
+
if (!useTRPC) return null;
|
|
9
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_router.Route, {
|
|
10
|
+
path: "billing",
|
|
11
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_router.Route, {
|
|
12
|
+
index: true,
|
|
13
|
+
element: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src_modules_billing_components_BillingInvoicePage.BillingInvoicePage, {
|
|
14
|
+
useTRPC,
|
|
15
|
+
serverUrl
|
|
16
|
+
})
|
|
17
|
+
})
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.BillingRouter = BillingRouter;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=BillingRouter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BillingRouter.js","names":["Route","BillingInvoicePage"],"sources":["../../../../../src/modules/billing/components/BillingRouter.tsx"],"sourcesContent":["import type { StripePlan } from \"@m5kdev/commons/modules/billing/billing.types\";\r\nimport { Route } from \"react-router\";\r\nimport { BillingInvoicePage } from \"./BillingInvoicePage\";\r\nimport type { UseBackendTRPC } from \"../../../types\";\r\n\r\ninterface BillingRouterProps {\r\n useTRPC?: UseBackendTRPC;\r\n serverUrl: string;\r\n plans: StripePlan[];\r\n}\r\n\r\nexport function BillingRouter({ useTRPC, serverUrl }: BillingRouterProps) {\r\n if (!useTRPC) return null;\r\n\r\n return (\r\n <Route path=\"billing\">\r\n <Route index element={<BillingInvoicePage useTRPC={useTRPC} serverUrl={serverUrl} />} />\r\n </Route>\r\n );\r\n}\r\n"],"mappings":";;;;;;AAWA,SAAgB,cAAc,EAAE,SAAS,aAAiC;AACxE,KAAI,CAAC,QAAS,QAAO;AAErB,QACE,iBAAA,GAAA,kBAAA,KAACA,aAAAA,OAAD;EAAO,MAAK;YACV,iBAAA,GAAA,kBAAA,KAACA,aAAAA,OAAD;GAAO,OAAA;GAAM,SAAS,iBAAA,GAAA,kBAAA,KAACC,0DAAAA,oBAAD;IAA6B;IAAoB;IAAa,CAAA;GAAI,CAAA;EAClF,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import { StripePlan } from "@m5kdev/commons/modules/billing/billing.types";
|
|
3
|
+
|
|
4
|
+
//#region src/modules/billing/components/BillingSinglePlanSelect.d.ts
|
|
5
|
+
interface BillingSinglePlanSelectProps {
|
|
6
|
+
plan: StripePlan;
|
|
7
|
+
features?: string[];
|
|
8
|
+
/** URL for the Terms of Service link. Override for your app's legal page. */
|
|
9
|
+
termsOfServiceUrl?: string;
|
|
10
|
+
}
|
|
11
|
+
declare function BillingSinglePlanSelect({
|
|
12
|
+
plan,
|
|
13
|
+
termsOfServiceUrl,
|
|
14
|
+
features
|
|
15
|
+
}: BillingSinglePlanSelectProps): _$react_jsx_runtime0.JSX.Element;
|
|
16
|
+
//#endregion
|
|
17
|
+
export { BillingSinglePlanSelect, BillingSinglePlanSelectProps };
|
|
18
|
+
//# sourceMappingURL=BillingSinglePlanSelect.d.ts.map
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
require("../../../../_virtual/_rolldown/runtime.js");
|
|
3
|
+
const require_src_lib_utils = require("../../../lib/utils.js");
|
|
4
|
+
const require_src_components_ui_card = require("../../../components/ui/card.js");
|
|
5
|
+
const require_src_components_ui_tabs = require("../../../components/ui/tabs.js");
|
|
6
|
+
let react = require("react");
|
|
7
|
+
let _heroui_react = require("@heroui/react");
|
|
8
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
|
+
let lucide_react = require("lucide-react");
|
|
10
|
+
let react_i18next = require("react-i18next");
|
|
11
|
+
let react_router = require("react-router");
|
|
12
|
+
let _m5kdev_frontend_modules_auth_auth_lib = require("@m5kdev/frontend/modules/auth/auth.lib");
|
|
13
|
+
//#region src/modules/billing/components/BillingSinglePlanSelect.tsx
|
|
14
|
+
function BillingSinglePlanSelect({ plan, termsOfServiceUrl, features = [
|
|
15
|
+
"Unlimited access to all features",
|
|
16
|
+
"Priority support",
|
|
17
|
+
"Early access to new features",
|
|
18
|
+
"Secure data storage",
|
|
19
|
+
"Cancel anytime"
|
|
20
|
+
] }) {
|
|
21
|
+
const { t } = (0, react_i18next.useTranslation)("web-ui");
|
|
22
|
+
const navigate = (0, react_router.useNavigate)();
|
|
23
|
+
const [billingInterval, setBillingInterval] = (0, react.useState)("annually");
|
|
24
|
+
const handleLogout = async () => {
|
|
25
|
+
await _m5kdev_frontend_modules_auth_auth_lib.authClient.signOut();
|
|
26
|
+
navigate("/login");
|
|
27
|
+
};
|
|
28
|
+
const isAnnual = billingInterval === "annually";
|
|
29
|
+
const currentPriceId = isAnnual ? plan.annualDiscountPriceId : plan.priceId;
|
|
30
|
+
const hasAnnualOption = !!plan.annualDiscountPriceId;
|
|
31
|
+
const priceUnitAmount = plan.priceUnitAmount ?? NaN;
|
|
32
|
+
const annualPriceUnitAmount = plan.annualPriceUnitAmount ?? NaN;
|
|
33
|
+
const priceDisplay = {
|
|
34
|
+
monthly: {
|
|
35
|
+
amount: `$${priceUnitAmount / 100}`,
|
|
36
|
+
label: "/ month"
|
|
37
|
+
},
|
|
38
|
+
annually: {
|
|
39
|
+
amount: `$${annualPriceUnitAmount / 100 / 12}`,
|
|
40
|
+
originalAmount: `$${priceUnitAmount / 100}`,
|
|
41
|
+
label: "/ month, billed annually",
|
|
42
|
+
discountLabel: plan.annualPriceUnitAmount ? `Save ${Math.floor((priceUnitAmount - annualPriceUnitAmount / 12) / priceUnitAmount * 100).toFixed(0)}%` : ""
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
46
|
+
className: "w-full max-w-3xl mx-auto px-4 py-8",
|
|
47
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
48
|
+
className: "flex flex-col items-center gap-8",
|
|
49
|
+
children: [
|
|
50
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
51
|
+
className: "text-center space-y-2",
|
|
52
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h2", {
|
|
53
|
+
className: "text-3xl font-bold tracking-tight sm:text-4xl",
|
|
54
|
+
children: t("billing.plans.title", "Simple, transparent pricing")
|
|
55
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
56
|
+
className: "text-muted-foreground text-lg",
|
|
57
|
+
children: t("billing.plans.subtitle", "Choose the plan that's right for you")
|
|
58
|
+
})]
|
|
59
|
+
}),
|
|
60
|
+
hasAnnualOption && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src_components_ui_tabs.Tabs, {
|
|
61
|
+
defaultValue: "annually",
|
|
62
|
+
value: billingInterval,
|
|
63
|
+
onValueChange: (v) => setBillingInterval(v),
|
|
64
|
+
className: "w-full max-w-xs",
|
|
65
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_src_components_ui_tabs.TabsList, {
|
|
66
|
+
className: "grid w-full grid-cols-2",
|
|
67
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src_components_ui_tabs.TabsTrigger, {
|
|
68
|
+
value: "monthly",
|
|
69
|
+
children: "Monthly"
|
|
70
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_src_components_ui_tabs.TabsTrigger, {
|
|
71
|
+
value: "annually",
|
|
72
|
+
className: "relative",
|
|
73
|
+
children: ["Annually", priceDisplay.annually.discountLabel && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
74
|
+
className: "absolute -top-3 -right-3 px-1.5 py-0.5 rounded-full bg-green-500 text-[10px] text-white font-medium transform rotate-12",
|
|
75
|
+
children: priceDisplay.annually.discountLabel
|
|
76
|
+
})]
|
|
77
|
+
})]
|
|
78
|
+
})
|
|
79
|
+
}),
|
|
80
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_src_components_ui_card.Card, {
|
|
81
|
+
className: require_src_lib_utils.cn("w-full max-w-md border-2 border-primary"),
|
|
82
|
+
children: [
|
|
83
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_src_components_ui_card.CardHeader, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src_components_ui_card.CardTitle, {
|
|
84
|
+
className: "flex justify-between items-start",
|
|
85
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
86
|
+
className: "text-xl font-bold",
|
|
87
|
+
children: plan.name
|
|
88
|
+
})
|
|
89
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src_components_ui_card.CardDescription, { children: isAnnual ? "Perfect for long-term commitment" : "Flexible monthly billing" })] }),
|
|
90
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_src_components_ui_card.CardContent, {
|
|
91
|
+
className: "space-y-6",
|
|
92
|
+
children: [
|
|
93
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
94
|
+
className: "flex items-baseline gap-1",
|
|
95
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
96
|
+
className: "text-4xl font-bold",
|
|
97
|
+
children: isAnnual ? priceDisplay.annually.amount : priceDisplay.monthly.amount
|
|
98
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
99
|
+
className: "text-muted-foreground",
|
|
100
|
+
children: isAnnual ? priceDisplay.annually.label : priceDisplay.monthly.label
|
|
101
|
+
})]
|
|
102
|
+
}),
|
|
103
|
+
isAnnual && priceDisplay.annually.originalAmount && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("p", {
|
|
104
|
+
className: "text-sm text-green-500 line-through",
|
|
105
|
+
children: [
|
|
106
|
+
" ",
|
|
107
|
+
priceDisplay.annually.originalAmount,
|
|
108
|
+
" / month"
|
|
109
|
+
]
|
|
110
|
+
}),
|
|
111
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
112
|
+
className: "space-y-3",
|
|
113
|
+
children: features.map((feature) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
114
|
+
className: "flex items-center gap-2",
|
|
115
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
116
|
+
className: "h-5 w-5 rounded-full bg-primary/10 flex items-center justify-center shrink-0",
|
|
117
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.Check, { className: "h-3 w-3 text-primary" })
|
|
118
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
119
|
+
className: "text-sm text-muted-foreground",
|
|
120
|
+
children: feature
|
|
121
|
+
})]
|
|
122
|
+
}, feature))
|
|
123
|
+
})
|
|
124
|
+
]
|
|
125
|
+
}),
|
|
126
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src_components_ui_card.CardFooter, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.Button, {
|
|
127
|
+
className: "w-full",
|
|
128
|
+
color: "primary",
|
|
129
|
+
size: "lg",
|
|
130
|
+
as: "a",
|
|
131
|
+
href: `${{}.env.VITE_SERVER_URL}/stripe/checkout/${currentPriceId}`,
|
|
132
|
+
children: isAnnual ? "Subscribe Annually" : "Subscribe Monthly"
|
|
133
|
+
}) })
|
|
134
|
+
]
|
|
135
|
+
}),
|
|
136
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
137
|
+
className: "text-balance text-center text-xs text-muted-foreground [&_a]:underline [&_a]:underline-offset-4 [&_a]:hover:text-primary",
|
|
138
|
+
children: [
|
|
139
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
140
|
+
href: termsOfServiceUrl,
|
|
141
|
+
rel: "noopener noreferrer",
|
|
142
|
+
target: "_blank",
|
|
143
|
+
children: t("common.termsOfService", "Terms of Service")
|
|
144
|
+
}),
|
|
145
|
+
" ",
|
|
146
|
+
t("common.and", "and"),
|
|
147
|
+
" ",
|
|
148
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_router.Link, {
|
|
149
|
+
to: "/privacy",
|
|
150
|
+
children: t("common.privacyPolicy", "Privacy Policy")
|
|
151
|
+
})
|
|
152
|
+
]
|
|
153
|
+
})
|
|
154
|
+
]
|
|
155
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
156
|
+
className: "fixed bottom-4 left-4",
|
|
157
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_heroui_react.Button, {
|
|
158
|
+
variant: "light",
|
|
159
|
+
onPress: handleLogout,
|
|
160
|
+
className: "gap-2",
|
|
161
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.LogOut, { className: "h-4 w-4" }), t("sidebar.user.logout", "Log out")]
|
|
162
|
+
})
|
|
163
|
+
})]
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
//#endregion
|
|
167
|
+
exports.BillingSinglePlanSelect = BillingSinglePlanSelect;
|
|
168
|
+
|
|
169
|
+
//# sourceMappingURL=BillingSinglePlanSelect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BillingSinglePlanSelect.js","names":["authClient","Tabs","TabsList","TabsTrigger","Card","cn","CardHeader","CardTitle","CardDescription","CardContent","Check","CardFooter","Button","Link","LogOut"],"sources":["../../../../../src/modules/billing/components/BillingSinglePlanSelect.tsx"],"sourcesContent":["import { Button } from \"@heroui/react\";\r\nimport type { StripePlan } from \"@m5kdev/commons/modules/billing/billing.types\";\r\nimport { authClient } from \"@m5kdev/frontend/modules/auth/auth.lib\";\r\nimport { Check, LogOut } from \"lucide-react\";\r\nimport { useState } from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { Link, useNavigate } from \"react-router\";\r\nimport {\r\n Card,\r\n CardContent,\r\n CardDescription,\r\n CardFooter,\r\n CardHeader,\r\n CardTitle,\r\n} from \"../../../components/ui/card\";\r\nimport { Tabs, TabsList, TabsTrigger } from \"../../../components/ui/tabs\";\r\nimport { cn } from \"../../../lib/utils\";\r\n\r\nexport interface BillingSinglePlanSelectProps {\r\n plan: StripePlan;\r\n features?: string[];\r\n /** URL for the Terms of Service link. Override for your app's legal page. */\r\n termsOfServiceUrl?: string;\r\n}\r\n\r\nexport function BillingSinglePlanSelect({\r\n plan,\r\n termsOfServiceUrl,\r\n features = [\r\n \"Unlimited access to all features\",\r\n \"Priority support\",\r\n \"Early access to new features\",\r\n \"Secure data storage\",\r\n \"Cancel anytime\",\r\n ],\r\n}: BillingSinglePlanSelectProps) {\r\n const { t } = useTranslation(\"web-ui\");\r\n const navigate = useNavigate();\r\n const [billingInterval, setBillingInterval] = useState<\"monthly\" | \"annually\">(\"annually\");\r\n\r\n const handleLogout = async () => {\r\n await authClient.signOut();\r\n navigate(\"/login\");\r\n };\r\n\r\n const isAnnual = billingInterval === \"annually\";\r\n const currentPriceId = isAnnual ? plan.annualDiscountPriceId : plan.priceId;\r\n\r\n // Fallback if no annual price ID exists\r\n const hasAnnualOption = !!plan.annualDiscountPriceId;\r\n\r\n const priceUnitAmount = plan.priceUnitAmount ?? Number.NaN;\r\n const annualPriceUnitAmount = plan.annualPriceUnitAmount ?? Number.NaN;\r\n\r\n const priceDisplay = {\r\n monthly: {\r\n amount: `$${priceUnitAmount / 100}`,\r\n label: \"/ month\",\r\n },\r\n annually: {\r\n amount: `$${annualPriceUnitAmount / 100 / 12}`,\r\n originalAmount: `$${priceUnitAmount / 100}`,\r\n label: \"/ month, billed annually\",\r\n discountLabel: plan.annualPriceUnitAmount\r\n ? `Save ${Math.floor(((priceUnitAmount - annualPriceUnitAmount / 12) / priceUnitAmount) * 100).toFixed(0)}%`\r\n : \"\",\r\n },\r\n };\r\n\r\n return (\r\n <div className=\"w-full max-w-3xl mx-auto px-4 py-8\">\r\n <div className=\"flex flex-col items-center gap-8\">\r\n <div className=\"text-center space-y-2\">\r\n <h2 className=\"text-3xl font-bold tracking-tight sm:text-4xl\">\r\n {t(\"billing.plans.title\", \"Simple, transparent pricing\")}\r\n </h2>\r\n <p className=\"text-muted-foreground text-lg\">\r\n {t(\"billing.plans.subtitle\", \"Choose the plan that's right for you\")}\r\n </p>\r\n </div>\r\n\r\n {hasAnnualOption && (\r\n <Tabs\r\n defaultValue=\"annually\"\r\n value={billingInterval}\r\n onValueChange={(v) => setBillingInterval(v as \"monthly\" | \"annually\")}\r\n className=\"w-full max-w-xs\"\r\n >\r\n <TabsList className=\"grid w-full grid-cols-2\">\r\n <TabsTrigger value=\"monthly\">Monthly</TabsTrigger>\r\n <TabsTrigger value=\"annually\" className=\"relative\">\r\n Annually\r\n {priceDisplay.annually.discountLabel && (\r\n <span className=\"absolute -top-3 -right-3 px-1.5 py-0.5 rounded-full bg-green-500 text-[10px] text-white font-medium transform rotate-12\">\r\n {priceDisplay.annually.discountLabel}\r\n </span>\r\n )}\r\n </TabsTrigger>\r\n </TabsList>\r\n </Tabs>\r\n )}\r\n\r\n <Card className={cn(\"w-full max-w-md border-2 border-primary\")}>\r\n <CardHeader>\r\n <CardTitle className=\"flex justify-between items-start\">\r\n <span className=\"text-xl font-bold\">{plan.name}</span>\r\n </CardTitle>\r\n <CardDescription>\r\n {isAnnual ? \"Perfect for long-term commitment\" : \"Flexible monthly billing\"}\r\n </CardDescription>\r\n </CardHeader>\r\n\r\n <CardContent className=\"space-y-6\">\r\n <div className=\"flex items-baseline gap-1\">\r\n <span className=\"text-4xl font-bold\">\r\n {isAnnual ? priceDisplay.annually.amount : priceDisplay.monthly.amount}\r\n </span>\r\n <span className=\"text-muted-foreground\">\r\n {isAnnual ? priceDisplay.annually.label : priceDisplay.monthly.label}\r\n </span>\r\n </div>\r\n\r\n {isAnnual && priceDisplay.annually.originalAmount && (\r\n <p className=\"text-sm text-green-500 line-through\">\r\n {\" \"}\r\n {priceDisplay.annually.originalAmount} / month\r\n </p>\r\n )}\r\n\r\n <div className=\"space-y-3\">\r\n {features.map((feature) => (\r\n <div key={feature} className=\"flex items-center gap-2\">\r\n <div className=\"h-5 w-5 rounded-full bg-primary/10 flex items-center justify-center shrink-0\">\r\n <Check className=\"h-3 w-3 text-primary\" />\r\n </div>\r\n <span className=\"text-sm text-muted-foreground\">{feature}</span>\r\n </div>\r\n ))}\r\n </div>\r\n </CardContent>\r\n\r\n <CardFooter>\r\n <Button\r\n className=\"w-full\"\r\n color=\"primary\"\r\n size=\"lg\"\r\n as=\"a\"\r\n href={`${import.meta.env.VITE_SERVER_URL}/stripe/checkout/${currentPriceId}`}\r\n >\r\n {isAnnual ? \"Subscribe Annually\" : \"Subscribe Monthly\"}\r\n </Button>\r\n </CardFooter>\r\n </Card>\r\n\r\n <div className=\"text-balance text-center text-xs text-muted-foreground [&_a]:underline [&_a]:underline-offset-4 [&_a]:hover:text-primary\">\r\n <a href={termsOfServiceUrl} rel=\"noopener noreferrer\" target=\"_blank\">\r\n {t(\"common.termsOfService\", \"Terms of Service\")}\r\n </a>{\" \"}\r\n {t(\"common.and\", \"and\")}{\" \"}\r\n <Link to=\"/privacy\">{t(\"common.privacyPolicy\", \"Privacy Policy\")}</Link>\r\n </div>\r\n </div>\r\n\r\n <div className=\"fixed bottom-4 left-4\">\r\n <Button variant=\"light\" onPress={handleLogout} className=\"gap-2\">\r\n <LogOut className=\"h-4 w-4\" />\r\n {t(\"sidebar.user.logout\", \"Log out\")}\r\n </Button>\r\n </div>\r\n </div>\r\n );\r\n}\r\n"],"mappings":"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"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { cn } from "../../../lib/utils.mjs";
|
|
2
2
|
import { Card as Card$1, CardContent, CardDescription, CardFooter, CardHeader as CardHeader$1, CardTitle } from "../../../components/ui/card.mjs";
|
|
3
3
|
import { Tabs, TabsList, TabsTrigger } from "../../../components/ui/tabs.mjs";
|
|
4
|
-
import { Check, LogOut } from "lucide-react";
|
|
5
4
|
import { useState } from "react";
|
|
6
|
-
import { useTranslation } from "react-i18next";
|
|
7
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
import { Link, useNavigate } from "react-router";
|
|
9
5
|
import { Button } from "@heroui/react";
|
|
6
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
+
import { Check, LogOut } from "lucide-react";
|
|
8
|
+
import { useTranslation } from "react-i18next";
|
|
9
|
+
import { Link as Link$1, useNavigate } from "react-router";
|
|
10
10
|
import { authClient } from "@m5kdev/frontend/modules/auth/auth.lib";
|
|
11
11
|
//#region src/modules/billing/components/BillingSinglePlanSelect.tsx
|
|
12
12
|
function BillingSinglePlanSelect({ plan, termsOfServiceUrl, features = [
|
|
@@ -143,7 +143,7 @@ function BillingSinglePlanSelect({ plan, termsOfServiceUrl, features = [
|
|
|
143
143
|
" ",
|
|
144
144
|
t("common.and", "and"),
|
|
145
145
|
" ",
|
|
146
|
-
/* @__PURE__ */ jsx(Link, {
|
|
146
|
+
/* @__PURE__ */ jsx(Link$1, {
|
|
147
147
|
to: "/privacy",
|
|
148
148
|
children: t("common.privacyPolicy", "Privacy Policy")
|
|
149
149
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BillingSinglePlanSelect.mjs","names":["Card","CardHeader"],"sources":["../../../../../src/modules/billing/components/BillingSinglePlanSelect.tsx"],"sourcesContent":["import { Button } from \"@heroui/react\";\r\nimport type { StripePlan } from \"@m5kdev/commons/modules/billing/billing.types\";\r\nimport { authClient } from \"@m5kdev/frontend/modules/auth/auth.lib\";\r\nimport { Check, LogOut } from \"lucide-react\";\r\nimport { useState } from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { Link, useNavigate } from \"react-router\";\r\nimport {\r\n Card,\r\n CardContent,\r\n CardDescription,\r\n CardFooter,\r\n CardHeader,\r\n CardTitle,\r\n} from \"../../../components/ui/card\";\r\nimport { Tabs, TabsList, TabsTrigger } from \"../../../components/ui/tabs\";\r\nimport { cn } from \"../../../lib/utils\";\r\n\r\nexport interface BillingSinglePlanSelectProps {\r\n plan: StripePlan;\r\n features?: string[];\r\n /** URL for the Terms of Service link. Override for your app's legal page. */\r\n termsOfServiceUrl?: string;\r\n}\r\n\r\nexport function BillingSinglePlanSelect({\r\n plan,\r\n termsOfServiceUrl,\r\n features = [\r\n \"Unlimited access to all features\",\r\n \"Priority support\",\r\n \"Early access to new features\",\r\n \"Secure data storage\",\r\n \"Cancel anytime\",\r\n ],\r\n}: BillingSinglePlanSelectProps) {\r\n const { t } = useTranslation(\"web-ui\");\r\n const navigate = useNavigate();\r\n const [billingInterval, setBillingInterval] = useState<\"monthly\" | \"annually\">(\"annually\");\r\n\r\n const handleLogout = async () => {\r\n await authClient.signOut();\r\n navigate(\"/login\");\r\n };\r\n\r\n const isAnnual = billingInterval === \"annually\";\r\n const currentPriceId = isAnnual ? plan.annualDiscountPriceId : plan.priceId;\r\n\r\n // Fallback if no annual price ID exists\r\n const hasAnnualOption = !!plan.annualDiscountPriceId;\r\n\r\n const priceUnitAmount = plan.priceUnitAmount ?? Number.NaN;\r\n const annualPriceUnitAmount = plan.annualPriceUnitAmount ?? Number.NaN;\r\n\r\n const priceDisplay = {\r\n monthly: {\r\n amount: `$${priceUnitAmount / 100}`,\r\n label: \"/ month\",\r\n },\r\n annually: {\r\n amount: `$${annualPriceUnitAmount / 100 / 12}`,\r\n originalAmount: `$${priceUnitAmount / 100}`,\r\n label: \"/ month, billed annually\",\r\n discountLabel: plan.annualPriceUnitAmount\r\n ? `Save ${Math.floor(((priceUnitAmount - annualPriceUnitAmount / 12) / priceUnitAmount) * 100).toFixed(0)}%`\r\n : \"\",\r\n },\r\n };\r\n\r\n return (\r\n <div className=\"w-full max-w-3xl mx-auto px-4 py-8\">\r\n <div className=\"flex flex-col items-center gap-8\">\r\n <div className=\"text-center space-y-2\">\r\n <h2 className=\"text-3xl font-bold tracking-tight sm:text-4xl\">\r\n {t(\"billing.plans.title\", \"Simple, transparent pricing\")}\r\n </h2>\r\n <p className=\"text-muted-foreground text-lg\">\r\n {t(\"billing.plans.subtitle\", \"Choose the plan that's right for you\")}\r\n </p>\r\n </div>\r\n\r\n {hasAnnualOption && (\r\n <Tabs\r\n defaultValue=\"annually\"\r\n value={billingInterval}\r\n onValueChange={(v) => setBillingInterval(v as \"monthly\" | \"annually\")}\r\n className=\"w-full max-w-xs\"\r\n >\r\n <TabsList className=\"grid w-full grid-cols-2\">\r\n <TabsTrigger value=\"monthly\">Monthly</TabsTrigger>\r\n <TabsTrigger value=\"annually\" className=\"relative\">\r\n Annually\r\n {priceDisplay.annually.discountLabel && (\r\n <span className=\"absolute -top-3 -right-3 px-1.5 py-0.5 rounded-full bg-green-500 text-[10px] text-white font-medium transform rotate-12\">\r\n {priceDisplay.annually.discountLabel}\r\n </span>\r\n )}\r\n </TabsTrigger>\r\n </TabsList>\r\n </Tabs>\r\n )}\r\n\r\n <Card className={cn(\"w-full max-w-md border-2 border-primary\")}>\r\n <CardHeader>\r\n <CardTitle className=\"flex justify-between items-start\">\r\n <span className=\"text-xl font-bold\">{plan.name}</span>\r\n </CardTitle>\r\n <CardDescription>\r\n {isAnnual ? \"Perfect for long-term commitment\" : \"Flexible monthly billing\"}\r\n </CardDescription>\r\n </CardHeader>\r\n\r\n <CardContent className=\"space-y-6\">\r\n <div className=\"flex items-baseline gap-1\">\r\n <span className=\"text-4xl font-bold\">\r\n {isAnnual ? priceDisplay.annually.amount : priceDisplay.monthly.amount}\r\n </span>\r\n <span className=\"text-muted-foreground\">\r\n {isAnnual ? priceDisplay.annually.label : priceDisplay.monthly.label}\r\n </span>\r\n </div>\r\n\r\n {isAnnual && priceDisplay.annually.originalAmount && (\r\n <p className=\"text-sm text-green-500 line-through\">\r\n {\" \"}\r\n {priceDisplay.annually.originalAmount} / month\r\n </p>\r\n )}\r\n\r\n <div className=\"space-y-3\">\r\n {features.map((feature) => (\r\n <div key={feature} className=\"flex items-center gap-2\">\r\n <div className=\"h-5 w-5 rounded-full bg-primary/10 flex items-center justify-center shrink-0\">\r\n <Check className=\"h-3 w-3 text-primary\" />\r\n </div>\r\n <span className=\"text-sm text-muted-foreground\">{feature}</span>\r\n </div>\r\n ))}\r\n </div>\r\n </CardContent>\r\n\r\n <CardFooter>\r\n <Button\r\n className=\"w-full\"\r\n color=\"primary\"\r\n size=\"lg\"\r\n as=\"a\"\r\n href={`${import.meta.env.VITE_SERVER_URL}/stripe/checkout/${currentPriceId}`}\r\n >\r\n {isAnnual ? \"Subscribe Annually\" : \"Subscribe Monthly\"}\r\n </Button>\r\n </CardFooter>\r\n </Card>\r\n\r\n <div className=\"text-balance text-center text-xs text-muted-foreground [&_a]:underline [&_a]:underline-offset-4 [&_a]:hover:text-primary\">\r\n <a href={termsOfServiceUrl} rel=\"noopener noreferrer\" target=\"_blank\">\r\n {t(\"common.termsOfService\", \"Terms of Service\")}\r\n </a>{\" \"}\r\n {t(\"common.and\", \"and\")}{\" \"}\r\n <Link to=\"/privacy\">{t(\"common.privacyPolicy\", \"Privacy Policy\")}</Link>\r\n </div>\r\n </div>\r\n\r\n <div className=\"fixed bottom-4 left-4\">\r\n <Button variant=\"light\" onPress={handleLogout} className=\"gap-2\">\r\n <LogOut className=\"h-4 w-4\" />\r\n {t(\"sidebar.user.logout\", \"Log out\")}\r\n </Button>\r\n </div>\r\n </div>\r\n );\r\n}\r\n"],"mappings":";;;;;;;;;;;AAyBA,SAAgB,wBAAwB,EACtC,MACA,mBACA,WAAW;CACT;CACA;CACA;CACA;CACA;CACD,IAC8B;CAC/B,MAAM,EAAE,MAAM,eAAe,SAAS;CACtC,MAAM,WAAW,aAAa;CAC9B,MAAM,CAAC,iBAAiB,sBAAsB,SAAiC,WAAW;CAE1F,MAAM,eAAe,YAAY;AAC/B,QAAM,WAAW,SAAS;AAC1B,WAAS,SAAS;;CAGpB,MAAM,WAAW,oBAAoB;CACrC,MAAM,iBAAiB,WAAW,KAAK,wBAAwB,KAAK;CAGpE,MAAM,kBAAkB,CAAC,CAAC,KAAK;CAE/B,MAAM,kBAAkB,KAAK,mBAAmB;CAChD,MAAM,wBAAwB,KAAK,yBAAyB;CAE5D,MAAM,eAAe;EACnB,SAAS;GACP,QAAQ,IAAI,kBAAkB;GAC9B,OAAO;GACR;EACD,UAAU;GACR,QAAQ,IAAI,wBAAwB,MAAM;GAC1C,gBAAgB,IAAI,kBAAkB;GACtC,OAAO;GACP,eAAe,KAAK,wBAChB,QAAQ,KAAK,OAAQ,kBAAkB,wBAAwB,MAAM,kBAAmB,IAAI,CAAC,QAAQ,EAAE,CAAC,KACxG;GACL;EACF;AAED,QACE,qBAAC,OAAD;EAAK,WAAU;YAAf,CACE,qBAAC,OAAD;GAAK,WAAU;aAAf;IACE,qBAAC,OAAD;KAAK,WAAU;eAAf,CACE,oBAAC,MAAD;MAAI,WAAU;gBACX,EAAE,uBAAuB,8BAA8B;MACrD,CAAA,EACL,oBAAC,KAAD;MAAG,WAAU;gBACV,EAAE,0BAA0B,uCAAuC;MAClE,CAAA,CACA;;IAEL,mBACC,oBAAC,MAAD;KACE,cAAa;KACb,OAAO;KACP,gBAAgB,MAAM,mBAAmB,EAA4B;KACrE,WAAU;eAEV,qBAAC,UAAD;MAAU,WAAU;gBAApB,CACE,oBAAC,aAAD;OAAa,OAAM;iBAAU;OAAqB,CAAA,EAClD,qBAAC,aAAD;OAAa,OAAM;OAAW,WAAU;iBAAxC,CAAmD,YAEhD,aAAa,SAAS,iBACrB,oBAAC,QAAD;QAAM,WAAU;kBACb,aAAa,SAAS;QAClB,CAAA,CAEG;SACL;;KACN,CAAA;IAGT,qBAACA,QAAD;KAAM,WAAW,GAAG,0CAA0C;eAA9D;MACE,qBAACC,cAAD,EAAA,UAAA,CACE,oBAAC,WAAD;OAAW,WAAU;iBACnB,oBAAC,QAAD;QAAM,WAAU;kBAAqB,KAAK;QAAY,CAAA;OAC5C,CAAA,EACZ,oBAAC,iBAAD,EAAA,UACG,WAAW,qCAAqC,4BACjC,CAAA,CACP,EAAA,CAAA;MAEb,qBAAC,aAAD;OAAa,WAAU;iBAAvB;QACE,qBAAC,OAAD;SAAK,WAAU;mBAAf,CACE,oBAAC,QAAD;UAAM,WAAU;oBACb,WAAW,aAAa,SAAS,SAAS,aAAa,QAAQ;UAC3D,CAAA,EACP,oBAAC,QAAD;UAAM,WAAU;oBACb,WAAW,aAAa,SAAS,QAAQ,aAAa,QAAQ;UAC1D,CAAA,CACH;;QAEL,YAAY,aAAa,SAAS,kBACjC,qBAAC,KAAD;SAAG,WAAU;mBAAb;UACG;UACA,aAAa,SAAS;UAAe;UACpC;;QAGN,oBAAC,OAAD;SAAK,WAAU;mBACZ,SAAS,KAAK,YACb,qBAAC,OAAD;UAAmB,WAAU;oBAA7B,CACE,oBAAC,OAAD;WAAK,WAAU;qBACb,oBAAC,OAAD,EAAO,WAAU,wBAAyB,CAAA;WACtC,CAAA,EACN,oBAAC,QAAD;WAAM,WAAU;qBAAiC;WAAe,CAAA,CAC5D;YALI,QAKJ,CACN;SACE,CAAA;QACM;;MAEd,oBAAC,YAAD,EAAA,UACE,oBAAC,QAAD;OACE,WAAU;OACV,OAAM;OACN,MAAK;OACL,IAAG;OACH,MAAM,GAAG,OAAO,KAAK,IAAI,gBAAgB,mBAAmB;iBAE3D,WAAW,uBAAuB;OAC5B,CAAA,EACE,CAAA;MACR;;IAEP,qBAAC,OAAD;KAAK,WAAU;eAAf;MACE,oBAAC,KAAD;OAAG,MAAM;OAAmB,KAAI;OAAsB,QAAO;iBAC1D,EAAE,yBAAyB,mBAAmB;OAC7C,CAAA;MAAC;MACJ,EAAE,cAAc,MAAM;MAAE;MACzB,
|
|
1
|
+
{"version":3,"file":"BillingSinglePlanSelect.mjs","names":["Card","CardHeader","Link"],"sources":["../../../../../src/modules/billing/components/BillingSinglePlanSelect.tsx"],"sourcesContent":["import { Button } from \"@heroui/react\";\r\nimport type { StripePlan } from \"@m5kdev/commons/modules/billing/billing.types\";\r\nimport { authClient } from \"@m5kdev/frontend/modules/auth/auth.lib\";\r\nimport { Check, LogOut } from \"lucide-react\";\r\nimport { useState } from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { Link, useNavigate } from \"react-router\";\r\nimport {\r\n Card,\r\n CardContent,\r\n CardDescription,\r\n CardFooter,\r\n CardHeader,\r\n CardTitle,\r\n} from \"../../../components/ui/card\";\r\nimport { Tabs, TabsList, TabsTrigger } from \"../../../components/ui/tabs\";\r\nimport { cn } from \"../../../lib/utils\";\r\n\r\nexport interface BillingSinglePlanSelectProps {\r\n plan: StripePlan;\r\n features?: string[];\r\n /** URL for the Terms of Service link. Override for your app's legal page. */\r\n termsOfServiceUrl?: string;\r\n}\r\n\r\nexport function BillingSinglePlanSelect({\r\n plan,\r\n termsOfServiceUrl,\r\n features = [\r\n \"Unlimited access to all features\",\r\n \"Priority support\",\r\n \"Early access to new features\",\r\n \"Secure data storage\",\r\n \"Cancel anytime\",\r\n ],\r\n}: BillingSinglePlanSelectProps) {\r\n const { t } = useTranslation(\"web-ui\");\r\n const navigate = useNavigate();\r\n const [billingInterval, setBillingInterval] = useState<\"monthly\" | \"annually\">(\"annually\");\r\n\r\n const handleLogout = async () => {\r\n await authClient.signOut();\r\n navigate(\"/login\");\r\n };\r\n\r\n const isAnnual = billingInterval === \"annually\";\r\n const currentPriceId = isAnnual ? plan.annualDiscountPriceId : plan.priceId;\r\n\r\n // Fallback if no annual price ID exists\r\n const hasAnnualOption = !!plan.annualDiscountPriceId;\r\n\r\n const priceUnitAmount = plan.priceUnitAmount ?? Number.NaN;\r\n const annualPriceUnitAmount = plan.annualPriceUnitAmount ?? Number.NaN;\r\n\r\n const priceDisplay = {\r\n monthly: {\r\n amount: `$${priceUnitAmount / 100}`,\r\n label: \"/ month\",\r\n },\r\n annually: {\r\n amount: `$${annualPriceUnitAmount / 100 / 12}`,\r\n originalAmount: `$${priceUnitAmount / 100}`,\r\n label: \"/ month, billed annually\",\r\n discountLabel: plan.annualPriceUnitAmount\r\n ? `Save ${Math.floor(((priceUnitAmount - annualPriceUnitAmount / 12) / priceUnitAmount) * 100).toFixed(0)}%`\r\n : \"\",\r\n },\r\n };\r\n\r\n return (\r\n <div className=\"w-full max-w-3xl mx-auto px-4 py-8\">\r\n <div className=\"flex flex-col items-center gap-8\">\r\n <div className=\"text-center space-y-2\">\r\n <h2 className=\"text-3xl font-bold tracking-tight sm:text-4xl\">\r\n {t(\"billing.plans.title\", \"Simple, transparent pricing\")}\r\n </h2>\r\n <p className=\"text-muted-foreground text-lg\">\r\n {t(\"billing.plans.subtitle\", \"Choose the plan that's right for you\")}\r\n </p>\r\n </div>\r\n\r\n {hasAnnualOption && (\r\n <Tabs\r\n defaultValue=\"annually\"\r\n value={billingInterval}\r\n onValueChange={(v) => setBillingInterval(v as \"monthly\" | \"annually\")}\r\n className=\"w-full max-w-xs\"\r\n >\r\n <TabsList className=\"grid w-full grid-cols-2\">\r\n <TabsTrigger value=\"monthly\">Monthly</TabsTrigger>\r\n <TabsTrigger value=\"annually\" className=\"relative\">\r\n Annually\r\n {priceDisplay.annually.discountLabel && (\r\n <span className=\"absolute -top-3 -right-3 px-1.5 py-0.5 rounded-full bg-green-500 text-[10px] text-white font-medium transform rotate-12\">\r\n {priceDisplay.annually.discountLabel}\r\n </span>\r\n )}\r\n </TabsTrigger>\r\n </TabsList>\r\n </Tabs>\r\n )}\r\n\r\n <Card className={cn(\"w-full max-w-md border-2 border-primary\")}>\r\n <CardHeader>\r\n <CardTitle className=\"flex justify-between items-start\">\r\n <span className=\"text-xl font-bold\">{plan.name}</span>\r\n </CardTitle>\r\n <CardDescription>\r\n {isAnnual ? \"Perfect for long-term commitment\" : \"Flexible monthly billing\"}\r\n </CardDescription>\r\n </CardHeader>\r\n\r\n <CardContent className=\"space-y-6\">\r\n <div className=\"flex items-baseline gap-1\">\r\n <span className=\"text-4xl font-bold\">\r\n {isAnnual ? priceDisplay.annually.amount : priceDisplay.monthly.amount}\r\n </span>\r\n <span className=\"text-muted-foreground\">\r\n {isAnnual ? priceDisplay.annually.label : priceDisplay.monthly.label}\r\n </span>\r\n </div>\r\n\r\n {isAnnual && priceDisplay.annually.originalAmount && (\r\n <p className=\"text-sm text-green-500 line-through\">\r\n {\" \"}\r\n {priceDisplay.annually.originalAmount} / month\r\n </p>\r\n )}\r\n\r\n <div className=\"space-y-3\">\r\n {features.map((feature) => (\r\n <div key={feature} className=\"flex items-center gap-2\">\r\n <div className=\"h-5 w-5 rounded-full bg-primary/10 flex items-center justify-center shrink-0\">\r\n <Check className=\"h-3 w-3 text-primary\" />\r\n </div>\r\n <span className=\"text-sm text-muted-foreground\">{feature}</span>\r\n </div>\r\n ))}\r\n </div>\r\n </CardContent>\r\n\r\n <CardFooter>\r\n <Button\r\n className=\"w-full\"\r\n color=\"primary\"\r\n size=\"lg\"\r\n as=\"a\"\r\n href={`${import.meta.env.VITE_SERVER_URL}/stripe/checkout/${currentPriceId}`}\r\n >\r\n {isAnnual ? \"Subscribe Annually\" : \"Subscribe Monthly\"}\r\n </Button>\r\n </CardFooter>\r\n </Card>\r\n\r\n <div className=\"text-balance text-center text-xs text-muted-foreground [&_a]:underline [&_a]:underline-offset-4 [&_a]:hover:text-primary\">\r\n <a href={termsOfServiceUrl} rel=\"noopener noreferrer\" target=\"_blank\">\r\n {t(\"common.termsOfService\", \"Terms of Service\")}\r\n </a>{\" \"}\r\n {t(\"common.and\", \"and\")}{\" \"}\r\n <Link to=\"/privacy\">{t(\"common.privacyPolicy\", \"Privacy Policy\")}</Link>\r\n </div>\r\n </div>\r\n\r\n <div className=\"fixed bottom-4 left-4\">\r\n <Button variant=\"light\" onPress={handleLogout} className=\"gap-2\">\r\n <LogOut className=\"h-4 w-4\" />\r\n {t(\"sidebar.user.logout\", \"Log out\")}\r\n </Button>\r\n </div>\r\n </div>\r\n );\r\n}\r\n"],"mappings":"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"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ColumnItem } from "./table.types.js";
|
|
2
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import { ColumnOrderState, VisibilityState } from "@tanstack/react-table";
|
|
4
|
+
|
|
5
|
+
//#region src/modules/table/components/ColumnOrderAndVisibility.d.ts
|
|
6
|
+
interface ColumnOrderAndVisibilityProps {
|
|
7
|
+
layout: ColumnItem[];
|
|
8
|
+
onChangeOrder: (order: ColumnOrderState) => void;
|
|
9
|
+
onChangeVisibility: (visibility: VisibilityState) => void;
|
|
10
|
+
onClose: () => void;
|
|
11
|
+
}
|
|
12
|
+
declare const ColumnOrderAndVisibility: ({
|
|
13
|
+
layout,
|
|
14
|
+
onChangeOrder,
|
|
15
|
+
onChangeVisibility,
|
|
16
|
+
onClose
|
|
17
|
+
}: ColumnOrderAndVisibilityProps) => _$react_jsx_runtime0.JSX.Element;
|
|
18
|
+
//#endregion
|
|
19
|
+
export { ColumnOrderAndVisibility };
|
|
20
|
+
//# sourceMappingURL=ColumnOrderAndVisibility.d.ts.map
|