@m5kdev/web-ui 0.8.6 → 0.8.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (780) hide show
  1. package/dist/_virtual/_rolldown/runtime.js +23 -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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +1 -0
  76. package/dist/node_modules/.pnpm/@libsql_core@0.17.0/node_modules/@libsql/core/lib-esm/api.d.ts +79 -0
  77. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/client.d.ts +580 -0
  78. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/exports.d.ts +14 -0
  79. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/integration.d.ts +10 -0
  80. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/scope.d.ts +289 -0
  81. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/attachment.d.ts +32 -0
  82. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/breadcrumb.d.ts +86 -0
  83. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/checkin.d.ts +101 -0
  84. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/clientreport.d.ts +16 -0
  85. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/context.d.ts +132 -0
  86. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/csp.d.ts +19 -0
  87. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/datacategory.d.ts +5 -0
  88. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/debugMeta.d.ts +30 -0
  89. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/dsn.d.ts +23 -0
  90. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/envelope.d.ts +153 -0
  91. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/event.d.ts +91 -0
  92. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/eventprocessor.d.ts +16 -0
  93. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/exception.d.ts +16 -0
  94. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/extra.d.ts +6 -0
  95. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/feedback/sendFeedback.d.ts +35 -0
  96. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/integration.d.ts +43 -0
  97. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/link.d.ts +32 -0
  98. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/log.d.ts +73 -0
  99. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/measurement.d.ts +26 -0
  100. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/mechanism.d.ts +54 -0
  101. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/metric.d.ts +77 -0
  102. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/misc.d.ts +32 -0
  103. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/opentelemetry.d.ts +17 -0
  104. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/options.d.ts +426 -0
  105. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/package.d.ts +11 -0
  106. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/parameterize.d.ts +8 -0
  107. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/profiling.d.ts +132 -0
  108. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/replay.d.ts +29 -0
  109. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/request.d.ts +21 -0
  110. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/samplingcontext.d.ts +49 -0
  111. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/sdkinfo.d.ts +18 -0
  112. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/sdkmetadata.d.ts +9 -0
  113. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/session.d.ts +68 -0
  114. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/severity.d.ts +5 -0
  115. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/span.d.ts +183 -0
  116. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/spanStatus.d.ts +27 -0
  117. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/stackframe.d.ts +25 -0
  118. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/stacktrace.d.ts +12 -0
  119. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/startSpanOptions.d.ts +66 -0
  120. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/thread.d.ts +15 -0
  121. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/tracing.d.ts +51 -0
  122. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/transaction.d.ts +9 -0
  123. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/transport.d.ts +32 -0
  124. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/user.d.ts +20 -0
  125. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/utils/featureFlags.d.ts +13 -0
  126. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/utils/prepareEvent.d.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +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.ts +1 -0
  293. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/dialect-adapter-base.d.ts +1 -0
  294. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/dialect-adapter.d.ts +1 -0
  295. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/dialect.d.ts +1 -0
  296. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mssql/mssql-adapter.d.ts +1 -0
  297. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mssql/mssql-dialect.d.ts +1 -0
  298. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mssql/mssql-introspector.d.ts +1 -0
  299. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mysql/mysql-adapter.d.ts +1 -0
  300. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mysql/mysql-dialect.d.ts +1 -0
  301. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mysql/mysql-introspector.d.ts +1 -0
  302. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/postgres/postgres-adapter.d.ts +1 -0
  303. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/postgres/postgres-dialect.d.ts +1 -0
  304. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/postgres/postgres-introspector.d.ts +1 -0
  305. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/sqlite/sqlite-adapter.d.ts +1 -0
  306. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/sqlite/sqlite-dialect.d.ts +1 -0
  307. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/sqlite/sqlite-introspector.d.ts +1 -0
  308. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/expression/expression-builder.d.ts +1 -0
  309. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/index.d.ts +1 -0
  310. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/kysely.d.ts +38 -0
  311. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/migration/file-migration-provider.d.ts +1 -0
  312. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/migration/migrator.d.ts +1 -0
  313. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/binary-operation-parser.d.ts +1 -0
  314. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/delete-from-parser.d.ts +1 -0
  315. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/expression-parser.d.ts +1 -0
  316. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/group-by-parser.d.ts +1 -0
  317. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/insert-values-parser.d.ts +1 -0
  318. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/join-parser.d.ts +1 -0
  319. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/merge-into-parser.d.ts +1 -0
  320. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/reference-parser.d.ts +1 -0
  321. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/returning-parser.d.ts +1 -0
  322. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/select-from-parser.d.ts +1 -0
  323. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/select-parser.d.ts +1 -0
  324. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/set-operation-parser.d.ts +1 -0
  325. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/tuple-parser.d.ts +1 -0
  326. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/unary-operation-parser.d.ts +1 -0
  327. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/update-parser.d.ts +1 -0
  328. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/update-set-parser.d.ts +1 -0
  329. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/value-parser.d.ts +1 -0
  330. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/with-parser.d.ts +1 -0
  331. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/case-builder.d.ts +1 -0
  332. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/delete-query-builder.d.ts +1 -0
  333. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/having-interface.d.ts +1 -0
  334. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/insert-query-builder.d.ts +1 -0
  335. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/join-builder.d.ts +1 -0
  336. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/merge-query-builder.d.ts +1 -0
  337. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/on-conflict-builder.d.ts +1 -0
  338. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/output-interface.d.ts +1 -0
  339. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/returning-interface.d.ts +1 -0
  340. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/select-query-builder.d.ts +1 -0
  341. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/update-query-builder.d.ts +1 -0
  342. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/where-interface.d.ts +1 -0
  343. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-creator.d.ts +1 -0
  344. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-executor/default-query-executor.d.ts +1 -0
  345. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-executor/noop-query-executor.d.ts +1 -0
  346. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-executor/query-executor-base.d.ts +1 -0
  347. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-executor/query-executor-provider.d.ts +1 -0
  348. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-executor/query-executor.d.ts +1 -0
  349. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/raw-builder/raw-builder.d.ts +1 -0
  350. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/raw-builder/sql.d.ts +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.ts +1 -0
  352. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/alter-table-add-index-builder.d.ts +1 -0
  353. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/alter-table-builder.d.ts +1 -0
  354. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/alter-table-drop-constraint-builder.d.ts +1 -0
  355. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/alter-table-executor.d.ts +1 -0
  356. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/create-index-builder.d.ts +1 -0
  357. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/create-schema-builder.d.ts +1 -0
  358. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/create-table-builder.d.ts +1 -0
  359. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/create-type-builder.d.ts +1 -0
  360. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/create-view-builder.d.ts +1 -0
  361. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/drop-index-builder.d.ts +1 -0
  362. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/drop-schema-builder.d.ts +1 -0
  363. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/drop-table-builder.d.ts +1 -0
  364. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/drop-type-builder.d.ts +1 -0
  365. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/drop-view-builder.d.ts +1 -0
  366. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/refresh-materialized-view-builder.d.ts +1 -0
  367. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/schema.d.ts +1 -0
  368. package/dist/node_modules/.pnpm/neverthrow@8.2.0/node_modules/neverthrow/dist/index.d.ts +299 -0
  369. package/dist/node_modules/.pnpm/pino-std-serializers@7.0.0/node_modules/pino-std-serializers/index.d.ts +132 -0
  370. package/dist/node_modules/.pnpm/pino@9.6.0/node_modules/pino/pino.d.ts +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.ts +1295 -0
  372. package/dist/node_modules/.pnpm/sonic-boom@4.2.0/node_modules/sonic-boom/types/index.d.ts +55 -0
  373. package/dist/node_modules/.pnpm/stripe@20.1.0_@types_node@20.19.11/node_modules/stripe/types/index.d.ts +573 -0
  374. package/dist/packages/backend/dist/src/modules/auth/auth.db.d.ts +610 -0
  375. package/dist/packages/backend/dist/src/modules/auth/auth.dto.d.ts +71 -0
  376. package/dist/packages/backend/dist/src/modules/auth/auth.lib.d.ts +8 -0
  377. package/dist/packages/backend/dist/src/modules/auth/auth.repository.d.ts +2455 -0
  378. package/dist/packages/backend/dist/src/modules/auth/auth.service.d.ts +106 -0
  379. package/dist/packages/backend/dist/src/modules/base/base.abstract.d.ts +30 -0
  380. package/dist/packages/backend/dist/src/modules/base/base.actor.d.ts +38 -0
  381. package/dist/packages/backend/dist/src/modules/base/base.dto.d.ts +13 -0
  382. package/dist/packages/backend/dist/src/modules/base/base.grants.d.ts +1 -0
  383. package/dist/packages/backend/dist/src/modules/base/base.procedure.d.ts +47 -0
  384. package/dist/packages/backend/dist/src/modules/base/base.repository.d.mts +2 -0
  385. package/dist/packages/backend/dist/src/modules/base/base.repository.d.ts +128 -0
  386. package/dist/packages/backend/dist/src/modules/base/base.service.d.ts +34 -0
  387. package/dist/packages/backend/dist/src/modules/base/base.types.d.ts +6 -0
  388. package/dist/packages/backend/dist/src/modules/billing/billing.repository.d.mts +10 -10
  389. package/dist/packages/backend/dist/src/modules/billing/billing.repository.d.ts +2788 -0
  390. package/dist/packages/backend/dist/src/modules/billing/billing.service.d.mts +6 -6
  391. package/dist/packages/backend/dist/src/modules/billing/billing.service.d.ts +53 -0
  392. package/dist/packages/backend/dist/src/modules/email/email.service.d.ts +63 -0
  393. package/dist/packages/backend/dist/src/types.d.ts +344 -0
  394. package/dist/packages/backend/dist/src/utils/errors.d.ts +60 -0
  395. package/dist/packages/backend/dist/src/utils/logger.d.ts +8 -0
  396. package/dist/packages/backend/dist/src/utils/trpc.d.ts +23 -0
  397. package/dist/src/animations/card.motion.d.ts +7 -0
  398. package/dist/src/animations/card.motion.js +27 -0
  399. package/dist/src/animations/card.motion.js.map +1 -0
  400. package/dist/src/components/AvatarUpload.d.ts +16 -0
  401. package/dist/src/components/AvatarUpload.js +111 -0
  402. package/dist/src/components/AvatarUpload.js.map +1 -0
  403. package/dist/src/components/Button.d.ts +15 -0
  404. package/dist/src/components/Button.js +16 -0
  405. package/dist/src/components/Button.js.map +1 -0
  406. package/dist/src/components/Calendar.d.ts +37 -0
  407. package/dist/src/components/Calendar.js +31 -0
  408. package/dist/src/components/Calendar.js.map +1 -0
  409. package/dist/src/components/CardsSelect.d.ts +27 -0
  410. package/dist/src/components/CardsSelect.js +82 -0
  411. package/dist/src/components/CardsSelect.js.map +1 -0
  412. package/dist/src/components/CollapsibleSidebarMenuItem.d.ts +22 -0
  413. package/dist/src/components/CollapsibleSidebarMenuItem.js +36 -0
  414. package/dist/src/components/CollapsibleSidebarMenuItem.js.map +1 -0
  415. package/dist/src/components/ColorPicker.d.ts +15 -0
  416. package/dist/src/components/ColorPicker.js +54 -0
  417. package/dist/src/components/ColorPicker.js.map +1 -0
  418. package/dist/src/components/CopyButton.d.ts +18 -0
  419. package/dist/src/components/CopyButton.js +35 -0
  420. package/dist/src/components/CopyButton.js.map +1 -0
  421. package/dist/src/components/CropDialog.d.ts +22 -0
  422. package/dist/src/components/CropDialog.js +116 -0
  423. package/dist/src/components/CropDialog.js.map +1 -0
  424. package/dist/src/components/DialogProvider.d.ts +23 -0
  425. package/dist/src/components/DialogProvider.js +75 -0
  426. package/dist/src/components/DialogProvider.js.map +1 -0
  427. package/dist/src/components/ErrorFallback.d.ts +13 -0
  428. package/dist/src/components/ErrorFallback.js +32 -0
  429. package/dist/src/components/ErrorFallback.js.map +1 -0
  430. package/dist/src/components/FileDropzone.d.ts +14 -0
  431. package/dist/src/components/FileDropzone.js +103 -0
  432. package/dist/src/components/FileDropzone.js.map +1 -0
  433. package/dist/src/components/MultiSelectDropdown.d.ts +29 -0
  434. package/dist/src/components/MultiSelectDropdown.js +106 -0
  435. package/dist/src/components/MultiSelectDropdown.js.map +1 -0
  436. package/dist/src/components/Orb.d.ts +16 -0
  437. package/dist/src/components/Orb.js +268 -0
  438. package/dist/src/components/Orb.js.map +1 -0
  439. package/dist/src/components/PageAlert.d.ts +23 -0
  440. package/dist/src/components/PageAlert.js +78 -0
  441. package/dist/src/components/PageAlert.js.map +1 -0
  442. package/dist/src/components/SelectChips.d.ts +21 -0
  443. package/dist/src/components/SelectChips.js +25 -0
  444. package/dist/src/components/SelectChips.js.map +1 -0
  445. package/dist/src/components/SidebarItem.d.ts +18 -0
  446. package/dist/src/components/SidebarItem.js +20 -0
  447. package/dist/src/components/SidebarItem.js.map +1 -0
  448. package/dist/src/components/Steps.d.ts +24 -0
  449. package/dist/src/components/Steps.js +204 -0
  450. package/dist/src/components/Steps.js.map +1 -0
  451. package/dist/src/components/TablerIconPicker.d.ts +13 -0
  452. package/dist/src/components/TablerIconPicker.js +4260 -0
  453. package/dist/src/components/TablerIconPicker.js.map +1 -0
  454. package/dist/src/components/app-header.d.ts +14 -0
  455. package/dist/src/components/app-header.js +31 -0
  456. package/dist/src/components/app-header.js.map +1 -0
  457. package/dist/src/components/blur-card.d.ts +27 -0
  458. package/dist/src/components/blur-card.js +139 -0
  459. package/dist/src/components/blur-card.js.map +1 -0
  460. package/dist/src/components/features-section-demo-1.d.ts +22 -0
  461. package/dist/src/components/features-section-demo-1.js +132 -0
  462. package/dist/src/components/features-section-demo-1.js.map +1 -0
  463. package/dist/src/components/features-section-demo-2.d.ts +6 -0
  464. package/dist/src/components/features-section-demo-2.js +83 -0
  465. package/dist/src/components/features-section-demo-2.js.map +1 -0
  466. package/dist/src/components/features-section-demo-3.d.ts +16 -0
  467. package/dist/src/components/features-section-demo-3.js +263 -0
  468. package/dist/src/components/features-section-demo-3.js.map +1 -0
  469. package/dist/src/components/mode-toggle.d.ts +7 -0
  470. package/dist/src/components/mode-toggle.js +46 -0
  471. package/dist/src/components/mode-toggle.js.map +1 -0
  472. package/dist/src/components/nav-main.d.ts +21 -0
  473. package/dist/src/components/nav-main.js +37 -0
  474. package/dist/src/components/nav-main.js.map +1 -0
  475. package/dist/src/components/pricing-cards.d.ts +7 -0
  476. package/dist/src/components/pricing-cards.js +130 -0
  477. package/dist/src/components/pricing-cards.js.map +1 -0
  478. package/dist/src/components/shared/ButtonCopy.d.ts +17 -0
  479. package/dist/src/components/shared/ButtonCopy.js +37 -0
  480. package/dist/src/components/shared/ButtonCopy.js.map +1 -0
  481. package/dist/src/components/team-switcher.d.ts +16 -0
  482. package/dist/src/components/team-switcher.js +75 -0
  483. package/dist/src/components/team-switcher.js.map +1 -0
  484. package/dist/src/components/theme-provider.d.ts +23 -0
  485. package/dist/src/components/theme-provider.js +48 -0
  486. package/dist/src/components/theme-provider.js.map +1 -0
  487. package/dist/src/components/typewriter.d.ts +39 -0
  488. package/dist/src/components/typewriter.js +50 -0
  489. package/dist/src/components/typewriter.js.map +1 -0
  490. package/dist/src/components/ui/alert-dialog.d.ts +49 -0
  491. package/dist/src/components/ui/alert-dialog.js +94 -0
  492. package/dist/src/components/ui/alert-dialog.js.map +1 -0
  493. package/dist/src/components/ui/alert.d.ts +25 -0
  494. package/dist/src/components/ui/alert.js +40 -0
  495. package/dist/src/components/ui/alert.js.map +1 -0
  496. package/dist/src/components/ui/avatar.d.ts +10 -0
  497. package/dist/src/components/ui/avatar.js +34 -0
  498. package/dist/src/components/ui/avatar.js.map +1 -0
  499. package/dist/src/components/ui/badge.d.mts +1 -1
  500. package/dist/src/components/ui/badge.d.ts +18 -0
  501. package/dist/src/components/ui/badge.js +25 -0
  502. package/dist/src/components/ui/badge.js.map +1 -0
  503. package/dist/src/components/ui/bento-grid.d.ts +26 -0
  504. package/dist/src/components/ui/bento-grid.js +35 -0
  505. package/dist/src/components/ui/bento-grid.js.map +1 -0
  506. package/dist/src/components/ui/bento-grid2.d.ts +31 -0
  507. package/dist/src/components/ui/bento-grid2.js +52 -0
  508. package/dist/src/components/ui/bento-grid2.js.map +1 -0
  509. package/dist/src/components/ui/breadcrumb.d.ts +31 -0
  510. package/dist/src/components/ui/breadcrumb.js +72 -0
  511. package/dist/src/components/ui/breadcrumb.js.map +1 -0
  512. package/dist/src/components/ui/button.d.mts +1 -1
  513. package/dist/src/components/ui/button.d.ts +16 -0
  514. package/dist/src/components/ui/button.js +47 -0
  515. package/dist/src/components/ui/button.js.map +1 -0
  516. package/dist/src/components/ui/card.d.ts +12 -0
  517. package/dist/src/components/ui/card.js +52 -0
  518. package/dist/src/components/ui/card.js.map +1 -0
  519. package/dist/src/components/ui/checkbox.d.ts +8 -0
  520. package/dist/src/components/ui/checkbox.js +24 -0
  521. package/dist/src/components/ui/checkbox.js.map +1 -0
  522. package/dist/src/components/ui/collapsible.d.ts +10 -0
  523. package/dist/src/components/ui/collapsible.js +14 -0
  524. package/dist/src/components/ui/collapsible.js.map +1 -0
  525. package/dist/src/components/ui/dialog.d.ts +45 -0
  526. package/dist/src/components/ui/dialog.js +97 -0
  527. package/dist/src/components/ui/dialog.js.map +1 -0
  528. package/dist/src/components/ui/dropdown-menu.d.ts +35 -0
  529. package/dist/src/components/ui/dropdown-menu.js +100 -0
  530. package/dist/src/components/ui/dropdown-menu.js.map +1 -0
  531. package/dist/src/components/ui/floating-navbar.d.ts +18 -0
  532. package/dist/src/components/ui/floating-navbar.js +54 -0
  533. package/dist/src/components/ui/floating-navbar.js.map +1 -0
  534. package/dist/src/components/ui/form.d.ts +32 -0
  535. package/dist/src/components/ui/form.js +102 -0
  536. package/dist/src/components/ui/form.js.map +1 -0
  537. package/dist/src/components/ui/image.d.ts +9 -0
  538. package/dist/src/components/ui/image.js +57 -0
  539. package/dist/src/components/ui/image.js.map +1 -0
  540. package/dist/src/components/ui/input.d.ts +7 -0
  541. package/dist/src/components/ui/input.js +20 -0
  542. package/dist/src/components/ui/input.js.map +1 -0
  543. package/dist/src/components/ui/label.d.ts +10 -0
  544. package/dist/src/components/ui/label.js +21 -0
  545. package/dist/src/components/ui/label.js.map +1 -0
  546. package/dist/src/components/ui/pagination.d.ts +40 -0
  547. package/dist/src/components/ui/pagination.js +87 -0
  548. package/dist/src/components/ui/pagination.js.map +1 -0
  549. package/dist/src/components/ui/progress.d.ts +8 -0
  550. package/dist/src/components/ui/progress.js +23 -0
  551. package/dist/src/components/ui/progress.js.map +1 -0
  552. package/dist/src/components/ui/resizable-navbar.d.ts +97 -0
  553. package/dist/src/components/ui/resizable-navbar.js +149 -0
  554. package/dist/src/components/ui/resizable-navbar.js.map +1 -0
  555. package/dist/src/components/ui/segment-control.d.ts +12 -0
  556. package/dist/src/components/ui/segment-control.js +89 -0
  557. package/dist/src/components/ui/segment-control.js.map +1 -0
  558. package/dist/src/components/ui/select.d.ts +17 -0
  559. package/dist/src/components/ui/select.js +88 -0
  560. package/dist/src/components/ui/select.js.map +1 -0
  561. package/dist/src/components/ui/separator.d.ts +8 -0
  562. package/dist/src/components/ui/separator.js +21 -0
  563. package/dist/src/components/ui/separator.js.map +1 -0
  564. package/dist/src/components/ui/sheet.d.ts +36 -0
  565. package/dist/src/components/ui/sheet.js +79 -0
  566. package/dist/src/components/ui/sheet.js.map +1 -0
  567. package/dist/src/components/ui/sidebar.d.ts +73 -0
  568. package/dist/src/components/ui/sidebar.js +403 -0
  569. package/dist/src/components/ui/sidebar.js.map +1 -0
  570. package/dist/src/components/ui/skeleton.d.ts +10 -0
  571. package/dist/src/components/ui/skeleton.js +15 -0
  572. package/dist/src/components/ui/skeleton.js.map +1 -0
  573. package/dist/src/components/ui/slider.d.ts +8 -0
  574. package/dist/src/components/ui/slider.js +23 -0
  575. package/dist/src/components/ui/slider.js.map +1 -0
  576. package/dist/src/components/ui/sonner.d.ts +11 -0
  577. package/dist/src/components/ui/sonner.js +24 -0
  578. package/dist/src/components/ui/sonner.js.map +1 -0
  579. package/dist/src/components/ui/spinner.d.ts +25 -0
  580. package/dist/src/components/ui/spinner.js +32 -0
  581. package/dist/src/components/ui/spinner.js.map +1 -0
  582. package/dist/src/components/ui/switch.d.ts +8 -0
  583. package/dist/src/components/ui/switch.js +20 -0
  584. package/dist/src/components/ui/switch.js.map +1 -0
  585. package/dist/src/components/ui/table.d.ts +39 -0
  586. package/dist/src/components/ui/table.js +76 -0
  587. package/dist/src/components/ui/table.js.map +1 -0
  588. package/dist/src/components/ui/tabs.d.ts +24 -0
  589. package/dist/src/components/ui/tabs.js +42 -0
  590. package/dist/src/components/ui/tabs.js.map +1 -0
  591. package/dist/src/components/ui/textarea.d.ts +11 -0
  592. package/dist/src/components/ui/textarea.js +16 -0
  593. package/dist/src/components/ui/textarea.js.map +1 -0
  594. package/dist/src/components/ui/timeline.d.ts +18 -0
  595. package/dist/src/components/ui/timeline.js +92 -0
  596. package/dist/src/components/ui/timeline.js.map +1 -0
  597. package/dist/src/components/ui/toast.d.ts +20 -0
  598. package/dist/src/components/ui/toast.js +69 -0
  599. package/dist/src/components/ui/toast.js.map +1 -0
  600. package/dist/src/components/ui/tooltip.d.ts +24 -0
  601. package/dist/src/components/ui/tooltip.js +42 -0
  602. package/dist/src/components/ui/tooltip.js.map +1 -0
  603. package/dist/src/components/ui/typewriter-effect.d.ts +30 -0
  604. package/dist/src/components/ui/typewriter-effect.js +109 -0
  605. package/dist/src/components/ui/typewriter-effect.js.map +1 -0
  606. package/dist/src/hooks/use-mobile.d.ts +5 -0
  607. package/dist/src/hooks/use-mobile.js +23 -0
  608. package/dist/src/hooks/use-mobile.js.map +1 -0
  609. package/dist/src/hooks/useDialog.d.ts +8 -0
  610. package/dist/src/hooks/useDialog.js +29 -0
  611. package/dist/src/hooks/useDialog.js.map +1 -0
  612. package/dist/src/icons/GoogleIcon.d.ts +9 -0
  613. package/dist/src/icons/GoogleIcon.js +35 -0
  614. package/dist/src/icons/GoogleIcon.js.map +1 -0
  615. package/dist/src/icons/LinkedInIcon.d.ts +9 -0
  616. package/dist/src/icons/LinkedInIcon.js +30 -0
  617. package/dist/src/icons/LinkedInIcon.js.map +1 -0
  618. package/dist/src/icons/MicrosoftIcon.d.ts +9 -0
  619. package/dist/src/icons/MicrosoftIcon.js +34 -0
  620. package/dist/src/icons/MicrosoftIcon.js.map +1 -0
  621. package/dist/src/lib/chatwoot.d.ts +20 -0
  622. package/dist/src/lib/chatwoot.js +27 -0
  623. package/dist/src/lib/chatwoot.js.map +1 -0
  624. package/dist/src/lib/utils.d.ts +7 -0
  625. package/dist/src/lib/utils.js +12 -0
  626. package/dist/src/lib/utils.js.map +1 -0
  627. package/dist/src/modules/app/components/AppLoader.d.ts +8 -0
  628. package/dist/src/modules/app/components/AppLoader.js +18 -0
  629. package/dist/src/modules/app/components/AppLoader.js.map +1 -0
  630. package/dist/src/modules/app/components/AppShell.d.ts +16 -0
  631. package/dist/src/modules/app/components/AppShell.js +18 -0
  632. package/dist/src/modules/app/components/AppShell.js.map +1 -0
  633. package/dist/src/modules/app/components/AppSidebar.d.ts +17 -0
  634. package/dist/src/modules/app/components/AppSidebar.js +20 -0
  635. package/dist/src/modules/app/components/AppSidebar.js.map +1 -0
  636. package/dist/src/modules/app/components/AppSidebarContent.d.ts +25 -0
  637. package/dist/src/modules/app/components/AppSidebarContent.js +38 -0
  638. package/dist/src/modules/app/components/AppSidebarContent.js.map +1 -0
  639. package/dist/src/modules/app/components/AppSidebarHeader.d.ts +18 -0
  640. package/dist/src/modules/app/components/AppSidebarHeader.js +43 -0
  641. package/dist/src/modules/app/components/AppSidebarHeader.js.map +1 -0
  642. package/dist/src/modules/app/components/AppSidebarInvites.d.ts +11 -0
  643. package/dist/src/modules/app/components/AppSidebarInvites.js +45 -0
  644. package/dist/src/modules/app/components/AppSidebarInvites.js.map +1 -0
  645. package/dist/src/modules/app/components/AppSidebarUser.d.ts +21 -0
  646. package/dist/src/modules/app/components/AppSidebarUser.js +127 -0
  647. package/dist/src/modules/app/components/AppSidebarUser.js.map +1 -0
  648. package/dist/src/modules/auth/components/AdminUserManagement.d.ts +13 -0
  649. package/dist/src/modules/auth/components/AdminUserManagement.js +977 -0
  650. package/dist/src/modules/auth/components/AdminUserManagement.js.map +1 -0
  651. package/dist/src/modules/auth/components/AdminUserManagement.mjs +1 -1
  652. package/dist/src/modules/auth/components/AdminWaitlist.d.ts +13 -0
  653. package/dist/src/modules/auth/components/AdminWaitlist.js +289 -0
  654. package/dist/src/modules/auth/components/AdminWaitlist.js.map +1 -0
  655. package/dist/src/modules/auth/components/AuthLayout.d.ts +12 -0
  656. package/dist/src/modules/auth/components/AuthLayout.js +21 -0
  657. package/dist/src/modules/auth/components/AuthLayout.js.map +1 -0
  658. package/dist/src/modules/auth/components/AuthProviders.d.ts +17 -0
  659. package/dist/src/modules/auth/components/AuthProviders.js +86 -0
  660. package/dist/src/modules/auth/components/AuthProviders.js.map +1 -0
  661. package/dist/src/modules/auth/components/AuthRouter.d.ts +18 -0
  662. package/dist/src/modules/auth/components/AuthRouter.js +50 -0
  663. package/dist/src/modules/auth/components/AuthRouter.js.map +1 -0
  664. package/dist/src/modules/auth/components/ClaimAccountRoute.d.ts +12 -0
  665. package/dist/src/modules/auth/components/ClaimAccountRoute.js +208 -0
  666. package/dist/src/modules/auth/components/ClaimAccountRoute.js.map +1 -0
  667. package/dist/src/modules/auth/components/ErrorAuthRoute.d.ts +7 -0
  668. package/dist/src/modules/auth/components/ErrorAuthRoute.js +131 -0
  669. package/dist/src/modules/auth/components/ErrorAuthRoute.js.map +1 -0
  670. package/dist/src/modules/auth/components/ForgotPasswordForm.d.ts +7 -0
  671. package/dist/src/modules/auth/components/ForgotPasswordForm.js +55 -0
  672. package/dist/src/modules/auth/components/ForgotPasswordForm.js.map +1 -0
  673. package/dist/src/modules/auth/components/ForgotPasswordRoute.d.ts +7 -0
  674. package/dist/src/modules/auth/components/ForgotPasswordRoute.js +39 -0
  675. package/dist/src/modules/auth/components/ForgotPasswordRoute.js.map +1 -0
  676. package/dist/src/modules/auth/components/InviteFriends.d.ts +13 -0
  677. package/dist/src/modules/auth/components/InviteFriends.js +282 -0
  678. package/dist/src/modules/auth/components/InviteFriends.js.map +1 -0
  679. package/dist/src/modules/auth/components/LastUsedBadge.d.ts +17 -0
  680. package/dist/src/modules/auth/components/LastUsedBadge.js +21 -0
  681. package/dist/src/modules/auth/components/LastUsedBadge.js.map +1 -0
  682. package/dist/src/modules/auth/components/LoginForm.d.ts +11 -0
  683. package/dist/src/modules/auth/components/LoginForm.js +113 -0
  684. package/dist/src/modules/auth/components/LoginForm.js.map +1 -0
  685. package/dist/src/modules/auth/components/LoginRoute.d.ts +11 -0
  686. package/dist/src/modules/auth/components/LoginRoute.js +46 -0
  687. package/dist/src/modules/auth/components/LoginRoute.js.map +1 -0
  688. package/dist/src/modules/auth/components/LogoutRoute.d.ts +6 -0
  689. package/dist/src/modules/auth/components/LogoutRoute.js +22 -0
  690. package/dist/src/modules/auth/components/LogoutRoute.js.map +1 -0
  691. package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.d.ts +22 -0
  692. package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.js +114 -0
  693. package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.js.map +1 -0
  694. package/dist/src/modules/auth/components/OrganizationMembersRoute.d.ts +61 -0
  695. package/dist/src/modules/auth/components/OrganizationMembersRoute.js +460 -0
  696. package/dist/src/modules/auth/components/OrganizationMembersRoute.js.map +1 -0
  697. package/dist/src/modules/auth/components/OrganizationMembersRoute.mjs +1 -1
  698. package/dist/src/modules/auth/components/OrganizationPreferences.d.ts +30 -0
  699. package/dist/src/modules/auth/components/OrganizationPreferences.js +140 -0
  700. package/dist/src/modules/auth/components/OrganizationPreferences.js.map +1 -0
  701. package/dist/src/modules/auth/components/OrganizationSettingsRoute.d.ts +29 -0
  702. package/dist/src/modules/auth/components/OrganizationSettingsRoute.js +195 -0
  703. package/dist/src/modules/auth/components/OrganizationSettingsRoute.js.map +1 -0
  704. package/dist/src/modules/auth/components/OrganizationSettingsRoute.mjs +1 -1
  705. package/dist/src/modules/auth/components/OrganizationSwitcher.d.ts +18 -0
  706. package/dist/src/modules/auth/components/OrganizationSwitcher.js +98 -0
  707. package/dist/src/modules/auth/components/OrganizationSwitcher.js.map +1 -0
  708. package/dist/src/modules/auth/components/OrganizationSwitcher.mjs +1 -1
  709. package/dist/src/modules/auth/components/PreferencesEditor.d.ts +49 -0
  710. package/dist/src/modules/auth/components/PreferencesEditor.js +87 -0
  711. package/dist/src/modules/auth/components/PreferencesEditor.js.map +1 -0
  712. package/dist/src/modules/auth/components/ProfileRoute.d.ts +7 -0
  713. package/dist/src/modules/auth/components/ProfileRoute.js +87 -0
  714. package/dist/src/modules/auth/components/ProfileRoute.js.map +1 -0
  715. package/dist/src/modules/auth/components/RangeNuqsDatePicker.d.ts +45 -0
  716. package/dist/src/modules/auth/components/RangeNuqsDatePicker.js +241 -0
  717. package/dist/src/modules/auth/components/RangeNuqsDatePicker.js.map +1 -0
  718. package/dist/src/modules/auth/components/ResetPasswordForm.d.ts +7 -0
  719. package/dist/src/modules/auth/components/ResetPasswordForm.js +103 -0
  720. package/dist/src/modules/auth/components/ResetPasswordForm.js.map +1 -0
  721. package/dist/src/modules/auth/components/ResetPasswordRoute.d.ts +7 -0
  722. package/dist/src/modules/auth/components/ResetPasswordRoute.js +39 -0
  723. package/dist/src/modules/auth/components/ResetPasswordRoute.js.map +1 -0
  724. package/dist/src/modules/auth/components/SignupFormRoute.d.ts +15 -0
  725. package/dist/src/modules/auth/components/SignupFormRoute.js +151 -0
  726. package/dist/src/modules/auth/components/SignupFormRoute.js.map +1 -0
  727. package/dist/src/modules/auth/components/SignupRoute.d.ts +15 -0
  728. package/dist/src/modules/auth/components/SignupRoute.js +64 -0
  729. package/dist/src/modules/auth/components/SignupRoute.js.map +1 -0
  730. package/dist/src/modules/auth/components/UserPreferences.d.ts +23 -0
  731. package/dist/src/modules/auth/components/UserPreferences.js +28 -0
  732. package/dist/src/modules/auth/components/UserPreferences.js.map +1 -0
  733. package/dist/src/modules/auth/components/WaitlistCard.d.ts +13 -0
  734. package/dist/src/modules/auth/components/WaitlistCard.js +69 -0
  735. package/dist/src/modules/auth/components/WaitlistCard.js.map +1 -0
  736. package/dist/src/modules/auth/components/WaitlistCodeValidation.d.ts +15 -0
  737. package/dist/src/modules/auth/components/WaitlistCodeValidation.js +47 -0
  738. package/dist/src/modules/auth/components/WaitlistCodeValidation.js.map +1 -0
  739. package/dist/src/modules/billing/components/BillingBetaPage.d.ts +17 -0
  740. package/dist/src/modules/billing/components/BillingBetaPage.js +160 -0
  741. package/dist/src/modules/billing/components/BillingBetaPage.js.map +1 -0
  742. package/dist/src/modules/billing/components/BillingInvoicePage.d.ts +15 -0
  743. package/dist/src/modules/billing/components/BillingInvoicePage.js +164 -0
  744. package/dist/src/modules/billing/components/BillingInvoicePage.js.map +1 -0
  745. package/dist/src/modules/billing/components/BillingInvoicePage.mjs +1 -1
  746. package/dist/src/modules/billing/components/BillingPlanSelect.d.ts +13 -0
  747. package/dist/src/modules/billing/components/BillingPlanSelect.js +13 -0
  748. package/dist/src/modules/billing/components/BillingPlanSelect.js.map +1 -0
  749. package/dist/src/modules/billing/components/BillingRouter.d.ts +17 -0
  750. package/dist/src/modules/billing/components/BillingRouter.js +23 -0
  751. package/dist/src/modules/billing/components/BillingRouter.js.map +1 -0
  752. package/dist/src/modules/billing/components/BillingSinglePlanSelect.d.ts +18 -0
  753. package/dist/src/modules/billing/components/BillingSinglePlanSelect.js +169 -0
  754. package/dist/src/modules/billing/components/BillingSinglePlanSelect.js.map +1 -0
  755. package/dist/src/modules/table/components/ColumnOrderAndVisibility.d.ts +20 -0
  756. package/dist/src/modules/table/components/ColumnOrderAndVisibility.js +87 -0
  757. package/dist/src/modules/table/components/ColumnOrderAndVisibility.js.map +1 -0
  758. package/dist/src/modules/table/components/NuqsTable.d.mts +3 -1
  759. package/dist/src/modules/table/components/NuqsTable.d.ts +38 -0
  760. package/dist/src/modules/table/components/NuqsTable.js +345 -0
  761. package/dist/src/modules/table/components/NuqsTable.js.map +1 -0
  762. package/dist/src/modules/table/components/NuqsTable.mjs +110 -75
  763. package/dist/src/modules/table/components/NuqsTable.mjs.map +1 -1
  764. package/dist/src/modules/table/components/TableFiltering.d.ts +35 -0
  765. package/dist/src/modules/table/components/TableFiltering.js +420 -0
  766. package/dist/src/modules/table/components/TableFiltering.js.map +1 -0
  767. package/dist/src/modules/table/components/TableGroupBy.d.ts +22 -0
  768. package/dist/src/modules/table/components/TableGroupBy.js +60 -0
  769. package/dist/src/modules/table/components/TableGroupBy.js.map +1 -0
  770. package/dist/src/modules/table/components/TablePagination.d.ts +19 -0
  771. package/dist/src/modules/table/components/TablePagination.js +68 -0
  772. package/dist/src/modules/table/components/TablePagination.js.map +1 -0
  773. package/dist/src/modules/table/components/table.types.d.ts +17 -0
  774. package/dist/src/modules/table/components/table.types.js +0 -0
  775. package/dist/src/modules/table/filterTransformers.d.ts +58 -0
  776. package/dist/src/modules/table/filterTransformers.js +219 -0
  777. package/dist/src/modules/table/filterTransformers.js.map +1 -0
  778. package/dist/src/types.d.ts +8 -0
  779. package/dist/src/types.js +0 -0
  780. package/package.json +125 -35
@@ -0,0 +1,345 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ require("../../../../_virtual/_rolldown/runtime.js");
3
+ const require_src_components_ui_button = require("../../../components/ui/button.js");
4
+ const require_src_components_ui_table = require("../../../components/ui/table.js");
5
+ const require_src_modules_table_components_ColumnOrderAndVisibility = require("./ColumnOrderAndVisibility.js");
6
+ const require_src_modules_table_components_TableFiltering = require("./TableFiltering.js");
7
+ const require_src_modules_table_components_TableGroupBy = require("./TableGroupBy.js");
8
+ const require_src_modules_table_components_TablePagination = require("./TablePagination.js");
9
+ let react = require("react");
10
+ let _heroui_react = require("@heroui/react");
11
+ let react_jsx_runtime = require("react/jsx-runtime");
12
+ let lucide_react = require("lucide-react");
13
+ let _tanstack_react_table = require("@tanstack/react-table");
14
+ //#region src/modules/table/components/NuqsTable.tsx
15
+ function getStorageKey(columnIds) {
16
+ return `table-column-layout-${[...columnIds].sort().join(",")}`;
17
+ }
18
+ function loadLayoutFromStorage(columnIds) {
19
+ if (typeof window === "undefined") return null;
20
+ try {
21
+ const key = getStorageKey(columnIds);
22
+ const stored = localStorage.getItem(key);
23
+ if (!stored) return null;
24
+ return JSON.parse(stored);
25
+ } catch {
26
+ return null;
27
+ }
28
+ }
29
+ function saveLayoutToStorage(columnIds, order, visibility) {
30
+ if (typeof window === "undefined") return;
31
+ try {
32
+ const key = getStorageKey(columnIds);
33
+ localStorage.setItem(key, JSON.stringify({
34
+ order,
35
+ visibility
36
+ }));
37
+ } catch {}
38
+ }
39
+ function applyOrder(prev, nextOrder) {
40
+ const byId = new Map(prev.map((i) => [i.id, i]));
41
+ const ordered = nextOrder.map((id) => byId.get(id)).filter(Boolean);
42
+ for (const item of prev) if (!nextOrder.includes(item.id)) ordered.push(item);
43
+ return ordered;
44
+ }
45
+ function applyVisibility(prev, visibility) {
46
+ return prev.map((column) => ({
47
+ ...column,
48
+ visibility: visibility[String(column.id)] ?? column.visibility
49
+ }));
50
+ }
51
+ const NuqsTable = ({ data, total, columns, tableProps, showGlobalSearch = false, singleFilter = false, filterMethods }) => {
52
+ const columnIds = (0, react.useMemo)(() => columns.map((col) => String(col.id)), [columns]);
53
+ const initialLayout = (0, react.useMemo)(() => {
54
+ const defaultLayout = columns.map((column) => ({
55
+ id: String(column.id),
56
+ label: column.header,
57
+ visibility: column.visible !== void 0 ? column.visible : true,
58
+ options: column.options ?? [],
59
+ type: column.type ?? void 0
60
+ }));
61
+ const saved = loadLayoutFromStorage(columnIds);
62
+ if (!saved) return defaultLayout;
63
+ const savedById = /* @__PURE__ */ new Map();
64
+ saved.order.forEach((id, index) => {
65
+ savedById.set(id, {
66
+ order: index,
67
+ visibility: saved.visibility[id] ?? true
68
+ });
69
+ });
70
+ const merged = [];
71
+ const processedIds = /* @__PURE__ */ new Set();
72
+ saved.order.forEach((id) => {
73
+ const defaultCol = defaultLayout.find((col) => col.id === id);
74
+ if (defaultCol) {
75
+ merged.push({
76
+ ...defaultCol,
77
+ visibility: saved.visibility[id] ?? defaultCol.visibility
78
+ });
79
+ processedIds.add(id);
80
+ }
81
+ });
82
+ defaultLayout.forEach((col) => {
83
+ if (!processedIds.has(col.id)) merged.push(col);
84
+ });
85
+ return merged;
86
+ }, [columns, columnIds]);
87
+ const [layout, setLayout] = (0, react.useState)(initialLayout);
88
+ (0, react.useEffect)(() => {
89
+ setLayout(initialLayout);
90
+ }, [initialLayout]);
91
+ (0, react.useEffect)(() => {
92
+ saveLayoutToStorage(columnIds, layout.map((col) => col.id), Object.fromEntries(layout.map((col) => [col.id, col.visibility])));
93
+ }, [layout, columnIds]);
94
+ const columnOrder = (0, react.useMemo)(() => layout.map((column) => column.id), [layout]);
95
+ const columnVisibility = (0, react.useMemo)(() => Object.fromEntries(layout.map((column) => [column.id, column.visibility])), [layout]);
96
+ const { limit = 10, page = 1, sorting, setSorting, setPagination, pagination, rowSelection, setRowSelection, setFilters, filters, grouping, setGrouping, q, setQ } = tableProps;
97
+ const skipFirstGlobalSearchPageReset = (0, react.useRef)(true);
98
+ (0, react.useEffect)(() => {
99
+ if (!showGlobalSearch) return;
100
+ if (skipFirstGlobalSearchPageReset.current) {
101
+ skipFirstGlobalSearchPageReset.current = false;
102
+ return;
103
+ }
104
+ setPagination?.({
105
+ pageIndex: 0,
106
+ pageSize: limit
107
+ });
108
+ }, [
109
+ showGlobalSearch,
110
+ q,
111
+ limit,
112
+ setPagination
113
+ ]);
114
+ const isGrouped = grouping.length > 0;
115
+ const [expanded, setExpanded] = (0, react.useState)({});
116
+ (0, react.useEffect)(() => {
117
+ if (!isGrouped && data.length === 0 && page > 1 && total !== void 0) setPagination?.({
118
+ pageIndex: page - 2,
119
+ pageSize: limit
120
+ });
121
+ }, [
122
+ data.length,
123
+ page,
124
+ limit,
125
+ total,
126
+ setPagination,
127
+ isGrouped
128
+ ]);
129
+ const serverPageCount = total !== void 0 ? Math.ceil(total / limit) || 1 : data.length === limit ? page + 1 : Math.max(page, Math.ceil(data.length / limit));
130
+ const table = (0, _tanstack_react_table.useReactTable)({
131
+ data,
132
+ columns,
133
+ getRowId: (row) => String(row.id),
134
+ manualSorting: true,
135
+ manualPagination: !isGrouped,
136
+ state: {
137
+ pagination,
138
+ sorting,
139
+ rowSelection,
140
+ columnOrder,
141
+ columnVisibility,
142
+ grouping,
143
+ expanded
144
+ },
145
+ ...isGrouped ? {} : { pageCount: serverPageCount },
146
+ manualFiltering: true,
147
+ enableGrouping: true,
148
+ groupedColumnMode: false,
149
+ autoResetExpanded: false,
150
+ onSortingChange: setSorting,
151
+ onPaginationChange: setPagination,
152
+ onRowSelectionChange: setRowSelection,
153
+ onGroupingChange: setGrouping,
154
+ onExpandedChange: setExpanded,
155
+ getCoreRowModel: (0, _tanstack_react_table.getCoreRowModel)(),
156
+ getGroupedRowModel: (0, _tanstack_react_table.getGroupedRowModel)(),
157
+ getExpandedRowModel: (0, _tanstack_react_table.getExpandedRowModel)(),
158
+ getPaginationRowModel: (0, _tanstack_react_table.getPaginationRowModel)(),
159
+ onColumnOrderChange: (updater) => {
160
+ setLayout((prev) => applyOrder(prev, typeof updater === "function" ? updater(prev.map((i) => i.id)) : updater));
161
+ },
162
+ onColumnVisibilityChange: (updater) => {
163
+ setLayout((prev) => applyVisibility(prev, typeof updater === "function" ? updater(Object.fromEntries(prev.map((i) => [i.id, i.visibility]))) : updater));
164
+ }
165
+ });
166
+ const onChangeOrder = (order) => {
167
+ setLayout((prev) => applyOrder(prev, order));
168
+ };
169
+ const onChangeVisibility = (visibility) => {
170
+ setLayout((prev) => applyVisibility(prev, visibility));
171
+ };
172
+ const onFiltersChange = (filters) => {
173
+ setFilters?.(filters);
174
+ };
175
+ const filterableColumns = (0, react.useMemo)(() => {
176
+ const baseColumns = columns.filter((column) => Boolean(column.type)).map((column) => ({
177
+ id: String(column.id),
178
+ label: String(column.header),
179
+ type: column.type,
180
+ options: column.options ?? [],
181
+ endColumnId: column.endColumnId,
182
+ periodStartColumnId: null,
183
+ periodEndColumnId: null
184
+ }));
185
+ const periodColumns = columns.filter((column) => column.type === "date" && column.endColumnId).map((column) => ({
186
+ id: `${String(column.id)}__period`,
187
+ label: "Period",
188
+ type: "date",
189
+ options: [],
190
+ endColumnId: null,
191
+ periodStartColumnId: String(column.id),
192
+ periodEndColumnId: column.endColumnId
193
+ }));
194
+ return [...baseColumns, ...periodColumns];
195
+ }, [columns]);
196
+ const groupableColumns = (0, react.useMemo)(() => columns.filter((col) => col.groupable).map((col) => ({
197
+ id: String(col.id),
198
+ label: String(col.header)
199
+ })), [columns]);
200
+ const hasGrouping = grouping.length > 0;
201
+ const [isFiltersOpen, setIsFiltersOpen] = (0, react.useState)(false);
202
+ const [isColumnsOpen, setIsColumnsOpen] = (0, react.useState)(false);
203
+ const [isGroupByOpen, setIsGroupByOpen] = (0, react.useState)(false);
204
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
205
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
206
+ className: "flex w-full flex-wrap items-center justify-between gap-2",
207
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
208
+ className: "flex min-w-0 flex-1 items-center",
209
+ children: showGlobalSearch ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.Input, {
210
+ size: "sm",
211
+ className: "max-w-xs",
212
+ placeholder: "Search…",
213
+ value: q ?? "",
214
+ onValueChange: (v) => {
215
+ setQ?.(v === "" ? null : v);
216
+ },
217
+ startContent: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.Search, {
218
+ className: "h-4 w-4 shrink-0 text-default-400",
219
+ "aria-hidden": true
220
+ }),
221
+ "aria-label": "Search table"
222
+ }) : null
223
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
224
+ className: "flex shrink-0 items-center gap-2",
225
+ children: [
226
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_heroui_react.Popover, {
227
+ placement: "bottom",
228
+ isOpen: isFiltersOpen,
229
+ onOpenChange: setIsFiltersOpen,
230
+ portalContainer: document.body,
231
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.PopoverTrigger, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src_components_ui_button.Button, {
232
+ variant: "outline",
233
+ size: "sm",
234
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
235
+ className: "flex items-center gap-2",
236
+ children: ["Filters", /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ChevronDown, { className: "h-4 w-4" })]
237
+ })
238
+ }) }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.PopoverContent, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src_modules_table_components_TableFiltering.TableFiltering, {
239
+ columns: filterableColumns,
240
+ onFiltersChange,
241
+ filters: filters ?? [],
242
+ onClose: () => setIsFiltersOpen(false),
243
+ singleFilter,
244
+ filterMethods
245
+ }) })]
246
+ }),
247
+ groupableColumns.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_heroui_react.Popover, {
248
+ placement: "bottom",
249
+ isOpen: isGroupByOpen,
250
+ onOpenChange: setIsGroupByOpen,
251
+ portalContainer: document.body,
252
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.PopoverTrigger, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src_components_ui_button.Button, {
253
+ variant: hasGrouping ? "secondary" : "outline",
254
+ size: "sm",
255
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
256
+ className: "flex items-center gap-2",
257
+ children: [hasGrouping ? `Grouped by: ${grouping.map((id) => groupableColumns.find((c) => c.id === id)?.label ?? id).join(" → ")}` : "Group by", /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ChevronDown, { className: "h-4 w-4" })]
258
+ })
259
+ }) }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.PopoverContent, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src_modules_table_components_TableGroupBy.TableGroupBy, {
260
+ columns: groupableColumns,
261
+ activeGrouping: grouping,
262
+ onGroupingChange: (columnIds) => {
263
+ setGrouping(columnIds);
264
+ setExpanded({});
265
+ setPagination?.({
266
+ pageIndex: 0,
267
+ pageSize: limit
268
+ });
269
+ },
270
+ onClose: () => setIsGroupByOpen(false)
271
+ }) })]
272
+ }),
273
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_heroui_react.Popover, {
274
+ placement: "bottom",
275
+ isOpen: isColumnsOpen,
276
+ onOpenChange: setIsColumnsOpen,
277
+ portalContainer: document.body,
278
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.PopoverTrigger, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src_components_ui_button.Button, {
279
+ variant: "outline",
280
+ size: "sm",
281
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
282
+ className: "flex items-center gap-2",
283
+ children: ["Columns", /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ChevronDown, { className: "h-4 w-4" })]
284
+ })
285
+ }) }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.PopoverContent, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src_modules_table_components_ColumnOrderAndVisibility.ColumnOrderAndVisibility, {
286
+ layout,
287
+ onChangeOrder,
288
+ onChangeVisibility,
289
+ onClose: () => setIsColumnsOpen(false)
290
+ }) })]
291
+ })
292
+ ]
293
+ })]
294
+ }),
295
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_src_components_ui_table.Table, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src_components_ui_table.TableHeader, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_src_components_ui_table.TableRow, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src_components_ui_table.TableHead, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.Checkbox, {
296
+ isSelected: table.getIsAllRowsSelected(),
297
+ onValueChange: (checked) => {
298
+ table.toggleAllRowsSelected(checked);
299
+ }
300
+ }) }), table.getHeaderGroups()[0].headers.map((header) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_src_components_ui_table.TableHead, {
301
+ onClick: header.column.getCanSort() ? header.column.getToggleSortingHandler() : void 0,
302
+ children: [(0, _tanstack_react_table.flexRender)(header.column.columnDef.header, header.getContext()), header.column.getCanSort() && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [header.column.getIsSorted() === "asc" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ChevronUp, { className: "h-4 w-4 inline ml-1" }), header.column.getIsSorted() === "desc" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ChevronDown, { className: "h-4 w-4 inline ml-1" })] })]
303
+ }, header.id))] }) }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src_components_ui_table.TableBody, { children: table.getRowModel().rows.map((row) => {
304
+ if (row.getIsGrouped()) return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_src_components_ui_table.TableRow, {
305
+ className: "bg-muted/40 font-medium cursor-pointer hover:bg-muted/60",
306
+ onClick: () => row.toggleExpanded(),
307
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src_components_ui_table.TableCell, {}), row.getVisibleCells().map((cell) => {
308
+ if (cell.getIsGrouped()) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src_components_ui_table.TableCell, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
309
+ className: "flex items-center gap-1.5",
310
+ children: [
311
+ row.getIsExpanded() ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ChevronDown, { className: "h-4 w-4 shrink-0" }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ChevronRight, { className: "h-4 w-4 shrink-0" }),
312
+ (0, _tanstack_react_table.flexRender)(cell.column.columnDef.cell, cell.getContext()),
313
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
314
+ className: "text-muted-foreground font-normal ml-1",
315
+ children: [
316
+ "(",
317
+ row.subRows.length,
318
+ ")"
319
+ ]
320
+ })
321
+ ]
322
+ }) }, cell.id);
323
+ if (cell.getIsAggregated()) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src_components_ui_table.TableCell, { children: (0, _tanstack_react_table.flexRender)(cell.column.columnDef.aggregatedCell ?? cell.column.columnDef.cell, cell.getContext()) }, cell.id);
324
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src_components_ui_table.TableCell, {}, cell.id);
325
+ })]
326
+ }, row.id);
327
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_src_components_ui_table.TableRow, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src_components_ui_table.TableCell, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.Checkbox, {
328
+ isSelected: row.getIsSelected(),
329
+ onValueChange: (checked) => {
330
+ row.toggleSelected(checked);
331
+ }
332
+ }) }), row.getVisibleCells().map((cell) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src_components_ui_table.TableCell, { children: (0, _tanstack_react_table.flexRender)(cell.column.columnDef.cell, cell.getContext()) }, cell.id))] }, row.id);
333
+ }) })] }),
334
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src_modules_table_components_TablePagination.TablePagination, {
335
+ pageCount: isGrouped ? Math.ceil(table.getPrePaginationRowModel().rows.length / limit) || 1 : serverPageCount,
336
+ page: isGrouped ? table.getState().pagination.pageIndex + 1 : page,
337
+ limit,
338
+ setPagination
339
+ })
340
+ ] });
341
+ };
342
+ //#endregion
343
+ exports.NuqsTable = NuqsTable;
344
+
345
+ //# sourceMappingURL=NuqsTable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NuqsTable.js","names":["Input","Search","Popover","PopoverTrigger","Button","ChevronDown","PopoverContent","TableFiltering","TableGroupBy","ColumnOrderAndVisibility","Table","TableHeader","TableRow","TableHead","Checkbox","ChevronUp","TableBody","TableCell","ChevronRight","TablePagination"],"sources":["../../../../../src/modules/table/components/NuqsTable.tsx"],"sourcesContent":["import { Checkbox, Input, Popover, PopoverContent, PopoverTrigger } from \"@heroui/react\";\r\nimport type { QueryFilters } from \"@m5kdev/commons/modules/schemas/query.schema\";\r\nimport type { FilterMethods } from \"@m5kdev/commons/modules/table/filter.types\";\r\nimport type { TableParams } from \"@m5kdev/frontend/modules/table/hooks/useNuqsTable\";\r\nimport type { ColumnDef } from \"@tanstack/react-table\";\r\nimport {\r\n type ColumnOrderState,\r\n type ExpandedState,\r\n flexRender,\r\n getCoreRowModel,\r\n getExpandedRowModel,\r\n getGroupedRowModel,\r\n getPaginationRowModel,\r\n type Table as ReactTable,\r\n useReactTable,\r\n type VisibilityState,\r\n} from \"@tanstack/react-table\";\r\nimport { ChevronDown, ChevronRight, ChevronUp, Search } from \"lucide-react\";\r\nimport { useEffect, useMemo, useRef, useState } from \"react\";\r\nimport { Button } from \"../../../components/ui/button\";\r\nimport {\r\n Table,\r\n TableBody,\r\n TableCell,\r\n TableHead,\r\n TableHeader,\r\n TableRow,\r\n} from \"../../../components/ui/table\";\r\nimport { ColumnOrderAndVisibility } from \"./ColumnOrderAndVisibility\";\r\nimport { TableFiltering } from \"./TableFiltering\";\r\nimport { TableGroupBy } from \"./TableGroupBy\";\r\nimport { TablePagination } from \"./TablePagination\";\r\nimport type { ColumnDataType, ColumnItem } from \"./table.types\";\r\n\r\nfunction getStorageKey(columnIds: string[]): string {\r\n const sortedIds = [...columnIds].sort().join(\",\");\r\n return `table-column-layout-${sortedIds}`;\r\n}\r\n\r\nfunction loadLayoutFromStorage(\r\n columnIds: string[]\r\n): { order: string[]; visibility: Record<string, boolean> } | null {\r\n if (typeof window === \"undefined\") return null;\r\n try {\r\n const key = getStorageKey(columnIds);\r\n const stored = localStorage.getItem(key);\r\n if (!stored) return null;\r\n const parsed = JSON.parse(stored) as { order: string[]; visibility: Record<string, boolean> };\r\n return parsed;\r\n } catch {\r\n return null;\r\n }\r\n}\r\n\r\nfunction saveLayoutToStorage(\r\n columnIds: string[],\r\n order: string[],\r\n visibility: Record<string, boolean>\r\n): void {\r\n if (typeof window === \"undefined\") return;\r\n try {\r\n const key = getStorageKey(columnIds);\r\n localStorage.setItem(key, JSON.stringify({ order, visibility }));\r\n } catch {\r\n // Ignore storage errors\r\n }\r\n}\r\n\r\nexport type NuqsTableColumn<T> = ColumnDef<T> & {\r\n visible?: boolean;\r\n type?: ColumnDataType;\r\n options?: { label: string; value: string }[];\r\n endColumnId?: string;\r\n groupable?: boolean;\r\n};\r\n\r\ntype NuqsTableParams<T> = {\r\n data: T[];\r\n total?: number;\r\n columns: NuqsTableColumn<T>[];\r\n tableProps: TableParams;\r\n /** When true, shows URL-synced global search; enable only if the list API applies `q` server-side. */\r\n showGlobalSearch?: boolean;\r\n singleFilter?: boolean;\r\n filterMethods?: Partial<FilterMethods>;\r\n};\r\n\r\nfunction applyOrder(prev: ColumnItem[], nextOrder: string[]): ColumnItem[] {\r\n const byId = new Map(prev.map((i) => [i.id, i]));\r\n const ordered = nextOrder.map((id) => byId.get(id)).filter(Boolean) as ColumnItem[];\r\n // append any newly added columns (if any appear later)\r\n for (const item of prev) if (!nextOrder.includes(item.id)) ordered.push(item);\r\n return ordered;\r\n}\r\n\r\nfunction applyVisibility(prev: ColumnItem[], visibility: VisibilityState): ColumnItem[] {\r\n return prev.map((column) => ({\r\n ...column,\r\n visibility: visibility[String(column.id)] ?? column.visibility,\r\n }));\r\n}\r\n\r\nexport const NuqsTable = <T,>({\r\n data,\r\n total,\r\n columns,\r\n tableProps,\r\n showGlobalSearch = false,\r\n singleFilter = false,\r\n filterMethods,\r\n}: NuqsTableParams<T>) => {\r\n const columnIds = useMemo(() => columns.map((col) => String(col.id)), [columns]);\r\n // const columnsWithId = useMemo(() => {\r\n // const idColumn: NuqsTableColumn<T> = {\r\n // id: \"__row_id\",\r\n // accessorKey: \"id\",\r\n // header: \"\",\r\n // enableSorting: false,\r\n // enableHiding: false,\r\n // visible: false,\r\n // };\r\n // return [idColumn, ...columns];\r\n // }, [columns]);\r\n\r\n const initialLayout = useMemo(() => {\r\n const defaultLayout = columns.map((column) => ({\r\n id: String(column.id),\r\n label: column.header as string,\r\n visibility: column.visible !== undefined ? column.visible : true,\r\n options: column.options ?? [],\r\n type: column.type ?? undefined,\r\n }));\r\n\r\n const saved = loadLayoutFromStorage(columnIds);\r\n if (!saved) return defaultLayout;\r\n\r\n // Merge saved layout with default layout\r\n const savedById = new Map<string, { order: number; visibility: boolean }>();\r\n saved.order.forEach((id, index) => {\r\n savedById.set(id, { order: index, visibility: saved.visibility[id] ?? true });\r\n });\r\n\r\n const merged: ColumnItem[] = [];\r\n const processedIds = new Set<string>();\r\n\r\n // Add columns in saved order\r\n saved.order.forEach((id) => {\r\n const defaultCol = defaultLayout.find((col) => col.id === id);\r\n if (defaultCol) {\r\n merged.push({\r\n ...defaultCol,\r\n visibility: saved.visibility[id] ?? defaultCol.visibility,\r\n });\r\n processedIds.add(id);\r\n }\r\n });\r\n\r\n // Add any new columns that weren't in saved layout\r\n defaultLayout.forEach((col) => {\r\n if (!processedIds.has(col.id)) {\r\n merged.push(col);\r\n }\r\n });\r\n\r\n return merged;\r\n }, [columns, columnIds]);\r\n\r\n const [layout, setLayout] = useState<ColumnItem[]>(initialLayout);\r\n\r\n // Sync layout when columns change\r\n useEffect(() => {\r\n setLayout(initialLayout);\r\n }, [initialLayout]);\r\n\r\n // Save to localStorage whenever layout changes\r\n useEffect(() => {\r\n const order = layout.map((col) => col.id);\r\n const visibility = Object.fromEntries(layout.map((col) => [col.id, col.visibility]));\r\n saveLayoutToStorage(columnIds, order, visibility);\r\n }, [layout, columnIds]);\r\n\r\n const columnOrder = useMemo(() => layout.map((column) => column.id), [layout]);\r\n const columnVisibility = useMemo(\r\n () => Object.fromEntries(layout.map((column) => [column.id, column.visibility])),\r\n [layout]\r\n );\r\n\r\n const {\r\n limit = 10,\r\n page = 1,\r\n sorting,\r\n setSorting,\r\n setPagination,\r\n pagination,\r\n rowSelection,\r\n setRowSelection,\r\n setFilters,\r\n filters,\r\n grouping,\r\n setGrouping,\r\n q,\r\n setQ,\r\n } = tableProps;\r\n\r\n const skipFirstGlobalSearchPageReset = useRef(true);\r\n // biome-ignore lint/correctness/useExhaustiveDependencies: reset page when `q` changes (incl. back/forward)\r\n useEffect(() => {\r\n if (!showGlobalSearch) return;\r\n if (skipFirstGlobalSearchPageReset.current) {\r\n skipFirstGlobalSearchPageReset.current = false;\r\n return;\r\n }\r\n setPagination?.({ pageIndex: 0, pageSize: limit });\r\n }, [showGlobalSearch, q, limit, setPagination]);\r\n\r\n const isGrouped = grouping.length > 0;\r\n const [expanded, setExpanded] = useState<ExpandedState>({});\r\n\r\n // Redirect back if we're on an empty page (past the last page)\r\n useEffect(() => {\r\n if (!isGrouped && data.length === 0 && page > 1 && total !== undefined) {\r\n setPagination?.({ pageIndex: page - 2, pageSize: limit });\r\n }\r\n }, [data.length, page, limit, total, setPagination, isGrouped]);\r\n\r\n // When grouped, TanStack handles pagination client-side; otherwise use server total\r\n const serverPageCount =\r\n total !== undefined\r\n ? Math.ceil(total / limit) || 1\r\n : data.length === limit\r\n ? page + 1\r\n : Math.max(page, Math.ceil(data.length / limit));\r\n\r\n const table = useReactTable({\r\n data,\r\n columns,\r\n getRowId: (row) => String((row as { id: string | number }).id),\r\n manualSorting: true,\r\n manualPagination: !isGrouped,\r\n state: { pagination, sorting, rowSelection, columnOrder, columnVisibility, grouping, expanded },\r\n ...(isGrouped ? {} : { pageCount: serverPageCount }),\r\n manualFiltering: true,\r\n enableGrouping: true,\r\n groupedColumnMode: false,\r\n autoResetExpanded: false,\r\n onSortingChange: setSorting,\r\n onPaginationChange: setPagination,\r\n onRowSelectionChange: setRowSelection,\r\n onGroupingChange: setGrouping,\r\n onExpandedChange: setExpanded,\r\n getCoreRowModel: getCoreRowModel(),\r\n getGroupedRowModel: getGroupedRowModel(),\r\n getExpandedRowModel: getExpandedRowModel(),\r\n getPaginationRowModel: getPaginationRowModel(),\r\n onColumnOrderChange: (updater) => {\r\n setLayout((prev) =>\r\n applyOrder(prev, typeof updater === \"function\" ? updater(prev.map((i) => i.id)) : updater)\r\n );\r\n },\r\n onColumnVisibilityChange: (updater) => {\r\n setLayout((prev) =>\r\n applyVisibility(\r\n prev,\r\n typeof updater === \"function\"\r\n ? updater(Object.fromEntries(prev.map((i) => [i.id, i.visibility])))\r\n : updater\r\n )\r\n );\r\n },\r\n }) as ReactTable<T>;\r\n\r\n const onChangeOrder = (order: ColumnOrderState) => {\r\n setLayout((prev) => applyOrder(prev, order));\r\n };\r\n const onChangeVisibility = (visibility: VisibilityState) => {\r\n setLayout((prev) => applyVisibility(prev, visibility));\r\n };\r\n\r\n const onFiltersChange = (filters: QueryFilters) => {\r\n setFilters?.(filters);\r\n };\r\n\r\n const filterableColumns = useMemo(() => {\r\n const baseColumns = columns\r\n .filter((column) => Boolean(column.type))\r\n .map((column) => ({\r\n id: String(column.id),\r\n label: String(column.header),\r\n type: column.type,\r\n options: column.options ?? [],\r\n endColumnId: column.endColumnId,\r\n periodStartColumnId: null,\r\n periodEndColumnId: null,\r\n }));\r\n\r\n // Add Period pseudo-columns for date columns with endColumnId\r\n const periodColumns = columns\r\n .filter((column) => column.type === \"date\" && column.endColumnId)\r\n .map((column) => ({\r\n id: `${String(column.id)}__period`,\r\n label: \"Period\",\r\n type: \"date\" as ColumnDataType,\r\n options: [],\r\n endColumnId: null,\r\n periodStartColumnId: String(column.id),\r\n periodEndColumnId: column.endColumnId,\r\n }));\r\n\r\n return [...baseColumns, ...periodColumns];\r\n }, [columns]);\r\n\r\n const groupableColumns = useMemo(\r\n () =>\r\n columns\r\n .filter((col) => col.groupable)\r\n .map((col) => ({ id: String(col.id), label: String(col.header) })),\r\n [columns]\r\n );\r\n\r\n const hasGrouping = grouping.length > 0;\r\n\r\n const [isFiltersOpen, setIsFiltersOpen] = useState(false);\r\n const [isColumnsOpen, setIsColumnsOpen] = useState(false);\r\n const [isGroupByOpen, setIsGroupByOpen] = useState(false);\r\n\r\n return (\r\n <>\r\n <div className=\"flex w-full flex-wrap items-center justify-between gap-2\">\r\n <div className=\"flex min-w-0 flex-1 items-center\">\r\n {showGlobalSearch ? (\r\n <Input\r\n size=\"sm\"\r\n className=\"max-w-xs\"\r\n placeholder=\"Search…\"\r\n value={q ?? \"\"}\r\n onValueChange={(v) => {\r\n setQ?.(v === \"\" ? null : v);\r\n }}\r\n startContent={<Search className=\"h-4 w-4 shrink-0 text-default-400\" aria-hidden />}\r\n aria-label=\"Search table\"\r\n />\r\n ) : null}\r\n </div>\r\n <div className=\"flex shrink-0 items-center gap-2\">\r\n <Popover\r\n placement=\"bottom\"\r\n isOpen={isFiltersOpen}\r\n onOpenChange={setIsFiltersOpen}\r\n portalContainer={document.body}\r\n >\r\n <PopoverTrigger>\r\n <Button variant=\"outline\" size=\"sm\">\r\n <div className=\"flex items-center gap-2\">\r\n Filters\r\n <ChevronDown className=\"h-4 w-4\" />\r\n </div>\r\n </Button>\r\n </PopoverTrigger>\r\n <PopoverContent>\r\n <TableFiltering\r\n columns={filterableColumns}\r\n onFiltersChange={onFiltersChange}\r\n filters={filters ?? []}\r\n onClose={() => setIsFiltersOpen(false)}\r\n singleFilter={singleFilter}\r\n filterMethods={filterMethods}\r\n />\r\n </PopoverContent>\r\n </Popover>\r\n {groupableColumns.length > 0 && (\r\n <Popover\r\n placement=\"bottom\"\r\n isOpen={isGroupByOpen}\r\n onOpenChange={setIsGroupByOpen}\r\n portalContainer={document.body}\r\n >\r\n <PopoverTrigger>\r\n <Button variant={hasGrouping ? \"secondary\" : \"outline\"} size=\"sm\">\r\n <div className=\"flex items-center gap-2\">\r\n {hasGrouping\r\n ? `Grouped by: ${grouping.map((id) => groupableColumns.find((c) => c.id === id)?.label ?? id).join(\" → \")}`\r\n : \"Group by\"}\r\n <ChevronDown className=\"h-4 w-4\" />\r\n </div>\r\n </Button>\r\n </PopoverTrigger>\r\n <PopoverContent>\r\n <TableGroupBy\r\n columns={groupableColumns}\r\n activeGrouping={grouping}\r\n onGroupingChange={(columnIds) => {\r\n setGrouping(columnIds);\r\n setExpanded({});\r\n setPagination?.({ pageIndex: 0, pageSize: limit });\r\n }}\r\n onClose={() => setIsGroupByOpen(false)}\r\n />\r\n </PopoverContent>\r\n </Popover>\r\n )}\r\n <Popover\r\n placement=\"bottom\"\r\n isOpen={isColumnsOpen}\r\n onOpenChange={setIsColumnsOpen}\r\n portalContainer={document.body}\r\n >\r\n <PopoverTrigger>\r\n <Button variant=\"outline\" size=\"sm\">\r\n <div className=\"flex items-center gap-2\">\r\n Columns\r\n <ChevronDown className=\"h-4 w-4\" />\r\n </div>\r\n </Button>\r\n </PopoverTrigger>\r\n <PopoverContent>\r\n <ColumnOrderAndVisibility\r\n layout={layout}\r\n onChangeOrder={onChangeOrder}\r\n onChangeVisibility={onChangeVisibility}\r\n onClose={() => setIsColumnsOpen(false)}\r\n />\r\n </PopoverContent>\r\n </Popover>\r\n </div>\r\n </div>\r\n <Table>\r\n <TableHeader>\r\n <TableRow>\r\n <TableHead>\r\n <Checkbox\r\n isSelected={table.getIsAllRowsSelected()}\r\n onValueChange={(checked) => {\r\n table.toggleAllRowsSelected(checked);\r\n }}\r\n />\r\n </TableHead>\r\n {table.getHeaderGroups()[0].headers.map((header) => (\r\n <TableHead\r\n onClick={\r\n header.column.getCanSort() ? header.column.getToggleSortingHandler() : undefined\r\n }\r\n key={header.id}\r\n >\r\n {flexRender(header.column.columnDef.header, header.getContext())}\r\n {header.column.getCanSort() && (\r\n <>\r\n {header.column.getIsSorted() === \"asc\" && (\r\n <ChevronUp className=\"h-4 w-4 inline ml-1\" />\r\n )}\r\n {header.column.getIsSorted() === \"desc\" && (\r\n <ChevronDown className=\"h-4 w-4 inline ml-1\" />\r\n )}\r\n </>\r\n )}\r\n </TableHead>\r\n ))}\r\n </TableRow>\r\n </TableHeader>\r\n <TableBody>\r\n {table.getRowModel().rows.map((row) => {\r\n if (row.getIsGrouped()) {\r\n return (\r\n <TableRow\r\n key={row.id}\r\n className=\"bg-muted/40 font-medium cursor-pointer hover:bg-muted/60\"\r\n onClick={() => row.toggleExpanded()}\r\n >\r\n <TableCell />\r\n {row.getVisibleCells().map((cell) => {\r\n if (cell.getIsGrouped()) {\r\n return (\r\n <TableCell key={cell.id}>\r\n <span className=\"flex items-center gap-1.5\">\r\n {row.getIsExpanded() ? (\r\n <ChevronDown className=\"h-4 w-4 shrink-0\" />\r\n ) : (\r\n <ChevronRight className=\"h-4 w-4 shrink-0\" />\r\n )}\r\n {flexRender(cell.column.columnDef.cell, cell.getContext())}\r\n <span className=\"text-muted-foreground font-normal ml-1\">\r\n ({row.subRows.length})\r\n </span>\r\n </span>\r\n </TableCell>\r\n );\r\n }\r\n if (cell.getIsAggregated()) {\r\n return (\r\n <TableCell key={cell.id}>\r\n {flexRender(\r\n cell.column.columnDef.aggregatedCell ?? cell.column.columnDef.cell,\r\n cell.getContext()\r\n )}\r\n </TableCell>\r\n );\r\n }\r\n return <TableCell key={cell.id} />;\r\n })}\r\n </TableRow>\r\n );\r\n }\r\n\r\n return (\r\n <TableRow key={row.id}>\r\n <TableCell>\r\n <Checkbox\r\n isSelected={row.getIsSelected()}\r\n onValueChange={(checked) => {\r\n row.toggleSelected(checked);\r\n }}\r\n />\r\n </TableCell>\r\n {row.getVisibleCells().map((cell) => (\r\n <TableCell key={cell.id}>\r\n {flexRender(cell.column.columnDef.cell, cell.getContext())}\r\n </TableCell>\r\n ))}\r\n </TableRow>\r\n );\r\n })}\r\n </TableBody>\r\n </Table>\r\n <TablePagination\r\n pageCount={\r\n isGrouped\r\n ? Math.ceil(table.getPrePaginationRowModel().rows.length / limit) || 1\r\n : serverPageCount\r\n }\r\n page={isGrouped ? table.getState().pagination.pageIndex + 1 : page}\r\n limit={limit}\r\n setPagination={setPagination}\r\n />\r\n </>\r\n );\r\n};\r\n"],"mappings":"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"}
@@ -4,10 +4,10 @@ import { ColumnOrderAndVisibility } from "./ColumnOrderAndVisibility.mjs";
4
4
  import { TableFiltering } from "./TableFiltering.mjs";
5
5
  import { TableGroupBy } from "./TableGroupBy.mjs";
6
6
  import { TablePagination } from "./TablePagination.mjs";
7
- import { useEffect, useMemo, useState } from "react";
8
- import { Checkbox, Popover, PopoverContent, PopoverTrigger } from "@heroui/react";
7
+ import { useEffect, useMemo, useRef, useState } from "react";
8
+ import { Checkbox, Input, Popover, PopoverContent, PopoverTrigger } from "@heroui/react";
9
9
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
10
- import { ChevronDown, ChevronRight, ChevronUp } from "lucide-react";
10
+ import { ChevronDown, ChevronRight, ChevronUp, Search } from "lucide-react";
11
11
  import { flexRender, getCoreRowModel, getExpandedRowModel, getGroupedRowModel, getPaginationRowModel, useReactTable } from "@tanstack/react-table";
12
12
  //#region src/modules/table/components/NuqsTable.tsx
13
13
  function getStorageKey(columnIds) {
@@ -46,9 +46,8 @@ function applyVisibility(prev, visibility) {
46
46
  visibility: visibility[String(column.id)] ?? column.visibility
47
47
  }));
48
48
  }
49
- const NuqsTable = ({ data, total, columns, tableProps, singleFilter = false, filterMethods }) => {
49
+ const NuqsTable = ({ data, total, columns, tableProps, showGlobalSearch = false, singleFilter = false, filterMethods }) => {
50
50
  const columnIds = useMemo(() => columns.map((col) => String(col.id)), [columns]);
51
- console.log("data", data);
52
51
  const initialLayout = useMemo(() => {
53
52
  const defaultLayout = columns.map((column) => ({
54
53
  id: String(column.id),
@@ -92,7 +91,24 @@ const NuqsTable = ({ data, total, columns, tableProps, singleFilter = false, fil
92
91
  }, [layout, columnIds]);
93
92
  const columnOrder = useMemo(() => layout.map((column) => column.id), [layout]);
94
93
  const columnVisibility = useMemo(() => Object.fromEntries(layout.map((column) => [column.id, column.visibility])), [layout]);
95
- const { limit = 10, page = 1, sorting, setSorting, setPagination, pagination, rowSelection, setRowSelection, setFilters, filters, grouping, setGrouping } = tableProps;
94
+ const { limit = 10, page = 1, sorting, setSorting, setPagination, pagination, rowSelection, setRowSelection, setFilters, filters, grouping, setGrouping, q, setQ } = tableProps;
95
+ const skipFirstGlobalSearchPageReset = useRef(true);
96
+ useEffect(() => {
97
+ if (!showGlobalSearch) return;
98
+ if (skipFirstGlobalSearchPageReset.current) {
99
+ skipFirstGlobalSearchPageReset.current = false;
100
+ return;
101
+ }
102
+ setPagination?.({
103
+ pageIndex: 0,
104
+ pageSize: limit
105
+ });
106
+ }, [
107
+ showGlobalSearch,
108
+ q,
109
+ limit,
110
+ setPagination
111
+ ]);
96
112
  const isGrouped = grouping.length > 0;
97
113
  const [expanded, setExpanded] = useState({});
98
114
  useEffect(() => {
@@ -185,75 +201,94 @@ const NuqsTable = ({ data, total, columns, tableProps, singleFilter = false, fil
185
201
  const [isGroupByOpen, setIsGroupByOpen] = useState(false);
186
202
  return /* @__PURE__ */ jsxs(Fragment$1, { children: [
187
203
  /* @__PURE__ */ jsxs("div", {
188
- className: "flex w-full items-center gap-2 justify-end",
189
- children: [
190
- /* @__PURE__ */ jsxs(Popover, {
191
- placement: "bottom",
192
- isOpen: isFiltersOpen,
193
- onOpenChange: setIsFiltersOpen,
194
- portalContainer: document.body,
195
- children: [/* @__PURE__ */ jsx(PopoverTrigger, { children: /* @__PURE__ */ jsx(Button$1, {
196
- variant: "outline",
197
- size: "sm",
198
- children: /* @__PURE__ */ jsxs("div", {
199
- className: "flex items-center gap-2",
200
- children: ["Filters", /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4" })]
201
- })
202
- }) }), /* @__PURE__ */ jsx(PopoverContent, { children: /* @__PURE__ */ jsx(TableFiltering, {
203
- columns: filterableColumns,
204
- onFiltersChange,
205
- filters: filters ?? [],
206
- onClose: () => setIsFiltersOpen(false),
207
- singleFilter,
208
- filterMethods
209
- }) })]
210
- }),
211
- groupableColumns.length > 0 && /* @__PURE__ */ jsxs(Popover, {
212
- placement: "bottom",
213
- isOpen: isGroupByOpen,
214
- onOpenChange: setIsGroupByOpen,
215
- portalContainer: document.body,
216
- children: [/* @__PURE__ */ jsx(PopoverTrigger, { children: /* @__PURE__ */ jsx(Button$1, {
217
- variant: hasGrouping ? "secondary" : "outline",
218
- size: "sm",
219
- children: /* @__PURE__ */ jsxs("div", {
220
- className: "flex items-center gap-2",
221
- children: [hasGrouping ? `Grouped by: ${grouping.map((id) => groupableColumns.find((c) => c.id === id)?.label ?? id).join(" → ")}` : "Group by", /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4" })]
222
- })
223
- }) }), /* @__PURE__ */ jsx(PopoverContent, { children: /* @__PURE__ */ jsx(TableGroupBy, {
224
- columns: groupableColumns,
225
- activeGrouping: grouping,
226
- onGroupingChange: (columnIds) => {
227
- setGrouping(columnIds);
228
- setExpanded({});
229
- setPagination?.({
230
- pageIndex: 0,
231
- pageSize: limit
232
- });
233
- },
234
- onClose: () => setIsGroupByOpen(false)
235
- }) })]
236
- }),
237
- /* @__PURE__ */ jsxs(Popover, {
238
- placement: "bottom",
239
- isOpen: isColumnsOpen,
240
- onOpenChange: setIsColumnsOpen,
241
- portalContainer: document.body,
242
- children: [/* @__PURE__ */ jsx(PopoverTrigger, { children: /* @__PURE__ */ jsx(Button$1, {
243
- variant: "outline",
244
- size: "sm",
245
- children: /* @__PURE__ */ jsxs("div", {
246
- className: "flex items-center gap-2",
247
- children: ["Columns", /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4" })]
248
- })
249
- }) }), /* @__PURE__ */ jsx(PopoverContent, { children: /* @__PURE__ */ jsx(ColumnOrderAndVisibility, {
250
- layout,
251
- onChangeOrder,
252
- onChangeVisibility,
253
- onClose: () => setIsColumnsOpen(false)
254
- }) })]
255
- })
256
- ]
204
+ className: "flex w-full flex-wrap items-center justify-between gap-2",
205
+ children: [/* @__PURE__ */ jsx("div", {
206
+ className: "flex min-w-0 flex-1 items-center",
207
+ children: showGlobalSearch ? /* @__PURE__ */ jsx(Input, {
208
+ size: "sm",
209
+ className: "max-w-xs",
210
+ placeholder: "Search…",
211
+ value: q ?? "",
212
+ onValueChange: (v) => {
213
+ setQ?.(v === "" ? null : v);
214
+ },
215
+ startContent: /* @__PURE__ */ jsx(Search, {
216
+ className: "h-4 w-4 shrink-0 text-default-400",
217
+ "aria-hidden": true
218
+ }),
219
+ "aria-label": "Search table"
220
+ }) : null
221
+ }), /* @__PURE__ */ jsxs("div", {
222
+ className: "flex shrink-0 items-center gap-2",
223
+ children: [
224
+ /* @__PURE__ */ jsxs(Popover, {
225
+ placement: "bottom",
226
+ isOpen: isFiltersOpen,
227
+ onOpenChange: setIsFiltersOpen,
228
+ portalContainer: document.body,
229
+ children: [/* @__PURE__ */ jsx(PopoverTrigger, { children: /* @__PURE__ */ jsx(Button$1, {
230
+ variant: "outline",
231
+ size: "sm",
232
+ children: /* @__PURE__ */ jsxs("div", {
233
+ className: "flex items-center gap-2",
234
+ children: ["Filters", /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4" })]
235
+ })
236
+ }) }), /* @__PURE__ */ jsx(PopoverContent, { children: /* @__PURE__ */ jsx(TableFiltering, {
237
+ columns: filterableColumns,
238
+ onFiltersChange,
239
+ filters: filters ?? [],
240
+ onClose: () => setIsFiltersOpen(false),
241
+ singleFilter,
242
+ filterMethods
243
+ }) })]
244
+ }),
245
+ groupableColumns.length > 0 && /* @__PURE__ */ jsxs(Popover, {
246
+ placement: "bottom",
247
+ isOpen: isGroupByOpen,
248
+ onOpenChange: setIsGroupByOpen,
249
+ portalContainer: document.body,
250
+ children: [/* @__PURE__ */ jsx(PopoverTrigger, { children: /* @__PURE__ */ jsx(Button$1, {
251
+ variant: hasGrouping ? "secondary" : "outline",
252
+ size: "sm",
253
+ children: /* @__PURE__ */ jsxs("div", {
254
+ className: "flex items-center gap-2",
255
+ children: [hasGrouping ? `Grouped by: ${grouping.map((id) => groupableColumns.find((c) => c.id === id)?.label ?? id).join(" → ")}` : "Group by", /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4" })]
256
+ })
257
+ }) }), /* @__PURE__ */ jsx(PopoverContent, { children: /* @__PURE__ */ jsx(TableGroupBy, {
258
+ columns: groupableColumns,
259
+ activeGrouping: grouping,
260
+ onGroupingChange: (columnIds) => {
261
+ setGrouping(columnIds);
262
+ setExpanded({});
263
+ setPagination?.({
264
+ pageIndex: 0,
265
+ pageSize: limit
266
+ });
267
+ },
268
+ onClose: () => setIsGroupByOpen(false)
269
+ }) })]
270
+ }),
271
+ /* @__PURE__ */ jsxs(Popover, {
272
+ placement: "bottom",
273
+ isOpen: isColumnsOpen,
274
+ onOpenChange: setIsColumnsOpen,
275
+ portalContainer: document.body,
276
+ children: [/* @__PURE__ */ jsx(PopoverTrigger, { children: /* @__PURE__ */ jsx(Button$1, {
277
+ variant: "outline",
278
+ size: "sm",
279
+ children: /* @__PURE__ */ jsxs("div", {
280
+ className: "flex items-center gap-2",
281
+ children: ["Columns", /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4" })]
282
+ })
283
+ }) }), /* @__PURE__ */ jsx(PopoverContent, { children: /* @__PURE__ */ jsx(ColumnOrderAndVisibility, {
284
+ layout,
285
+ onChangeOrder,
286
+ onChangeVisibility,
287
+ onClose: () => setIsColumnsOpen(false)
288
+ }) })]
289
+ })
290
+ ]
291
+ })]
257
292
  }),
258
293
  /* @__PURE__ */ jsxs(Table$1, { children: [/* @__PURE__ */ jsx(TableHeader$1, { children: /* @__PURE__ */ jsxs(TableRow$1, { children: [/* @__PURE__ */ jsx(TableHead, { children: /* @__PURE__ */ jsx(Checkbox, {
259
294
  isSelected: table.getIsAllRowsSelected(),