@m5kdev/web-ui 0.8.6 → 0.8.8
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.mts +10 -10
- 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.mts +6 -6
- 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.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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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.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/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 +1 -1
- 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/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/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/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/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/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/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.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/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/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/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/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/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.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/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/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.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/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/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.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/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/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/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/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 +1 -1
- 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/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/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/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/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/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/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/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/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/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/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/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/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 +1 -1
- 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/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 +1 -1
- 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 +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/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/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/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/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/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/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/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/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/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/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/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 +1 -1
- 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/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/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 +110 -75
- 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/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 +125 -35
|
@@ -0,0 +1,87 @@
|
|
|
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 sonner = require("sonner");
|
|
6
|
+
//#region src/modules/auth/components/PreferencesEditor.tsx
|
|
7
|
+
function PreferencesEditor({ schema, controls, values, isLoading, isPending, labels, updateValues }) {
|
|
8
|
+
function handleSubmit(event) {
|
|
9
|
+
event.preventDefault();
|
|
10
|
+
const formData = new FormData(event.currentTarget);
|
|
11
|
+
const keys = Object.keys(controls);
|
|
12
|
+
const raw = {};
|
|
13
|
+
for (const key of keys) {
|
|
14
|
+
const control = controls[key];
|
|
15
|
+
if (control.element === "switch") raw[String(key)] = formData.get(String(key)) != null;
|
|
16
|
+
if (control.element === "select") raw[String(key)] = formData.get(String(key));
|
|
17
|
+
if (control.element === "number") {
|
|
18
|
+
const value = formData.get(String(key));
|
|
19
|
+
raw[String(key)] = value == null || value === "" ? void 0 : Number(value);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
const result = schema.safeParse(raw);
|
|
23
|
+
if (result.success) updateValues(result.data, {
|
|
24
|
+
noOptimisticUpdate: true,
|
|
25
|
+
onSuccess: () => {
|
|
26
|
+
sonner.toast.success(labels.updated);
|
|
27
|
+
},
|
|
28
|
+
onError: () => {
|
|
29
|
+
sonner.toast.error(labels.updateError);
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
else console.error(result.error);
|
|
33
|
+
}
|
|
34
|
+
const keys = Object.keys(controls);
|
|
35
|
+
const formKey = keys.map((key) => `${String(key)}:${String(values[key])}`).join("|");
|
|
36
|
+
if (isLoading) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: labels.loading ?? "Loading..." });
|
|
37
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_heroui_react.Form, {
|
|
38
|
+
onSubmit: handleSubmit,
|
|
39
|
+
className: "flex flex-col gap-4 p-6",
|
|
40
|
+
children: [
|
|
41
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h1", {
|
|
42
|
+
className: "text-2xl font-bold",
|
|
43
|
+
children: labels.title
|
|
44
|
+
}),
|
|
45
|
+
keys.map((key) => {
|
|
46
|
+
const control = controls[key];
|
|
47
|
+
const value = values[key];
|
|
48
|
+
switch (control.element) {
|
|
49
|
+
case "switch": return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.Switch, {
|
|
50
|
+
name: String(key),
|
|
51
|
+
value: "on",
|
|
52
|
+
defaultSelected: Boolean(value),
|
|
53
|
+
children: control.label
|
|
54
|
+
}, String(key));
|
|
55
|
+
case "select": return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.Select, {
|
|
56
|
+
name: String(key),
|
|
57
|
+
label: control.label,
|
|
58
|
+
labelPlacement: "outside-top",
|
|
59
|
+
defaultSelectedKeys: value == null || value === "" ? [] : [String(value)],
|
|
60
|
+
children: (control.options ?? []).map((option) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.SelectItem, { children: option.label }, option.value))
|
|
61
|
+
}, String(key));
|
|
62
|
+
case "number": return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.Input, {
|
|
63
|
+
name: String(key),
|
|
64
|
+
type: "number",
|
|
65
|
+
label: control.label,
|
|
66
|
+
labelPlacement: "outside-top",
|
|
67
|
+
defaultValue: value == null ? "" : String(value),
|
|
68
|
+
min: control.min,
|
|
69
|
+
max: control.max,
|
|
70
|
+
step: control.step
|
|
71
|
+
}, String(key));
|
|
72
|
+
default: return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: "Invalid control" }, String(key));
|
|
73
|
+
}
|
|
74
|
+
}),
|
|
75
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.Button, {
|
|
76
|
+
type: "submit",
|
|
77
|
+
color: "success",
|
|
78
|
+
isLoading: isPending,
|
|
79
|
+
children: labels.submit
|
|
80
|
+
})
|
|
81
|
+
]
|
|
82
|
+
}, formKey);
|
|
83
|
+
}
|
|
84
|
+
//#endregion
|
|
85
|
+
exports.PreferencesEditor = PreferencesEditor;
|
|
86
|
+
|
|
87
|
+
//# sourceMappingURL=PreferencesEditor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PreferencesEditor.js","names":["Form","Switch","Select","SelectItem","Input","Button"],"sources":["../../../../../src/modules/auth/components/PreferencesEditor.tsx"],"sourcesContent":["import { Button, Form, Input, Select, SelectItem, Switch } from \"@heroui/react\";\r\nimport type { FormEvent, ReactElement } from \"react\";\r\nimport { toast } from \"sonner\";\r\nimport type { z } from \"zod\";\r\n\r\nexport type UpdatePreferencesOptions = {\r\n noOptimisticUpdate?: boolean;\r\n onSuccess?: () => void;\r\n onError?: (error: unknown) => void;\r\n};\r\n\r\nexport interface ControlDefinition {\r\n label: string;\r\n element: \"switch\" | \"select\" | \"number\";\r\n options?: { label: string; value: string }[];\r\n min?: number;\r\n max?: number;\r\n step?: number;\r\n}\r\n\r\nexport type ControlsFor<Preferences> = {\r\n [K in keyof Preferences]: ControlDefinition;\r\n};\r\n\r\nexport type PreferenceEditorLabels = {\r\n title: string;\r\n submit: string;\r\n updated: string;\r\n updateError: string;\r\n loading?: string;\r\n};\r\n\r\nexport type PreferenceEditorProps<S extends z.ZodObject<z.ZodRawShape>> = {\r\n schema: S;\r\n controls: ControlsFor<z.infer<S>>;\r\n values: Partial<z.infer<S>>;\r\n isLoading: boolean;\r\n isPending: boolean;\r\n labels: PreferenceEditorLabels;\r\n updateValues: (partialValues: Partial<z.infer<S>>, options: UpdatePreferencesOptions) => void;\r\n};\r\n\r\nexport function PreferencesEditor<S extends z.ZodObject<z.ZodRawShape>>({\r\n schema,\r\n controls,\r\n values,\r\n isLoading,\r\n isPending,\r\n labels,\r\n updateValues,\r\n}: PreferenceEditorProps<S>): ReactElement {\r\n function handleSubmit(event: FormEvent<HTMLFormElement>) {\r\n event.preventDefault();\r\n const formData = new FormData(event.currentTarget);\r\n\r\n const keys = Object.keys(controls) as Array<keyof typeof controls>;\r\n const raw: Record<string, unknown> = {};\r\n for (const key of keys) {\r\n const control = controls[key];\r\n if (control.element === \"switch\") {\r\n raw[String(key)] = formData.get(String(key)) != null;\r\n }\r\n if (control.element === \"select\") {\r\n raw[String(key)] = formData.get(String(key)) as string;\r\n }\r\n if (control.element === \"number\") {\r\n const value = formData.get(String(key));\r\n raw[String(key)] = value == null || value === \"\" ? undefined : Number(value);\r\n }\r\n }\r\n\r\n const result = schema.safeParse(raw);\r\n if (result.success) {\r\n updateValues(result.data as Partial<z.infer<S>>, {\r\n noOptimisticUpdate: true,\r\n onSuccess: () => {\r\n toast.success(labels.updated);\r\n },\r\n onError: () => {\r\n toast.error(labels.updateError);\r\n },\r\n });\r\n } else {\r\n // eslint-disable-next-line no-console\r\n console.error(result.error);\r\n }\r\n }\r\n\r\n const keys = Object.keys(controls) as Array<keyof typeof controls>;\r\n const formKey = keys\r\n .map((key) => `${String(key)}:${String(values[key as keyof typeof values])}`)\r\n .join(\"|\");\r\n\r\n if (isLoading) {\r\n return <div>{labels.loading ?? \"Loading...\"}</div>;\r\n }\r\n\r\n return (\r\n <Form key={formKey} onSubmit={handleSubmit} className=\"flex flex-col gap-4 p-6\">\r\n <h1 className=\"text-2xl font-bold\">{labels.title}</h1>\r\n {keys.map((key) => {\r\n const control = controls[key];\r\n const value = values[key as keyof typeof values];\r\n\r\n switch (control.element) {\r\n case \"switch\":\r\n return (\r\n <Switch\r\n key={String(key)}\r\n name={String(key)}\r\n value=\"on\"\r\n defaultSelected={Boolean(value)}\r\n >\r\n {control.label}\r\n </Switch>\r\n );\r\n case \"select\":\r\n return (\r\n <Select\r\n key={String(key)}\r\n name={String(key)}\r\n label={control.label}\r\n labelPlacement=\"outside-top\"\r\n defaultSelectedKeys={value == null || value === \"\" ? [] : [String(value)]}\r\n >\r\n {(control.options ?? []).map((option) => (\r\n <SelectItem key={option.value}>{option.label}</SelectItem>\r\n ))}\r\n </Select>\r\n );\r\n case \"number\":\r\n return (\r\n <Input\r\n key={String(key)}\r\n name={String(key)}\r\n type=\"number\"\r\n label={control.label}\r\n labelPlacement=\"outside-top\"\r\n defaultValue={value == null ? \"\" : String(value)}\r\n min={control.min}\r\n max={control.max}\r\n step={control.step}\r\n />\r\n );\r\n default:\r\n return <div key={String(key)}>Invalid control</div>;\r\n }\r\n })}\r\n <Button type=\"submit\" color=\"success\" isLoading={isPending}>\r\n {labels.submit}\r\n </Button>\r\n </Form>\r\n );\r\n}\r\n"],"mappings":"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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
|
|
3
|
+
//#region src/modules/auth/components/ProfileRoute.d.ts
|
|
4
|
+
declare function ProfileRoute(): _$react_jsx_runtime0.JSX.Element;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { ProfileRoute };
|
|
7
|
+
//# sourceMappingURL=ProfileRoute.d.ts.map
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
require("../../../../_virtual/_rolldown/runtime.js");
|
|
3
|
+
const require_src_components_AvatarUpload = require("../../../components/AvatarUpload.js");
|
|
4
|
+
const require_src_components_ui_form = require("../../../components/ui/form.js");
|
|
5
|
+
let _heroui_react = require("@heroui/react");
|
|
6
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
|
+
let react_i18next = require("react-i18next");
|
|
8
|
+
let sonner = require("sonner");
|
|
9
|
+
let react_hook_form = require("react-hook-form");
|
|
10
|
+
let _m5kdev_frontend_modules_auth_auth_lib = require("@m5kdev/frontend/modules/auth/auth.lib");
|
|
11
|
+
let _m5kdev_frontend_modules_auth_hooks_useSession = require("@m5kdev/frontend/modules/auth/hooks/useSession");
|
|
12
|
+
let zod = require("zod");
|
|
13
|
+
//#region src/modules/auth/components/ProfileRoute.tsx
|
|
14
|
+
zod.z.object({
|
|
15
|
+
name: zod.z.string().min(2, "Name must be at least 2 characters"),
|
|
16
|
+
image: zod.z.string().nullable()
|
|
17
|
+
});
|
|
18
|
+
function ProfileRoute() {
|
|
19
|
+
const { t } = (0, react_i18next.useTranslation)();
|
|
20
|
+
const { data: session } = (0, _m5kdev_frontend_modules_auth_hooks_useSession.useSession)();
|
|
21
|
+
const form = (0, react_hook_form.useForm)({ defaultValues: {
|
|
22
|
+
name: session?.user?.name || "",
|
|
23
|
+
image: session?.user?.image || null
|
|
24
|
+
} });
|
|
25
|
+
function onSubmit(data) {
|
|
26
|
+
_m5kdev_frontend_modules_auth_auth_lib.authClient.updateUser(data).then(() => {
|
|
27
|
+
sonner.toast.success(t("web-ui:profile.updated"), { description: t("web-ui:profile.updateDescription") });
|
|
28
|
+
}).catch(() => {
|
|
29
|
+
sonner.toast.error(t("web-ui:profile.error"), { description: t("web-ui:profile.errorDescription") });
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
33
|
+
className: "container py-10 px-4",
|
|
34
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_heroui_react.Card, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_heroui_react.CardHeader, {
|
|
35
|
+
className: "flex flex-col gap-1",
|
|
36
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
37
|
+
className: "text-xl font-semibold",
|
|
38
|
+
children: t("web-ui:profile.settings.title")
|
|
39
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
40
|
+
className: "text-sm text-default-600",
|
|
41
|
+
children: t("web-ui:profile.settings.description")
|
|
42
|
+
})]
|
|
43
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.CardBody, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src_components_ui_form.Form, {
|
|
44
|
+
...form,
|
|
45
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("form", {
|
|
46
|
+
onSubmit: form.handleSubmit(onSubmit),
|
|
47
|
+
className: "space-y-6",
|
|
48
|
+
children: [
|
|
49
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
50
|
+
className: "flex justify-center",
|
|
51
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src_components_ui_form.FormField, {
|
|
52
|
+
control: form.control,
|
|
53
|
+
name: "image",
|
|
54
|
+
render: ({ field }) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_src_components_ui_form.FormItem, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src_components_ui_form.FormControl, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src_components_AvatarUpload.AvatarUpload, {
|
|
55
|
+
currentAvatarUrl: field.value,
|
|
56
|
+
onUploadComplete: (url) => {
|
|
57
|
+
console.log(url);
|
|
58
|
+
field.onChange(url);
|
|
59
|
+
}
|
|
60
|
+
}) }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src_components_ui_form.FormMessage, {})] })
|
|
61
|
+
})
|
|
62
|
+
}),
|
|
63
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src_components_ui_form.FormField, {
|
|
64
|
+
control: form.control,
|
|
65
|
+
name: "name",
|
|
66
|
+
render: ({ field }) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_src_components_ui_form.FormItem, { children: [
|
|
67
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src_components_ui_form.FormLabel, { children: "Name" }),
|
|
68
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src_components_ui_form.FormControl, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.Input, {
|
|
69
|
+
placeholder: t("web-ui:profile.placeholders.name"),
|
|
70
|
+
...field
|
|
71
|
+
}) }),
|
|
72
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src_components_ui_form.FormMessage, {})
|
|
73
|
+
] })
|
|
74
|
+
}),
|
|
75
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.Button, {
|
|
76
|
+
type: "submit",
|
|
77
|
+
children: "Save Changes"
|
|
78
|
+
})
|
|
79
|
+
]
|
|
80
|
+
})
|
|
81
|
+
}) })] })
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
//#endregion
|
|
85
|
+
exports.ProfileRoute = ProfileRoute;
|
|
86
|
+
|
|
87
|
+
//# sourceMappingURL=ProfileRoute.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProfileRoute.js","names":["z","Card","CardHeader","CardBody","Form","FormField","FormItem","FormControl","AvatarUpload","FormMessage","FormLabel","Input","Button"],"sources":["../../../../../src/modules/auth/components/ProfileRoute.tsx"],"sourcesContent":["import { Button, Card, CardBody, CardHeader, Input } from \"@heroui/react\";\r\n\r\nimport { authClient } from \"@m5kdev/frontend/modules/auth/auth.lib\";\r\nimport { useSession } from \"@m5kdev/frontend/modules/auth/hooks/useSession\";\r\nimport { useForm } from \"react-hook-form\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { toast } from \"sonner\";\r\nimport { z } from \"zod\";\r\nimport { AvatarUpload } from \"../../../components/AvatarUpload\";\r\nimport {\r\n Form,\r\n FormControl,\r\n FormField,\r\n FormItem,\r\n FormLabel,\r\n FormMessage,\r\n} from \"../../../components/ui/form\";\r\n\r\nconst profileSchema = z.object({\r\n name: z.string().min(2, \"Name must be at least 2 characters\"),\r\n image: z.string().nullable(),\r\n});\r\n\r\ntype ProfileFormValues = z.infer<typeof profileSchema>;\r\n\r\nexport function ProfileRoute() {\r\n const { t } = useTranslation();\r\n const { data: session } = useSession();\r\n\r\n const form = useForm<ProfileFormValues>({\r\n defaultValues: {\r\n name: session?.user?.name || \"\",\r\n image: session?.user?.image || null,\r\n },\r\n });\r\n\r\n function onSubmit(data: ProfileFormValues) {\r\n authClient\r\n .updateUser(data)\r\n .then(() => {\r\n toast.success(t(\"web-ui:profile.updated\"), {\r\n description: t(\"web-ui:profile.updateDescription\"),\r\n });\r\n })\r\n .catch(() => {\r\n toast.error(t(\"web-ui:profile.error\"), {\r\n description: t(\"web-ui:profile.errorDescription\"),\r\n });\r\n });\r\n }\r\n\r\n return (\r\n <div className=\"container py-10 px-4\">\r\n <Card>\r\n <CardHeader className=\"flex flex-col gap-1\">\r\n <p className=\"text-xl font-semibold\">{t(\"web-ui:profile.settings.title\")}</p>\r\n <p className=\"text-sm text-default-600\">{t(\"web-ui:profile.settings.description\")}</p>\r\n </CardHeader>\r\n <CardBody>\r\n <Form {...form}>\r\n <form onSubmit={form.handleSubmit(onSubmit)} className=\"space-y-6\">\r\n <div className=\"flex justify-center\">\r\n <FormField\r\n control={form.control}\r\n name=\"image\"\r\n render={({ field }) => (\r\n <FormItem>\r\n <FormControl>\r\n <AvatarUpload\r\n currentAvatarUrl={field.value}\r\n onUploadComplete={(url) => {\r\n console.log(url);\r\n field.onChange(url);\r\n }}\r\n />\r\n </FormControl>\r\n <FormMessage />\r\n </FormItem>\r\n )}\r\n />\r\n </div>\r\n\r\n <FormField\r\n control={form.control}\r\n name=\"name\"\r\n render={({ field }) => (\r\n <FormItem>\r\n <FormLabel>Name</FormLabel>\r\n <FormControl>\r\n <Input placeholder={t(\"web-ui:profile.placeholders.name\")} {...field} />\r\n </FormControl>\r\n <FormMessage />\r\n </FormItem>\r\n )}\r\n />\r\n\r\n <Button type=\"submit\">Save Changes</Button>\r\n </form>\r\n </Form>\r\n </CardBody>\r\n </Card>\r\n </div>\r\n );\r\n}\r\n"],"mappings":";;;;;;;;;;;;;AAkBsBA,IAAAA,EAAE,OAAO;CAC7B,MAAMA,IAAAA,EAAE,QAAQ,CAAC,IAAI,GAAG,qCAAqC;CAC7D,OAAOA,IAAAA,EAAE,QAAQ,CAAC,UAAU;CAC7B,CAAC;AAIF,SAAgB,eAAe;CAC7B,MAAM,EAAE,OAAA,GAAA,cAAA,iBAAsB;CAC9B,MAAM,EAAE,MAAM,aAAA,GAAA,+CAAA,aAAwB;CAEtC,MAAM,QAAA,GAAA,gBAAA,SAAkC,EACtC,eAAe;EACb,MAAM,SAAS,MAAM,QAAQ;EAC7B,OAAO,SAAS,MAAM,SAAS;EAChC,EACF,CAAC;CAEF,SAAS,SAAS,MAAyB;AACzC,yCAAA,WACG,WAAW,KAAK,CAChB,WAAW;AACV,UAAA,MAAM,QAAQ,EAAE,yBAAyB,EAAE,EACzC,aAAa,EAAE,mCAAmC,EACnD,CAAC;IACF,CACD,YAAY;AACX,UAAA,MAAM,MAAM,EAAE,uBAAuB,EAAE,EACrC,aAAa,EAAE,kCAAkC,EAClD,CAAC;IACF;;AAGN,QACE,iBAAA,GAAA,kBAAA,KAAC,OAAD;EAAK,WAAU;YACb,iBAAA,GAAA,kBAAA,MAACC,cAAAA,MAAD,EAAA,UAAA,CACE,iBAAA,GAAA,kBAAA,MAACC,cAAAA,YAAD;GAAY,WAAU;aAAtB,CACE,iBAAA,GAAA,kBAAA,KAAC,KAAD;IAAG,WAAU;cAAyB,EAAE,gCAAgC;IAAK,CAAA,EAC7E,iBAAA,GAAA,kBAAA,KAAC,KAAD;IAAG,WAAU;cAA4B,EAAE,sCAAsC;IAAK,CAAA,CAC3E;MACb,iBAAA,GAAA,kBAAA,KAACC,cAAAA,UAAD,EAAA,UACE,iBAAA,GAAA,kBAAA,KAACC,+BAAAA,MAAD;GAAM,GAAI;aACR,iBAAA,GAAA,kBAAA,MAAC,QAAD;IAAM,UAAU,KAAK,aAAa,SAAS;IAAE,WAAU;cAAvD;KACE,iBAAA,GAAA,kBAAA,KAAC,OAAD;MAAK,WAAU;gBACb,iBAAA,GAAA,kBAAA,KAACC,+BAAAA,WAAD;OACE,SAAS,KAAK;OACd,MAAK;OACL,SAAS,EAAE,YACT,iBAAA,GAAA,kBAAA,MAACC,+BAAAA,UAAD,EAAA,UAAA,CACE,iBAAA,GAAA,kBAAA,KAACC,+BAAAA,aAAD,EAAA,UACE,iBAAA,GAAA,kBAAA,KAACC,oCAAAA,cAAD;QACE,kBAAkB,MAAM;QACxB,mBAAmB,QAAQ;AACzB,iBAAQ,IAAI,IAAI;AAChB,eAAM,SAAS,IAAI;;QAErB,CAAA,EACU,CAAA,EACd,iBAAA,GAAA,kBAAA,KAACC,+BAAAA,aAAD,EAAe,CAAA,CACN,EAAA,CAAA;OAEb,CAAA;MACE,CAAA;KAEN,iBAAA,GAAA,kBAAA,KAACJ,+BAAAA,WAAD;MACE,SAAS,KAAK;MACd,MAAK;MACL,SAAS,EAAE,YACT,iBAAA,GAAA,kBAAA,MAACC,+BAAAA,UAAD,EAAA,UAAA;OACE,iBAAA,GAAA,kBAAA,KAACI,+BAAAA,WAAD,EAAA,UAAW,QAAgB,CAAA;OAC3B,iBAAA,GAAA,kBAAA,KAACH,+BAAAA,aAAD,EAAA,UACE,iBAAA,GAAA,kBAAA,KAACI,cAAAA,OAAD;QAAO,aAAa,EAAE,mCAAmC;QAAE,GAAI;QAAS,CAAA,EAC5D,CAAA;OACd,iBAAA,GAAA,kBAAA,KAACF,+BAAAA,aAAD,EAAe,CAAA;OACN,EAAA,CAAA;MAEb,CAAA;KAEF,iBAAA,GAAA,kBAAA,KAACG,cAAAA,QAAD;MAAQ,MAAK;gBAAS;MAAqB,CAAA;KACtC;;GACF,CAAA,EACE,CAAA,CACN,EAAA,CAAA;EACH,CAAA"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
|
|
3
|
+
//#region src/modules/auth/components/RangeNuqsDatePicker.d.ts
|
|
4
|
+
interface RangeNuqsDatePickerProps {
|
|
5
|
+
/**
|
|
6
|
+
* The column ID to use for the date filter (e.g., "startedAt")
|
|
7
|
+
*/
|
|
8
|
+
columnId?: string;
|
|
9
|
+
/**
|
|
10
|
+
* The end column ID for range filters (e.g., "endedAt")
|
|
11
|
+
*/
|
|
12
|
+
endColumnId?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Label for the date range picker
|
|
15
|
+
*/
|
|
16
|
+
dateRangeLabel?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Label for the quick range selector
|
|
19
|
+
*/
|
|
20
|
+
quickRangeLabel?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Translation namespace for i18n
|
|
23
|
+
*/
|
|
24
|
+
translationNamespace?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Whether to show quick range selector
|
|
27
|
+
*/
|
|
28
|
+
showQuickRange?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Custom className for the container
|
|
31
|
+
*/
|
|
32
|
+
className?: string;
|
|
33
|
+
}
|
|
34
|
+
declare const RangeNuqsDatePicker: ({
|
|
35
|
+
columnId,
|
|
36
|
+
endColumnId,
|
|
37
|
+
dateRangeLabel,
|
|
38
|
+
quickRangeLabel,
|
|
39
|
+
translationNamespace,
|
|
40
|
+
showQuickRange,
|
|
41
|
+
className
|
|
42
|
+
}: RangeNuqsDatePickerProps) => _$react_jsx_runtime0.JSX.Element;
|
|
43
|
+
//#endregion
|
|
44
|
+
export { RangeNuqsDatePicker, RangeNuqsDatePickerProps };
|
|
45
|
+
//# sourceMappingURL=RangeNuqsDatePicker.d.ts.map
|
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
require("../../../../_virtual/_rolldown/runtime.js");
|
|
3
|
+
let react = require("react");
|
|
4
|
+
let _heroui_react = require("@heroui/react");
|
|
5
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
|
+
let react_i18next = require("react-i18next");
|
|
7
|
+
let _internationalized_date = require("@internationalized/date");
|
|
8
|
+
let luxon = require("luxon");
|
|
9
|
+
let _m5kdev_frontend_modules_table_hooks_useNuqsQueryParams = require("@m5kdev/frontend/modules/table/hooks/useNuqsQueryParams");
|
|
10
|
+
let _m5kdev_web_ui_modules_table_filterTransformers = require("@m5kdev/web-ui/modules/table/filterTransformers");
|
|
11
|
+
//#region src/modules/auth/components/RangeNuqsDatePicker.tsx
|
|
12
|
+
const toCalendarDate = (dt) => new _internationalized_date.CalendarDate(dt.year, dt.month, dt.day);
|
|
13
|
+
const isSameCalendarDate = (a, b) => a.year === b.year && a.month === b.month && a.day === b.day;
|
|
14
|
+
const RangeNuqsDatePicker = ({ columnId = "startedAt", endColumnId = "endedAt", dateRangeLabel, quickRangeLabel, translationNamespace = "horecaai-app", showQuickRange = true, className }) => {
|
|
15
|
+
const { t } = (0, react_i18next.useTranslation)();
|
|
16
|
+
const { filters, setFilters } = (0, _m5kdev_frontend_modules_table_hooks_useNuqsQueryParams.useNuqsQueryParams)();
|
|
17
|
+
const [quickRange, setQuickRange] = (0, react.useState)(null);
|
|
18
|
+
const [hasInitialized, setHasInitialized] = (0, react.useState)(false);
|
|
19
|
+
const dateRange = (0, react.useMemo)(() => {
|
|
20
|
+
return (0, _m5kdev_web_ui_modules_table_filterTransformers.dateFilterToRangeValue)(filters, columnId);
|
|
21
|
+
}, [filters, columnId]);
|
|
22
|
+
const [localRange, setLocalRange] = (0, react.useState)(dateRange);
|
|
23
|
+
(0, react.useEffect)(() => {
|
|
24
|
+
setLocalRange(dateRange);
|
|
25
|
+
}, [dateRange]);
|
|
26
|
+
const quickRangeOptions = (0, react.useMemo)(() => {
|
|
27
|
+
const todayStart = luxon.DateTime.utc().startOf("day");
|
|
28
|
+
const weekStart = todayStart.startOf("week");
|
|
29
|
+
const monthStart = todayStart.startOf("month");
|
|
30
|
+
const lastWeekStart = weekStart.minus({ weeks: 1 });
|
|
31
|
+
const lastMonthStart = monthStart.minus({ months: 1 });
|
|
32
|
+
const yearStart = todayStart.startOf("year");
|
|
33
|
+
const lastYearStart = yearStart.minus({ years: 1 });
|
|
34
|
+
return [
|
|
35
|
+
{
|
|
36
|
+
key: "today",
|
|
37
|
+
label: t(`${translationNamespace}:reports.quickRange.today`, { defaultValue: "Today" }),
|
|
38
|
+
start: todayStart,
|
|
39
|
+
end: todayStart
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
key: "yesterday",
|
|
43
|
+
label: t(`${translationNamespace}:reports.quickRange.yesterday`, { defaultValue: "Yesterday" }),
|
|
44
|
+
start: todayStart.minus({ days: 1 }),
|
|
45
|
+
end: todayStart.minus({ days: 1 })
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
key: "last7",
|
|
49
|
+
label: t(`${translationNamespace}:reports.quickRange.last7`, { defaultValue: "Last 7 days" }),
|
|
50
|
+
start: todayStart.minus({ days: 6 }),
|
|
51
|
+
end: todayStart
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
key: "last30",
|
|
55
|
+
label: t(`${translationNamespace}:reports.quickRange.last30`, { defaultValue: "Last 30 days" }),
|
|
56
|
+
start: todayStart.minus({ days: 29 }),
|
|
57
|
+
end: todayStart
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
key: "thisWeek",
|
|
61
|
+
label: t(`${translationNamespace}:reports.quickRange.thisWeek`, { defaultValue: "This week" }),
|
|
62
|
+
start: weekStart,
|
|
63
|
+
end: todayStart
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
key: "lastWeek",
|
|
67
|
+
label: t(`${translationNamespace}:reports.quickRange.lastWeek`, { defaultValue: "Last week" }),
|
|
68
|
+
start: lastWeekStart,
|
|
69
|
+
end: lastWeekStart.plus({ days: 6 })
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
key: "thisMonth",
|
|
73
|
+
label: t(`${translationNamespace}:reports.quickRange.thisMonth`, { defaultValue: "This month" }),
|
|
74
|
+
start: monthStart,
|
|
75
|
+
end: todayStart
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
key: "lastMonth",
|
|
79
|
+
label: t(`${translationNamespace}:reports.quickRange.lastMonth`, { defaultValue: "Last month" }),
|
|
80
|
+
start: lastMonthStart,
|
|
81
|
+
end: lastMonthStart.endOf("month")
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
key: "thisYear",
|
|
85
|
+
label: t(`${translationNamespace}:reports.quickRange.thisYear`, { defaultValue: "This year" }),
|
|
86
|
+
start: yearStart,
|
|
87
|
+
end: todayStart
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
key: "lastYear",
|
|
91
|
+
label: t(`${translationNamespace}:reports.quickRange.lastYear`, { defaultValue: "Last year" }),
|
|
92
|
+
start: lastYearStart,
|
|
93
|
+
end: lastYearStart.endOf("year")
|
|
94
|
+
}
|
|
95
|
+
].map((opt) => ({
|
|
96
|
+
key: opt.key,
|
|
97
|
+
label: opt.label,
|
|
98
|
+
range: {
|
|
99
|
+
start: toCalendarDate(opt.start),
|
|
100
|
+
end: toCalendarDate(opt.end)
|
|
101
|
+
}
|
|
102
|
+
}));
|
|
103
|
+
}, [
|
|
104
|
+
t,
|
|
105
|
+
luxon.DateTime.utc().toISODate(),
|
|
106
|
+
translationNamespace
|
|
107
|
+
]);
|
|
108
|
+
(0, react.useEffect)(() => {
|
|
109
|
+
if (hasInitialized || !setFilters) return;
|
|
110
|
+
if (dateRange) {
|
|
111
|
+
setHasInitialized(true);
|
|
112
|
+
return;
|
|
113
|
+
}
|
|
114
|
+
const thisMonthOption = quickRangeOptions.find((opt) => opt.key === "thisMonth");
|
|
115
|
+
if (thisMonthOption) {
|
|
116
|
+
setHasInitialized(true);
|
|
117
|
+
setQuickRange("thisMonth");
|
|
118
|
+
const startDate = thisMonthOption.range.start;
|
|
119
|
+
const endDate = thisMonthOption.range.end;
|
|
120
|
+
setFilters([...filters?.filter((f) => f.columnId !== columnId && f.columnId !== endColumnId) ?? [], {
|
|
121
|
+
columnId,
|
|
122
|
+
type: "date",
|
|
123
|
+
method: "intersect",
|
|
124
|
+
value: (0, _m5kdev_web_ui_modules_table_filterTransformers.calendarDateToUTC)(startDate),
|
|
125
|
+
valueTo: (0, _m5kdev_web_ui_modules_table_filterTransformers.calendarDateToEndOfDayUTC)(endDate),
|
|
126
|
+
endColumnId
|
|
127
|
+
}]);
|
|
128
|
+
}
|
|
129
|
+
}, [
|
|
130
|
+
dateRange,
|
|
131
|
+
columnId,
|
|
132
|
+
endColumnId,
|
|
133
|
+
quickRangeOptions,
|
|
134
|
+
hasInitialized,
|
|
135
|
+
setFilters
|
|
136
|
+
]);
|
|
137
|
+
(0, react.useEffect)(() => {
|
|
138
|
+
if (!hasInitialized) return;
|
|
139
|
+
if (!dateRange?.start || !dateRange?.end) {
|
|
140
|
+
setQuickRange(null);
|
|
141
|
+
return;
|
|
142
|
+
}
|
|
143
|
+
const start = dateRange.start;
|
|
144
|
+
const end = dateRange.end;
|
|
145
|
+
const matches = quickRangeOptions.filter((option) => isSameCalendarDate(option.range.start, start) && isSameCalendarDate(option.range.end, end));
|
|
146
|
+
if (matches.length === 0) {
|
|
147
|
+
setQuickRange(null);
|
|
148
|
+
return;
|
|
149
|
+
}
|
|
150
|
+
if (quickRange ? matches.find((m) => m.key === quickRange) : null) return;
|
|
151
|
+
setQuickRange(([
|
|
152
|
+
"today",
|
|
153
|
+
"yesterday",
|
|
154
|
+
"thisWeek",
|
|
155
|
+
"lastWeek",
|
|
156
|
+
"thisMonth",
|
|
157
|
+
"lastMonth",
|
|
158
|
+
"last7",
|
|
159
|
+
"last30"
|
|
160
|
+
].map((key) => matches.find((m) => m.key === key)).find((m) => Boolean(m)) ?? matches[0])?.key ?? null);
|
|
161
|
+
}, [
|
|
162
|
+
dateRange,
|
|
163
|
+
quickRangeOptions,
|
|
164
|
+
quickRange,
|
|
165
|
+
hasInitialized
|
|
166
|
+
]);
|
|
167
|
+
const handleDateRangeChange = (range) => {
|
|
168
|
+
if (!setFilters) return;
|
|
169
|
+
if (range === null) {
|
|
170
|
+
const newFilters = filters?.filter((f) => f.columnId !== columnId && f.columnId !== endColumnId) ?? [];
|
|
171
|
+
(0, react.startTransition)(() => setFilters(newFilters));
|
|
172
|
+
return;
|
|
173
|
+
}
|
|
174
|
+
if (!range.start || !range.end) return;
|
|
175
|
+
const startDate = range.start;
|
|
176
|
+
const endDate = range.end;
|
|
177
|
+
const newFilters = [...filters?.filter((f) => f.columnId !== columnId && f.columnId !== endColumnId) ?? [], {
|
|
178
|
+
columnId,
|
|
179
|
+
type: "date",
|
|
180
|
+
method: "intersect",
|
|
181
|
+
value: (0, _m5kdev_web_ui_modules_table_filterTransformers.calendarDateToUTC)(startDate),
|
|
182
|
+
valueTo: (0, _m5kdev_web_ui_modules_table_filterTransformers.calendarDateToEndOfDayUTC)(endDate),
|
|
183
|
+
endColumnId
|
|
184
|
+
}];
|
|
185
|
+
(0, react.startTransition)(() => setFilters(newFilters));
|
|
186
|
+
};
|
|
187
|
+
const handleQuickRangeChange = (key) => {
|
|
188
|
+
if (!key) {
|
|
189
|
+
setQuickRange(null);
|
|
190
|
+
return;
|
|
191
|
+
}
|
|
192
|
+
const option = quickRangeOptions.find((opt) => opt.key === key);
|
|
193
|
+
if (!option) return;
|
|
194
|
+
setQuickRange(key);
|
|
195
|
+
handleDateRangeChange({
|
|
196
|
+
start: option.range.start,
|
|
197
|
+
end: option.range.end
|
|
198
|
+
});
|
|
199
|
+
};
|
|
200
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
201
|
+
className: `flex gap-4 flex-row ${className ?? ""}`,
|
|
202
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
203
|
+
className: "flex flex-col gap-2",
|
|
204
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
205
|
+
className: "text-sm text-muted-foreground",
|
|
206
|
+
children: dateRangeLabel ?? t(`${translationNamespace}:reports.dateRange`, { defaultValue: "Date range" })
|
|
207
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.DateRangePicker, {
|
|
208
|
+
"aria-label": "Date range",
|
|
209
|
+
value: localRange ?? void 0,
|
|
210
|
+
onChange: setLocalRange,
|
|
211
|
+
onBlur: () => {
|
|
212
|
+
if (localRange !== void 0) handleDateRangeChange(localRange);
|
|
213
|
+
},
|
|
214
|
+
className: "w-[300px]",
|
|
215
|
+
granularity: "day",
|
|
216
|
+
showMonthAndYearPickers: true,
|
|
217
|
+
maxValue: (0, _internationalized_date.today)((0, _internationalized_date.getLocalTimeZone)()),
|
|
218
|
+
popoverProps: {
|
|
219
|
+
portalContainer: document.body,
|
|
220
|
+
disableAnimation: true
|
|
221
|
+
}
|
|
222
|
+
})]
|
|
223
|
+
}), showQuickRange && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
224
|
+
className: "flex flex-col gap-2",
|
|
225
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
226
|
+
className: "text-sm text-muted-foreground",
|
|
227
|
+
children: quickRangeLabel ?? t(`${translationNamespace}:reports.quickRange.label`, { defaultValue: "Quick range" })
|
|
228
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.Select, {
|
|
229
|
+
selectedKeys: quickRange ? [quickRange] : [],
|
|
230
|
+
onChange: (e) => handleQuickRangeChange(e.target.value ?? null),
|
|
231
|
+
className: "w-[300px]",
|
|
232
|
+
popoverProps: { portalContainer: document.body },
|
|
233
|
+
children: quickRangeOptions.map((option) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.SelectItem, { children: option.label }, option.key))
|
|
234
|
+
})]
|
|
235
|
+
})]
|
|
236
|
+
});
|
|
237
|
+
};
|
|
238
|
+
//#endregion
|
|
239
|
+
exports.RangeNuqsDatePicker = RangeNuqsDatePicker;
|
|
240
|
+
|
|
241
|
+
//# sourceMappingURL=RangeNuqsDatePicker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RangeNuqsDatePicker.js","names":["CalendarDate","DateTime","DateRangePicker","Select","SelectItem"],"sources":["../../../../../src/modules/auth/components/RangeNuqsDatePicker.tsx"],"sourcesContent":["import {\r\n DateRangePicker,\r\n type DateValue,\r\n type RangeValue,\r\n Select,\r\n SelectItem,\r\n} from \"@heroui/react\";\r\nimport { CalendarDate, getLocalTimeZone, today } from \"@internationalized/date\";\r\nimport type { QueryFilters } from \"@m5kdev/commons/modules/schemas/query.schema\";\r\nimport { useNuqsQueryParams } from \"@m5kdev/frontend/modules/table/hooks/useNuqsQueryParams\";\r\nimport {\r\n calendarDateToEndOfDayUTC,\r\n calendarDateToUTC,\r\n dateFilterToRangeValue,\r\n} from \"@m5kdev/web-ui/modules/table/filterTransformers\";\r\nimport { DateTime } from \"luxon\";\r\nimport { startTransition, useEffect, useMemo, useState } from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\n\r\ntype QuickRangeKey =\r\n | \"today\"\r\n | \"yesterday\"\r\n | \"last7\"\r\n | \"last30\"\r\n | \"thisWeek\"\r\n | \"lastWeek\"\r\n | \"thisMonth\"\r\n | \"lastMonth\"\r\n | \"thisYear\"\r\n | \"lastYear\";\r\n\r\nconst toCalendarDate = (dt: DateTime): CalendarDate => new CalendarDate(dt.year, dt.month, dt.day);\r\n\r\nconst isSameCalendarDate = (a: CalendarDate, b: CalendarDate) =>\r\n a.year === b.year && a.month === b.month && a.day === b.day;\r\n\r\nexport interface RangeNuqsDatePickerProps {\r\n /**\r\n * The column ID to use for the date filter (e.g., \"startedAt\")\r\n */\r\n columnId?: string;\r\n /**\r\n * The end column ID for range filters (e.g., \"endedAt\")\r\n */\r\n endColumnId?: string;\r\n /**\r\n * Label for the date range picker\r\n */\r\n dateRangeLabel?: string;\r\n /**\r\n * Label for the quick range selector\r\n */\r\n quickRangeLabel?: string;\r\n /**\r\n * Translation namespace for i18n\r\n */\r\n translationNamespace?: string;\r\n /**\r\n * Whether to show quick range selector\r\n */\r\n showQuickRange?: boolean;\r\n /**\r\n * Custom className for the container\r\n */\r\n className?: string;\r\n}\r\n\r\nexport const RangeNuqsDatePicker = ({\r\n columnId = \"startedAt\",\r\n endColumnId = \"endedAt\",\r\n dateRangeLabel,\r\n quickRangeLabel,\r\n translationNamespace = \"horecaai-app\",\r\n showQuickRange = true,\r\n className,\r\n}: RangeNuqsDatePickerProps) => {\r\n const { t } = useTranslation();\r\n const { filters, setFilters } = useNuqsQueryParams();\r\n\r\n const [quickRange, setQuickRange] = useState<QuickRangeKey | null>(null);\r\n const [hasInitialized, setHasInitialized] = useState(false);\r\n\r\n // Extract date range from filters using shared helper\r\n const dateRange = useMemo(() => {\r\n return dateFilterToRangeValue(filters, columnId);\r\n }, [filters, columnId]);\r\n\r\n const [localRange, setLocalRange] = useState<RangeValue<DateValue> | null | undefined>(dateRange);\r\n\r\n useEffect(() => {\r\n setLocalRange(dateRange);\r\n }, [dateRange]);\r\n\r\n const todayIso = DateTime.utc().toISODate();\r\n\r\n const quickRangeOptions = useMemo(() => {\r\n const now = DateTime.utc();\r\n const todayStart = now.startOf(\"day\");\r\n const weekStart = todayStart.startOf(\"week\");\r\n const monthStart = todayStart.startOf(\"month\");\r\n const lastWeekStart = weekStart.minus({ weeks: 1 });\r\n const lastMonthStart = monthStart.minus({ months: 1 });\r\n const yearStart = todayStart.startOf(\"year\");\r\n const lastYearStart = yearStart.minus({ years: 1 });\r\n\r\n const options: { key: QuickRangeKey; label: string; start: DateTime; end: DateTime }[] = [\r\n {\r\n key: \"today\",\r\n label: t(`${translationNamespace}:reports.quickRange.today`, { defaultValue: \"Today\" }),\r\n start: todayStart,\r\n end: todayStart,\r\n },\r\n {\r\n key: \"yesterday\",\r\n label: t(`${translationNamespace}:reports.quickRange.yesterday`, {\r\n defaultValue: \"Yesterday\",\r\n }),\r\n start: todayStart.minus({ days: 1 }),\r\n end: todayStart.minus({ days: 1 }),\r\n },\r\n {\r\n key: \"last7\",\r\n label: t(`${translationNamespace}:reports.quickRange.last7`, {\r\n defaultValue: \"Last 7 days\",\r\n }),\r\n start: todayStart.minus({ days: 6 }),\r\n end: todayStart,\r\n },\r\n {\r\n key: \"last30\",\r\n label: t(`${translationNamespace}:reports.quickRange.last30`, {\r\n defaultValue: \"Last 30 days\",\r\n }),\r\n start: todayStart.minus({ days: 29 }),\r\n end: todayStart,\r\n },\r\n {\r\n key: \"thisWeek\",\r\n label: t(`${translationNamespace}:reports.quickRange.thisWeek`, {\r\n defaultValue: \"This week\",\r\n }),\r\n start: weekStart,\r\n end: todayStart,\r\n },\r\n {\r\n key: \"lastWeek\",\r\n label: t(`${translationNamespace}:reports.quickRange.lastWeek`, {\r\n defaultValue: \"Last week\",\r\n }),\r\n start: lastWeekStart,\r\n end: lastWeekStart.plus({ days: 6 }),\r\n },\r\n {\r\n key: \"thisMonth\",\r\n label: t(`${translationNamespace}:reports.quickRange.thisMonth`, {\r\n defaultValue: \"This month\",\r\n }),\r\n start: monthStart,\r\n end: todayStart,\r\n },\r\n {\r\n key: \"lastMonth\",\r\n label: t(`${translationNamespace}:reports.quickRange.lastMonth`, {\r\n defaultValue: \"Last month\",\r\n }),\r\n start: lastMonthStart,\r\n end: lastMonthStart.endOf(\"month\"),\r\n },\r\n {\r\n key: \"thisYear\",\r\n label: t(`${translationNamespace}:reports.quickRange.thisYear`, {\r\n defaultValue: \"This year\",\r\n }),\r\n start: yearStart,\r\n end: todayStart,\r\n },\r\n {\r\n key: \"lastYear\",\r\n label: t(`${translationNamespace}:reports.quickRange.lastYear`, {\r\n defaultValue: \"Last year\",\r\n }),\r\n start: lastYearStart,\r\n end: lastYearStart.endOf(\"year\"),\r\n },\r\n ];\r\n\r\n return options.map((opt) => ({\r\n key: opt.key,\r\n label: opt.label,\r\n range: {\r\n start: toCalendarDate(opt.start),\r\n end: toCalendarDate(opt.end),\r\n },\r\n }));\r\n }, [t, todayIso, translationNamespace]);\r\n\r\n // Set default to \"this month\" on initial load if no date range is set\r\n useEffect(() => {\r\n if (hasInitialized || !setFilters) return;\r\n\r\n // Check if there's already a valid date range from URL\r\n if (dateRange) {\r\n setHasInitialized(true);\r\n return;\r\n }\r\n\r\n // No date range set, initialize to \"this month\"\r\n const thisMonthOption = quickRangeOptions.find((opt) => opt.key === \"thisMonth\");\r\n if (thisMonthOption) {\r\n setHasInitialized(true);\r\n setQuickRange(\"thisMonth\");\r\n\r\n // Set filters directly for \"this month\" range\r\n const startDate = thisMonthOption.range.start;\r\n const endDate = thisMonthOption.range.end;\r\n\r\n const newFilters: QueryFilters = [\r\n ...(filters?.filter((f) => f.columnId !== columnId && f.columnId !== endColumnId) ?? []),\r\n {\r\n columnId,\r\n type: \"date\" as const,\r\n method: \"intersect\" as const,\r\n value: calendarDateToUTC(startDate),\r\n valueTo: calendarDateToEndOfDayUTC(endDate),\r\n endColumnId,\r\n },\r\n ];\r\n\r\n setFilters(newFilters);\r\n }\r\n }, [dateRange, columnId, endColumnId, quickRangeOptions, hasInitialized, setFilters]);\r\n\r\n useEffect(() => {\r\n // Don't sync quickRange if we're still initializing\r\n if (!hasInitialized) return;\r\n\r\n if (!dateRange?.start || !dateRange?.end) {\r\n setQuickRange(null);\r\n return;\r\n }\r\n\r\n const start = dateRange.start as unknown as CalendarDate;\r\n const end = dateRange.end as unknown as CalendarDate;\r\n\r\n const matches = quickRangeOptions.filter(\r\n (option) =>\r\n isSameCalendarDate(option.range.start, start) && isSameCalendarDate(option.range.end, end)\r\n );\r\n\r\n if (matches.length === 0) {\r\n setQuickRange(null);\r\n return;\r\n }\r\n\r\n // If the current quick range still matches, keep it\r\n const currentStillMatches = quickRange ? matches.find((m) => m.key === quickRange) : null;\r\n if (currentStillMatches) {\r\n return;\r\n }\r\n\r\n // Otherwise pick the highest-priority match to keep intent (week/month over last7 overlap)\r\n const priority: QuickRangeKey[] = [\r\n \"today\",\r\n \"yesterday\",\r\n \"thisWeek\",\r\n \"lastWeek\",\r\n \"thisMonth\",\r\n \"lastMonth\",\r\n \"last7\",\r\n \"last30\",\r\n ];\r\n const preferred =\r\n priority.map((key) => matches.find((m) => m.key === key)).find((m) => Boolean(m)) ??\r\n matches[0];\r\n\r\n setQuickRange(preferred?.key ?? null);\r\n }, [dateRange, quickRangeOptions, quickRange, hasInitialized]);\r\n\r\n // Handle date range changes\r\n const handleDateRangeChange = (range: RangeValue<DateValue> | null) => {\r\n if (!setFilters) return;\r\n\r\n if (range === null) {\r\n // Explicit clear — remove date filters\r\n const newFilters =\r\n filters?.filter((f) => f.columnId !== columnId && f.columnId !== endColumnId) ?? [];\r\n startTransition(() => setFilters(newFilters));\r\n return;\r\n }\r\n\r\n // Incomplete range (e.g. only start selected mid-calendar-selection) — keep current filters\r\n if (!range.start || !range.end) return;\r\n\r\n // Use intersect to find records where [startedAt, endedAt] overlaps with the selected range\r\n // This includes ongoing records (endedAt = NULL) and records that overlap the range\r\n const startDate = range.start as unknown as CalendarDate;\r\n const endDate = range.end as unknown as CalendarDate;\r\n\r\n const newFilters: QueryFilters = [\r\n ...(filters?.filter((f) => f.columnId !== columnId && f.columnId !== endColumnId) ?? []),\r\n {\r\n columnId,\r\n type: \"date\" as const,\r\n method: \"intersect\" as const,\r\n value: calendarDateToUTC(startDate),\r\n valueTo: calendarDateToEndOfDayUTC(endDate),\r\n endColumnId,\r\n },\r\n ];\r\n\r\n startTransition(() => setFilters(newFilters));\r\n };\r\n\r\n const handleQuickRangeChange = (key: QuickRangeKey | null) => {\r\n if (!key) {\r\n setQuickRange(null);\r\n return;\r\n }\r\n\r\n const option = quickRangeOptions.find((opt) => opt.key === key);\r\n if (!option) return;\r\n\r\n setQuickRange(key);\r\n handleDateRangeChange({\r\n start: option.range.start as unknown as DateValue,\r\n end: option.range.end as unknown as DateValue,\r\n });\r\n };\r\n\r\n return (\r\n <div className={`flex gap-4 flex-row ${className ?? \"\"}`}>\r\n <div className=\"flex flex-col gap-2\">\r\n <span className=\"text-sm text-muted-foreground\">\r\n {dateRangeLabel ??\r\n t(`${translationNamespace}:reports.dateRange`, { defaultValue: \"Date range\" })}\r\n </span>\r\n <DateRangePicker\r\n aria-label=\"Date range\"\r\n value={(localRange as any) ?? undefined}\r\n onChange={setLocalRange}\r\n onBlur={() => {\r\n if (localRange !== undefined) {\r\n handleDateRangeChange(localRange);\r\n }\r\n }}\r\n className=\"w-[300px]\"\r\n granularity=\"day\"\r\n showMonthAndYearPickers\r\n maxValue={today(getLocalTimeZone()) as unknown as DateValue}\r\n popoverProps={{\r\n portalContainer: document.body,\r\n disableAnimation: true,\r\n }}\r\n />\r\n </div>\r\n {showQuickRange && (\r\n <div className=\"flex flex-col gap-2\">\r\n <span className=\"text-sm text-muted-foreground\">\r\n {quickRangeLabel ??\r\n t(`${translationNamespace}:reports.quickRange.label`, {\r\n defaultValue: \"Quick range\",\r\n })}\r\n </span>\r\n <Select\r\n selectedKeys={quickRange ? [quickRange] : []}\r\n onChange={(e) => handleQuickRangeChange((e.target.value as QuickRangeKey) ?? null)}\r\n className=\"w-[300px]\"\r\n popoverProps={{\r\n portalContainer: document.body,\r\n }}\r\n >\r\n {quickRangeOptions.map((option) => (\r\n <SelectItem key={option.key}>{option.label}</SelectItem>\r\n ))}\r\n </Select>\r\n </div>\r\n )}\r\n </div>\r\n );\r\n};\r\n"],"mappings":"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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
|
|
3
|
+
//#region src/modules/auth/components/ResetPasswordForm.d.ts
|
|
4
|
+
declare function ResetPasswordForm(): _$react_jsx_runtime0.JSX.Element;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { ResetPasswordForm };
|
|
7
|
+
//# sourceMappingURL=ResetPasswordForm.d.ts.map
|
|
@@ -0,0 +1,103 @@
|
|
|
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 react_i18next = require("react-i18next");
|
|
6
|
+
let react_router = require("react-router");
|
|
7
|
+
let sonner = require("sonner");
|
|
8
|
+
let react_hook_form = require("react-hook-form");
|
|
9
|
+
let _m5kdev_frontend_modules_auth_auth_lib = require("@m5kdev/frontend/modules/auth/auth.lib");
|
|
10
|
+
//#region src/modules/auth/components/ResetPasswordForm.tsx
|
|
11
|
+
function ResetPasswordForm() {
|
|
12
|
+
const { t } = (0, react_i18next.useTranslation)();
|
|
13
|
+
const { register, handleSubmit, setError, formState: { errors } } = (0, react_hook_form.useForm)();
|
|
14
|
+
const [searchParams] = (0, react_router.useSearchParams)();
|
|
15
|
+
const token = searchParams.get("token");
|
|
16
|
+
const onSubmit = (data) => {
|
|
17
|
+
if (data.password !== data.confirmPassword) {
|
|
18
|
+
setError("confirmPassword", { message: t("web-ui:auth.resetPassword.passwordMismatch") });
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
if (!token) throw new Error(t("web-ui:auth.resetPassword.tokenRequired"));
|
|
22
|
+
_m5kdev_frontend_modules_auth_auth_lib.authClient.resetPassword({
|
|
23
|
+
newPassword: data.password,
|
|
24
|
+
token
|
|
25
|
+
}).then(() => {
|
|
26
|
+
sonner.toast.success(t("web-ui:auth.resetPassword.success"));
|
|
27
|
+
}).catch(() => {
|
|
28
|
+
sonner.toast.error(t("web-ui:auth.resetPassword.error"));
|
|
29
|
+
});
|
|
30
|
+
};
|
|
31
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
32
|
+
className: "flex flex-col gap-6",
|
|
33
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_heroui_react.Card, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_heroui_react.CardHeader, {
|
|
34
|
+
className: "text-center flex flex-col gap-1",
|
|
35
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h2", {
|
|
36
|
+
className: "text-xl font-semibold",
|
|
37
|
+
children: t("web-ui:auth.resetPassword.title")
|
|
38
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
39
|
+
className: "text-sm text-default-600",
|
|
40
|
+
children: t("web-ui:auth.resetPassword.description")
|
|
41
|
+
})]
|
|
42
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.CardBody, {
|
|
43
|
+
className: "gap-6",
|
|
44
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("form", {
|
|
45
|
+
onSubmit: handleSubmit(onSubmit),
|
|
46
|
+
className: "grid gap-6",
|
|
47
|
+
children: [
|
|
48
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
49
|
+
className: "grid gap-2",
|
|
50
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.Input, {
|
|
51
|
+
labelPlacement: "outside",
|
|
52
|
+
label: t("web-ui:auth.resetPassword.newPassword"),
|
|
53
|
+
placeholder: t("web-ui:auth.resetPassword.newPassword"),
|
|
54
|
+
type: "password",
|
|
55
|
+
variant: "bordered",
|
|
56
|
+
isRequired: true,
|
|
57
|
+
...register("password", { required: t("web-ui:auth.resetPassword.passwordRequired") })
|
|
58
|
+
}), errors.password && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
59
|
+
className: "text-red-500 text-xs",
|
|
60
|
+
children: errors.password.message
|
|
61
|
+
})]
|
|
62
|
+
}),
|
|
63
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
64
|
+
className: "grid gap-2",
|
|
65
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.Input, {
|
|
66
|
+
labelPlacement: "outside",
|
|
67
|
+
label: t("web-ui:auth.resetPassword.confirmPassword"),
|
|
68
|
+
placeholder: t("web-ui:auth.resetPassword.confirmPassword"),
|
|
69
|
+
type: "password",
|
|
70
|
+
variant: "bordered",
|
|
71
|
+
isRequired: true,
|
|
72
|
+
...register("confirmPassword", { required: t("web-ui:auth.resetPassword.confirmPasswordRequired") })
|
|
73
|
+
}), errors.confirmPassword && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
74
|
+
className: "text-red-500 text-xs",
|
|
75
|
+
children: errors.confirmPassword.message
|
|
76
|
+
})]
|
|
77
|
+
}),
|
|
78
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.Button, {
|
|
79
|
+
type: "submit",
|
|
80
|
+
className: "w-full",
|
|
81
|
+
color: "primary",
|
|
82
|
+
children: t("web-ui:auth.resetPassword.button")
|
|
83
|
+
})
|
|
84
|
+
]
|
|
85
|
+
})
|
|
86
|
+
})] }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
87
|
+
className: "text-center text-xs text-muted-foreground",
|
|
88
|
+
children: [
|
|
89
|
+
t("web-ui:auth.forgotPassword.rememberPassword"),
|
|
90
|
+
" ",
|
|
91
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_router.Link, {
|
|
92
|
+
to: "/login",
|
|
93
|
+
className: "underline underline-offset-4 hover:text-primary",
|
|
94
|
+
children: t("web-ui:auth.login.button")
|
|
95
|
+
})
|
|
96
|
+
]
|
|
97
|
+
})]
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
//#endregion
|
|
101
|
+
exports.ResetPasswordForm = ResetPasswordForm;
|
|
102
|
+
|
|
103
|
+
//# sourceMappingURL=ResetPasswordForm.js.map
|