@m5kdev/web-ui 0.8.0 → 0.8.3

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.
Files changed (1138) hide show
  1. package/dist/_virtual/_rolldown/runtime.mjs +13 -0
  2. 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.mts +1 -0
  3. 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.mts +1 -0
  4. 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.mts +1 -0
  5. 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.mts +1 -0
  6. 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.mts +1 -0
  7. 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.mts +1 -0
  8. 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.mts +1 -0
  9. 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.mts +1 -0
  10. 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.mts +1 -0
  11. 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.mts +1 -0
  12. 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.mts +1 -0
  13. 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.mts +1 -0
  14. 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.mts +1 -0
  15. 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.mts +1 -0
  16. 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.mts +1 -0
  17. 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.mts +1 -0
  18. 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.mts +1 -0
  19. 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.mts +1 -0
  20. 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.mts +1 -0
  21. 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.mts +1 -0
  22. 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.mts +1 -0
  23. 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.mts +1 -0
  24. 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.mts +1 -0
  25. 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.mts +1 -0
  26. 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.mts +1 -0
  27. 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.mts +1 -0
  28. 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.mts +1 -0
  29. 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.mts +1 -0
  30. 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.mts +1 -0
  31. 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.mts +1 -0
  32. 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.mts +1 -0
  33. 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.mts +1 -0
  34. 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.mts +1 -0
  35. 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.mts +1 -0
  36. 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.mts +1 -0
  37. 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.mts +1 -0
  38. 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.mts +1 -0
  39. 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.mts +1 -0
  40. 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.mts +1 -0
  41. 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.mts +1 -0
  42. 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.mts +1 -0
  43. 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.mts +1 -0
  44. 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.mts +1 -0
  45. 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.mts +1 -0
  46. 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.mts +1 -0
  47. 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.mts +1 -0
  48. 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.mts +1 -0
  49. 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.mts +1 -0
  50. 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.mts +1 -0
  51. 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.mts +1 -0
  52. 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.mts +1 -0
  53. 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.mts +1 -0
  54. 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.mts +1 -0
  55. 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.mts +1 -0
  56. 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.mts +1 -0
  57. 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.mts +1 -0
  58. 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.mts +1 -0
  59. 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.mts +1 -0
  60. 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.mts +1 -0
  61. 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.mts +1 -0
  62. 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.mts +1 -0
  63. 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.mts +1 -0
  64. 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.mts +1 -0
  65. 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.mts +1 -0
  66. 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.mts +1 -0
  67. 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.mts +1 -0
  68. 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.mts +1 -0
  69. 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.mts +1 -0
  70. 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.mts +1 -0
  71. 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.mts +1 -0
  72. 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.mts +1 -0
  73. 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.mts +1 -0
  74. 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.mts +1 -0
  75. 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.mts +1 -0
  76. package/dist/node_modules/.pnpm/@libsql_core@0.17.0/node_modules/@libsql/core/lib-esm/api.d.mts +79 -0
  77. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/client.d.mts +580 -0
  78. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/exports.d.mts +14 -0
  79. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/integration.d.mts +10 -0
  80. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/scope.d.mts +289 -0
  81. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/attachment.d.mts +32 -0
  82. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/breadcrumb.d.mts +86 -0
  83. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/checkin.d.mts +101 -0
  84. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/clientreport.d.mts +16 -0
  85. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/context.d.mts +132 -0
  86. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/csp.d.mts +19 -0
  87. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/datacategory.d.mts +5 -0
  88. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/debugMeta.d.mts +30 -0
  89. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/dsn.d.mts +23 -0
  90. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/envelope.d.mts +153 -0
  91. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/event.d.mts +91 -0
  92. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/eventprocessor.d.mts +16 -0
  93. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/exception.d.mts +16 -0
  94. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/extra.d.mts +6 -0
  95. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/feedback/sendFeedback.d.mts +35 -0
  96. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/integration.d.mts +43 -0
  97. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/link.d.mts +32 -0
  98. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/log.d.mts +73 -0
  99. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/measurement.d.mts +26 -0
  100. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/mechanism.d.mts +54 -0
  101. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/metric.d.mts +77 -0
  102. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/misc.d.mts +32 -0
  103. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/opentelemetry.d.mts +17 -0
  104. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/options.d.mts +426 -0
  105. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/package.d.mts +11 -0
  106. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/parameterize.d.mts +8 -0
  107. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/profiling.d.mts +132 -0
  108. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/replay.d.mts +29 -0
  109. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/request.d.mts +21 -0
  110. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/samplingcontext.d.mts +49 -0
  111. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/sdkinfo.d.mts +18 -0
  112. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/sdkmetadata.d.mts +9 -0
  113. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/session.d.mts +68 -0
  114. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/severity.d.mts +5 -0
  115. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/span.d.mts +183 -0
  116. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/spanStatus.d.mts +27 -0
  117. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/stackframe.d.mts +25 -0
  118. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/stacktrace.d.mts +12 -0
  119. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/startSpanOptions.d.mts +66 -0
  120. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/thread.d.mts +15 -0
  121. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/tracing.d.mts +51 -0
  122. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/transaction.d.mts +9 -0
  123. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/transport.d.mts +32 -0
  124. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/user.d.mts +20 -0
  125. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/utils/featureFlags.d.mts +13 -0
  126. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/utils/prepareEvent.d.mts +13 -0
  127. package/dist/node_modules/.pnpm/@trpc_server@11.4.3_typescript@5.9.2/node_modules/@trpc/server/dist/index.d-D4qZxQJh.d.mts +31 -0
  128. 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.mts +912 -0
  129. 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.mts +1 -0
  130. 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.mts +1 -0
  131. 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.mts +1 -0
  132. 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.mts +1 -0
  133. 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.mts +1 -0
  134. 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.mts +1 -0
  135. 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.mts +1 -0
  136. 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.mts +1 -0
  137. 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.mts +1 -0
  138. 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.mts +1 -0
  139. 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.mts +1 -0
  140. 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.mts +1 -0
  141. 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.mts +1 -0
  142. 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.mts +1 -0
  143. 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.mts +1 -0
  144. 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.mts +1 -0
  145. 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.mts +1 -0
  146. 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.mts +1 -0
  147. 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.mts +1 -0
  148. 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.mts +1 -0
  149. 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.mts +1 -0
  150. 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.mts +1 -0
  151. 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.mts +1 -0
  152. 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.mts +1 -0
  153. 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.mts +1 -0
  154. 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.mts +1 -0
  155. 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.mts +3 -0
  156. 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.mts +1 -0
  157. 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.mts +1 -0
  158. 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.mts +1 -0
  159. 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.mts +1 -0
  160. 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.mts +1 -0
  161. 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.mts +1 -0
  162. 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.mts +1 -0
  163. 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.mts +1 -0
  164. 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.mts +1 -0
  165. 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.mts +1 -0
  166. 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.mts +1 -0
  167. 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.mts +1 -0
  168. 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.mts +1 -0
  169. 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.mts +1 -0
  170. 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.mts +1 -0
  171. 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.mts +1 -0
  172. 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.mts +1 -0
  173. 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.mts +1 -0
  174. 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.mts +1 -0
  175. 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.mts +1 -0
  176. 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.mts +1 -0
  177. 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.mts +1 -0
  178. 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.mts +1 -0
  179. 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.mts +1 -0
  180. 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.mts +1 -0
  181. 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.mts +1 -0
  182. 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.mts +1 -0
  183. 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.mts +1 -0
  184. 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.mts +1 -0
  185. 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.mts +1 -0
  186. 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.mts +1 -0
  187. 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.mts +1 -0
  188. 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.mts +1 -0
  189. 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.mts +1 -0
  190. 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.mts +1 -0
  191. 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.mts +1 -0
  192. 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.mts +1 -0
  193. 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.mts +1 -0
  194. 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.mts +1 -0
  195. 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.mts +1 -0
  196. 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.mts +1 -0
  197. 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.mts +1 -0
  198. 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.mts +1 -0
  199. 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.mts +1 -0
  200. 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.mts +1 -0
  201. 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.mts +1 -0
  202. 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.mts +1 -0
  203. 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.mts +1 -0
  204. 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.mts +1 -0
  205. 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.mts +1 -0
  206. 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.mts +1 -0
  207. 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.mts +1 -0
  208. 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.mts +1 -0
  209. 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.mts +1 -0
  210. 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.mts +1 -0
  211. 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.mts +1 -0
  212. 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.mts +1 -0
  213. 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.mts +1 -0
  214. 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.mts +1 -0
  215. 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.mts +1 -0
  216. 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.mts +1 -0
  217. 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.mts +1 -0
  218. 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.mts +1 -0
  219. 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.mts +1 -0
  220. 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.mts +1 -0
  221. 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.mts +1 -0
  222. 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.mts +1 -0
  223. 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.mts +1 -0
  224. 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.mts +1 -0
  225. 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.mts +1 -0
  226. 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.mts +1 -0
  227. 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.mts +1 -0
  228. 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.mts +1 -0
  229. 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.mts +1 -0
  230. 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.mts +1 -0
  231. 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.mts +1 -0
  232. 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.mts +1 -0
  233. 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.mts +1 -0
  234. 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.mts +1 -0
  235. 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.mts +1 -0
  236. 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.mts +1 -0
  237. 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.mts +9 -0
  238. 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.mts +33 -0
  239. 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.mts +37 -0
  240. 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.mts +17 -0
  241. 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.mts +116 -0
  242. 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.mts +69 -0
  243. 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.mts +5 -0
  244. 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.mts +16 -0
  245. 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.mts +12 -0
  246. 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.mts +13 -0
  247. 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.mts +15 -0
  248. 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.mts +16 -0
  249. 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.mts +13 -0
  250. 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.mts +27 -0
  251. 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.mts +16 -0
  252. 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.mts +12 -0
  253. 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.mts +12 -0
  254. 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.mts +16 -0
  255. 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.mts +38 -0
  256. 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.mts +14 -0
  257. 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.mts +171 -0
  258. 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.mts +12 -0
  259. 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.mts +10 -0
  260. 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.mts +16 -0
  261. 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.mts +13 -0
  262. 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.mts +287 -0
  263. 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.mts +43 -0
  264. 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.mts +225 -0
  265. 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.mts +18 -0
  266. 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.mts +258 -0
  267. 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.mts +132 -0
  268. 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.mts +8 -0
  269. 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.mts +31 -0
  270. 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.mts +122 -0
  271. 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.mts +171 -0
  272. 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.mts +33 -0
  273. 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.mts +60 -0
  274. 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.mts +34 -0
  275. 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.mts +476 -0
  276. 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.mts +122 -0
  277. 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.mts +154 -0
  278. 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.mts +112 -0
  279. 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.mts +23 -0
  280. 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.mts +13 -0
  281. 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.mts +13 -0
  282. 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.mts +21 -0
  283. 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.mts +24 -0
  284. 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.mts +71 -0
  285. 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.mts +27 -0
  286. 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.mts +1 -0
  287. 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.mts +1 -0
  288. 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.mts +1 -0
  289. 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.mts +1 -0
  290. 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.mts +1 -0
  291. 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.mts +1 -0
  292. 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.mts +1 -0
  293. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/dialect-adapter-base.d.mts +1 -0
  294. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/dialect-adapter.d.mts +1 -0
  295. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/dialect.d.mts +1 -0
  296. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mssql/mssql-adapter.d.mts +1 -0
  297. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mssql/mssql-dialect.d.mts +1 -0
  298. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mssql/mssql-introspector.d.mts +1 -0
  299. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mysql/mysql-adapter.d.mts +1 -0
  300. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mysql/mysql-dialect.d.mts +1 -0
  301. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mysql/mysql-introspector.d.mts +1 -0
  302. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/postgres/postgres-adapter.d.mts +1 -0
  303. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/postgres/postgres-dialect.d.mts +1 -0
  304. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/postgres/postgres-introspector.d.mts +1 -0
  305. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/sqlite/sqlite-adapter.d.mts +1 -0
  306. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/sqlite/sqlite-dialect.d.mts +1 -0
  307. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/sqlite/sqlite-introspector.d.mts +1 -0
  308. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/expression/expression-builder.d.mts +1 -0
  309. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/index.d.mts +1 -0
  310. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/kysely.d.mts +38 -0
  311. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/migration/file-migration-provider.d.mts +1 -0
  312. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/migration/migrator.d.mts +1 -0
  313. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/binary-operation-parser.d.mts +1 -0
  314. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/delete-from-parser.d.mts +1 -0
  315. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/expression-parser.d.mts +1 -0
  316. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/group-by-parser.d.mts +1 -0
  317. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/insert-values-parser.d.mts +1 -0
  318. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/join-parser.d.mts +1 -0
  319. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/merge-into-parser.d.mts +1 -0
  320. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/reference-parser.d.mts +1 -0
  321. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/returning-parser.d.mts +1 -0
  322. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/select-from-parser.d.mts +1 -0
  323. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/select-parser.d.mts +1 -0
  324. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/set-operation-parser.d.mts +1 -0
  325. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/tuple-parser.d.mts +1 -0
  326. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/unary-operation-parser.d.mts +1 -0
  327. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/update-parser.d.mts +1 -0
  328. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/update-set-parser.d.mts +1 -0
  329. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/value-parser.d.mts +1 -0
  330. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/with-parser.d.mts +1 -0
  331. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/case-builder.d.mts +1 -0
  332. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/delete-query-builder.d.mts +1 -0
  333. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/having-interface.d.mts +1 -0
  334. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/insert-query-builder.d.mts +1 -0
  335. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/join-builder.d.mts +1 -0
  336. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/merge-query-builder.d.mts +1 -0
  337. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/on-conflict-builder.d.mts +1 -0
  338. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/output-interface.d.mts +1 -0
  339. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/returning-interface.d.mts +1 -0
  340. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/select-query-builder.d.mts +1 -0
  341. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/update-query-builder.d.mts +1 -0
  342. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/where-interface.d.mts +1 -0
  343. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-creator.d.mts +1 -0
  344. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-executor/default-query-executor.d.mts +1 -0
  345. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-executor/noop-query-executor.d.mts +1 -0
  346. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-executor/query-executor-base.d.mts +1 -0
  347. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-executor/query-executor-provider.d.mts +1 -0
  348. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-executor/query-executor.d.mts +1 -0
  349. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/raw-builder/raw-builder.d.mts +1 -0
  350. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/raw-builder/sql.d.mts +1 -0
  351. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/alter-table-add-foreign-key-constraint-builder.d.mts +1 -0
  352. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/alter-table-add-index-builder.d.mts +1 -0
  353. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/alter-table-builder.d.mts +1 -0
  354. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/alter-table-drop-constraint-builder.d.mts +1 -0
  355. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/alter-table-executor.d.mts +1 -0
  356. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/create-index-builder.d.mts +1 -0
  357. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/create-schema-builder.d.mts +1 -0
  358. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/create-table-builder.d.mts +1 -0
  359. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/create-type-builder.d.mts +1 -0
  360. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/create-view-builder.d.mts +1 -0
  361. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/drop-index-builder.d.mts +1 -0
  362. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/drop-schema-builder.d.mts +1 -0
  363. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/drop-table-builder.d.mts +1 -0
  364. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/drop-type-builder.d.mts +1 -0
  365. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/drop-view-builder.d.mts +1 -0
  366. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/refresh-materialized-view-builder.d.mts +1 -0
  367. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/schema.d.mts +1 -0
  368. package/dist/node_modules/.pnpm/neverthrow@8.2.0/node_modules/neverthrow/dist/index.d.mts +299 -0
  369. package/dist/node_modules/.pnpm/pino-std-serializers@7.0.0/node_modules/pino-std-serializers/index.d.mts +132 -0
  370. package/dist/node_modules/.pnpm/pino@9.6.0/node_modules/pino/pino.d.mts +766 -0
  371. 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.mts +1295 -0
  372. package/dist/node_modules/.pnpm/sonic-boom@4.2.0/node_modules/sonic-boom/types/index.d.mts +55 -0
  373. package/dist/node_modules/.pnpm/stripe@20.1.0_@types_node@20.19.11/node_modules/stripe/types/index.d.mts +573 -0
  374. package/dist/packages/backend/dist/src/modules/auth/auth.db.d.mts +610 -0
  375. package/dist/packages/backend/dist/src/modules/auth/auth.dto.d.mts +71 -0
  376. package/dist/packages/backend/dist/src/modules/auth/auth.lib.d.mts +8 -0
  377. package/dist/packages/backend/dist/src/modules/auth/auth.repository.d.mts +2455 -0
  378. package/dist/packages/backend/dist/src/modules/auth/auth.service.d.mts +106 -0
  379. package/dist/packages/backend/dist/src/modules/base/base.abstract.d.mts +30 -0
  380. package/dist/packages/backend/dist/src/modules/base/base.actor.d.mts +38 -0
  381. package/dist/packages/backend/dist/src/modules/base/base.dto.d.mts +13 -0
  382. package/dist/packages/backend/dist/src/modules/base/base.grants.d.mts +1 -0
  383. package/dist/packages/backend/dist/src/modules/base/base.procedure.d.mts +47 -0
  384. package/dist/packages/backend/dist/src/modules/base/base.repository.d.mts +126 -0
  385. package/dist/packages/backend/dist/src/modules/base/base.service.d.mts +34 -0
  386. package/dist/packages/backend/dist/src/modules/base/base.types.d.mts +6 -0
  387. package/dist/packages/backend/dist/src/modules/billing/billing.repository.d.mts +2788 -0
  388. package/dist/packages/backend/dist/src/modules/billing/billing.service.d.mts +53 -0
  389. package/dist/packages/backend/dist/src/modules/email/email.service.d.mts +63 -0
  390. package/dist/packages/backend/dist/src/types.d.mts +344 -0
  391. package/dist/packages/backend/dist/src/utils/errors.d.mts +60 -0
  392. package/dist/packages/backend/dist/src/utils/logger.d.mts +8 -0
  393. package/dist/packages/backend/dist/src/utils/trpc.d.mts +23 -0
  394. package/dist/src/animations/card.motion.d.mts +7 -0
  395. package/dist/src/animations/card.motion.mjs +26 -0
  396. package/dist/src/animations/card.motion.mjs.map +1 -0
  397. package/dist/src/components/AvatarUpload.d.mts +16 -0
  398. package/dist/src/components/AvatarUpload.mjs +109 -0
  399. package/dist/src/components/AvatarUpload.mjs.map +1 -0
  400. package/dist/src/components/Button.d.mts +15 -0
  401. package/dist/src/components/Button.mjs +14 -0
  402. package/dist/src/components/Button.mjs.map +1 -0
  403. package/dist/src/components/Calendar.d.mts +37 -0
  404. package/dist/src/components/Calendar.mjs +18 -0
  405. package/dist/src/components/Calendar.mjs.map +1 -0
  406. package/dist/src/components/CardsSelect.d.mts +27 -0
  407. package/dist/src/components/CardsSelect.mjs +79 -0
  408. package/dist/src/components/CardsSelect.mjs.map +1 -0
  409. package/dist/src/components/CollapsibleSidebarMenuItem.d.mts +22 -0
  410. package/dist/src/components/CollapsibleSidebarMenuItem.mjs +34 -0
  411. package/dist/src/components/CollapsibleSidebarMenuItem.mjs.map +1 -0
  412. package/dist/src/components/ColorPicker.d.mts +15 -0
  413. package/dist/src/components/ColorPicker.mjs +51 -0
  414. package/dist/src/components/ColorPicker.mjs.map +1 -0
  415. package/dist/src/components/CopyButton.d.mts +18 -0
  416. package/dist/src/components/CopyButton.mjs +33 -0
  417. package/dist/src/components/CopyButton.mjs.map +1 -0
  418. package/dist/src/components/CropDialog.d.mts +22 -0
  419. package/dist/src/components/CropDialog.mjs +113 -0
  420. package/dist/src/components/CropDialog.mjs.map +1 -0
  421. package/dist/src/components/DialogProvider.d.mts +23 -0
  422. package/dist/src/components/DialogProvider.mjs +72 -0
  423. package/dist/src/components/DialogProvider.mjs.map +1 -0
  424. package/dist/src/components/ErrorFallback.d.mts +13 -0
  425. package/dist/src/components/ErrorFallback.mjs +30 -0
  426. package/dist/src/components/ErrorFallback.mjs.map +1 -0
  427. package/dist/src/components/FileDropzone.d.mts +14 -0
  428. package/dist/src/components/FileDropzone.mjs +101 -0
  429. package/dist/src/components/FileDropzone.mjs.map +1 -0
  430. package/dist/src/components/MultiSelectDropdown.d.mts +29 -0
  431. package/dist/src/components/MultiSelectDropdown.mjs +103 -0
  432. package/dist/src/components/MultiSelectDropdown.mjs.map +1 -0
  433. package/dist/src/components/Orb.d.mts +17 -0
  434. package/dist/src/components/Orb.mjs +267 -0
  435. package/dist/src/components/Orb.mjs.map +1 -0
  436. package/dist/src/components/PageAlert.d.mts +23 -0
  437. package/dist/src/components/PageAlert.mjs +76 -0
  438. package/dist/src/components/PageAlert.mjs.map +1 -0
  439. package/dist/src/components/SelectChips.d.mts +21 -0
  440. package/dist/src/components/SelectChips.mjs +23 -0
  441. package/dist/src/components/SelectChips.mjs.map +1 -0
  442. package/dist/src/components/SidebarItem.d.mts +18 -0
  443. package/dist/src/components/SidebarItem.mjs +18 -0
  444. package/dist/src/components/SidebarItem.mjs.map +1 -0
  445. package/dist/src/components/Steps.d.mts +24 -0
  446. package/dist/src/components/Steps.mjs +200 -0
  447. package/dist/src/components/Steps.mjs.map +1 -0
  448. package/dist/src/components/TablerIconPicker.d.mts +13 -0
  449. package/dist/src/components/TablerIconPicker.mjs +4258 -0
  450. package/dist/src/components/TablerIconPicker.mjs.map +1 -0
  451. package/dist/src/components/app-header.d.mts +14 -0
  452. package/dist/src/components/app-header.mjs +29 -0
  453. package/dist/src/components/app-header.mjs.map +1 -0
  454. package/dist/src/components/blur-card.d.mts +27 -0
  455. package/dist/src/components/blur-card.mjs +137 -0
  456. package/dist/src/components/blur-card.mjs.map +1 -0
  457. package/dist/src/components/features-section-demo-1.d.mts +22 -0
  458. package/dist/src/components/features-section-demo-1.mjs +125 -0
  459. package/dist/src/components/features-section-demo-1.mjs.map +1 -0
  460. package/dist/src/components/features-section-demo-2.d.mts +7 -0
  461. package/dist/src/components/features-section-demo-2.mjs +82 -0
  462. package/dist/src/components/features-section-demo-2.mjs.map +1 -0
  463. package/dist/src/components/features-section-demo-3.d.mts +16 -0
  464. package/dist/src/components/features-section-demo-3.mjs +252 -0
  465. package/dist/src/components/features-section-demo-3.mjs.map +1 -0
  466. package/dist/src/components/mode-toggle.d.mts +7 -0
  467. package/dist/src/components/mode-toggle.mjs +44 -0
  468. package/dist/src/components/mode-toggle.mjs.map +1 -0
  469. package/dist/src/components/nav-main.d.mts +21 -0
  470. package/dist/src/components/nav-main.mjs +35 -0
  471. package/dist/src/components/nav-main.mjs.map +1 -0
  472. package/dist/src/components/pricing-cards.d.mts +7 -0
  473. package/dist/src/components/pricing-cards.mjs +128 -0
  474. package/dist/src/components/pricing-cards.mjs.map +1 -0
  475. package/dist/src/components/shared/ButtonCopy.d.mts +17 -0
  476. package/dist/src/components/shared/ButtonCopy.mjs +35 -0
  477. package/dist/src/components/shared/ButtonCopy.mjs.map +1 -0
  478. package/dist/src/components/team-switcher.d.mts +16 -0
  479. package/dist/src/components/team-switcher.mjs +72 -0
  480. package/dist/src/components/team-switcher.mjs.map +1 -0
  481. package/dist/src/components/theme-provider.d.mts +23 -0
  482. package/dist/src/components/theme-provider.mjs +45 -0
  483. package/dist/src/components/theme-provider.mjs.map +1 -0
  484. package/dist/src/components/typewriter.d.mts +39 -0
  485. package/dist/src/components/typewriter.mjs +47 -0
  486. package/dist/src/components/typewriter.mjs.map +1 -0
  487. package/dist/src/components/ui/alert-dialog.d.mts +49 -0
  488. package/dist/src/components/ui/alert-dialog.mjs +81 -0
  489. package/dist/src/components/ui/alert-dialog.mjs.map +1 -0
  490. package/dist/src/components/ui/alert.d.mts +25 -0
  491. package/dist/src/components/ui/alert.mjs +37 -0
  492. package/dist/src/components/ui/alert.mjs.map +1 -0
  493. package/dist/src/components/ui/avatar.d.mts +10 -0
  494. package/dist/src/components/ui/avatar.mjs +28 -0
  495. package/dist/src/components/ui/avatar.mjs.map +1 -0
  496. package/dist/src/components/ui/badge.d.mts +18 -0
  497. package/dist/src/components/ui/badge.mjs +23 -0
  498. package/dist/src/components/ui/badge.mjs.map +1 -0
  499. package/dist/src/components/ui/bento-grid.d.mts +26 -0
  500. package/dist/src/components/ui/bento-grid.mjs +32 -0
  501. package/dist/src/components/ui/bento-grid.mjs.map +1 -0
  502. package/dist/src/components/ui/bento-grid2.d.mts +31 -0
  503. package/dist/src/components/ui/bento-grid2.mjs +49 -0
  504. package/dist/src/components/ui/bento-grid2.mjs.map +1 -0
  505. package/dist/src/components/ui/breadcrumb.d.mts +31 -0
  506. package/dist/src/components/ui/breadcrumb.mjs +63 -0
  507. package/dist/src/components/ui/breadcrumb.mjs.map +1 -0
  508. package/dist/src/components/ui/button.d.mts +16 -0
  509. package/dist/src/components/ui/button.mjs +44 -0
  510. package/dist/src/components/ui/button.mjs.map +1 -0
  511. package/dist/src/components/ui/card.d.mts +12 -0
  512. package/dist/src/components/ui/card.mjs +44 -0
  513. package/dist/src/components/ui/card.mjs.map +1 -0
  514. package/dist/src/components/ui/checkbox.d.mts +8 -0
  515. package/dist/src/components/ui/checkbox.mjs +20 -0
  516. package/dist/src/components/ui/checkbox.mjs.map +1 -0
  517. package/dist/src/components/ui/collapsible.d.mts +10 -0
  518. package/dist/src/components/ui/collapsible.mjs +9 -0
  519. package/dist/src/components/ui/collapsible.mjs.map +1 -0
  520. package/dist/src/components/ui/dialog.d.mts +45 -0
  521. package/dist/src/components/ui/dialog.mjs +85 -0
  522. package/dist/src/components/ui/dialog.mjs.map +1 -0
  523. package/dist/src/components/ui/dropdown-menu.d.mts +35 -0
  524. package/dist/src/components/ui/dropdown-menu.mjs +82 -0
  525. package/dist/src/components/ui/dropdown-menu.mjs.map +1 -0
  526. package/dist/src/components/ui/floating-navbar.d.mts +18 -0
  527. package/dist/src/components/ui/floating-navbar.mjs +52 -0
  528. package/dist/src/components/ui/floating-navbar.mjs.map +1 -0
  529. package/dist/src/components/ui/form.d.mts +32 -0
  530. package/dist/src/components/ui/form.mjs +92 -0
  531. package/dist/src/components/ui/form.mjs.map +1 -0
  532. package/dist/src/components/ui/image.d.mts +10 -0
  533. package/dist/src/components/ui/image.mjs +55 -0
  534. package/dist/src/components/ui/image.mjs.map +1 -0
  535. package/dist/src/components/ui/input.d.mts +7 -0
  536. package/dist/src/components/ui/input.mjs +17 -0
  537. package/dist/src/components/ui/input.mjs.map +1 -0
  538. package/dist/src/components/ui/label.d.mts +10 -0
  539. package/dist/src/components/ui/label.mjs +17 -0
  540. package/dist/src/components/ui/label.mjs.map +1 -0
  541. package/dist/src/components/ui/pagination.d.mts +40 -0
  542. package/dist/src/components/ui/pagination.mjs +79 -0
  543. package/dist/src/components/ui/pagination.mjs.map +1 -0
  544. package/dist/src/components/ui/progress.d.mts +8 -0
  545. package/dist/src/components/ui/progress.mjs +19 -0
  546. package/dist/src/components/ui/progress.mjs.map +1 -0
  547. package/dist/src/components/ui/resizable-navbar.d.mts +97 -0
  548. package/dist/src/components/ui/resizable-navbar.mjs +138 -0
  549. package/dist/src/components/ui/resizable-navbar.mjs.map +1 -0
  550. package/dist/src/components/ui/segment-control.d.mts +12 -0
  551. package/dist/src/components/ui/segment-control.mjs +87 -0
  552. package/dist/src/components/ui/segment-control.mjs.map +1 -0
  553. package/dist/src/components/ui/select.d.mts +17 -0
  554. package/dist/src/components/ui/select.mjs +75 -0
  555. package/dist/src/components/ui/select.mjs.map +1 -0
  556. package/dist/src/components/ui/separator.d.mts +8 -0
  557. package/dist/src/components/ui/separator.mjs +17 -0
  558. package/dist/src/components/ui/separator.mjs.map +1 -0
  559. package/dist/src/components/ui/sheet.d.mts +36 -0
  560. package/dist/src/components/ui/sheet.mjs +66 -0
  561. package/dist/src/components/ui/sheet.mjs.map +1 -0
  562. package/dist/src/components/ui/sidebar.d.mts +73 -0
  563. package/dist/src/components/ui/sidebar.mjs +377 -0
  564. package/dist/src/components/ui/sidebar.mjs.map +1 -0
  565. package/dist/src/components/ui/skeleton.d.mts +10 -0
  566. package/dist/src/components/ui/skeleton.mjs +13 -0
  567. package/dist/src/components/ui/skeleton.mjs.map +1 -0
  568. package/dist/src/components/ui/slider.d.mts +8 -0
  569. package/dist/src/components/ui/slider.mjs +19 -0
  570. package/dist/src/components/ui/slider.mjs.map +1 -0
  571. package/dist/src/components/ui/sonner.d.mts +11 -0
  572. package/dist/src/components/ui/sonner.mjs +22 -0
  573. package/dist/src/components/ui/sonner.mjs.map +1 -0
  574. package/dist/src/components/ui/spinner.d.mts +25 -0
  575. package/dist/src/components/ui/spinner.mjs +30 -0
  576. package/dist/src/components/ui/spinner.mjs.map +1 -0
  577. package/dist/src/components/ui/switch.d.mts +8 -0
  578. package/dist/src/components/ui/switch.mjs +16 -0
  579. package/dist/src/components/ui/switch.mjs.map +1 -0
  580. package/dist/src/components/ui/table.d.mts +39 -0
  581. package/dist/src/components/ui/table.mjs +67 -0
  582. package/dist/src/components/ui/table.mjs.map +1 -0
  583. package/dist/src/components/ui/tabs.d.mts +24 -0
  584. package/dist/src/components/ui/tabs.mjs +36 -0
  585. package/dist/src/components/ui/tabs.mjs.map +1 -0
  586. package/dist/src/components/ui/textarea.d.mts +11 -0
  587. package/dist/src/components/ui/textarea.mjs +14 -0
  588. package/dist/src/components/ui/textarea.mjs.map +1 -0
  589. package/dist/src/components/ui/timeline.d.mts +18 -0
  590. package/dist/src/components/ui/timeline.mjs +90 -0
  591. package/dist/src/components/ui/timeline.mjs.map +1 -0
  592. package/dist/src/components/ui/toast.d.mts +20 -0
  593. package/dist/src/components/ui/toast.mjs +59 -0
  594. package/dist/src/components/ui/toast.mjs.map +1 -0
  595. package/dist/src/components/ui/tooltip.d.mts +24 -0
  596. package/dist/src/components/ui/tooltip.mjs +36 -0
  597. package/dist/src/components/ui/tooltip.mjs.map +1 -0
  598. package/dist/src/components/ui/typewriter-effect.d.mts +30 -0
  599. package/dist/src/components/ui/typewriter-effect.mjs +106 -0
  600. package/dist/src/components/ui/typewriter-effect.mjs.map +1 -0
  601. package/dist/src/hooks/use-mobile.d.mts +5 -0
  602. package/dist/src/hooks/use-mobile.mjs +20 -0
  603. package/dist/src/hooks/use-mobile.mjs.map +1 -0
  604. package/dist/src/hooks/useDialog.d.mts +8 -0
  605. package/dist/src/hooks/useDialog.mjs +26 -0
  606. package/dist/src/hooks/useDialog.mjs.map +1 -0
  607. package/dist/src/icons/GoogleIcon.d.mts +9 -0
  608. package/dist/src/icons/GoogleIcon.mjs +33 -0
  609. package/dist/src/icons/GoogleIcon.mjs.map +1 -0
  610. package/dist/src/icons/LinkedInIcon.d.mts +9 -0
  611. package/dist/src/icons/LinkedInIcon.mjs +28 -0
  612. package/dist/src/icons/LinkedInIcon.mjs.map +1 -0
  613. package/dist/src/icons/MicrosoftIcon.d.mts +9 -0
  614. package/dist/src/icons/MicrosoftIcon.mjs +32 -0
  615. package/dist/src/icons/MicrosoftIcon.mjs.map +1 -0
  616. package/dist/src/lib/chatwoot.d.mts +20 -0
  617. package/dist/src/lib/chatwoot.mjs +26 -0
  618. package/dist/src/lib/chatwoot.mjs.map +1 -0
  619. package/dist/src/lib/utils.d.mts +7 -0
  620. package/dist/src/lib/utils.mjs +10 -0
  621. package/dist/src/lib/utils.mjs.map +1 -0
  622. package/dist/src/modules/app/components/AppLoader.d.mts +8 -0
  623. package/dist/src/modules/app/components/AppLoader.mjs +16 -0
  624. package/dist/src/modules/app/components/AppLoader.mjs.map +1 -0
  625. package/dist/src/modules/app/components/AppShell.d.mts +16 -0
  626. package/dist/src/modules/app/components/AppShell.mjs +16 -0
  627. package/dist/src/modules/app/components/AppShell.mjs.map +1 -0
  628. package/dist/src/modules/app/components/AppSidebar.d.mts +17 -0
  629. package/dist/src/modules/app/components/AppSidebar.mjs +18 -0
  630. package/dist/src/modules/app/components/AppSidebar.mjs.map +1 -0
  631. package/dist/src/modules/app/components/AppSidebarContent.d.mts +25 -0
  632. package/dist/src/modules/app/components/AppSidebarContent.mjs +36 -0
  633. package/dist/src/modules/app/components/AppSidebarContent.mjs.map +1 -0
  634. package/dist/src/modules/app/components/AppSidebarHeader.d.mts +18 -0
  635. package/dist/src/modules/app/components/AppSidebarHeader.mjs +41 -0
  636. package/dist/src/modules/app/components/AppSidebarHeader.mjs.map +1 -0
  637. package/dist/src/modules/app/components/AppSidebarInvites.d.mts +11 -0
  638. package/dist/src/modules/app/components/AppSidebarInvites.mjs +43 -0
  639. package/dist/src/modules/app/components/AppSidebarInvites.mjs.map +1 -0
  640. package/dist/src/modules/app/components/AppSidebarUser.d.mts +21 -0
  641. package/dist/src/modules/app/components/AppSidebarUser.mjs +125 -0
  642. package/dist/src/modules/app/components/AppSidebarUser.mjs.map +1 -0
  643. package/dist/src/modules/auth/components/AdminUserManagement.d.mts +13 -0
  644. package/dist/src/modules/auth/components/AdminUserManagement.mjs +974 -0
  645. package/dist/src/modules/auth/components/AdminUserManagement.mjs.map +1 -0
  646. package/dist/src/modules/auth/components/AdminWaitlist.d.mts +13 -0
  647. package/dist/src/modules/auth/components/AdminWaitlist.mjs +287 -0
  648. package/dist/src/modules/auth/components/AdminWaitlist.mjs.map +1 -0
  649. package/dist/src/modules/auth/components/AuthLayout.d.mts +12 -0
  650. package/dist/src/modules/auth/components/AuthLayout.mjs +19 -0
  651. package/dist/src/modules/auth/components/AuthLayout.mjs.map +1 -0
  652. package/dist/src/modules/auth/components/AuthProviders.d.mts +17 -0
  653. package/dist/src/modules/auth/components/AuthProviders.mjs +84 -0
  654. package/dist/src/modules/auth/components/AuthProviders.mjs.map +1 -0
  655. package/dist/src/modules/auth/components/AuthRouter.d.mts +18 -0
  656. package/dist/src/modules/auth/components/AuthRouter.mjs +48 -0
  657. package/dist/src/modules/auth/components/AuthRouter.mjs.map +1 -0
  658. package/dist/src/modules/auth/components/ClaimAccountRoute.d.mts +12 -0
  659. package/dist/src/modules/auth/components/ClaimAccountRoute.mjs +206 -0
  660. package/dist/src/modules/auth/components/ClaimAccountRoute.mjs.map +1 -0
  661. package/dist/src/modules/auth/components/ErrorAuthRoute.d.mts +7 -0
  662. package/dist/src/modules/auth/components/ErrorAuthRoute.mjs +129 -0
  663. package/dist/src/modules/auth/components/ErrorAuthRoute.mjs.map +1 -0
  664. package/dist/src/modules/auth/components/ForgotPasswordForm.d.mts +7 -0
  665. package/dist/src/modules/auth/components/ForgotPasswordForm.mjs +53 -0
  666. package/dist/src/modules/auth/components/ForgotPasswordForm.mjs.map +1 -0
  667. package/dist/src/modules/auth/components/ForgotPasswordRoute.d.mts +7 -0
  668. package/dist/src/modules/auth/components/ForgotPasswordRoute.mjs +37 -0
  669. package/dist/src/modules/auth/components/ForgotPasswordRoute.mjs.map +1 -0
  670. package/dist/src/modules/auth/components/InviteFriends.d.mts +13 -0
  671. package/dist/src/modules/auth/components/InviteFriends.mjs +280 -0
  672. package/dist/src/modules/auth/components/InviteFriends.mjs.map +1 -0
  673. package/dist/src/modules/auth/components/LastUsedBadge.d.mts +17 -0
  674. package/dist/src/modules/auth/components/LastUsedBadge.mjs +19 -0
  675. package/dist/src/modules/auth/components/LastUsedBadge.mjs.map +1 -0
  676. package/dist/src/modules/auth/components/LoginForm.d.mts +11 -0
  677. package/dist/src/modules/auth/components/LoginForm.mjs +111 -0
  678. package/dist/src/modules/auth/components/LoginForm.mjs.map +1 -0
  679. package/dist/src/modules/auth/components/LoginRoute.d.mts +11 -0
  680. package/dist/src/modules/auth/components/LoginRoute.mjs +44 -0
  681. package/dist/src/modules/auth/components/LoginRoute.mjs.map +1 -0
  682. package/dist/src/modules/auth/components/LogoutRoute.d.mts +7 -0
  683. package/dist/src/modules/auth/components/LogoutRoute.mjs +21 -0
  684. package/dist/src/modules/auth/components/LogoutRoute.mjs.map +1 -0
  685. package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.d.mts +22 -0
  686. package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.mjs +112 -0
  687. package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.mjs.map +1 -0
  688. package/dist/src/modules/auth/components/OrganizationMembersRoute.d.mts +61 -0
  689. package/dist/src/modules/auth/components/OrganizationMembersRoute.mjs +458 -0
  690. package/dist/src/modules/auth/components/OrganizationMembersRoute.mjs.map +1 -0
  691. package/dist/src/modules/auth/components/OrganizationPreferences.d.mts +30 -0
  692. package/dist/src/modules/auth/components/OrganizationPreferences.mjs +138 -0
  693. package/dist/src/modules/auth/components/OrganizationPreferences.mjs.map +1 -0
  694. package/dist/src/modules/auth/components/OrganizationSettingsRoute.d.mts +29 -0
  695. package/dist/src/modules/auth/components/OrganizationSettingsRoute.mjs +193 -0
  696. package/dist/src/modules/auth/components/OrganizationSettingsRoute.mjs.map +1 -0
  697. package/dist/src/modules/auth/components/OrganizationSwitcher.d.mts +18 -0
  698. package/dist/src/modules/auth/components/OrganizationSwitcher.mjs +96 -0
  699. package/dist/src/modules/auth/components/OrganizationSwitcher.mjs.map +1 -0
  700. package/dist/src/modules/auth/components/PreferencesEditor.d.mts +49 -0
  701. package/dist/src/modules/auth/components/PreferencesEditor.mjs +85 -0
  702. package/dist/src/modules/auth/components/PreferencesEditor.mjs.map +1 -0
  703. package/dist/src/modules/auth/components/ProfileRoute.d.mts +7 -0
  704. package/dist/src/modules/auth/components/ProfileRoute.mjs +85 -0
  705. package/dist/src/modules/auth/components/ProfileRoute.mjs.map +1 -0
  706. package/dist/src/modules/auth/components/RangeNuqsDatePicker.d.mts +45 -0
  707. package/dist/src/modules/auth/components/RangeNuqsDatePicker.mjs +239 -0
  708. package/dist/src/modules/auth/components/RangeNuqsDatePicker.mjs.map +1 -0
  709. package/dist/src/modules/auth/components/ResetPasswordForm.d.mts +7 -0
  710. package/dist/src/modules/auth/components/ResetPasswordForm.mjs +101 -0
  711. package/dist/src/modules/auth/components/ResetPasswordForm.mjs.map +1 -0
  712. package/dist/src/modules/auth/components/ResetPasswordRoute.d.mts +7 -0
  713. package/dist/src/modules/auth/components/ResetPasswordRoute.mjs +37 -0
  714. package/dist/src/modules/auth/components/ResetPasswordRoute.mjs.map +1 -0
  715. package/dist/src/modules/auth/components/SignupFormRoute.d.mts +15 -0
  716. package/dist/src/modules/auth/components/SignupFormRoute.mjs +149 -0
  717. package/dist/src/modules/auth/components/SignupFormRoute.mjs.map +1 -0
  718. package/dist/src/modules/auth/components/SignupRoute.d.mts +15 -0
  719. package/dist/src/modules/auth/components/SignupRoute.mjs +62 -0
  720. package/dist/src/modules/auth/components/SignupRoute.mjs.map +1 -0
  721. package/dist/src/modules/auth/components/UserPreferences.d.mts +23 -0
  722. package/dist/src/modules/auth/components/UserPreferences.mjs +26 -0
  723. package/dist/src/modules/auth/components/UserPreferences.mjs.map +1 -0
  724. package/dist/src/modules/auth/components/WaitlistCard.d.mts +13 -0
  725. package/dist/src/modules/auth/components/WaitlistCard.mjs +67 -0
  726. package/dist/src/modules/auth/components/WaitlistCard.mjs.map +1 -0
  727. package/dist/src/modules/auth/components/WaitlistCodeValidation.d.mts +15 -0
  728. package/dist/src/modules/auth/components/WaitlistCodeValidation.mjs +45 -0
  729. package/dist/src/modules/auth/components/WaitlistCodeValidation.mjs.map +1 -0
  730. package/dist/src/modules/billing/components/BillingBetaPage.d.mts +17 -0
  731. package/dist/src/modules/billing/components/BillingBetaPage.mjs +158 -0
  732. package/dist/src/modules/billing/components/BillingBetaPage.mjs.map +1 -0
  733. package/dist/src/modules/billing/components/BillingInvoicePage.d.mts +15 -0
  734. package/dist/src/modules/billing/components/BillingInvoicePage.mjs +162 -0
  735. package/dist/src/modules/billing/components/BillingInvoicePage.mjs.map +1 -0
  736. package/dist/src/modules/billing/components/BillingPlanSelect.d.mts +13 -0
  737. package/dist/src/modules/billing/components/BillingPlanSelect.mjs +11 -0
  738. package/dist/src/modules/billing/components/BillingPlanSelect.mjs.map +1 -0
  739. package/dist/src/modules/billing/components/BillingRouter.d.mts +17 -0
  740. package/dist/src/modules/billing/components/BillingRouter.mjs +21 -0
  741. package/dist/src/modules/billing/components/BillingRouter.mjs.map +1 -0
  742. package/dist/src/modules/billing/components/BillingSinglePlanSelect.d.mts +18 -0
  743. package/dist/src/modules/billing/components/BillingSinglePlanSelect.mjs +167 -0
  744. package/dist/src/modules/billing/components/BillingSinglePlanSelect.mjs.map +1 -0
  745. package/dist/src/modules/table/components/ColumnOrderAndVisibility.d.mts +20 -0
  746. package/dist/src/modules/table/components/ColumnOrderAndVisibility.mjs +85 -0
  747. package/dist/src/modules/table/components/ColumnOrderAndVisibility.mjs.map +1 -0
  748. package/dist/src/modules/table/components/NuqsTable.d.mts +36 -0
  749. package/dist/src/modules/table/components/NuqsTable.mjs +308 -0
  750. package/dist/src/modules/table/components/NuqsTable.mjs.map +1 -0
  751. package/dist/src/modules/table/components/TableFiltering.d.mts +35 -0
  752. package/dist/src/modules/table/components/TableFiltering.mjs +418 -0
  753. package/dist/src/modules/table/components/TableFiltering.mjs.map +1 -0
  754. package/dist/src/modules/table/components/TableGroupBy.d.mts +22 -0
  755. package/dist/src/modules/table/components/TableGroupBy.mjs +58 -0
  756. package/dist/src/modules/table/components/TableGroupBy.mjs.map +1 -0
  757. package/dist/src/modules/table/components/TablePagination.d.mts +19 -0
  758. package/dist/src/modules/table/components/TablePagination.mjs +66 -0
  759. package/dist/src/modules/table/components/TablePagination.mjs.map +1 -0
  760. package/dist/src/modules/table/components/table.types.d.mts +17 -0
  761. package/dist/src/modules/table/filterTransformers.d.mts +58 -0
  762. package/dist/src/modules/table/filterTransformers.mjs +213 -0
  763. package/dist/src/modules/table/filterTransformers.mjs.map +1 -0
  764. package/dist/src/types.d.mts +8 -0
  765. package/package.json +35 -35
  766. package/dist/src/animations/card.motion.d.ts +0 -7
  767. package/dist/src/animations/card.motion.js +0 -26
  768. package/dist/src/animations/card.motion.js.map +0 -1
  769. package/dist/src/components/AvatarUpload.d.ts +0 -16
  770. package/dist/src/components/AvatarUpload.js +0 -109
  771. package/dist/src/components/AvatarUpload.js.map +0 -1
  772. package/dist/src/components/Button.d.ts +0 -15
  773. package/dist/src/components/Button.js +0 -14
  774. package/dist/src/components/Button.js.map +0 -1
  775. package/dist/src/components/Calendar.d.ts +0 -37
  776. package/dist/src/components/Calendar.js +0 -18
  777. package/dist/src/components/Calendar.js.map +0 -1
  778. package/dist/src/components/CardsSelect.d.ts +0 -27
  779. package/dist/src/components/CardsSelect.js +0 -79
  780. package/dist/src/components/CardsSelect.js.map +0 -1
  781. package/dist/src/components/CollapsibleSidebarMenuItem.d.ts +0 -22
  782. package/dist/src/components/CollapsibleSidebarMenuItem.js +0 -34
  783. package/dist/src/components/CollapsibleSidebarMenuItem.js.map +0 -1
  784. package/dist/src/components/ColorPicker.d.ts +0 -15
  785. package/dist/src/components/ColorPicker.js +0 -51
  786. package/dist/src/components/ColorPicker.js.map +0 -1
  787. package/dist/src/components/CopyButton.d.ts +0 -18
  788. package/dist/src/components/CopyButton.js +0 -33
  789. package/dist/src/components/CopyButton.js.map +0 -1
  790. package/dist/src/components/CropDialog.d.ts +0 -22
  791. package/dist/src/components/CropDialog.js +0 -113
  792. package/dist/src/components/CropDialog.js.map +0 -1
  793. package/dist/src/components/DialogProvider.d.ts +0 -23
  794. package/dist/src/components/DialogProvider.js +0 -72
  795. package/dist/src/components/DialogProvider.js.map +0 -1
  796. package/dist/src/components/ErrorFallback.d.ts +0 -13
  797. package/dist/src/components/ErrorFallback.js +0 -30
  798. package/dist/src/components/ErrorFallback.js.map +0 -1
  799. package/dist/src/components/FileDropzone.d.ts +0 -14
  800. package/dist/src/components/FileDropzone.js +0 -101
  801. package/dist/src/components/FileDropzone.js.map +0 -1
  802. package/dist/src/components/MultiSelectDropdown.d.ts +0 -29
  803. package/dist/src/components/MultiSelectDropdown.js +0 -103
  804. package/dist/src/components/MultiSelectDropdown.js.map +0 -1
  805. package/dist/src/components/Orb.d.ts +0 -17
  806. package/dist/src/components/Orb.js +0 -267
  807. package/dist/src/components/Orb.js.map +0 -1
  808. package/dist/src/components/PageAlert.d.ts +0 -23
  809. package/dist/src/components/PageAlert.js +0 -76
  810. package/dist/src/components/PageAlert.js.map +0 -1
  811. package/dist/src/components/SelectChips.d.ts +0 -21
  812. package/dist/src/components/SelectChips.js +0 -23
  813. package/dist/src/components/SelectChips.js.map +0 -1
  814. package/dist/src/components/SidebarItem.d.ts +0 -18
  815. package/dist/src/components/SidebarItem.js +0 -18
  816. package/dist/src/components/SidebarItem.js.map +0 -1
  817. package/dist/src/components/Steps.d.ts +0 -24
  818. package/dist/src/components/Steps.js +0 -200
  819. package/dist/src/components/Steps.js.map +0 -1
  820. package/dist/src/components/TablerIconPicker.d.ts +0 -13
  821. package/dist/src/components/TablerIconPicker.js +0 -4258
  822. package/dist/src/components/TablerIconPicker.js.map +0 -1
  823. package/dist/src/components/app-header.d.ts +0 -14
  824. package/dist/src/components/app-header.js +0 -29
  825. package/dist/src/components/app-header.js.map +0 -1
  826. package/dist/src/components/blur-card.d.ts +0 -27
  827. package/dist/src/components/blur-card.js +0 -137
  828. package/dist/src/components/blur-card.js.map +0 -1
  829. package/dist/src/components/features-section-demo-1.d.ts +0 -22
  830. package/dist/src/components/features-section-demo-1.js +0 -125
  831. package/dist/src/components/features-section-demo-1.js.map +0 -1
  832. package/dist/src/components/features-section-demo-2.d.ts +0 -7
  833. package/dist/src/components/features-section-demo-2.js +0 -82
  834. package/dist/src/components/features-section-demo-2.js.map +0 -1
  835. package/dist/src/components/features-section-demo-3.d.ts +0 -16
  836. package/dist/src/components/features-section-demo-3.js +0 -252
  837. package/dist/src/components/features-section-demo-3.js.map +0 -1
  838. package/dist/src/components/mode-toggle.d.ts +0 -7
  839. package/dist/src/components/mode-toggle.js +0 -44
  840. package/dist/src/components/mode-toggle.js.map +0 -1
  841. package/dist/src/components/nav-main.d.ts +0 -21
  842. package/dist/src/components/nav-main.js +0 -35
  843. package/dist/src/components/nav-main.js.map +0 -1
  844. package/dist/src/components/pricing-cards.d.ts +0 -7
  845. package/dist/src/components/pricing-cards.js +0 -128
  846. package/dist/src/components/pricing-cards.js.map +0 -1
  847. package/dist/src/components/shared/ButtonCopy.d.ts +0 -17
  848. package/dist/src/components/shared/ButtonCopy.js +0 -35
  849. package/dist/src/components/shared/ButtonCopy.js.map +0 -1
  850. package/dist/src/components/team-switcher.d.ts +0 -16
  851. package/dist/src/components/team-switcher.js +0 -72
  852. package/dist/src/components/team-switcher.js.map +0 -1
  853. package/dist/src/components/theme-provider.d.ts +0 -23
  854. package/dist/src/components/theme-provider.js +0 -45
  855. package/dist/src/components/theme-provider.js.map +0 -1
  856. package/dist/src/components/typewriter.d.ts +0 -39
  857. package/dist/src/components/typewriter.js +0 -47
  858. package/dist/src/components/typewriter.js.map +0 -1
  859. package/dist/src/components/ui/alert-dialog.d.ts +0 -49
  860. package/dist/src/components/ui/alert-dialog.js +0 -81
  861. package/dist/src/components/ui/alert-dialog.js.map +0 -1
  862. package/dist/src/components/ui/alert.d.ts +0 -25
  863. package/dist/src/components/ui/alert.js +0 -37
  864. package/dist/src/components/ui/alert.js.map +0 -1
  865. package/dist/src/components/ui/avatar.d.ts +0 -10
  866. package/dist/src/components/ui/avatar.js +0 -28
  867. package/dist/src/components/ui/avatar.js.map +0 -1
  868. package/dist/src/components/ui/badge.d.ts +0 -18
  869. package/dist/src/components/ui/badge.js +0 -23
  870. package/dist/src/components/ui/badge.js.map +0 -1
  871. package/dist/src/components/ui/bento-grid.d.ts +0 -26
  872. package/dist/src/components/ui/bento-grid.js +0 -32
  873. package/dist/src/components/ui/bento-grid.js.map +0 -1
  874. package/dist/src/components/ui/bento-grid2.d.ts +0 -31
  875. package/dist/src/components/ui/bento-grid2.js +0 -49
  876. package/dist/src/components/ui/bento-grid2.js.map +0 -1
  877. package/dist/src/components/ui/breadcrumb.d.ts +0 -31
  878. package/dist/src/components/ui/breadcrumb.js +0 -63
  879. package/dist/src/components/ui/breadcrumb.js.map +0 -1
  880. package/dist/src/components/ui/button.d.ts +0 -16
  881. package/dist/src/components/ui/button.js +0 -44
  882. package/dist/src/components/ui/button.js.map +0 -1
  883. package/dist/src/components/ui/card.d.ts +0 -12
  884. package/dist/src/components/ui/card.js +0 -44
  885. package/dist/src/components/ui/card.js.map +0 -1
  886. package/dist/src/components/ui/checkbox.d.ts +0 -8
  887. package/dist/src/components/ui/checkbox.js +0 -20
  888. package/dist/src/components/ui/checkbox.js.map +0 -1
  889. package/dist/src/components/ui/collapsible.d.ts +0 -10
  890. package/dist/src/components/ui/collapsible.js +0 -9
  891. package/dist/src/components/ui/collapsible.js.map +0 -1
  892. package/dist/src/components/ui/dialog.d.ts +0 -45
  893. package/dist/src/components/ui/dialog.js +0 -85
  894. package/dist/src/components/ui/dialog.js.map +0 -1
  895. package/dist/src/components/ui/dropdown-menu.d.ts +0 -35
  896. package/dist/src/components/ui/dropdown-menu.js +0 -82
  897. package/dist/src/components/ui/dropdown-menu.js.map +0 -1
  898. package/dist/src/components/ui/floating-navbar.d.ts +0 -18
  899. package/dist/src/components/ui/floating-navbar.js +0 -52
  900. package/dist/src/components/ui/floating-navbar.js.map +0 -1
  901. package/dist/src/components/ui/form.d.ts +0 -32
  902. package/dist/src/components/ui/form.js +0 -92
  903. package/dist/src/components/ui/form.js.map +0 -1
  904. package/dist/src/components/ui/image.d.ts +0 -10
  905. package/dist/src/components/ui/image.js +0 -55
  906. package/dist/src/components/ui/image.js.map +0 -1
  907. package/dist/src/components/ui/input.d.ts +0 -7
  908. package/dist/src/components/ui/input.js +0 -17
  909. package/dist/src/components/ui/input.js.map +0 -1
  910. package/dist/src/components/ui/label.d.ts +0 -10
  911. package/dist/src/components/ui/label.js +0 -17
  912. package/dist/src/components/ui/label.js.map +0 -1
  913. package/dist/src/components/ui/pagination.d.ts +0 -40
  914. package/dist/src/components/ui/pagination.js +0 -79
  915. package/dist/src/components/ui/pagination.js.map +0 -1
  916. package/dist/src/components/ui/progress.d.ts +0 -8
  917. package/dist/src/components/ui/progress.js +0 -19
  918. package/dist/src/components/ui/progress.js.map +0 -1
  919. package/dist/src/components/ui/resizable-navbar.d.ts +0 -97
  920. package/dist/src/components/ui/resizable-navbar.js +0 -138
  921. package/dist/src/components/ui/resizable-navbar.js.map +0 -1
  922. package/dist/src/components/ui/segment-control.d.ts +0 -12
  923. package/dist/src/components/ui/segment-control.js +0 -87
  924. package/dist/src/components/ui/segment-control.js.map +0 -1
  925. package/dist/src/components/ui/select.d.ts +0 -17
  926. package/dist/src/components/ui/select.js +0 -75
  927. package/dist/src/components/ui/select.js.map +0 -1
  928. package/dist/src/components/ui/separator.d.ts +0 -8
  929. package/dist/src/components/ui/separator.js +0 -17
  930. package/dist/src/components/ui/separator.js.map +0 -1
  931. package/dist/src/components/ui/sheet.d.ts +0 -36
  932. package/dist/src/components/ui/sheet.js +0 -66
  933. package/dist/src/components/ui/sheet.js.map +0 -1
  934. package/dist/src/components/ui/sidebar.d.ts +0 -73
  935. package/dist/src/components/ui/sidebar.js +0 -377
  936. package/dist/src/components/ui/sidebar.js.map +0 -1
  937. package/dist/src/components/ui/skeleton.d.ts +0 -10
  938. package/dist/src/components/ui/skeleton.js +0 -13
  939. package/dist/src/components/ui/skeleton.js.map +0 -1
  940. package/dist/src/components/ui/slider.d.ts +0 -8
  941. package/dist/src/components/ui/slider.js +0 -19
  942. package/dist/src/components/ui/slider.js.map +0 -1
  943. package/dist/src/components/ui/sonner.d.ts +0 -11
  944. package/dist/src/components/ui/sonner.js +0 -22
  945. package/dist/src/components/ui/sonner.js.map +0 -1
  946. package/dist/src/components/ui/spinner.d.ts +0 -25
  947. package/dist/src/components/ui/spinner.js +0 -30
  948. package/dist/src/components/ui/spinner.js.map +0 -1
  949. package/dist/src/components/ui/switch.d.ts +0 -8
  950. package/dist/src/components/ui/switch.js +0 -16
  951. package/dist/src/components/ui/switch.js.map +0 -1
  952. package/dist/src/components/ui/table.d.ts +0 -39
  953. package/dist/src/components/ui/table.js +0 -67
  954. package/dist/src/components/ui/table.js.map +0 -1
  955. package/dist/src/components/ui/tabs.d.ts +0 -24
  956. package/dist/src/components/ui/tabs.js +0 -36
  957. package/dist/src/components/ui/tabs.js.map +0 -1
  958. package/dist/src/components/ui/textarea.d.ts +0 -11
  959. package/dist/src/components/ui/textarea.js +0 -14
  960. package/dist/src/components/ui/textarea.js.map +0 -1
  961. package/dist/src/components/ui/timeline.d.ts +0 -18
  962. package/dist/src/components/ui/timeline.js +0 -90
  963. package/dist/src/components/ui/timeline.js.map +0 -1
  964. package/dist/src/components/ui/toast.d.ts +0 -20
  965. package/dist/src/components/ui/toast.js +0 -59
  966. package/dist/src/components/ui/toast.js.map +0 -1
  967. package/dist/src/components/ui/tooltip.d.ts +0 -24
  968. package/dist/src/components/ui/tooltip.js +0 -36
  969. package/dist/src/components/ui/tooltip.js.map +0 -1
  970. package/dist/src/components/ui/typewriter-effect.d.ts +0 -30
  971. package/dist/src/components/ui/typewriter-effect.js +0 -106
  972. package/dist/src/components/ui/typewriter-effect.js.map +0 -1
  973. package/dist/src/hooks/use-mobile.d.ts +0 -5
  974. package/dist/src/hooks/use-mobile.js +0 -20
  975. package/dist/src/hooks/use-mobile.js.map +0 -1
  976. package/dist/src/hooks/useDialog.d.ts +0 -8
  977. package/dist/src/hooks/useDialog.js +0 -26
  978. package/dist/src/hooks/useDialog.js.map +0 -1
  979. package/dist/src/icons/GoogleIcon.d.ts +0 -9
  980. package/dist/src/icons/GoogleIcon.js +0 -33
  981. package/dist/src/icons/GoogleIcon.js.map +0 -1
  982. package/dist/src/icons/LinkedInIcon.d.ts +0 -9
  983. package/dist/src/icons/LinkedInIcon.js +0 -28
  984. package/dist/src/icons/LinkedInIcon.js.map +0 -1
  985. package/dist/src/icons/MicrosoftIcon.d.ts +0 -9
  986. package/dist/src/icons/MicrosoftIcon.js +0 -32
  987. package/dist/src/icons/MicrosoftIcon.js.map +0 -1
  988. package/dist/src/lib/chatwoot.d.ts +0 -20
  989. package/dist/src/lib/chatwoot.js +0 -26
  990. package/dist/src/lib/chatwoot.js.map +0 -1
  991. package/dist/src/lib/utils.d.ts +0 -7
  992. package/dist/src/lib/utils.js +0 -10
  993. package/dist/src/lib/utils.js.map +0 -1
  994. package/dist/src/modules/app/components/AppLoader.d.ts +0 -8
  995. package/dist/src/modules/app/components/AppLoader.js +0 -16
  996. package/dist/src/modules/app/components/AppLoader.js.map +0 -1
  997. package/dist/src/modules/app/components/AppShell.d.ts +0 -16
  998. package/dist/src/modules/app/components/AppShell.js +0 -16
  999. package/dist/src/modules/app/components/AppShell.js.map +0 -1
  1000. package/dist/src/modules/app/components/AppSidebar.d.ts +0 -17
  1001. package/dist/src/modules/app/components/AppSidebar.js +0 -18
  1002. package/dist/src/modules/app/components/AppSidebar.js.map +0 -1
  1003. package/dist/src/modules/app/components/AppSidebarContent.d.ts +0 -25
  1004. package/dist/src/modules/app/components/AppSidebarContent.js +0 -36
  1005. package/dist/src/modules/app/components/AppSidebarContent.js.map +0 -1
  1006. package/dist/src/modules/app/components/AppSidebarHeader.d.ts +0 -18
  1007. package/dist/src/modules/app/components/AppSidebarHeader.js +0 -41
  1008. package/dist/src/modules/app/components/AppSidebarHeader.js.map +0 -1
  1009. package/dist/src/modules/app/components/AppSidebarInvites.d.ts +0 -11
  1010. package/dist/src/modules/app/components/AppSidebarInvites.js +0 -43
  1011. package/dist/src/modules/app/components/AppSidebarInvites.js.map +0 -1
  1012. package/dist/src/modules/app/components/AppSidebarUser.d.ts +0 -21
  1013. package/dist/src/modules/app/components/AppSidebarUser.js +0 -125
  1014. package/dist/src/modules/app/components/AppSidebarUser.js.map +0 -1
  1015. package/dist/src/modules/auth/components/AdminUserManagement.d.ts +0 -13
  1016. package/dist/src/modules/auth/components/AdminUserManagement.js +0 -974
  1017. package/dist/src/modules/auth/components/AdminUserManagement.js.map +0 -1
  1018. package/dist/src/modules/auth/components/AdminWaitlist.d.ts +0 -13
  1019. package/dist/src/modules/auth/components/AdminWaitlist.js +0 -287
  1020. package/dist/src/modules/auth/components/AdminWaitlist.js.map +0 -1
  1021. package/dist/src/modules/auth/components/AuthLayout.d.ts +0 -12
  1022. package/dist/src/modules/auth/components/AuthLayout.js +0 -19
  1023. package/dist/src/modules/auth/components/AuthLayout.js.map +0 -1
  1024. package/dist/src/modules/auth/components/AuthProviders.d.ts +0 -17
  1025. package/dist/src/modules/auth/components/AuthProviders.js +0 -84
  1026. package/dist/src/modules/auth/components/AuthProviders.js.map +0 -1
  1027. package/dist/src/modules/auth/components/AuthRouter.d.ts +0 -18
  1028. package/dist/src/modules/auth/components/AuthRouter.js +0 -48
  1029. package/dist/src/modules/auth/components/AuthRouter.js.map +0 -1
  1030. package/dist/src/modules/auth/components/ClaimAccountRoute.d.ts +0 -12
  1031. package/dist/src/modules/auth/components/ClaimAccountRoute.js +0 -206
  1032. package/dist/src/modules/auth/components/ClaimAccountRoute.js.map +0 -1
  1033. package/dist/src/modules/auth/components/ErrorAuthRoute.d.ts +0 -7
  1034. package/dist/src/modules/auth/components/ErrorAuthRoute.js +0 -129
  1035. package/dist/src/modules/auth/components/ErrorAuthRoute.js.map +0 -1
  1036. package/dist/src/modules/auth/components/ForgotPasswordForm.d.ts +0 -7
  1037. package/dist/src/modules/auth/components/ForgotPasswordForm.js +0 -53
  1038. package/dist/src/modules/auth/components/ForgotPasswordForm.js.map +0 -1
  1039. package/dist/src/modules/auth/components/ForgotPasswordRoute.d.ts +0 -7
  1040. package/dist/src/modules/auth/components/ForgotPasswordRoute.js +0 -37
  1041. package/dist/src/modules/auth/components/ForgotPasswordRoute.js.map +0 -1
  1042. package/dist/src/modules/auth/components/InviteFriends.d.ts +0 -13
  1043. package/dist/src/modules/auth/components/InviteFriends.js +0 -280
  1044. package/dist/src/modules/auth/components/InviteFriends.js.map +0 -1
  1045. package/dist/src/modules/auth/components/LastUsedBadge.d.ts +0 -17
  1046. package/dist/src/modules/auth/components/LastUsedBadge.js +0 -19
  1047. package/dist/src/modules/auth/components/LastUsedBadge.js.map +0 -1
  1048. package/dist/src/modules/auth/components/LoginForm.d.ts +0 -11
  1049. package/dist/src/modules/auth/components/LoginForm.js +0 -111
  1050. package/dist/src/modules/auth/components/LoginForm.js.map +0 -1
  1051. package/dist/src/modules/auth/components/LoginRoute.d.ts +0 -11
  1052. package/dist/src/modules/auth/components/LoginRoute.js +0 -44
  1053. package/dist/src/modules/auth/components/LoginRoute.js.map +0 -1
  1054. package/dist/src/modules/auth/components/LogoutRoute.d.ts +0 -7
  1055. package/dist/src/modules/auth/components/LogoutRoute.js +0 -21
  1056. package/dist/src/modules/auth/components/LogoutRoute.js.map +0 -1
  1057. package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.d.ts +0 -22
  1058. package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.js +0 -112
  1059. package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.js.map +0 -1
  1060. package/dist/src/modules/auth/components/OrganizationMembersRoute.d.ts +0 -61
  1061. package/dist/src/modules/auth/components/OrganizationMembersRoute.js +0 -458
  1062. package/dist/src/modules/auth/components/OrganizationMembersRoute.js.map +0 -1
  1063. package/dist/src/modules/auth/components/OrganizationPreferences.d.ts +0 -30
  1064. package/dist/src/modules/auth/components/OrganizationPreferences.js +0 -138
  1065. package/dist/src/modules/auth/components/OrganizationPreferences.js.map +0 -1
  1066. package/dist/src/modules/auth/components/OrganizationSettingsRoute.d.ts +0 -29
  1067. package/dist/src/modules/auth/components/OrganizationSettingsRoute.js +0 -193
  1068. package/dist/src/modules/auth/components/OrganizationSettingsRoute.js.map +0 -1
  1069. package/dist/src/modules/auth/components/OrganizationSwitcher.d.ts +0 -18
  1070. package/dist/src/modules/auth/components/OrganizationSwitcher.js +0 -96
  1071. package/dist/src/modules/auth/components/OrganizationSwitcher.js.map +0 -1
  1072. package/dist/src/modules/auth/components/PreferencesEditor.d.ts +0 -49
  1073. package/dist/src/modules/auth/components/PreferencesEditor.js +0 -85
  1074. package/dist/src/modules/auth/components/PreferencesEditor.js.map +0 -1
  1075. package/dist/src/modules/auth/components/ProfileRoute.d.ts +0 -7
  1076. package/dist/src/modules/auth/components/ProfileRoute.js +0 -85
  1077. package/dist/src/modules/auth/components/ProfileRoute.js.map +0 -1
  1078. package/dist/src/modules/auth/components/RangeNuqsDatePicker.d.ts +0 -45
  1079. package/dist/src/modules/auth/components/RangeNuqsDatePicker.js +0 -239
  1080. package/dist/src/modules/auth/components/RangeNuqsDatePicker.js.map +0 -1
  1081. package/dist/src/modules/auth/components/ResetPasswordForm.d.ts +0 -7
  1082. package/dist/src/modules/auth/components/ResetPasswordForm.js +0 -101
  1083. package/dist/src/modules/auth/components/ResetPasswordForm.js.map +0 -1
  1084. package/dist/src/modules/auth/components/ResetPasswordRoute.d.ts +0 -7
  1085. package/dist/src/modules/auth/components/ResetPasswordRoute.js +0 -37
  1086. package/dist/src/modules/auth/components/ResetPasswordRoute.js.map +0 -1
  1087. package/dist/src/modules/auth/components/SignupFormRoute.d.ts +0 -15
  1088. package/dist/src/modules/auth/components/SignupFormRoute.js +0 -149
  1089. package/dist/src/modules/auth/components/SignupFormRoute.js.map +0 -1
  1090. package/dist/src/modules/auth/components/SignupRoute.d.ts +0 -15
  1091. package/dist/src/modules/auth/components/SignupRoute.js +0 -62
  1092. package/dist/src/modules/auth/components/SignupRoute.js.map +0 -1
  1093. package/dist/src/modules/auth/components/UserPreferences.d.ts +0 -23
  1094. package/dist/src/modules/auth/components/UserPreferences.js +0 -26
  1095. package/dist/src/modules/auth/components/UserPreferences.js.map +0 -1
  1096. package/dist/src/modules/auth/components/WaitlistCard.d.ts +0 -13
  1097. package/dist/src/modules/auth/components/WaitlistCard.js +0 -67
  1098. package/dist/src/modules/auth/components/WaitlistCard.js.map +0 -1
  1099. package/dist/src/modules/auth/components/WaitlistCodeValidation.d.ts +0 -15
  1100. package/dist/src/modules/auth/components/WaitlistCodeValidation.js +0 -45
  1101. package/dist/src/modules/auth/components/WaitlistCodeValidation.js.map +0 -1
  1102. package/dist/src/modules/billing/components/BillingBetaPage.d.ts +0 -17
  1103. package/dist/src/modules/billing/components/BillingBetaPage.js +0 -158
  1104. package/dist/src/modules/billing/components/BillingBetaPage.js.map +0 -1
  1105. package/dist/src/modules/billing/components/BillingInvoicePage.d.ts +0 -15
  1106. package/dist/src/modules/billing/components/BillingInvoicePage.js +0 -162
  1107. package/dist/src/modules/billing/components/BillingInvoicePage.js.map +0 -1
  1108. package/dist/src/modules/billing/components/BillingPlanSelect.d.ts +0 -13
  1109. package/dist/src/modules/billing/components/BillingPlanSelect.js +0 -11
  1110. package/dist/src/modules/billing/components/BillingPlanSelect.js.map +0 -1
  1111. package/dist/src/modules/billing/components/BillingRouter.d.ts +0 -17
  1112. package/dist/src/modules/billing/components/BillingRouter.js +0 -21
  1113. package/dist/src/modules/billing/components/BillingRouter.js.map +0 -1
  1114. package/dist/src/modules/billing/components/BillingSinglePlanSelect.d.ts +0 -18
  1115. package/dist/src/modules/billing/components/BillingSinglePlanSelect.js +0 -167
  1116. package/dist/src/modules/billing/components/BillingSinglePlanSelect.js.map +0 -1
  1117. package/dist/src/modules/table/components/ColumnOrderAndVisibility.d.ts +0 -20
  1118. package/dist/src/modules/table/components/ColumnOrderAndVisibility.js +0 -85
  1119. package/dist/src/modules/table/components/ColumnOrderAndVisibility.js.map +0 -1
  1120. package/dist/src/modules/table/components/NuqsTable.d.ts +0 -36
  1121. package/dist/src/modules/table/components/NuqsTable.js +0 -308
  1122. package/dist/src/modules/table/components/NuqsTable.js.map +0 -1
  1123. package/dist/src/modules/table/components/TableFiltering.d.ts +0 -35
  1124. package/dist/src/modules/table/components/TableFiltering.js +0 -418
  1125. package/dist/src/modules/table/components/TableFiltering.js.map +0 -1
  1126. package/dist/src/modules/table/components/TableGroupBy.d.ts +0 -22
  1127. package/dist/src/modules/table/components/TableGroupBy.js +0 -58
  1128. package/dist/src/modules/table/components/TableGroupBy.js.map +0 -1
  1129. package/dist/src/modules/table/components/TablePagination.d.ts +0 -19
  1130. package/dist/src/modules/table/components/TablePagination.js +0 -66
  1131. package/dist/src/modules/table/components/TablePagination.js.map +0 -1
  1132. package/dist/src/modules/table/components/table.types.d.ts +0 -17
  1133. package/dist/src/modules/table/filterTransformers.d.ts +0 -58
  1134. package/dist/src/modules/table/filterTransformers.js +0 -213
  1135. package/dist/src/modules/table/filterTransformers.js.map +0 -1
  1136. package/dist/src/types.d.ts +0 -8
  1137. /package/dist/src/modules/table/components/{table.types.js → table.types.mjs} +0 -0
  1138. /package/dist/src/{types.js → types.mjs} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"OrganizationMembersRoute.js","names":[],"sources":["../../../../../src/modules/auth/components/OrganizationMembersRoute.tsx"],"sourcesContent":["import {\r\n Button,\r\n Card,\r\n CardBody,\r\n CardHeader,\r\n Chip,\r\n Input,\r\n Select,\r\n SelectItem,\r\n Spinner,\r\n Table,\r\n TableBody,\r\n TableCell,\r\n TableColumn,\r\n TableHeader,\r\n TableRow,\r\n} from \"@heroui/react\";\r\nimport { authClient } from \"@m5kdev/frontend/modules/auth/auth.lib\";\r\nimport { useSession } from \"@m5kdev/frontend/modules/auth/hooks/useSession\";\r\nimport { useMutation, useQuery, useQueryClient } from \"@tanstack/react-query\";\r\nimport { Copy, Trash2, UserPlus, Users } from \"lucide-react\";\r\nimport { useCallback, useEffect, useMemo, useRef, useState } from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { toast } from \"sonner\";\r\n\r\ntype OrganizationDetails = {\r\n id: string;\r\n name: string;\r\n slug: string;\r\n logo?: string | null;\r\n metadata?: Record<string, unknown> | null;\r\n};\r\n\r\ntype OrganizationMember = {\r\n id: string;\r\n userId: string;\r\n role: string;\r\n user: {\r\n id: string;\r\n name: string;\r\n email: string;\r\n image?: string | null;\r\n };\r\n};\r\n\r\ntype OrganizationInvitation = {\r\n id: string;\r\n organizationId: string;\r\n email: string;\r\n role: string;\r\n status: string;\r\n inviterId: string;\r\n createdAt: Date | string;\r\n expiresAt: Date | string;\r\n};\r\n\r\ntype CombinedMemberRow =\r\n | {\r\n kind: \"member\";\r\n id: string;\r\n displayName: string;\r\n email: string;\r\n role: string;\r\n status: \"active\";\r\n memberId: string;\r\n }\r\n | {\r\n kind: \"invitation\";\r\n id: string;\r\n displayName: string;\r\n email: string;\r\n role: string;\r\n status: \"invited\";\r\n invitationId: string;\r\n };\r\n\r\nconst ORGANIZATION_ROLES = [\"member\", \"admin\", \"owner\"] as const;\r\n\r\nexport type OrganizationRole = (typeof ORGANIZATION_ROLES)[number];\r\n\r\nfunction isOrganizationRole(role: string): role is OrganizationRole {\r\n return (ORGANIZATION_ROLES as readonly string[]).includes(role);\r\n}\r\n\r\nexport type OrganizationMembersRouteLabels = {\r\n loadError: string;\r\n membersTitle: string;\r\n membersNoActive: string;\r\n membersManageOnly: string;\r\n membersDescription: (organizationName: string) => string;\r\n defaultOrganizationName: string;\r\n loadMembersError: string;\r\n loadInvitationsError: string;\r\n roleUpdateSuccess: string;\r\n roleUpdateError: string;\r\n removeMemberSuccess: string;\r\n removeMemberError: string;\r\n emailRequired: string;\r\n inviteSuccess: string;\r\n inviteError: string;\r\n cancelInvitationSuccess: string;\r\n cancelInvitationError: string;\r\n inviteLinkCopied: string;\r\n copyInviteLinkError: string;\r\n unknownName: string;\r\n invitedUser: string;\r\n emailLabel: string;\r\n emailPlaceholder: string;\r\n roleLabel: string;\r\n inviteButton: string;\r\n tableTitle: string;\r\n columnName: string;\r\n columnEmail: string;\r\n columnRole: string;\r\n columnStatus: string;\r\n columnActions: string;\r\n tableEmpty: string;\r\n roleFor: (name: string) => string;\r\n statusActive: string;\r\n statusInvited: string;\r\n removeMember: string;\r\n copyInviteLink: string;\r\n cancelInvitation: string;\r\n roleUnknown: string;\r\n};\r\n\r\nexport type OrganizationMembersRouteProps = {\r\n managerRoles?: string[];\r\n assignableRoles?: OrganizationRole[];\r\n invitationAcceptPath?: string;\r\n onInvalidateScopedQueries?: () => void | Promise<void>;\r\n};\r\n\r\nfunction OrganizationStateCard({ title, message }: { title: string; message: string }) {\r\n return (\r\n <div className=\"p-6\">\r\n <Card>\r\n <CardHeader className=\"text-lg font-semibold\">{title}</CardHeader>\r\n <CardBody>{message}</CardBody>\r\n </Card>\r\n </div>\r\n );\r\n}\r\n\r\nfunction useOrganizationAccess({\r\n managerRoles,\r\n onInvalidateScopedQueries,\r\n}: Pick<OrganizationMembersRouteProps, \"managerRoles\" | \"onInvalidateScopedQueries\">) {\r\n const { data: session, registerSession } = useSession();\r\n const queryClient = useQueryClient();\r\n\r\n const activeOrganizationId = session?.session.activeOrganizationId ?? \"\";\r\n const activeOrganizationRole =\r\n (session?.session as { activeOrganizationRole?: string } | undefined)?.activeOrganizationRole ??\r\n \"\";\r\n const managerRoleSet = useMemo(() => new Set(managerRoles ?? [\"admin\", \"owner\"]), [managerRoles]);\r\n const canManageOrganization = managerRoleSet.has(activeOrganizationRole);\r\n\r\n const refreshOrganizationQueries = useCallback(async () => {\r\n await Promise.allSettled([\r\n queryClient.invalidateQueries({ queryKey: [\"auth-organization-list\"] }),\r\n queryClient.invalidateQueries({\r\n queryKey: [\"auth-organization-details\", activeOrganizationId],\r\n }),\r\n queryClient.invalidateQueries({\r\n queryKey: [\"auth-organization-members\", activeOrganizationId],\r\n }),\r\n queryClient.invalidateQueries({\r\n queryKey: [\"auth-organization-invitations\", activeOrganizationId],\r\n }),\r\n ]);\r\n\r\n registerSession(() => {\r\n void onInvalidateScopedQueries?.();\r\n });\r\n }, [activeOrganizationId, onInvalidateScopedQueries, queryClient, registerSession]);\r\n\r\n return {\r\n activeOrganizationId,\r\n activeOrganizationRole,\r\n canManageOrganization,\r\n refreshOrganizationQueries,\r\n };\r\n}\r\n\r\nfunction useOrganizationConfig({\r\n assignableRoles,\r\n}: Pick<OrganizationMembersRouteProps, \"assignableRoles\">) {\r\n const { t } = useTranslation();\r\n\r\n const translatedLabels = useMemo<OrganizationMembersRouteLabels>(\r\n () => ({\r\n loadError: t(\"web-ui:organization.members.loadError\"),\r\n membersTitle: t(\"web-ui:organization.members.title\"),\r\n membersNoActive: t(\"web-ui:organization.members.noActive\"),\r\n membersManageOnly: t(\"web-ui:organization.members.manageOnly\"),\r\n membersDescription: (organizationName: string) =>\r\n t(\"web-ui:organization.members.description\", { name: organizationName }),\r\n defaultOrganizationName: t(\"web-ui:organization.members.defaultName\"),\r\n loadMembersError: t(\"web-ui:organization.members.loadMembersError\"),\r\n loadInvitationsError: t(\"web-ui:organization.members.loadInvitationsError\"),\r\n roleUpdateSuccess: t(\"web-ui:organization.members.roleUpdateSuccess\"),\r\n roleUpdateError: t(\"web-ui:organization.members.roleUpdateError\"),\r\n removeMemberSuccess: t(\"web-ui:organization.members.removeMemberSuccess\"),\r\n removeMemberError: t(\"web-ui:organization.members.removeMemberError\"),\r\n emailRequired: t(\"web-ui:organization.members.emailRequired\"),\r\n inviteSuccess: t(\"web-ui:organization.members.inviteSuccess\"),\r\n inviteError: t(\"web-ui:organization.members.inviteError\"),\r\n cancelInvitationSuccess: t(\"web-ui:organization.members.cancelInvitationSuccess\"),\r\n cancelInvitationError: t(\"web-ui:organization.members.cancelInvitationError\"),\r\n inviteLinkCopied: t(\"web-ui:organization.members.inviteLinkCopied\"),\r\n copyInviteLinkError: t(\"web-ui:organization.members.copyInviteLinkError\"),\r\n unknownName: t(\"web-ui:organization.members.unknownName\"),\r\n invitedUser: t(\"web-ui:organization.members.invitedUser\"),\r\n emailLabel: t(\"web-ui:organization.members.emailLabel\"),\r\n emailPlaceholder: t(\"web-ui:organization.members.emailPlaceholder\"),\r\n roleLabel: t(\"web-ui:organization.members.roleLabel\"),\r\n inviteButton: t(\"web-ui:organization.members.inviteButton\"),\r\n tableTitle: t(\"web-ui:organization.members.tableTitle\"),\r\n columnName: t(\"web-ui:organization.members.columnName\"),\r\n columnEmail: t(\"web-ui:organization.members.columnEmail\"),\r\n columnRole: t(\"web-ui:organization.members.columnRole\"),\r\n columnStatus: t(\"web-ui:organization.members.columnStatus\"),\r\n columnActions: t(\"web-ui:organization.members.columnActions\"),\r\n tableEmpty: t(\"web-ui:organization.members.tableEmpty\"),\r\n roleFor: (name: string) => t(\"web-ui:organization.members.roleFor\", { name }),\r\n statusActive: t(\"web-ui:organization.members.statusActive\"),\r\n statusInvited: t(\"web-ui:organization.members.statusInvited\"),\r\n removeMember: t(\"web-ui:organization.members.removeMember\"),\r\n copyInviteLink: t(\"web-ui:organization.members.copyInviteLink\"),\r\n cancelInvitation: t(\"web-ui:organization.members.cancelInvitation\"),\r\n roleUnknown: t(\"web-ui:organization.members.roleUnknown\"),\r\n }),\r\n [t]\r\n );\r\n\r\n const translatedRoleLabels = useMemo<Record<string, string>>(\r\n () => ({\r\n member: t(\"web-ui:organization.roles.member\"),\r\n admin: t(\"web-ui:organization.roles.admin\"),\r\n owner: t(\"web-ui:organization.roles.owner\"),\r\n }),\r\n [t]\r\n );\r\n\r\n const resolvedAssignableRoles = useMemo(\r\n () =>\r\n assignableRoles && assignableRoles.length > 0 ? assignableRoles : [...ORGANIZATION_ROLES],\r\n [assignableRoles]\r\n );\r\n\r\n return {\r\n resolvedLabels: translatedLabels,\r\n resolvedRoleLabels: translatedRoleLabels,\r\n resolvedAssignableRoles,\r\n };\r\n}\r\n\r\nexport function OrganizationMembersRoute({\r\n managerRoles,\r\n assignableRoles,\r\n invitationAcceptPath,\r\n onInvalidateScopedQueries,\r\n}: OrganizationMembersRouteProps) {\r\n const { resolvedLabels, resolvedRoleLabels, resolvedAssignableRoles } = useOrganizationConfig({\r\n assignableRoles,\r\n });\r\n\r\n const {\r\n activeOrganizationId,\r\n activeOrganizationRole,\r\n canManageOrganization,\r\n refreshOrganizationQueries,\r\n } = useOrganizationAccess({ managerRoles, onInvalidateScopedQueries });\r\n\r\n const [inviteEmail, setInviteEmail] = useState(\"\");\r\n const [inviteRole, setInviteRole] = useState<OrganizationRole>(\r\n resolvedAssignableRoles[0] ?? \"member\"\r\n );\r\n const isMountedRef = useRef(true);\r\n useEffect(() => {\r\n return () => {\r\n isMountedRef.current = false;\r\n };\r\n }, []);\r\n\r\n const refreshOrganizationQueriesStable = useCallback(\r\n () => refreshOrganizationQueries(),\r\n [refreshOrganizationQueries]\r\n );\r\n\r\n const updateRoleMutation = useMutation({\r\n mutationFn: async ({\r\n memberId,\r\n role,\r\n organizationId,\r\n }: {\r\n memberId: string;\r\n role: OrganizationRole;\r\n organizationId: string;\r\n }) => {\r\n const { error } = await authClient.organization.updateMemberRole({\r\n memberId,\r\n role,\r\n organizationId,\r\n });\r\n if (error) throw new Error(error.message ?? resolvedLabels.roleUpdateError);\r\n },\r\n onSuccess: async () => {\r\n await refreshOrganizationQueriesStable();\r\n toast.success(resolvedLabels.roleUpdateSuccess);\r\n },\r\n onError: (error) => {\r\n toast.error(error instanceof Error ? error.message : resolvedLabels.roleUpdateError);\r\n },\r\n });\r\n\r\n const removeMemberMutation = useMutation({\r\n mutationFn: async ({\r\n memberId,\r\n organizationId,\r\n }: {\r\n memberId: string;\r\n organizationId: string;\r\n }) => {\r\n const { error } = await authClient.organization.removeMember({\r\n memberIdOrEmail: memberId,\r\n organizationId,\r\n });\r\n if (error) throw new Error(error.message ?? resolvedLabels.removeMemberError);\r\n },\r\n onSuccess: async () => {\r\n await refreshOrganizationQueriesStable();\r\n toast.success(resolvedLabels.removeMemberSuccess);\r\n },\r\n onError: (error) => {\r\n toast.error(error instanceof Error ? error.message : resolvedLabels.removeMemberError);\r\n },\r\n });\r\n\r\n const createInvitationMutation = useMutation({\r\n mutationFn: async ({\r\n email,\r\n role,\r\n organizationId,\r\n }: {\r\n email: string;\r\n role: OrganizationRole;\r\n organizationId: string;\r\n }) => {\r\n const { error } = await authClient.organization.inviteMember({\r\n organizationId,\r\n email: email.trim(),\r\n role,\r\n });\r\n if (error) throw new Error(error.message ?? resolvedLabels.inviteError);\r\n },\r\n onSuccess: async () => {\r\n await refreshOrganizationQueriesStable();\r\n toast.success(resolvedLabels.inviteSuccess);\r\n if (isMountedRef.current) {\r\n setInviteEmail(\"\");\r\n setInviteRole(resolvedAssignableRoles[0] ?? \"member\");\r\n }\r\n },\r\n onError: (error) => {\r\n toast.error(error instanceof Error ? error.message : resolvedLabels.inviteError);\r\n },\r\n });\r\n\r\n const cancelInvitationMutation = useMutation({\r\n mutationFn: async ({ invitationId }: { invitationId: string }) => {\r\n const { error } = await authClient.organization.cancelInvitation({ invitationId });\r\n if (error) throw new Error(error.message ?? resolvedLabels.cancelInvitationError);\r\n },\r\n onSuccess: async () => {\r\n await refreshOrganizationQueriesStable();\r\n toast.success(resolvedLabels.cancelInvitationSuccess);\r\n },\r\n onError: (error) => {\r\n toast.error(error instanceof Error ? error.message : resolvedLabels.cancelInvitationError);\r\n },\r\n });\r\n\r\n const updatingMemberId =\r\n updateRoleMutation.isPending && updateRoleMutation.variables\r\n ? updateRoleMutation.variables.memberId\r\n : null;\r\n const removingMemberId =\r\n removeMemberMutation.isPending && removeMemberMutation.variables\r\n ? removeMemberMutation.variables.memberId\r\n : null;\r\n const cancelingInvitationId =\r\n cancelInvitationMutation.isPending && cancelInvitationMutation.variables\r\n ? cancelInvitationMutation.variables.invitationId\r\n : null;\r\n\r\n useEffect(() => {\r\n if (!resolvedAssignableRoles.includes(inviteRole)) {\r\n setInviteRole(resolvedAssignableRoles[0] ?? \"member\");\r\n }\r\n }, [inviteRole, resolvedAssignableRoles]);\r\n\r\n const organizationQuery = useQuery({\r\n queryKey: [\"auth-organization-details\", activeOrganizationId],\r\n enabled: Boolean(activeOrganizationId && canManageOrganization),\r\n queryFn: async () => {\r\n const { data, error } = await authClient.organization.getFullOrganization({\r\n query: {\r\n organizationId: activeOrganizationId,\r\n membersLimit: 200,\r\n },\r\n });\r\n if (error) {\r\n throw new Error(error.message ?? resolvedLabels.loadError);\r\n }\r\n return data as OrganizationDetails | null;\r\n },\r\n });\r\n\r\n const membersQuery = useQuery({\r\n queryKey: [\"auth-organization-members\", activeOrganizationId],\r\n enabled: Boolean(activeOrganizationId && canManageOrganization),\r\n queryFn: async () => {\r\n const { data, error } = await authClient.organization.listMembers({\r\n query: {\r\n organizationId: activeOrganizationId,\r\n limit: 200,\r\n offset: 0,\r\n },\r\n });\r\n if (error) {\r\n throw new Error(error.message ?? resolvedLabels.loadMembersError);\r\n }\r\n return ((data as { members: OrganizationMember[] } | null)?.members ??\r\n []) as OrganizationMember[];\r\n },\r\n });\r\n\r\n const invitationsQuery = useQuery({\r\n queryKey: [\"auth-organization-invitations\", activeOrganizationId],\r\n enabled: Boolean(activeOrganizationId && canManageOrganization),\r\n queryFn: async () => {\r\n const { data, error } = await authClient.organization.listInvitations({\r\n query: {\r\n organizationId: activeOrganizationId,\r\n },\r\n });\r\n if (error) {\r\n throw new Error(error.message ?? resolvedLabels.loadInvitationsError);\r\n }\r\n return (data ?? []) as OrganizationInvitation[];\r\n },\r\n });\r\n\r\n const members = membersQuery.data ?? [];\r\n const invitations = invitationsQuery.data ?? [];\r\n\r\n const rows = useMemo<CombinedMemberRow[]>(() => {\r\n const memberRows: CombinedMemberRow[] = members.map((member) => ({\r\n kind: \"member\",\r\n id: `member-${member.id}`,\r\n displayName: member.user?.name || resolvedLabels.unknownName,\r\n email: member.user?.email || \"-\",\r\n role: member.role,\r\n status: \"active\",\r\n memberId: member.id,\r\n }));\r\n\r\n const invitationRows: CombinedMemberRow[] = invitations.map((invitation) => ({\r\n kind: \"invitation\",\r\n id: `invitation-${invitation.id}`,\r\n displayName: resolvedLabels.invitedUser,\r\n email: invitation.email,\r\n role: invitation.role,\r\n status: \"invited\",\r\n invitationId: invitation.id,\r\n }));\r\n\r\n return [...memberRows, ...invitationRows].sort((left, right) => {\r\n if (left.status === right.status) {\r\n return left.email.localeCompare(right.email);\r\n }\r\n return left.status === \"active\" ? -1 : 1;\r\n });\r\n }, [invitations, members, resolvedLabels.invitedUser, resolvedLabels.unknownName]);\r\n\r\n const onUpdateMemberRole = useCallback(\r\n (memberId: string, role: OrganizationRole) => {\r\n if (!canManageOrganization || !activeOrganizationId) return;\r\n updateRoleMutation.mutate({ memberId, role, organizationId: activeOrganizationId });\r\n },\r\n [canManageOrganization, activeOrganizationId, updateRoleMutation]\r\n );\r\n\r\n const onRemoveMember = useCallback(\r\n (memberId: string) => {\r\n if (!canManageOrganization || !activeOrganizationId) return;\r\n removeMemberMutation.mutate({ memberId, organizationId: activeOrganizationId });\r\n },\r\n [canManageOrganization, activeOrganizationId, removeMemberMutation]\r\n );\r\n\r\n const onCreateInvitation = useCallback(() => {\r\n if (!canManageOrganization || !activeOrganizationId) return;\r\n if (!inviteEmail.trim()) {\r\n toast.error(resolvedLabels.emailRequired);\r\n return;\r\n }\r\n createInvitationMutation.mutate({\r\n email: inviteEmail,\r\n role: inviteRole,\r\n organizationId: activeOrganizationId,\r\n });\r\n }, [\r\n canManageOrganization,\r\n activeOrganizationId,\r\n inviteEmail,\r\n inviteRole,\r\n resolvedLabels.emailRequired,\r\n createInvitationMutation,\r\n ]);\r\n\r\n const onCancelInvitation = useCallback(\r\n (invitationId: string) => {\r\n if (!canManageOrganization) return;\r\n cancelInvitationMutation.mutate({ invitationId });\r\n },\r\n [canManageOrganization, cancelInvitationMutation]\r\n );\r\n\r\n const invitationLinkBase = useMemo(() => {\r\n const invitationPath = invitationAcceptPath ?? \"/organization/accept-invitation\";\r\n if (/^https?:\\/\\//i.test(invitationPath)) {\r\n return `${invitationPath}?id=`;\r\n }\r\n return typeof window === \"undefined\"\r\n ? `${invitationPath}?id=`\r\n : `${window.location.origin}${invitationPath}?id=`;\r\n }, [invitationAcceptPath]);\r\n\r\n const onCopyInvitationLink = async (invitationId: string) => {\r\n try {\r\n await navigator.clipboard.writeText(`${invitationLinkBase}${invitationId}`);\r\n toast.success(resolvedLabels.inviteLinkCopied);\r\n } catch {\r\n toast.error(resolvedLabels.copyInviteLinkError);\r\n }\r\n };\r\n\r\n const getRoleLabel = (role: string) => resolvedRoleLabels[role] ?? resolvedLabels.roleUnknown;\r\n\r\n if (!activeOrganizationId) {\r\n return (\r\n <OrganizationStateCard\r\n title={resolvedLabels.membersTitle}\r\n message={resolvedLabels.membersNoActive}\r\n />\r\n );\r\n }\r\n\r\n if (!canManageOrganization) {\r\n return (\r\n <OrganizationStateCard\r\n title={resolvedLabels.membersTitle}\r\n message={resolvedLabels.membersManageOnly}\r\n />\r\n );\r\n }\r\n\r\n if (organizationQuery.isLoading || membersQuery.isLoading || invitationsQuery.isLoading) {\r\n return (\r\n <div className=\"p-6 flex justify-center\">\r\n <Spinner />\r\n </div>\r\n );\r\n }\r\n\r\n return (\r\n <div className=\"p-6 space-y-6\">\r\n <Card>\r\n <CardHeader className=\"flex items-center justify-between\">\r\n <div className=\"flex items-center gap-2\">\r\n <Users className=\"h-4 w-4\" />\r\n <div className=\"flex flex-col\">\r\n <h2 className=\"text-lg font-semibold\">{resolvedLabels.membersTitle}</h2>\r\n <p className=\"text-sm text-default-500\">\r\n {resolvedLabels.membersDescription(\r\n organizationQuery.data?.name ?? resolvedLabels.defaultOrganizationName\r\n )}\r\n </p>\r\n </div>\r\n </div>\r\n <Chip variant=\"flat\" color=\"primary\">\r\n {getRoleLabel(activeOrganizationRole || \"member\")}\r\n </Chip>\r\n </CardHeader>\r\n <CardBody className=\"space-y-4\">\r\n <div className=\"grid gap-3 md:grid-cols-[1fr_160px_auto]\">\r\n <Input\r\n type=\"email\"\r\n label={resolvedLabels.emailLabel}\r\n value={inviteEmail}\r\n onValueChange={setInviteEmail}\r\n placeholder={resolvedLabels.emailPlaceholder}\r\n />\r\n <Select\r\n label={resolvedLabels.roleLabel}\r\n selectedKeys={[inviteRole]}\r\n disallowEmptySelection\r\n onSelectionChange={(keys) => {\r\n const role = Array.from(keys as Set<string>)[0];\r\n if (role && isOrganizationRole(role) && resolvedAssignableRoles.includes(role)) {\r\n setInviteRole(role);\r\n }\r\n }}\r\n >\r\n {resolvedAssignableRoles.map((role) => (\r\n <SelectItem key={role}>{getRoleLabel(role)}</SelectItem>\r\n ))}\r\n </Select>\r\n <Button\r\n color=\"primary\"\r\n startContent={<UserPlus className=\"h-4 w-4\" />}\r\n onPress={onCreateInvitation}\r\n isLoading={createInvitationMutation.isPending}\r\n >\r\n {resolvedLabels.inviteButton}\r\n </Button>\r\n </div>\r\n\r\n <Table aria-label={resolvedLabels.tableTitle}>\r\n <TableHeader>\r\n <TableColumn>{resolvedLabels.columnName}</TableColumn>\r\n <TableColumn>{resolvedLabels.columnEmail}</TableColumn>\r\n <TableColumn>{resolvedLabels.columnRole}</TableColumn>\r\n <TableColumn>{resolvedLabels.columnStatus}</TableColumn>\r\n <TableColumn className=\"text-right\">{resolvedLabels.columnActions}</TableColumn>\r\n </TableHeader>\r\n <TableBody emptyContent={resolvedLabels.tableEmpty}>\r\n {rows.map((row) => (\r\n <TableRow key={row.id}>\r\n <TableCell>{row.displayName}</TableCell>\r\n <TableCell>{row.email}</TableCell>\r\n <TableCell>\r\n {row.kind === \"member\" ? (\r\n <Select\r\n size=\"sm\"\r\n selectedKeys={[row.role]}\r\n disallowEmptySelection\r\n isDisabled={updatingMemberId === row.memberId}\r\n aria-label={resolvedLabels.roleFor(row.displayName)}\r\n onSelectionChange={(keys) => {\r\n const role = Array.from(keys as Set<string>)[0];\r\n if (\r\n role &&\r\n role !== row.role &&\r\n isOrganizationRole(role) &&\r\n resolvedAssignableRoles.includes(role)\r\n ) {\r\n void onUpdateMemberRole(row.memberId, role);\r\n }\r\n }}\r\n >\r\n {resolvedAssignableRoles.map((role) => (\r\n <SelectItem key={role}>{getRoleLabel(role)}</SelectItem>\r\n ))}\r\n </Select>\r\n ) : (\r\n getRoleLabel(row.role)\r\n )}\r\n </TableCell>\r\n <TableCell>\r\n <Chip\r\n size=\"sm\"\r\n variant=\"flat\"\r\n color={row.status === \"active\" ? \"success\" : \"warning\"}\r\n >\r\n {row.status === \"active\"\r\n ? resolvedLabels.statusActive\r\n : resolvedLabels.statusInvited}\r\n </Chip>\r\n </TableCell>\r\n <TableCell className=\"text-right\">\r\n {row.kind === \"member\" ? (\r\n <Button\r\n size=\"sm\"\r\n color=\"danger\"\r\n variant=\"light\"\r\n isIconOnly\r\n onPress={() => void onRemoveMember(row.memberId)}\r\n isDisabled={removingMemberId === row.memberId}\r\n aria-label={resolvedLabels.removeMember}\r\n >\r\n <Trash2 className=\"h-4 w-4\" />\r\n </Button>\r\n ) : (\r\n <div className=\"flex justify-end gap-2\">\r\n <Button\r\n size=\"sm\"\r\n variant=\"light\"\r\n isIconOnly\r\n onPress={() => void onCopyInvitationLink(row.invitationId)}\r\n aria-label={resolvedLabels.copyInviteLink}\r\n >\r\n <Copy className=\"h-4 w-4\" />\r\n </Button>\r\n <Button\r\n size=\"sm\"\r\n color=\"danger\"\r\n variant=\"light\"\r\n isIconOnly\r\n onPress={() => void onCancelInvitation(row.invitationId)}\r\n isDisabled={cancelingInvitationId === row.invitationId}\r\n aria-label={resolvedLabels.cancelInvitation}\r\n >\r\n <Trash2 className=\"h-4 w-4\" />\r\n </Button>\r\n </div>\r\n )}\r\n </TableCell>\r\n </TableRow>\r\n ))}\r\n </TableBody>\r\n </Table>\r\n </CardBody>\r\n </Card>\r\n </div>\r\n );\r\n}\r\n"],"mappings":";;;;;;;;;;AA4EA,M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Q,WAAU,WAAY,CAAA;SACvB,CAAA,CACL;;OAEE,CAAA;MACH,EAAA,EAhFI,IAAI,GAgFR,CACX;KACQ,CAAA,CACN;MACC;KACN,EAAA,CAAA;EACH,CAAA"}
@@ -1,30 +0,0 @@
1
- import { UseBackendTRPC } from "../../../types.js";
2
- import { ControlsFor, PreferenceEditorLabels } from "./PreferencesEditor.js";
3
- import { ReactElement } from "react";
4
- import { z } from "zod";
5
-
6
- //#region src/modules/auth/components/OrganizationPreferences.d.ts
7
- type OrganizationPreferenceLabels = PreferenceEditorLabels & {
8
- noActiveOrganization: string;
9
- loadError: string;
10
- };
11
- type OrganizationPreferencesTarget = "preferences" | "flags";
12
- type OrganizationPreferencesProps<S extends z.ZodObject<z.ZodRawShape>> = {
13
- useTRPC: UseBackendTRPC;
14
- schema: S;
15
- controls: ControlsFor<z.infer<S>>;
16
- target?: OrganizationPreferencesTarget;
17
- labels?: Partial<OrganizationPreferenceLabels>;
18
- onInvalidateScopedQueries?: () => void | Promise<void>;
19
- };
20
- declare function OrganizationPreferences<S extends z.ZodObject<z.ZodRawShape>>({
21
- useTRPC,
22
- schema,
23
- controls,
24
- target,
25
- labels,
26
- onInvalidateScopedQueries
27
- }: OrganizationPreferencesProps<S>): ReactElement;
28
- //#endregion
29
- export { OrganizationPreferences, OrganizationPreferencesProps, OrganizationPreferencesTarget };
30
- //# sourceMappingURL=OrganizationPreferences.d.ts.map
@@ -1,138 +0,0 @@
1
- import { PreferencesEditor } from "./PreferencesEditor.js";
2
- import { useCallback, useMemo } from "react";
3
- import { Card, CardBody, CardHeader } from "@heroui/react";
4
- import { jsx, jsxs } from "react/jsx-runtime";
5
- import { useTranslation } from "react-i18next";
6
- import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
7
- import { useSession } from "@m5kdev/frontend/modules/auth/hooks/useSession";
8
- //#region src/modules/auth/components/OrganizationPreferences.tsx
9
- function OrganizationStateCard({ title, message }) {
10
- return /* @__PURE__ */ jsx("div", {
11
- className: "p-6",
12
- children: /* @__PURE__ */ jsxs(Card, { children: [/* @__PURE__ */ jsx(CardHeader, {
13
- className: "text-lg font-semibold",
14
- children: title
15
- }), /* @__PURE__ */ jsx(CardBody, { children: message })] })
16
- });
17
- }
18
- function getFlagValues(controls, flags) {
19
- const activeFlags = new Set(flags);
20
- return Object.fromEntries(Object.keys(controls).map((key) => [key, activeFlags.has(key)]));
21
- }
22
- function getFlagsFromValues(values) {
23
- return Object.entries(values).filter(([, value]) => value === true).map(([key]) => key);
24
- }
25
- function OrganizationPreferences({ useTRPC, schema, controls, target = "preferences", labels, onInvalidateScopedQueries }) {
26
- const { data: session, isLoading: isSessionLoading } = useSession();
27
- const { t } = useTranslation("web-ui");
28
- const trpc = useTRPC();
29
- const queryClient = useQueryClient();
30
- const activeOrganizationId = session?.session.activeOrganizationId ?? "";
31
- const labelKeyPrefix = target === "flags" ? "web-ui:organization.flags" : "web-ui:organization.preferences";
32
- const resolvedLabels = useMemo(() => ({
33
- title: labels?.title ?? t(`${labelKeyPrefix}.title`),
34
- submit: labels?.submit ?? t(`${labelKeyPrefix}.submit`),
35
- updated: labels?.updated ?? t(`${labelKeyPrefix}.updated`),
36
- updateError: labels?.updateError ?? t(`${labelKeyPrefix}.updateError`),
37
- loading: labels?.loading ?? t(`${labelKeyPrefix}.loading`),
38
- noActiveOrganization: labels?.noActiveOrganization ?? t(`${labelKeyPrefix}.noActive`),
39
- loadError: labels?.loadError ?? t(`${labelKeyPrefix}.loadError`)
40
- }), [
41
- labelKeyPrefix,
42
- labels,
43
- t
44
- ]);
45
- const preferencesQuery = useQuery({
46
- ...trpc.auth.getOrganizationPreferences.queryOptions(),
47
- enabled: target === "preferences" && Boolean(activeOrganizationId)
48
- });
49
- const flagsQuery = useQuery({
50
- ...trpc.auth.getOrganizationFlags.queryOptions(),
51
- enabled: target === "flags" && Boolean(activeOrganizationId)
52
- });
53
- const setPreferencesMutation = useMutation(trpc.auth.setOrganizationPreferences.mutationOptions());
54
- const setFlagsMutation = useMutation(trpc.auth.setOrganizationFlags.mutationOptions());
55
- const currentValues = useMemo(() => {
56
- if (target === "flags") return getFlagValues(controls, flagsQuery.data ?? []);
57
- return preferencesQuery.data ?? {};
58
- }, [
59
- controls,
60
- flagsQuery.data,
61
- preferencesQuery.data,
62
- target
63
- ]);
64
- const updateValues = useCallback((partialValues, options) => {
65
- if (target === "flags") {
66
- const nextFlags = getFlagsFromValues({
67
- ...currentValues,
68
- ...partialValues
69
- });
70
- if (!options.noOptimisticUpdate) queryClient.setQueryData(trpc.auth.getOrganizationFlags.queryKey(), nextFlags);
71
- setFlagsMutation.mutate(nextFlags, {
72
- onSuccess: async (result) => {
73
- queryClient.setQueryData(trpc.auth.getOrganizationFlags.queryKey(), result);
74
- if (activeOrganizationId) await queryClient.invalidateQueries({ queryKey: ["auth-organization-details", activeOrganizationId] });
75
- await onInvalidateScopedQueries?.();
76
- options.onSuccess?.();
77
- },
78
- onError: async (error) => {
79
- if (!options.noOptimisticUpdate) await queryClient.invalidateQueries({ queryKey: trpc.auth.getOrganizationFlags.queryKey() });
80
- options.onError?.(error);
81
- }
82
- });
83
- return;
84
- }
85
- const nextPreferences = {
86
- ...preferencesQuery.data ?? {},
87
- ...partialValues
88
- };
89
- if (!options.noOptimisticUpdate) queryClient.setQueryData(trpc.auth.getOrganizationPreferences.queryKey(), nextPreferences);
90
- setPreferencesMutation.mutate(nextPreferences, {
91
- onSuccess: async (result) => {
92
- queryClient.setQueryData(trpc.auth.getOrganizationPreferences.queryKey(), result);
93
- if (activeOrganizationId) await queryClient.invalidateQueries({ queryKey: ["auth-organization-details", activeOrganizationId] });
94
- await onInvalidateScopedQueries?.();
95
- options.onSuccess?.();
96
- },
97
- onError: async (error) => {
98
- if (!options.noOptimisticUpdate) await queryClient.invalidateQueries({ queryKey: trpc.auth.getOrganizationPreferences.queryKey() });
99
- options.onError?.(error);
100
- }
101
- });
102
- }, [
103
- activeOrganizationId,
104
- currentValues,
105
- onInvalidateScopedQueries,
106
- preferencesQuery.data,
107
- queryClient,
108
- setFlagsMutation,
109
- setPreferencesMutation,
110
- target,
111
- trpc.auth.getOrganizationFlags,
112
- trpc.auth.getOrganizationPreferences
113
- ]);
114
- const isLoading = isSessionLoading || (target === "flags" ? flagsQuery.isLoading : preferencesQuery.isLoading);
115
- const isPending = target === "flags" ? setFlagsMutation.isPending : setPreferencesMutation.isPending;
116
- const queryError = target === "flags" ? flagsQuery.error : preferencesQuery.error;
117
- if (!isSessionLoading && !activeOrganizationId) return /* @__PURE__ */ jsx(OrganizationStateCard, {
118
- title: resolvedLabels.title,
119
- message: resolvedLabels.noActiveOrganization
120
- });
121
- if (queryError) return /* @__PURE__ */ jsx(OrganizationStateCard, {
122
- title: resolvedLabels.title,
123
- message: queryError instanceof Error ? queryError.message : resolvedLabels.loadError
124
- });
125
- return /* @__PURE__ */ jsx(PreferencesEditor, {
126
- schema,
127
- controls,
128
- values: currentValues,
129
- isLoading,
130
- isPending,
131
- labels: resolvedLabels,
132
- updateValues
133
- });
134
- }
135
- //#endregion
136
- export { OrganizationPreferences };
137
-
138
- //# sourceMappingURL=OrganizationPreferences.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OrganizationPreferences.js","names":[],"sources":["../../../../../src/modules/auth/components/OrganizationPreferences.tsx"],"sourcesContent":["import { Card, CardBody, CardHeader } from \"@heroui/react\";\r\nimport { useSession } from \"@m5kdev/frontend/modules/auth/hooks/useSession\";\r\nimport { useMutation, useQuery, useQueryClient } from \"@tanstack/react-query\";\r\nimport { type ReactElement, useCallback, useMemo } from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport type { z } from \"zod\";\r\nimport type { UseBackendTRPC } from \"../../../types\";\r\nimport {\r\n type ControlsFor,\r\n type PreferenceEditorLabels,\r\n PreferencesEditor,\r\n type UpdatePreferencesOptions,\r\n} from \"./PreferencesEditor\";\r\n\r\ntype OrganizationPreferenceLabels = PreferenceEditorLabels & {\r\n noActiveOrganization: string;\r\n loadError: string;\r\n};\r\n\r\nexport type OrganizationPreferencesTarget = \"preferences\" | \"flags\";\r\n\r\nexport type OrganizationPreferencesProps<S extends z.ZodObject<z.ZodRawShape>> = {\r\n useTRPC: UseBackendTRPC;\r\n schema: S;\r\n controls: ControlsFor<z.infer<S>>;\r\n target?: OrganizationPreferencesTarget;\r\n labels?: Partial<OrganizationPreferenceLabels>;\r\n onInvalidateScopedQueries?: () => void | Promise<void>;\r\n};\r\n\r\nfunction OrganizationStateCard({ title, message }: { title: string; message: string }) {\r\n return (\r\n <div className=\"p-6\">\r\n <Card>\r\n <CardHeader className=\"text-lg font-semibold\">{title}</CardHeader>\r\n <CardBody>{message}</CardBody>\r\n </Card>\r\n </div>\r\n );\r\n}\r\n\r\nfunction getFlagValues<S extends z.ZodObject<z.ZodRawShape>>(\r\n controls: ControlsFor<z.infer<S>>,\r\n flags: string[]\r\n): Partial<z.infer<S>> {\r\n const activeFlags = new Set(flags);\r\n\r\n return Object.fromEntries(\r\n Object.keys(controls).map((key) => [key, activeFlags.has(key)])\r\n ) as Partial<z.infer<S>>;\r\n}\r\n\r\nfunction getFlagsFromValues(values: Record<string, unknown>): string[] {\r\n return Object.entries(values)\r\n .filter(([, value]) => value === true)\r\n .map(([key]) => key);\r\n}\r\n\r\nexport function OrganizationPreferences<S extends z.ZodObject<z.ZodRawShape>>({\r\n useTRPC,\r\n schema,\r\n controls,\r\n target = \"preferences\",\r\n labels,\r\n onInvalidateScopedQueries,\r\n}: OrganizationPreferencesProps<S>): ReactElement {\r\n const { data: session, isLoading: isSessionLoading } = useSession();\r\n const { t } = useTranslation(\"web-ui\");\r\n const trpc = useTRPC();\r\n const queryClient = useQueryClient();\r\n\r\n const activeOrganizationId = session?.session.activeOrganizationId ?? \"\";\r\n const labelKeyPrefix =\r\n target === \"flags\" ? \"web-ui:organization.flags\" : \"web-ui:organization.preferences\";\r\n\r\n const resolvedLabels = useMemo<OrganizationPreferenceLabels>(\r\n () => ({\r\n title: labels?.title ?? t(`${labelKeyPrefix}.title`),\r\n submit: labels?.submit ?? t(`${labelKeyPrefix}.submit`),\r\n updated: labels?.updated ?? t(`${labelKeyPrefix}.updated`),\r\n updateError: labels?.updateError ?? t(`${labelKeyPrefix}.updateError`),\r\n loading: labels?.loading ?? t(`${labelKeyPrefix}.loading`),\r\n noActiveOrganization: labels?.noActiveOrganization ?? t(`${labelKeyPrefix}.noActive`),\r\n loadError: labels?.loadError ?? t(`${labelKeyPrefix}.loadError`),\r\n }),\r\n [labelKeyPrefix, labels, t]\r\n );\r\n\r\n const preferencesQuery = useQuery({\r\n ...trpc.auth.getOrganizationPreferences.queryOptions(),\r\n enabled: target === \"preferences\" && Boolean(activeOrganizationId),\r\n });\r\n\r\n const flagsQuery = useQuery({\r\n ...trpc.auth.getOrganizationFlags.queryOptions(),\r\n enabled: target === \"flags\" && Boolean(activeOrganizationId),\r\n });\r\n\r\n const setPreferencesMutation = useMutation(\r\n trpc.auth.setOrganizationPreferences.mutationOptions()\r\n );\r\n const setFlagsMutation = useMutation(trpc.auth.setOrganizationFlags.mutationOptions());\r\n\r\n const currentValues = useMemo<Partial<z.infer<S>>>(() => {\r\n if (target === \"flags\") {\r\n return getFlagValues<S>(controls, flagsQuery.data ?? []);\r\n }\r\n\r\n return (preferencesQuery.data ?? {}) as Partial<z.infer<S>>;\r\n }, [controls, flagsQuery.data, preferencesQuery.data, target]);\r\n\r\n const updateValues = useCallback(\r\n (partialValues: Partial<z.infer<S>>, options: UpdatePreferencesOptions) => {\r\n if (target === \"flags\") {\r\n const nextValues = {\r\n ...currentValues,\r\n ...partialValues,\r\n } as Record<string, unknown>;\r\n const nextFlags = getFlagsFromValues(nextValues);\r\n\r\n if (!options.noOptimisticUpdate) {\r\n queryClient.setQueryData(trpc.auth.getOrganizationFlags.queryKey(), nextFlags);\r\n }\r\n\r\n setFlagsMutation.mutate(nextFlags, {\r\n onSuccess: async (result) => {\r\n queryClient.setQueryData(trpc.auth.getOrganizationFlags.queryKey(), result);\r\n if (activeOrganizationId) {\r\n await queryClient.invalidateQueries({\r\n queryKey: [\"auth-organization-details\", activeOrganizationId],\r\n });\r\n }\r\n await onInvalidateScopedQueries?.();\r\n options.onSuccess?.();\r\n },\r\n onError: async (error) => {\r\n if (!options.noOptimisticUpdate) {\r\n await queryClient.invalidateQueries({\r\n queryKey: trpc.auth.getOrganizationFlags.queryKey(),\r\n });\r\n }\r\n options.onError?.(error);\r\n },\r\n });\r\n return;\r\n }\r\n\r\n const nextPreferences = {\r\n ...(preferencesQuery.data ?? {}),\r\n ...partialValues,\r\n };\r\n\r\n if (!options.noOptimisticUpdate) {\r\n queryClient.setQueryData(trpc.auth.getOrganizationPreferences.queryKey(), nextPreferences);\r\n }\r\n\r\n setPreferencesMutation.mutate(nextPreferences, {\r\n onSuccess: async (result) => {\r\n queryClient.setQueryData(trpc.auth.getOrganizationPreferences.queryKey(), result);\r\n if (activeOrganizationId) {\r\n await queryClient.invalidateQueries({\r\n queryKey: [\"auth-organization-details\", activeOrganizationId],\r\n });\r\n }\r\n await onInvalidateScopedQueries?.();\r\n options.onSuccess?.();\r\n },\r\n onError: async (error) => {\r\n if (!options.noOptimisticUpdate) {\r\n await queryClient.invalidateQueries({\r\n queryKey: trpc.auth.getOrganizationPreferences.queryKey(),\r\n });\r\n }\r\n options.onError?.(error);\r\n },\r\n });\r\n },\r\n [\r\n activeOrganizationId,\r\n currentValues,\r\n onInvalidateScopedQueries,\r\n preferencesQuery.data,\r\n queryClient,\r\n setFlagsMutation,\r\n setPreferencesMutation,\r\n target,\r\n trpc.auth.getOrganizationFlags,\r\n trpc.auth.getOrganizationPreferences,\r\n ]\r\n );\r\n\r\n const isLoading =\r\n isSessionLoading || (target === \"flags\" ? flagsQuery.isLoading : preferencesQuery.isLoading);\r\n const isPending =\r\n target === \"flags\" ? setFlagsMutation.isPending : setPreferencesMutation.isPending;\r\n const queryError = target === \"flags\" ? flagsQuery.error : preferencesQuery.error;\r\n\r\n if (!isSessionLoading && !activeOrganizationId) {\r\n return (\r\n <OrganizationStateCard\r\n title={resolvedLabels.title}\r\n message={resolvedLabels.noActiveOrganization}\r\n />\r\n );\r\n }\r\n\r\n if (queryError) {\r\n return (\r\n <OrganizationStateCard\r\n title={resolvedLabels.title}\r\n message={queryError instanceof Error ? queryError.message : resolvedLabels.loadError}\r\n />\r\n );\r\n }\r\n\r\n return (\r\n <PreferencesEditor\r\n schema={schema}\r\n controls={controls}\r\n values={currentValues}\r\n isLoading={isLoading}\r\n isPending={isPending}\r\n labels={resolvedLabels}\r\n updateValues={updateValues}\r\n />\r\n );\r\n}\r\n"],"mappings":";;;;;;;;AA8BA,SAAS,sBAAsB,EAAE,OAAO,WAA+C;AACrF,QACE,oBAAC,OAAD;EAAK,WAAU;YACb,qBAAC,MAAD,EAAA,UAAA,CACE,oBAAC,YAAD;GAAY,WAAU;aAAyB;GAAmB,CAAA,EAClE,oBAAC,UAAD,EAAA,UAAW,SAAmB,CAAA,CACzB,EAAA,CAAA;EACH,CAAA;;AAIV,SAAS,cACP,UACA,OACqB;CACrB,MAAM,cAAc,IAAI,IAAI,MAAM;AAElC,QAAO,OAAO,YACZ,OAAO,KAAK,SAAS,CAAC,KAAK,QAAQ,CAAC,KAAK,YAAY,IAAI,IAAI,CAAC,CAAC,CAChE;;AAGH,SAAS,mBAAmB,QAA2C;AACrE,QAAO,OAAO,QAAQ,OAAO,CAC1B,QAAQ,GAAG,WAAW,UAAU,KAAK,CACrC,KAAK,CAAC,SAAS,IAAI;;AAGxB,SAAgB,wBAA8D,EAC5E,SACA,QACA,UACA,SAAS,eACT,QACA,6BACgD;CAChD,MAAM,EAAE,MAAM,SAAS,WAAW,qBAAqB,YAAY;CACnE,MAAM,EAAE,MAAM,eAAe,SAAS;CACtC,MAAM,OAAO,SAAS;CACtB,MAAM,cAAc,gBAAgB;CAEpC,MAAM,uBAAuB,SAAS,QAAQ,wBAAwB;CACtE,MAAM,iBACJ,WAAW,UAAU,8BAA8B;CAErD,MAAM,iBAAiB,eACd;EACL,OAAO,QAA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ACtB,SAAS,eAAe;EACxB,CAAA;AAIN,KAAI,WACF,QACE,oBAAC,uBAAD;EACE,OAAO,eAAe;EACtB,SAAS,sBAAsB,QAAQ,WAAW,UAAU,eAAe;EAC3E,CAAA;AAIN,QACE,oBAAC,mBAAD;EACU;EACE;EACV,QAAQ;EACG;EACA;EACX,QAAQ;EACM;EACd,CAAA"}
@@ -1,29 +0,0 @@
1
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
-
3
- //#region src/modules/auth/components/OrganizationSettingsRoute.d.ts
4
- type OrganizationSettingsRouteLabels = {
5
- settingsTitle: string;
6
- settingsDescription: string;
7
- settingsNoActive: string;
8
- settingsManageOnly: string;
9
- formName: string;
10
- formSlug: string;
11
- formMetadata: string;
12
- formMetadataInvalidJson: string;
13
- formMetadataInvalid: string;
14
- saveButton: string;
15
- updateSuccess: string;
16
- updateError: string;
17
- loadError: string;
18
- };
19
- type OrganizationSettingsRouteProps = {
20
- managerRoles?: string[];
21
- onInvalidateScopedQueries?: () => void | Promise<void>;
22
- };
23
- declare function OrganizationSettingsRoute({
24
- managerRoles,
25
- onInvalidateScopedQueries
26
- }: OrganizationSettingsRouteProps): _$react_jsx_runtime0.JSX.Element;
27
- //#endregion
28
- export { OrganizationSettingsRoute, OrganizationSettingsRouteLabels, OrganizationSettingsRouteProps };
29
- //# sourceMappingURL=OrganizationSettingsRoute.d.ts.map
@@ -1,193 +0,0 @@
1
- import { useCallback, useEffect, useMemo, useState } from "react";
2
- import { Button, Card, CardBody, CardHeader, Chip, Input, Spinner, Textarea } from "@heroui/react";
3
- import { jsx, jsxs } from "react/jsx-runtime";
4
- import { useTranslation } from "react-i18next";
5
- import { toast } from "sonner";
6
- import { authClient } from "@m5kdev/frontend/modules/auth/auth.lib";
7
- import { useQuery, useQueryClient } from "@tanstack/react-query";
8
- import { useSession } from "@m5kdev/frontend/modules/auth/hooks/useSession";
9
- //#region src/modules/auth/components/OrganizationSettingsRoute.tsx
10
- function OrganizationStateCard({ title, message }) {
11
- return /* @__PURE__ */ jsx("div", {
12
- className: "p-6",
13
- children: /* @__PURE__ */ jsxs(Card, { children: [/* @__PURE__ */ jsx(CardHeader, {
14
- className: "text-lg font-semibold",
15
- children: title
16
- }), /* @__PURE__ */ jsx(CardBody, { children: message })] })
17
- });
18
- }
19
- function useOrganizationAccess({ managerRoles, onInvalidateScopedQueries }) {
20
- const { data: session, registerSession } = useSession();
21
- const queryClient = useQueryClient();
22
- const activeOrganizationId = session?.session.activeOrganizationId ?? "";
23
- const activeOrganizationRole = (session?.session)?.activeOrganizationRole ?? "";
24
- return {
25
- activeOrganizationId,
26
- activeOrganizationRole,
27
- canManageOrganization: useMemo(() => new Set(managerRoles ?? ["admin", "owner"]), [managerRoles]).has(activeOrganizationRole),
28
- refreshOrganizationQueries: useCallback(async () => {
29
- await Promise.allSettled([
30
- queryClient.invalidateQueries({ queryKey: ["auth-organization-list"] }),
31
- queryClient.invalidateQueries({ queryKey: ["auth-organization-details", activeOrganizationId] }),
32
- queryClient.invalidateQueries({ queryKey: ["auth-organization-members", activeOrganizationId] }),
33
- queryClient.invalidateQueries({ queryKey: ["auth-organization-invitations", activeOrganizationId] })
34
- ]);
35
- registerSession(() => {
36
- onInvalidateScopedQueries?.();
37
- });
38
- }, [
39
- activeOrganizationId,
40
- onInvalidateScopedQueries,
41
- queryClient,
42
- registerSession
43
- ])
44
- };
45
- }
46
- function useOrganizationConfig() {
47
- const { t } = useTranslation();
48
- return {
49
- resolvedLabels: useMemo(() => ({
50
- settingsTitle: t("web-ui:organization.settings.title"),
51
- settingsDescription: t("web-ui:organization.settings.description"),
52
- settingsNoActive: t("web-ui:organization.settings.noActive"),
53
- settingsManageOnly: t("web-ui:organization.settings.manageOnly"),
54
- formName: t("web-ui:organization.settings.form.name"),
55
- formSlug: t("web-ui:organization.settings.form.slug"),
56
- formMetadata: t("web-ui:organization.settings.form.metadata"),
57
- formMetadataInvalidJson: t("web-ui:organization.settings.form.metadataInvalidJson"),
58
- formMetadataInvalid: t("web-ui:organization.settings.form.metadataInvalid"),
59
- saveButton: t("web-ui:organization.settings.button.save"),
60
- updateSuccess: t("web-ui:organization.settings.updateSuccess"),
61
- updateError: t("web-ui:organization.settings.updateError"),
62
- loadError: t("web-ui:organization.settings.loadError")
63
- }), [t]),
64
- resolvedRoleLabels: useMemo(() => ({
65
- member: t("web-ui:organization.roles.member"),
66
- admin: t("web-ui:organization.roles.admin"),
67
- owner: t("web-ui:organization.roles.owner")
68
- }), [t])
69
- };
70
- }
71
- function OrganizationSettingsRoute({ managerRoles, onInvalidateScopedQueries }) {
72
- const { resolvedLabels, resolvedRoleLabels } = useOrganizationConfig();
73
- const { activeOrganizationId, activeOrganizationRole, canManageOrganization, refreshOrganizationQueries } = useOrganizationAccess({
74
- managerRoles,
75
- onInvalidateScopedQueries
76
- });
77
- const [organizationName, setOrganizationName] = useState("");
78
- const [organizationSlug, setOrganizationSlug] = useState("");
79
- const [organizationMetadata, setOrganizationMetadata] = useState("{}");
80
- const [isSavingOrganization, setIsSavingOrganization] = useState(false);
81
- const organizationQuery = useQuery({
82
- queryKey: ["auth-organization-details", activeOrganizationId],
83
- enabled: Boolean(activeOrganizationId && canManageOrganization),
84
- queryFn: async () => {
85
- const { data, error } = await authClient.organization.getFullOrganization({ query: {
86
- organizationId: activeOrganizationId,
87
- membersLimit: 200
88
- } });
89
- if (error) throw new Error(error.message ?? resolvedLabels.loadError);
90
- return data;
91
- }
92
- });
93
- useEffect(() => {
94
- const organization = organizationQuery.data;
95
- if (!organization) return;
96
- setOrganizationName(organization.name ?? "");
97
- setOrganizationSlug(organization.slug ?? "");
98
- setOrganizationMetadata(JSON.stringify(organization.metadata ?? {}, null, 2));
99
- }, [organizationQuery.data]);
100
- const onUpdateOrganization = async () => {
101
- if (!canManageOrganization || !activeOrganizationId) return;
102
- try {
103
- setIsSavingOrganization(true);
104
- let parsedMetadata;
105
- try {
106
- parsedMetadata = organizationMetadata.trim() ? JSON.parse(organizationMetadata) : {};
107
- } catch (parseError) {
108
- const message = parseError instanceof SyntaxError ? resolvedLabels.formMetadataInvalidJson : parseError instanceof Error ? parseError.message : resolvedLabels.formMetadataInvalid;
109
- throw new Error(message);
110
- }
111
- const { error } = await authClient.organization.update({
112
- organizationId: activeOrganizationId,
113
- data: {
114
- name: organizationName.trim(),
115
- slug: organizationSlug.trim(),
116
- metadata: parsedMetadata
117
- }
118
- });
119
- if (error) throw new Error(error.message ?? resolvedLabels.updateError);
120
- await refreshOrganizationQueries();
121
- toast.success(resolvedLabels.updateSuccess);
122
- } catch (error) {
123
- toast.error(error instanceof Error ? error.message : resolvedLabels.updateError);
124
- } finally {
125
- setIsSavingOrganization(false);
126
- }
127
- };
128
- if (!activeOrganizationId) return /* @__PURE__ */ jsx(OrganizationStateCard, {
129
- title: resolvedLabels.settingsTitle,
130
- message: resolvedLabels.settingsNoActive
131
- });
132
- if (!canManageOrganization) return /* @__PURE__ */ jsx(OrganizationStateCard, {
133
- title: resolvedLabels.settingsTitle,
134
- message: resolvedLabels.settingsManageOnly
135
- });
136
- if (organizationQuery.isLoading) return /* @__PURE__ */ jsx("div", {
137
- className: "p-6 flex justify-center",
138
- children: /* @__PURE__ */ jsx(Spinner, {})
139
- });
140
- return /* @__PURE__ */ jsx("div", {
141
- className: "p-6",
142
- children: /* @__PURE__ */ jsxs(Card, { children: [/* @__PURE__ */ jsxs(CardHeader, {
143
- className: "flex items-center justify-between",
144
- children: [/* @__PURE__ */ jsxs("div", {
145
- className: "flex flex-col",
146
- children: [/* @__PURE__ */ jsx("h2", {
147
- className: "text-xl font-semibold",
148
- children: resolvedLabels.settingsTitle
149
- }), /* @__PURE__ */ jsx("p", {
150
- className: "text-sm text-default-500",
151
- children: resolvedLabels.settingsDescription
152
- })]
153
- }), /* @__PURE__ */ jsx(Chip, {
154
- variant: "flat",
155
- color: "primary",
156
- children: resolvedRoleLabels[activeOrganizationRole] ?? activeOrganizationRole ?? resolvedRoleLabels.member
157
- })]
158
- }), /* @__PURE__ */ jsxs(CardBody, {
159
- className: "grid gap-3",
160
- children: [
161
- /* @__PURE__ */ jsx(Input, {
162
- label: resolvedLabels.formName,
163
- value: organizationName,
164
- onValueChange: setOrganizationName
165
- }),
166
- /* @__PURE__ */ jsx(Input, {
167
- label: resolvedLabels.formSlug,
168
- value: organizationSlug,
169
- onValueChange: setOrganizationSlug
170
- }),
171
- /* @__PURE__ */ jsx(Textarea, {
172
- label: resolvedLabels.formMetadata,
173
- value: organizationMetadata,
174
- onValueChange: setOrganizationMetadata,
175
- minRows: 4
176
- }),
177
- /* @__PURE__ */ jsx("div", {
178
- className: "flex justify-end",
179
- children: /* @__PURE__ */ jsx(Button, {
180
- color: "primary",
181
- isLoading: isSavingOrganization,
182
- onPress: onUpdateOrganization,
183
- children: resolvedLabels.saveButton
184
- })
185
- })
186
- ]
187
- })] })
188
- });
189
- }
190
- //#endregion
191
- export { OrganizationSettingsRoute };
192
-
193
- //# sourceMappingURL=OrganizationSettingsRoute.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OrganizationSettingsRoute.js","names":[],"sources":["../../../../../src/modules/auth/components/OrganizationSettingsRoute.tsx"],"sourcesContent":["import { Button, Card, CardBody, CardHeader, Chip, Input, Spinner, Textarea } from \"@heroui/react\";\r\nimport { authClient } from \"@m5kdev/frontend/modules/auth/auth.lib\";\r\nimport { useSession } from \"@m5kdev/frontend/modules/auth/hooks/useSession\";\r\nimport { useQuery, useQueryClient } from \"@tanstack/react-query\";\r\nimport { useCallback, useEffect, useMemo, useState } from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { toast } from \"sonner\";\r\n\r\ntype OrganizationDetails = {\r\n id: string;\r\n name: string;\r\n slug: string;\r\n logo?: string | null;\r\n metadata?: Record<string, unknown> | null;\r\n};\r\n\r\nexport type OrganizationSettingsRouteLabels = {\r\n settingsTitle: string;\r\n settingsDescription: string;\r\n settingsNoActive: string;\r\n settingsManageOnly: string;\r\n formName: string;\r\n formSlug: string;\r\n formMetadata: string;\r\n formMetadataInvalidJson: string;\r\n formMetadataInvalid: string;\r\n saveButton: string;\r\n updateSuccess: string;\r\n updateError: string;\r\n loadError: string;\r\n};\r\n\r\nexport type OrganizationSettingsRouteProps = {\r\n managerRoles?: string[];\r\n onInvalidateScopedQueries?: () => void | Promise<void>;\r\n};\r\n\r\nfunction OrganizationStateCard({ title, message }: { title: string; message: string }) {\r\n return (\r\n <div className=\"p-6\">\r\n <Card>\r\n <CardHeader className=\"text-lg font-semibold\">{title}</CardHeader>\r\n <CardBody>{message}</CardBody>\r\n </Card>\r\n </div>\r\n );\r\n}\r\n\r\nfunction useOrganizationAccess({\r\n managerRoles,\r\n onInvalidateScopedQueries,\r\n}: Pick<OrganizationSettingsRouteProps, \"managerRoles\" | \"onInvalidateScopedQueries\">) {\r\n const { data: session, registerSession } = useSession();\r\n const queryClient = useQueryClient();\r\n\r\n const activeOrganizationId = session?.session.activeOrganizationId ?? \"\";\r\n const activeOrganizationRole =\r\n (session?.session as { activeOrganizationRole?: string } | undefined)?.activeOrganizationRole ??\r\n \"\";\r\n const managerRoleSet = useMemo(() => new Set(managerRoles ?? [\"admin\", \"owner\"]), [managerRoles]);\r\n const canManageOrganization = managerRoleSet.has(activeOrganizationRole);\r\n\r\n const refreshOrganizationQueries = useCallback(async () => {\r\n await Promise.allSettled([\r\n queryClient.invalidateQueries({ queryKey: [\"auth-organization-list\"] }),\r\n queryClient.invalidateQueries({\r\n queryKey: [\"auth-organization-details\", activeOrganizationId],\r\n }),\r\n queryClient.invalidateQueries({\r\n queryKey: [\"auth-organization-members\", activeOrganizationId],\r\n }),\r\n queryClient.invalidateQueries({\r\n queryKey: [\"auth-organization-invitations\", activeOrganizationId],\r\n }),\r\n ]);\r\n\r\n registerSession(() => {\r\n void onInvalidateScopedQueries?.();\r\n });\r\n }, [activeOrganizationId, onInvalidateScopedQueries, queryClient, registerSession]);\r\n\r\n return {\r\n activeOrganizationId,\r\n activeOrganizationRole,\r\n canManageOrganization,\r\n refreshOrganizationQueries,\r\n };\r\n}\r\n\r\nfunction useOrganizationConfig() {\r\n const { t } = useTranslation();\r\n\r\n const translatedLabels = useMemo<OrganizationSettingsRouteLabels>(\r\n () => ({\r\n settingsTitle: t(\"web-ui:organization.settings.title\"),\r\n settingsDescription: t(\"web-ui:organization.settings.description\"),\r\n settingsNoActive: t(\"web-ui:organization.settings.noActive\"),\r\n settingsManageOnly: t(\"web-ui:organization.settings.manageOnly\"),\r\n formName: t(\"web-ui:organization.settings.form.name\"),\r\n formSlug: t(\"web-ui:organization.settings.form.slug\"),\r\n formMetadata: t(\"web-ui:organization.settings.form.metadata\"),\r\n formMetadataInvalidJson: t(\"web-ui:organization.settings.form.metadataInvalidJson\"),\r\n formMetadataInvalid: t(\"web-ui:organization.settings.form.metadataInvalid\"),\r\n saveButton: t(\"web-ui:organization.settings.button.save\"),\r\n updateSuccess: t(\"web-ui:organization.settings.updateSuccess\"),\r\n updateError: t(\"web-ui:organization.settings.updateError\"),\r\n loadError: t(\"web-ui:organization.settings.loadError\"),\r\n }),\r\n [t]\r\n );\r\n\r\n const translatedRoleLabels = useMemo<Record<string, string>>(\r\n () => ({\r\n member: t(\"web-ui:organization.roles.member\"),\r\n admin: t(\"web-ui:organization.roles.admin\"),\r\n owner: t(\"web-ui:organization.roles.owner\"),\r\n }),\r\n [t]\r\n );\r\n\r\n return { resolvedLabels: translatedLabels, resolvedRoleLabels: translatedRoleLabels };\r\n}\r\n\r\nexport function OrganizationSettingsRoute({\r\n managerRoles,\r\n onInvalidateScopedQueries,\r\n}: OrganizationSettingsRouteProps) {\r\n const { resolvedLabels, resolvedRoleLabels } = useOrganizationConfig();\r\n\r\n const {\r\n activeOrganizationId,\r\n activeOrganizationRole,\r\n canManageOrganization,\r\n refreshOrganizationQueries,\r\n } = useOrganizationAccess({ managerRoles, onInvalidateScopedQueries });\r\n\r\n const [organizationName, setOrganizationName] = useState(\"\");\r\n const [organizationSlug, setOrganizationSlug] = useState(\"\");\r\n const [organizationMetadata, setOrganizationMetadata] = useState(\"{}\");\r\n const [isSavingOrganization, setIsSavingOrganization] = useState(false);\r\n\r\n const organizationQuery = useQuery({\r\n queryKey: [\"auth-organization-details\", activeOrganizationId],\r\n enabled: Boolean(activeOrganizationId && canManageOrganization),\r\n queryFn: async () => {\r\n const { data, error } = await authClient.organization.getFullOrganization({\r\n query: {\r\n organizationId: activeOrganizationId,\r\n membersLimit: 200,\r\n },\r\n });\r\n if (error) {\r\n throw new Error(error.message ?? resolvedLabels.loadError);\r\n }\r\n return data as OrganizationDetails | null;\r\n },\r\n });\r\n\r\n useEffect(() => {\r\n const organization = organizationQuery.data;\r\n if (!organization) {\r\n return;\r\n }\r\n\r\n setOrganizationName(organization.name ?? \"\");\r\n setOrganizationSlug(organization.slug ?? \"\");\r\n setOrganizationMetadata(JSON.stringify(organization.metadata ?? {}, null, 2));\r\n }, [organizationQuery.data]);\r\n\r\n const onUpdateOrganization = async () => {\r\n if (!canManageOrganization || !activeOrganizationId) {\r\n return;\r\n }\r\n\r\n try {\r\n setIsSavingOrganization(true);\r\n let parsedMetadata: Record<string, unknown>;\r\n try {\r\n parsedMetadata = organizationMetadata.trim()\r\n ? (JSON.parse(organizationMetadata) as Record<string, unknown>)\r\n : {};\r\n } catch (parseError) {\r\n const message =\r\n parseError instanceof SyntaxError\r\n ? resolvedLabels.formMetadataInvalidJson\r\n : parseError instanceof Error\r\n ? parseError.message\r\n : resolvedLabels.formMetadataInvalid;\r\n throw new Error(message);\r\n }\r\n\r\n const { error } = await authClient.organization.update({\r\n organizationId: activeOrganizationId,\r\n data: {\r\n name: organizationName.trim(),\r\n slug: organizationSlug.trim(),\r\n metadata: parsedMetadata,\r\n },\r\n });\r\n\r\n if (error) {\r\n throw new Error(error.message ?? resolvedLabels.updateError);\r\n }\r\n\r\n await refreshOrganizationQueries();\r\n toast.success(resolvedLabels.updateSuccess);\r\n } catch (error) {\r\n toast.error(error instanceof Error ? error.message : resolvedLabels.updateError);\r\n } finally {\r\n setIsSavingOrganization(false);\r\n }\r\n };\r\n\r\n if (!activeOrganizationId) {\r\n return (\r\n <OrganizationStateCard\r\n title={resolvedLabels.settingsTitle}\r\n message={resolvedLabels.settingsNoActive}\r\n />\r\n );\r\n }\r\n\r\n if (!canManageOrganization) {\r\n return (\r\n <OrganizationStateCard\r\n title={resolvedLabels.settingsTitle}\r\n message={resolvedLabels.settingsManageOnly}\r\n />\r\n );\r\n }\r\n\r\n if (organizationQuery.isLoading) {\r\n return (\r\n <div className=\"p-6 flex justify-center\">\r\n <Spinner />\r\n </div>\r\n );\r\n }\r\n\r\n return (\r\n <div className=\"p-6\">\r\n <Card>\r\n <CardHeader className=\"flex items-center justify-between\">\r\n <div className=\"flex flex-col\">\r\n <h2 className=\"text-xl font-semibold\">{resolvedLabels.settingsTitle}</h2>\r\n <p className=\"text-sm text-default-500\">{resolvedLabels.settingsDescription}</p>\r\n </div>\r\n <Chip variant=\"flat\" color=\"primary\">\r\n {resolvedRoleLabels[activeOrganizationRole] ??\r\n activeOrganizationRole ??\r\n resolvedRoleLabels.member}\r\n </Chip>\r\n </CardHeader>\r\n <CardBody className=\"grid gap-3\">\r\n <Input\r\n label={resolvedLabels.formName}\r\n value={organizationName}\r\n onValueChange={setOrganizationName}\r\n />\r\n <Input\r\n label={resolvedLabels.formSlug}\r\n value={organizationSlug}\r\n onValueChange={setOrganizationSlug}\r\n />\r\n <Textarea\r\n label={resolvedLabels.formMetadata}\r\n value={organizationMetadata}\r\n onValueChange={setOrganizationMetadata}\r\n minRows={4}\r\n />\r\n <div className=\"flex justify-end\">\r\n <Button color=\"primary\" isLoading={isSavingOrganization} onPress={onUpdateOrganization}>\r\n {resolvedLabels.saveButton}\r\n </Button>\r\n </div>\r\n </CardBody>\r\n </Card>\r\n </div>\r\n );\r\n}\r\n"],"mappings":";;;;;;;;;AAqCA,SAAS,sBAAsB,EAAE,OAAO,WAA+C;AACrF,QACE,oBAAC,OAAD;EAAK,WAAU;YACb,qBAAC,MAAD,EAAA,UAAA,CACE,o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MACb,qBAAC,UAAD;GAAU,WAAU;aAApB;IACE,oBAAC,OAAD;KACE,OAAO,eAAe;KACtB,OAAO;KACP,eAAe;KACf,CAAA;IACF,oBAAC,OAAD;KACE,OAAO,eAAe;KACtB,OAAO;KACP,eAAe;KACf,CAAA;IACF,oBAAC,UAAD;KACE,OAAO,eAAe;KACtB,OAAO;KACP,eAAe;KACf,SAAS;KACT,CAAA;IACF,oBAAC,OAAD;KAAK,WAAU;eACb,oBAAC,QAAD;MAAQ,OAAM;MAAU,WAAW;MAAsB,SAAS;gBAC/D,eAAe;MACT,CAAA;KACL,CAAA;IACG;KACN,EAAA,CAAA;EACH,CAAA"}
@@ -1,18 +0,0 @@
1
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
-
3
- //#region src/modules/auth/components/OrganizationSwitcher.d.ts
4
- type OrganizationSwitcherProps = {
5
- onInvalidateScopedQueries?: () => void | Promise<void>;
6
- managerRoles?: string[];
7
- managerPath?: string;
8
- fallbackPath?: string;
9
- };
10
- declare function OrganizationSwitcher({
11
- onInvalidateScopedQueries,
12
- managerRoles,
13
- managerPath,
14
- fallbackPath
15
- }: OrganizationSwitcherProps): _$react_jsx_runtime0.JSX.Element;
16
- //#endregion
17
- export { OrganizationSwitcher, OrganizationSwitcherProps };
18
- //# sourceMappingURL=OrganizationSwitcher.d.ts.map