@m5kdev/web-ui 0.7.0 → 0.8.0

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 (377) hide show
  1. package/dist/src/animations/card.motion.d.ts +7 -2
  2. package/dist/src/animations/card.motion.js +25 -6
  3. package/dist/src/animations/card.motion.js.map +1 -0
  4. package/dist/src/components/AvatarUpload.d.ts +14 -5
  5. package/dist/src/components/AvatarUpload.js +105 -63
  6. package/dist/src/components/AvatarUpload.js.map +1 -0
  7. package/dist/src/components/Button.d.ts +14 -4
  8. package/dist/src/components/Button.js +13 -4
  9. package/dist/src/components/Button.js.map +1 -0
  10. package/dist/src/components/Calendar.d.ts +33 -31
  11. package/dist/src/components/Calendar.js +14 -6
  12. package/dist/src/components/Calendar.js.map +1 -0
  13. package/dist/src/components/{Calendar.css → Calendar2.css} +757 -684
  14. package/dist/src/components/CardsSelect.d.ts +25 -21
  15. package/dist/src/components/CardsSelect.js +75 -42
  16. package/dist/src/components/CardsSelect.js.map +1 -0
  17. package/dist/src/components/CollapsibleSidebarMenuItem.d.ts +22 -9
  18. package/dist/src/components/CollapsibleSidebarMenuItem.js +31 -8
  19. package/dist/src/components/CollapsibleSidebarMenuItem.js.map +1 -0
  20. package/dist/src/components/ColorPicker.d.ts +15 -4
  21. package/dist/src/components/ColorPicker.js +46 -16
  22. package/dist/src/components/ColorPicker.js.map +1 -0
  23. package/dist/src/components/CopyButton.d.ts +18 -6
  24. package/dist/src/components/CopyButton.js +28 -19
  25. package/dist/src/components/CopyButton.js.map +1 -0
  26. package/dist/src/components/CropDialog.d.ts +20 -8
  27. package/dist/src/components/CropDialog.js +108 -62
  28. package/dist/src/components/CropDialog.js.map +1 -0
  29. package/dist/src/components/DialogProvider.d.ts +22 -14
  30. package/dist/src/components/DialogProvider.js +67 -45
  31. package/dist/src/components/DialogProvider.js.map +1 -0
  32. package/dist/src/components/ErrorFallback.d.ts +13 -4
  33. package/dist/src/components/ErrorFallback.js +29 -4
  34. package/dist/src/components/ErrorFallback.js.map +1 -0
  35. package/dist/src/components/FileDropzone.d.ts +12 -4
  36. package/dist/src/components/FileDropzone.js +98 -60
  37. package/dist/src/components/FileDropzone.js.map +1 -0
  38. package/dist/src/components/MultiSelectDropdown.d.ts +25 -22
  39. package/dist/src/components/MultiSelectDropdown.js +99 -49
  40. package/dist/src/components/MultiSelectDropdown.js.map +1 -0
  41. package/dist/src/components/Orb.d.ts +17 -6
  42. package/dist/src/components/Orb.js +263 -255
  43. package/dist/src/components/Orb.js.map +1 -0
  44. package/dist/src/components/PageAlert.d.ts +20 -15
  45. package/dist/src/components/PageAlert.js +67 -39
  46. package/dist/src/components/PageAlert.js.map +1 -0
  47. package/dist/src/components/SelectChips.d.ts +21 -10
  48. package/dist/src/components/SelectChips.js +21 -9
  49. package/dist/src/components/SelectChips.js.map +1 -0
  50. package/dist/src/components/SidebarItem.d.ts +18 -7
  51. package/dist/src/components/SidebarItem.js +16 -4
  52. package/dist/src/components/SidebarItem.js.map +1 -0
  53. package/dist/src/components/Steps.d.ts +21 -16
  54. package/dist/src/components/Steps.js +193 -27
  55. package/dist/src/components/Steps.js.map +1 -0
  56. package/dist/src/components/TablerIconPicker.d.ts +13 -2
  57. package/dist/src/components/TablerIconPicker.js +4254 -4234
  58. package/dist/src/components/TablerIconPicker.js.map +1 -0
  59. package/dist/src/components/app-header.d.ts +14 -6
  60. package/dist/src/components/app-header.js +27 -6
  61. package/dist/src/components/app-header.js.map +1 -0
  62. package/dist/src/components/blur-card.d.ts +25 -11
  63. package/dist/src/components/blur-card.js +134 -31
  64. package/dist/src/components/blur-card.js.map +1 -0
  65. package/dist/src/components/features-section-demo-1.d.ts +22 -6
  66. package/dist/src/components/features-section-demo-1.js +119 -47
  67. package/dist/src/components/features-section-demo-1.js.map +1 -0
  68. package/dist/src/components/features-section-demo-2.d.ts +7 -1
  69. package/dist/src/components/features-section-demo-2.js +80 -49
  70. package/dist/src/components/features-section-demo-2.js.map +1 -0
  71. package/dist/src/components/features-section-demo-3.d.ts +16 -8
  72. package/dist/src/components/features-section-demo-3.js +239 -103
  73. package/dist/src/components/features-section-demo-3.js.map +1 -0
  74. package/dist/src/components/mode-toggle.d.ts +7 -1
  75. package/dist/src/components/mode-toggle.js +42 -7
  76. package/dist/src/components/mode-toggle.js.map +1 -0
  77. package/dist/src/components/nav-main.d.ts +20 -12
  78. package/dist/src/components/nav-main.js +31 -5
  79. package/dist/src/components/nav-main.js.map +1 -0
  80. package/dist/src/components/pricing-cards.d.ts +7 -1
  81. package/dist/src/components/pricing-cards.js +125 -24
  82. package/dist/src/components/pricing-cards.js.map +1 -0
  83. package/dist/src/components/shared/ButtonCopy.d.ts +17 -6
  84. package/dist/src/components/shared/ButtonCopy.js +31 -20
  85. package/dist/src/components/shared/ButtonCopy.js.map +1 -0
  86. package/dist/src/components/team-switcher.d.ts +16 -8
  87. package/dist/src/components/team-switcher.js +70 -8
  88. package/dist/src/components/team-switcher.js.map +1 -0
  89. package/dist/src/components/theme-provider.d.ts +18 -8
  90. package/dist/src/components/theme-provider.js +42 -38
  91. package/dist/src/components/theme-provider.js.map +1 -0
  92. package/dist/src/components/typewriter.d.ts +35 -14
  93. package/dist/src/components/typewriter.js +45 -36
  94. package/dist/src/components/typewriter.js.map +1 -0
  95. package/dist/src/components/ui/alert-dialog.d.ts +48 -13
  96. package/dist/src/components/ui/alert-dialog.js +58 -15
  97. package/dist/src/components/ui/alert-dialog.js.map +1 -0
  98. package/dist/src/components/ui/alert.d.ts +24 -8
  99. package/dist/src/components/ui/alert.js +28 -15
  100. package/dist/src/components/ui/alert.js.map +1 -0
  101. package/dist/src/components/ui/avatar.d.ts +9 -5
  102. package/dist/src/components/ui/avatar.js +23 -7
  103. package/dist/src/components/ui/avatar.js.map +1 -0
  104. package/dist/src/components/ui/badge.d.ts +17 -8
  105. package/dist/src/components/ui/badge.js +17 -14
  106. package/dist/src/components/ui/badge.js.map +1 -0
  107. package/dist/src/components/ui/bento-grid.d.ts +26 -11
  108. package/dist/src/components/ui/bento-grid.js +30 -6
  109. package/dist/src/components/ui/bento-grid.js.map +1 -0
  110. package/dist/src/components/ui/bento-grid2.d.ts +30 -14
  111. package/dist/src/components/ui/bento-grid2.js +45 -9
  112. package/dist/src/components/ui/bento-grid2.js.map +1 -0
  113. package/dist/src/components/ui/breadcrumb.d.ts +27 -15
  114. package/dist/src/components/ui/breadcrumb.js +54 -14
  115. package/dist/src/components/ui/breadcrumb.js.map +1 -0
  116. package/dist/src/components/ui/button.d.ts +14 -9
  117. package/dist/src/components/ui/button.js +37 -26
  118. package/dist/src/components/ui/button.js.map +1 -0
  119. package/dist/src/components/ui/card.d.ts +12 -8
  120. package/dist/src/components/ui/card.js +38 -10
  121. package/dist/src/components/ui/card.js.map +1 -0
  122. package/dist/src/components/ui/checkbox.d.ts +6 -2
  123. package/dist/src/components/ui/checkbox.js +17 -5
  124. package/dist/src/components/ui/checkbox.js.map +1 -0
  125. package/dist/src/components/ui/collapsible.d.ts +9 -4
  126. package/dist/src/components/ui/collapsible.js +5 -1
  127. package/dist/src/components/ui/collapsible.js.map +1 -0
  128. package/dist/src/components/ui/dialog.d.ts +44 -12
  129. package/dist/src/components/ui/dialog.js +64 -14
  130. package/dist/src/components/ui/dialog.js.map +1 -0
  131. package/dist/src/components/ui/dropdown-menu.d.ts +32 -24
  132. package/dist/src/components/ui/dropdown-menu.js +64 -14
  133. package/dist/src/components/ui/dropdown-menu.js.map +1 -0
  134. package/dist/src/components/ui/floating-navbar.d.ts +18 -9
  135. package/dist/src/components/ui/floating-navbar.js +49 -35
  136. package/dist/src/components/ui/floating-navbar.js.map +1 -0
  137. package/dist/src/components/ui/form.d.ts +30 -21
  138. package/dist/src/components/ui/form.js +76 -44
  139. package/dist/src/components/ui/form.js.map +1 -0
  140. package/dist/src/components/ui/image.d.ts +6 -2
  141. package/dist/src/components/ui/image.js +51 -11
  142. package/dist/src/components/ui/image.js.map +1 -0
  143. package/dist/src/components/ui/input.d.ts +6 -2
  144. package/dist/src/components/ui/input.js +14 -5
  145. package/dist/src/components/ui/input.js.map +1 -0
  146. package/dist/src/components/ui/label.d.ts +8 -3
  147. package/dist/src/components/ui/label.js +13 -5
  148. package/dist/src/components/ui/label.js.map +1 -0
  149. package/dist/src/components/ui/pagination.d.ts +39 -12
  150. package/dist/src/components/ui/pagination.js +64 -14
  151. package/dist/src/components/ui/pagination.js.map +1 -0
  152. package/dist/src/components/ui/progress.d.ts +6 -2
  153. package/dist/src/components/ui/progress.js +16 -4
  154. package/dist/src/components/ui/progress.js.map +1 -0
  155. package/dist/src/components/ui/resizable-navbar.d.ts +84 -43
  156. package/dist/src/components/ui/resizable-navbar.js +126 -74
  157. package/dist/src/components/ui/resizable-navbar.js.map +1 -0
  158. package/dist/src/components/ui/segment-control.d.ts +10 -7
  159. package/dist/src/components/ui/segment-control.js +83 -38
  160. package/dist/src/components/ui/segment-control.js.map +1 -0
  161. package/dist/src/components/ui/select.d.ts +16 -12
  162. package/dist/src/components/ui/select.js +63 -14
  163. package/dist/src/components/ui/select.js.map +1 -0
  164. package/dist/src/components/ui/separator.d.ts +6 -2
  165. package/dist/src/components/ui/separator.js +14 -4
  166. package/dist/src/components/ui/separator.js.map +1 -0
  167. package/dist/src/components/ui/sheet.d.ts +30 -19
  168. package/dist/src/components/ui/sheet.js +52 -23
  169. package/dist/src/components/ui/sheet.js.map +1 -0
  170. package/dist/src/components/ui/sidebar.d.ts +69 -62
  171. package/dist/src/components/ui/sidebar.js +326 -171
  172. package/dist/src/components/ui/sidebar.js.map +1 -0
  173. package/dist/src/components/ui/skeleton.d.ts +9 -1
  174. package/dist/src/components/ui/skeleton.js +10 -3
  175. package/dist/src/components/ui/skeleton.js.map +1 -0
  176. package/dist/src/components/ui/slider.d.ts +6 -2
  177. package/dist/src/components/ui/slider.js +16 -4
  178. package/dist/src/components/ui/slider.js.map +1 -0
  179. package/dist/src/components/ui/sonner.d.ts +10 -3
  180. package/dist/src/components/ui/sonner.js +18 -11
  181. package/dist/src/components/ui/sonner.js.map +1 -0
  182. package/dist/src/components/ui/spinner.d.ts +21 -10
  183. package/dist/src/components/ui/spinner.js +24 -24
  184. package/dist/src/components/ui/spinner.js.map +1 -0
  185. package/dist/src/components/ui/switch.d.ts +6 -2
  186. package/dist/src/components/ui/switch.js +13 -4
  187. package/dist/src/components/ui/switch.js.map +1 -0
  188. package/dist/src/components/ui/table.d.ts +39 -10
  189. package/dist/src/components/ui/table.js +51 -11
  190. package/dist/src/components/ui/table.js.map +1 -0
  191. package/dist/src/components/ui/tabs.d.ts +23 -6
  192. package/dist/src/components/ui/tabs.js +27 -7
  193. package/dist/src/components/ui/tabs.js.map +1 -0
  194. package/dist/src/components/ui/textarea.d.ts +10 -2
  195. package/dist/src/components/ui/textarea.js +11 -3
  196. package/dist/src/components/ui/textarea.js.map +1 -0
  197. package/dist/src/components/ui/timeline.d.ts +16 -9
  198. package/dist/src/components/ui/timeline.js +87 -24
  199. package/dist/src/components/ui/timeline.js.map +1 -0
  200. package/dist/src/components/ui/toast.d.ts +19 -14
  201. package/dist/src/components/ui/toast.js +48 -22
  202. package/dist/src/components/ui/toast.js.map +1 -0
  203. package/dist/src/components/ui/tooltip.d.ts +23 -6
  204. package/dist/src/components/ui/tooltip.js +27 -7
  205. package/dist/src/components/ui/tooltip.js.map +1 -0
  206. package/dist/src/components/ui/typewriter-effect.d.ts +28 -14
  207. package/dist/src/components/ui/typewriter-effect.js +102 -72
  208. package/dist/src/components/ui/typewriter-effect.js.map +1 -0
  209. package/dist/src/hooks/use-mobile.d.ts +5 -1
  210. package/dist/src/hooks/use-mobile.js +18 -13
  211. package/dist/src/hooks/use-mobile.js.map +1 -0
  212. package/dist/src/hooks/useDialog.d.ts +8 -4
  213. package/dist/src/hooks/useDialog.js +24 -20
  214. package/dist/src/hooks/useDialog.js.map +1 -0
  215. package/dist/src/icons/GoogleIcon.d.ts +9 -5
  216. package/dist/src/icons/GoogleIcon.js +32 -3
  217. package/dist/src/icons/GoogleIcon.js.map +1 -0
  218. package/dist/src/icons/LinkedInIcon.d.ts +9 -5
  219. package/dist/src/icons/LinkedInIcon.js +27 -3
  220. package/dist/src/icons/LinkedInIcon.js.map +1 -0
  221. package/dist/src/icons/MicrosoftIcon.d.ts +9 -5
  222. package/dist/src/icons/MicrosoftIcon.js +31 -3
  223. package/dist/src/icons/MicrosoftIcon.js.map +1 -0
  224. package/dist/src/lib/chatwoot.d.ts +19 -10
  225. package/dist/src/lib/chatwoot.js +25 -27
  226. package/dist/src/lib/chatwoot.js.map +1 -0
  227. package/dist/src/lib/utils.d.ts +7 -2
  228. package/dist/src/lib/utils.js +7 -2
  229. package/dist/src/lib/utils.js.map +1 -0
  230. package/dist/src/modules/app/components/AppLoader.d.ts +8 -2
  231. package/dist/src/modules/app/components/AppLoader.js +14 -3
  232. package/dist/src/modules/app/components/AppLoader.js.map +1 -0
  233. package/dist/src/modules/app/components/AppShell.d.ts +15 -6
  234. package/dist/src/modules/app/components/AppShell.js +14 -5
  235. package/dist/src/modules/app/components/AppShell.js.map +1 -0
  236. package/dist/src/modules/app/components/AppSidebar.d.ts +16 -6
  237. package/dist/src/modules/app/components/AppSidebar.js +17 -4
  238. package/dist/src/modules/app/components/AppSidebar.js.map +1 -0
  239. package/dist/src/modules/app/components/AppSidebarContent.d.ts +22 -13
  240. package/dist/src/modules/app/components/AppSidebarContent.js +34 -5
  241. package/dist/src/modules/app/components/AppSidebarContent.js.map +1 -0
  242. package/dist/src/modules/app/components/AppSidebarHeader.d.ts +18 -8
  243. package/dist/src/modules/app/components/AppSidebarHeader.js +37 -6
  244. package/dist/src/modules/app/components/AppSidebarHeader.js.map +1 -0
  245. package/dist/src/modules/app/components/AppSidebarInvites.d.ts +11 -3
  246. package/dist/src/modules/app/components/AppSidebarInvites.js +39 -8
  247. package/dist/src/modules/app/components/AppSidebarInvites.js.map +1 -0
  248. package/dist/src/modules/app/components/AppSidebarUser.d.ts +20 -10
  249. package/dist/src/modules/app/components/AppSidebarUser.js +121 -12
  250. package/dist/src/modules/app/components/AppSidebarUser.js.map +1 -0
  251. package/dist/src/modules/auth/components/AdminUserManagement.d.ts +11 -4
  252. package/dist/src/modules/auth/components/AdminUserManagement.js +970 -418
  253. package/dist/src/modules/auth/components/AdminUserManagement.js.map +1 -0
  254. package/dist/src/modules/auth/components/AdminWaitlist.d.ts +11 -4
  255. package/dist/src/modules/auth/components/AdminWaitlist.js +284 -115
  256. package/dist/src/modules/auth/components/AdminWaitlist.js.map +1 -0
  257. package/dist/src/modules/auth/components/AuthLayout.d.ts +12 -4
  258. package/dist/src/modules/auth/components/AuthLayout.js +17 -3
  259. package/dist/src/modules/auth/components/AuthLayout.js.map +1 -0
  260. package/dist/src/modules/auth/components/AuthProviders.d.ts +17 -6
  261. package/dist/src/modules/auth/components/AuthProviders.js +80 -41
  262. package/dist/src/modules/auth/components/AuthProviders.js.map +1 -0
  263. package/dist/src/modules/auth/components/AuthRouter.d.ts +16 -7
  264. package/dist/src/modules/auth/components/AuthRouter.js +46 -10
  265. package/dist/src/modules/auth/components/AuthRouter.js.map +1 -0
  266. package/dist/src/modules/auth/components/ClaimAccountRoute.d.ts +12 -4
  267. package/dist/src/modules/auth/components/ClaimAccountRoute.js +202 -139
  268. package/dist/src/modules/auth/components/ClaimAccountRoute.js.map +1 -0
  269. package/dist/src/modules/auth/components/ErrorAuthRoute.d.ts +7 -1
  270. package/dist/src/modules/auth/components/ErrorAuthRoute.js +125 -89
  271. package/dist/src/modules/auth/components/ErrorAuthRoute.js.map +1 -0
  272. package/dist/src/modules/auth/components/ForgotPasswordForm.d.ts +7 -1
  273. package/dist/src/modules/auth/components/ForgotPasswordForm.js +49 -23
  274. package/dist/src/modules/auth/components/ForgotPasswordForm.js.map +1 -0
  275. package/dist/src/modules/auth/components/ForgotPasswordRoute.d.ts +7 -1
  276. package/dist/src/modules/auth/components/ForgotPasswordRoute.js +34 -6
  277. package/dist/src/modules/auth/components/ForgotPasswordRoute.js.map +1 -0
  278. package/dist/src/modules/auth/components/InviteFriends.d.ts +12 -4
  279. package/dist/src/modules/auth/components/InviteFriends.js +275 -69
  280. package/dist/src/modules/auth/components/InviteFriends.js.map +1 -0
  281. package/dist/src/modules/auth/components/LastUsedBadge.d.ts +17 -5
  282. package/dist/src/modules/auth/components/LastUsedBadge.js +16 -6
  283. package/dist/src/modules/auth/components/LastUsedBadge.js.map +1 -0
  284. package/dist/src/modules/auth/components/LoginForm.d.ts +11 -3
  285. package/dist/src/modules/auth/components/LoginForm.js +107 -40
  286. package/dist/src/modules/auth/components/LoginForm.js.map +1 -0
  287. package/dist/src/modules/auth/components/LoginRoute.d.ts +11 -3
  288. package/dist/src/modules/auth/components/LoginRoute.js +41 -8
  289. package/dist/src/modules/auth/components/LoginRoute.js.map +1 -0
  290. package/dist/src/modules/auth/components/LogoutRoute.d.ts +7 -1
  291. package/dist/src/modules/auth/components/LogoutRoute.js +18 -12
  292. package/dist/src/modules/auth/components/LogoutRoute.js.map +1 -0
  293. package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.d.ts +21 -8
  294. package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.js +107 -97
  295. package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.js.map +1 -0
  296. package/dist/src/modules/auth/components/OrganizationMembersRoute.d.ts +58 -48
  297. package/dist/src/modules/auth/components/OrganizationMembersRoute.js +448 -349
  298. package/dist/src/modules/auth/components/OrganizationMembersRoute.js.map +1 -0
  299. package/dist/src/modules/auth/components/OrganizationPreferences.d.ts +27 -16
  300. package/dist/src/modules/auth/components/OrganizationPreferences.js +129 -124
  301. package/dist/src/modules/auth/components/OrganizationPreferences.js.map +1 -0
  302. package/dist/src/modules/auth/components/OrganizationSettingsRoute.d.ts +27 -18
  303. package/dist/src/modules/auth/components/OrganizationSettingsRoute.js +184 -144
  304. package/dist/src/modules/auth/components/OrganizationSettingsRoute.js.map +1 -0
  305. package/dist/src/modules/auth/components/OrganizationSwitcher.d.ts +17 -6
  306. package/dist/src/modules/auth/components/OrganizationSwitcher.js +91 -69
  307. package/dist/src/modules/auth/components/OrganizationSwitcher.js.map +1 -0
  308. package/dist/src/modules/auth/components/PreferencesEditor.d.ts +44 -33
  309. package/dist/src/modules/auth/components/PreferencesEditor.js +82 -58
  310. package/dist/src/modules/auth/components/PreferencesEditor.js.map +1 -0
  311. package/dist/src/modules/auth/components/ProfileRoute.d.ts +7 -1
  312. package/dist/src/modules/auth/components/ProfileRoute.js +79 -36
  313. package/dist/src/modules/auth/components/ProfileRoute.js.map +1 -0
  314. package/dist/src/modules/auth/components/RangeNuqsDatePicker.d.ts +44 -30
  315. package/dist/src/modules/auth/components/RangeNuqsDatePicker.js +234 -242
  316. package/dist/src/modules/auth/components/RangeNuqsDatePicker.js.map +1 -0
  317. package/dist/src/modules/auth/components/ResetPasswordForm.d.ts +7 -1
  318. package/dist/src/modules/auth/components/ResetPasswordForm.js +97 -35
  319. package/dist/src/modules/auth/components/ResetPasswordForm.js.map +1 -0
  320. package/dist/src/modules/auth/components/ResetPasswordRoute.d.ts +7 -1
  321. package/dist/src/modules/auth/components/ResetPasswordRoute.js +34 -6
  322. package/dist/src/modules/auth/components/ResetPasswordRoute.js.map +1 -0
  323. package/dist/src/modules/auth/components/SignupFormRoute.d.ts +15 -5
  324. package/dist/src/modules/auth/components/SignupFormRoute.js +142 -99
  325. package/dist/src/modules/auth/components/SignupFormRoute.js.map +1 -0
  326. package/dist/src/modules/auth/components/SignupRoute.d.ts +13 -5
  327. package/dist/src/modules/auth/components/SignupRoute.js +59 -13
  328. package/dist/src/modules/auth/components/SignupRoute.js.map +1 -0
  329. package/dist/src/modules/auth/components/UserPreferences.d.ts +22 -11
  330. package/dist/src/modules/auth/components/UserPreferences.js +24 -12
  331. package/dist/src/modules/auth/components/UserPreferences.js.map +1 -0
  332. package/dist/src/modules/auth/components/WaitlistCard.d.ts +11 -4
  333. package/dist/src/modules/auth/components/WaitlistCard.js +63 -28
  334. package/dist/src/modules/auth/components/WaitlistCard.js.map +1 -0
  335. package/dist/src/modules/auth/components/WaitlistCodeValidation.d.ts +13 -5
  336. package/dist/src/modules/auth/components/WaitlistCodeValidation.js +42 -40
  337. package/dist/src/modules/auth/components/WaitlistCodeValidation.js.map +1 -0
  338. package/dist/src/modules/billing/components/BillingBetaPage.d.ts +15 -6
  339. package/dist/src/modules/billing/components/BillingBetaPage.js +155 -8
  340. package/dist/src/modules/billing/components/BillingBetaPage.js.map +1 -0
  341. package/dist/src/modules/billing/components/BillingInvoicePage.d.ts +13 -5
  342. package/dist/src/modules/billing/components/BillingInvoicePage.js +160 -30
  343. package/dist/src/modules/billing/components/BillingInvoicePage.js.map +1 -0
  344. package/dist/src/modules/billing/components/BillingPlanSelect.d.ts +11 -4
  345. package/dist/src/modules/billing/components/BillingPlanSelect.js +10 -7
  346. package/dist/src/modules/billing/components/BillingPlanSelect.js.map +1 -0
  347. package/dist/src/modules/billing/components/BillingRouter.d.ts +15 -7
  348. package/dist/src/modules/billing/components/BillingRouter.js +19 -6
  349. package/dist/src/modules/billing/components/BillingRouter.js.map +1 -0
  350. package/dist/src/modules/billing/components/BillingSinglePlanSelect.d.ts +17 -7
  351. package/dist/src/modules/billing/components/BillingSinglePlanSelect.js +163 -42
  352. package/dist/src/modules/billing/components/BillingSinglePlanSelect.js.map +1 -0
  353. package/dist/src/modules/table/components/ColumnOrderAndVisibility.d.ts +18 -8
  354. package/dist/src/modules/table/components/ColumnOrderAndVisibility.js +81 -38
  355. package/dist/src/modules/table/components/ColumnOrderAndVisibility.js.map +1 -0
  356. package/dist/src/modules/table/components/NuqsTable.d.ts +33 -21
  357. package/dist/src/modules/table/components/NuqsTable.js +295 -221
  358. package/dist/src/modules/table/components/NuqsTable.js.map +1 -0
  359. package/dist/src/modules/table/components/TableFiltering.d.ts +33 -21
  360. package/dist/src/modules/table/components/TableFiltering.js +408 -226
  361. package/dist/src/modules/table/components/TableFiltering.js.map +1 -0
  362. package/dist/src/modules/table/components/TableGroupBy.d.ts +18 -8
  363. package/dist/src/modules/table/components/TableGroupBy.js +56 -16
  364. package/dist/src/modules/table/components/TableGroupBy.js.map +1 -0
  365. package/dist/src/modules/table/components/TablePagination.d.ts +17 -7
  366. package/dist/src/modules/table/components/TablePagination.js +64 -32
  367. package/dist/src/modules/table/components/TablePagination.js.map +1 -0
  368. package/dist/src/modules/table/components/table.types.d.ts +15 -10
  369. package/dist/src/modules/table/components/table.types.js +0 -1
  370. package/dist/src/modules/table/filterTransformers.d.ts +35 -30
  371. package/dist/src/modules/table/filterTransformers.js +198 -261
  372. package/dist/src/modules/table/filterTransformers.js.map +1 -0
  373. package/dist/src/types.d.ts +8 -3
  374. package/dist/src/types.js +0 -1
  375. package/package.json +8 -6
  376. package/dist/translations/en/web-ui.json +0 -209
  377. package/dist/tsconfig.lib.tsbuildinfo +0 -1
@@ -1,247 +1,239 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { DateRangePicker, Select, SelectItem, } from "@heroui/react";
3
- import { CalendarDate, getLocalTimeZone, today } from "@internationalized/date";
4
- import { useNuqsQueryParams } from "@m5kdev/frontend/modules/table/hooks/useNuqsQueryParams";
5
- import { calendarDateToEndOfDayUTC, calendarDateToUTC, dateFilterToRangeValue, } from "@m5kdev/web-ui/modules/table/filterTransformers";
6
- import { DateTime } from "luxon";
7
1
  import { startTransition, useEffect, useMemo, useState } from "react";
2
+ import { DateRangePicker, Select, SelectItem } from "@heroui/react";
3
+ import { jsx, jsxs } from "react/jsx-runtime";
8
4
  import { useTranslation } from "react-i18next";
5
+ import { CalendarDate, getLocalTimeZone, today } from "@internationalized/date";
6
+ import { DateTime } from "luxon";
7
+ import { useNuqsQueryParams } from "@m5kdev/frontend/modules/table/hooks/useNuqsQueryParams";
8
+ import { calendarDateToEndOfDayUTC, calendarDateToUTC, dateFilterToRangeValue } from "@m5kdev/web-ui/modules/table/filterTransformers";
9
+ //#region src/modules/auth/components/RangeNuqsDatePicker.tsx
9
10
  const toCalendarDate = (dt) => new CalendarDate(dt.year, dt.month, dt.day);
10
11
  const isSameCalendarDate = (a, b) => a.year === b.year && a.month === b.month && a.day === b.day;
11
- export const RangeNuqsDatePicker = ({ columnId = "startedAt", endColumnId = "endedAt", dateRangeLabel, quickRangeLabel, translationNamespace = "horecaai-app", showQuickRange = true, className, }) => {
12
- const { t } = useTranslation();
13
- const { filters, setFilters } = useNuqsQueryParams();
14
- const [quickRange, setQuickRange] = useState(null);
15
- const [hasInitialized, setHasInitialized] = useState(false);
16
- // Extract date range from filters using shared helper
17
- const dateRange = useMemo(() => {
18
- return dateFilterToRangeValue(filters, columnId);
19
- }, [filters, columnId]);
20
- const [localRange, setLocalRange] = useState(dateRange);
21
- useEffect(() => {
22
- setLocalRange(dateRange);
23
- }, [dateRange]);
24
- const todayIso = DateTime.utc().toISODate();
25
- const quickRangeOptions = useMemo(() => {
26
- const now = DateTime.utc();
27
- const todayStart = now.startOf("day");
28
- const weekStart = todayStart.startOf("week");
29
- const monthStart = todayStart.startOf("month");
30
- const lastWeekStart = weekStart.minus({ weeks: 1 });
31
- const lastMonthStart = monthStart.minus({ months: 1 });
32
- const yearStart = todayStart.startOf("year");
33
- const lastYearStart = yearStart.minus({ years: 1 });
34
- const options = [
35
- {
36
- key: "today",
37
- label: t(`${translationNamespace}:reports.quickRange.today`, { defaultValue: "Today" }),
38
- start: todayStart,
39
- end: todayStart,
40
- },
41
- {
42
- key: "yesterday",
43
- label: t(`${translationNamespace}:reports.quickRange.yesterday`, {
44
- defaultValue: "Yesterday",
45
- }),
46
- start: todayStart.minus({ days: 1 }),
47
- end: todayStart.minus({ days: 1 }),
48
- },
49
- {
50
- key: "last7",
51
- label: t(`${translationNamespace}:reports.quickRange.last7`, {
52
- defaultValue: "Last 7 days",
53
- }),
54
- start: todayStart.minus({ days: 6 }),
55
- end: todayStart,
56
- },
57
- {
58
- key: "last30",
59
- label: t(`${translationNamespace}:reports.quickRange.last30`, {
60
- defaultValue: "Last 30 days",
61
- }),
62
- start: todayStart.minus({ days: 29 }),
63
- end: todayStart,
64
- },
65
- {
66
- key: "thisWeek",
67
- label: t(`${translationNamespace}:reports.quickRange.thisWeek`, {
68
- defaultValue: "This week",
69
- }),
70
- start: weekStart,
71
- end: todayStart,
72
- },
73
- {
74
- key: "lastWeek",
75
- label: t(`${translationNamespace}:reports.quickRange.lastWeek`, {
76
- defaultValue: "Last week",
77
- }),
78
- start: lastWeekStart,
79
- end: lastWeekStart.plus({ days: 6 }),
80
- },
81
- {
82
- key: "thisMonth",
83
- label: t(`${translationNamespace}:reports.quickRange.thisMonth`, {
84
- defaultValue: "This month",
85
- }),
86
- start: monthStart,
87
- end: todayStart,
88
- },
89
- {
90
- key: "lastMonth",
91
- label: t(`${translationNamespace}:reports.quickRange.lastMonth`, {
92
- defaultValue: "Last month",
93
- }),
94
- start: lastMonthStart,
95
- end: lastMonthStart.endOf("month"),
96
- },
97
- {
98
- key: "thisYear",
99
- label: t(`${translationNamespace}:reports.quickRange.thisYear`, {
100
- defaultValue: "This year",
101
- }),
102
- start: yearStart,
103
- end: todayStart,
104
- },
105
- {
106
- key: "lastYear",
107
- label: t(`${translationNamespace}:reports.quickRange.lastYear`, {
108
- defaultValue: "Last year",
109
- }),
110
- start: lastYearStart,
111
- end: lastYearStart.endOf("year"),
112
- },
113
- ];
114
- return options.map((opt) => ({
115
- key: opt.key,
116
- label: opt.label,
117
- range: {
118
- start: toCalendarDate(opt.start),
119
- end: toCalendarDate(opt.end),
120
- },
121
- }));
122
- }, [t, todayIso, translationNamespace]);
123
- // Set default to "this month" on initial load if no date range is set
124
- useEffect(() => {
125
- if (hasInitialized || !setFilters)
126
- return;
127
- // Check if there's already a valid date range from URL
128
- if (dateRange) {
129
- setHasInitialized(true);
130
- return;
131
- }
132
- // No date range set, initialize to "this month"
133
- const thisMonthOption = quickRangeOptions.find((opt) => opt.key === "thisMonth");
134
- if (thisMonthOption) {
135
- setHasInitialized(true);
136
- setQuickRange("thisMonth");
137
- // Set filters directly for "this month" range
138
- const startDate = thisMonthOption.range.start;
139
- const endDate = thisMonthOption.range.end;
140
- const newFilters = [
141
- ...(filters?.filter((f) => f.columnId !== columnId && f.columnId !== endColumnId) ?? []),
142
- {
143
- columnId,
144
- type: "date",
145
- method: "intersect",
146
- value: calendarDateToUTC(startDate),
147
- valueTo: calendarDateToEndOfDayUTC(endDate),
148
- endColumnId,
149
- },
150
- ];
151
- setFilters(newFilters);
152
- }
153
- }, [dateRange, columnId, endColumnId, quickRangeOptions, hasInitialized, setFilters]);
154
- useEffect(() => {
155
- // Don't sync quickRange if we're still initializing
156
- if (!hasInitialized)
157
- return;
158
- if (!dateRange?.start || !dateRange?.end) {
159
- setQuickRange(null);
160
- return;
161
- }
162
- const start = dateRange.start;
163
- const end = dateRange.end;
164
- const matches = quickRangeOptions.filter((option) => isSameCalendarDate(option.range.start, start) && isSameCalendarDate(option.range.end, end));
165
- if (matches.length === 0) {
166
- setQuickRange(null);
167
- return;
168
- }
169
- // If the current quick range still matches, keep it
170
- const currentStillMatches = quickRange ? matches.find((m) => m.key === quickRange) : null;
171
- if (currentStillMatches) {
172
- return;
173
- }
174
- // Otherwise pick the highest-priority match to keep intent (week/month over last7 overlap)
175
- const priority = [
176
- "today",
177
- "yesterday",
178
- "thisWeek",
179
- "lastWeek",
180
- "thisMonth",
181
- "lastMonth",
182
- "last7",
183
- "last30",
184
- ];
185
- const preferred = priority.map((key) => matches.find((m) => m.key === key)).find((m) => Boolean(m)) ??
186
- matches[0];
187
- setQuickRange(preferred?.key ?? null);
188
- }, [dateRange, quickRangeOptions, quickRange, hasInitialized]);
189
- // Handle date range changes
190
- const handleDateRangeChange = (range) => {
191
- if (!setFilters)
192
- return;
193
- if (range === null) {
194
- // Explicit clear — remove date filters
195
- const newFilters = filters?.filter((f) => f.columnId !== columnId && f.columnId !== endColumnId) ?? [];
196
- startTransition(() => setFilters(newFilters));
197
- return;
198
- }
199
- // Incomplete range (e.g. only start selected mid-calendar-selection) — keep current filters
200
- if (!range.start || !range.end)
201
- return;
202
- // Use intersect to find records where [startedAt, endedAt] overlaps with the selected range
203
- // This includes ongoing records (endedAt = NULL) and records that overlap the range
204
- const startDate = range.start;
205
- const endDate = range.end;
206
- const newFilters = [
207
- ...(filters?.filter((f) => f.columnId !== columnId && f.columnId !== endColumnId) ?? []),
208
- {
209
- columnId,
210
- type: "date",
211
- method: "intersect",
212
- value: calendarDateToUTC(startDate),
213
- valueTo: calendarDateToEndOfDayUTC(endDate),
214
- endColumnId,
215
- },
216
- ];
217
- startTransition(() => setFilters(newFilters));
218
- };
219
- const handleQuickRangeChange = (key) => {
220
- if (!key) {
221
- setQuickRange(null);
222
- return;
223
- }
224
- const option = quickRangeOptions.find((opt) => opt.key === key);
225
- if (!option)
226
- return;
227
- setQuickRange(key);
228
- handleDateRangeChange({
229
- start: option.range.start,
230
- end: option.range.end,
231
- });
232
- };
233
- return (_jsxs("div", { className: `flex gap-4 flex-row ${className ?? ""}`, children: [_jsxs("div", { className: "flex flex-col gap-2", children: [_jsx("span", { className: "text-sm text-muted-foreground", children: dateRangeLabel ??
234
- t(`${translationNamespace}:reports.dateRange`, { defaultValue: "Date range" }) }), _jsx(DateRangePicker, { "aria-label": "Date range", value: localRange ?? undefined, onChange: setLocalRange, onBlur: () => {
235
- if (localRange !== undefined) {
236
- handleDateRangeChange(localRange);
237
- }
238
- }, className: "w-[300px]", granularity: "day", showMonthAndYearPickers: true, maxValue: today(getLocalTimeZone()), popoverProps: {
239
- portalContainer: document.body,
240
- disableAnimation: true,
241
- } })] }), showQuickRange && (_jsxs("div", { className: "flex flex-col gap-2", children: [_jsx("span", { className: "text-sm text-muted-foreground", children: quickRangeLabel ??
242
- t(`${translationNamespace}:reports.quickRange.label`, {
243
- defaultValue: "Quick range",
244
- }) }), _jsx(Select, { selectedKeys: quickRange ? [quickRange] : [], onChange: (e) => handleQuickRangeChange(e.target.value ?? null), className: "w-[300px]", popoverProps: {
245
- portalContainer: document.body,
246
- }, children: quickRangeOptions.map((option) => (_jsx(SelectItem, { children: option.label }, option.key))) })] }))] }));
12
+ const RangeNuqsDatePicker = ({ columnId = "startedAt", endColumnId = "endedAt", dateRangeLabel, quickRangeLabel, translationNamespace = "horecaai-app", showQuickRange = true, className }) => {
13
+ const { t } = useTranslation();
14
+ const { filters, setFilters } = useNuqsQueryParams();
15
+ const [quickRange, setQuickRange] = useState(null);
16
+ const [hasInitialized, setHasInitialized] = useState(false);
17
+ const dateRange = useMemo(() => {
18
+ return dateFilterToRangeValue(filters, columnId);
19
+ }, [filters, columnId]);
20
+ const [localRange, setLocalRange] = useState(dateRange);
21
+ useEffect(() => {
22
+ setLocalRange(dateRange);
23
+ }, [dateRange]);
24
+ const quickRangeOptions = useMemo(() => {
25
+ const todayStart = DateTime.utc().startOf("day");
26
+ const weekStart = todayStart.startOf("week");
27
+ const monthStart = todayStart.startOf("month");
28
+ const lastWeekStart = weekStart.minus({ weeks: 1 });
29
+ const lastMonthStart = monthStart.minus({ months: 1 });
30
+ const yearStart = todayStart.startOf("year");
31
+ const lastYearStart = yearStart.minus({ years: 1 });
32
+ return [
33
+ {
34
+ key: "today",
35
+ label: t(`${translationNamespace}:reports.quickRange.today`, { defaultValue: "Today" }),
36
+ start: todayStart,
37
+ end: todayStart
38
+ },
39
+ {
40
+ key: "yesterday",
41
+ label: t(`${translationNamespace}:reports.quickRange.yesterday`, { defaultValue: "Yesterday" }),
42
+ start: todayStart.minus({ days: 1 }),
43
+ end: todayStart.minus({ days: 1 })
44
+ },
45
+ {
46
+ key: "last7",
47
+ label: t(`${translationNamespace}:reports.quickRange.last7`, { defaultValue: "Last 7 days" }),
48
+ start: todayStart.minus({ days: 6 }),
49
+ end: todayStart
50
+ },
51
+ {
52
+ key: "last30",
53
+ label: t(`${translationNamespace}:reports.quickRange.last30`, { defaultValue: "Last 30 days" }),
54
+ start: todayStart.minus({ days: 29 }),
55
+ end: todayStart
56
+ },
57
+ {
58
+ key: "thisWeek",
59
+ label: t(`${translationNamespace}:reports.quickRange.thisWeek`, { defaultValue: "This week" }),
60
+ start: weekStart,
61
+ end: todayStart
62
+ },
63
+ {
64
+ key: "lastWeek",
65
+ label: t(`${translationNamespace}:reports.quickRange.lastWeek`, { defaultValue: "Last week" }),
66
+ start: lastWeekStart,
67
+ end: lastWeekStart.plus({ days: 6 })
68
+ },
69
+ {
70
+ key: "thisMonth",
71
+ label: t(`${translationNamespace}:reports.quickRange.thisMonth`, { defaultValue: "This month" }),
72
+ start: monthStart,
73
+ end: todayStart
74
+ },
75
+ {
76
+ key: "lastMonth",
77
+ label: t(`${translationNamespace}:reports.quickRange.lastMonth`, { defaultValue: "Last month" }),
78
+ start: lastMonthStart,
79
+ end: lastMonthStart.endOf("month")
80
+ },
81
+ {
82
+ key: "thisYear",
83
+ label: t(`${translationNamespace}:reports.quickRange.thisYear`, { defaultValue: "This year" }),
84
+ start: yearStart,
85
+ end: todayStart
86
+ },
87
+ {
88
+ key: "lastYear",
89
+ label: t(`${translationNamespace}:reports.quickRange.lastYear`, { defaultValue: "Last year" }),
90
+ start: lastYearStart,
91
+ end: lastYearStart.endOf("year")
92
+ }
93
+ ].map((opt) => ({
94
+ key: opt.key,
95
+ label: opt.label,
96
+ range: {
97
+ start: toCalendarDate(opt.start),
98
+ end: toCalendarDate(opt.end)
99
+ }
100
+ }));
101
+ }, [
102
+ t,
103
+ DateTime.utc().toISODate(),
104
+ translationNamespace
105
+ ]);
106
+ useEffect(() => {
107
+ if (hasInitialized || !setFilters) return;
108
+ if (dateRange) {
109
+ setHasInitialized(true);
110
+ return;
111
+ }
112
+ const thisMonthOption = quickRangeOptions.find((opt) => opt.key === "thisMonth");
113
+ if (thisMonthOption) {
114
+ setHasInitialized(true);
115
+ setQuickRange("thisMonth");
116
+ const startDate = thisMonthOption.range.start;
117
+ const endDate = thisMonthOption.range.end;
118
+ setFilters([...filters?.filter((f) => f.columnId !== columnId && f.columnId !== endColumnId) ?? [], {
119
+ columnId,
120
+ type: "date",
121
+ method: "intersect",
122
+ value: calendarDateToUTC(startDate),
123
+ valueTo: calendarDateToEndOfDayUTC(endDate),
124
+ endColumnId
125
+ }]);
126
+ }
127
+ }, [
128
+ dateRange,
129
+ columnId,
130
+ endColumnId,
131
+ quickRangeOptions,
132
+ hasInitialized,
133
+ setFilters
134
+ ]);
135
+ useEffect(() => {
136
+ if (!hasInitialized) return;
137
+ if (!dateRange?.start || !dateRange?.end) {
138
+ setQuickRange(null);
139
+ return;
140
+ }
141
+ const start = dateRange.start;
142
+ const end = dateRange.end;
143
+ const matches = quickRangeOptions.filter((option) => isSameCalendarDate(option.range.start, start) && isSameCalendarDate(option.range.end, end));
144
+ if (matches.length === 0) {
145
+ setQuickRange(null);
146
+ return;
147
+ }
148
+ if (quickRange ? matches.find((m) => m.key === quickRange) : null) return;
149
+ setQuickRange(([
150
+ "today",
151
+ "yesterday",
152
+ "thisWeek",
153
+ "lastWeek",
154
+ "thisMonth",
155
+ "lastMonth",
156
+ "last7",
157
+ "last30"
158
+ ].map((key) => matches.find((m) => m.key === key)).find((m) => Boolean(m)) ?? matches[0])?.key ?? null);
159
+ }, [
160
+ dateRange,
161
+ quickRangeOptions,
162
+ quickRange,
163
+ hasInitialized
164
+ ]);
165
+ const handleDateRangeChange = (range) => {
166
+ if (!setFilters) return;
167
+ if (range === null) {
168
+ const newFilters = filters?.filter((f) => f.columnId !== columnId && f.columnId !== endColumnId) ?? [];
169
+ startTransition(() => setFilters(newFilters));
170
+ return;
171
+ }
172
+ if (!range.start || !range.end) return;
173
+ const startDate = range.start;
174
+ const endDate = range.end;
175
+ const newFilters = [...filters?.filter((f) => f.columnId !== columnId && f.columnId !== endColumnId) ?? [], {
176
+ columnId,
177
+ type: "date",
178
+ method: "intersect",
179
+ value: calendarDateToUTC(startDate),
180
+ valueTo: calendarDateToEndOfDayUTC(endDate),
181
+ endColumnId
182
+ }];
183
+ startTransition(() => setFilters(newFilters));
184
+ };
185
+ const handleQuickRangeChange = (key) => {
186
+ if (!key) {
187
+ setQuickRange(null);
188
+ return;
189
+ }
190
+ const option = quickRangeOptions.find((opt) => opt.key === key);
191
+ if (!option) return;
192
+ setQuickRange(key);
193
+ handleDateRangeChange({
194
+ start: option.range.start,
195
+ end: option.range.end
196
+ });
197
+ };
198
+ return /* @__PURE__ */ jsxs("div", {
199
+ className: `flex gap-4 flex-row ${className ?? ""}`,
200
+ children: [/* @__PURE__ */ jsxs("div", {
201
+ className: "flex flex-col gap-2",
202
+ children: [/* @__PURE__ */ jsx("span", {
203
+ className: "text-sm text-muted-foreground",
204
+ children: dateRangeLabel ?? t(`${translationNamespace}:reports.dateRange`, { defaultValue: "Date range" })
205
+ }), /* @__PURE__ */ jsx(DateRangePicker, {
206
+ "aria-label": "Date range",
207
+ value: localRange ?? void 0,
208
+ onChange: setLocalRange,
209
+ onBlur: () => {
210
+ if (localRange !== void 0) handleDateRangeChange(localRange);
211
+ },
212
+ className: "w-[300px]",
213
+ granularity: "day",
214
+ showMonthAndYearPickers: true,
215
+ maxValue: today(getLocalTimeZone()),
216
+ popoverProps: {
217
+ portalContainer: document.body,
218
+ disableAnimation: true
219
+ }
220
+ })]
221
+ }), showQuickRange && /* @__PURE__ */ jsxs("div", {
222
+ className: "flex flex-col gap-2",
223
+ children: [/* @__PURE__ */ jsx("span", {
224
+ className: "text-sm text-muted-foreground",
225
+ children: quickRangeLabel ?? t(`${translationNamespace}:reports.quickRange.label`, { defaultValue: "Quick range" })
226
+ }), /* @__PURE__ */ jsx(Select, {
227
+ selectedKeys: quickRange ? [quickRange] : [],
228
+ onChange: (e) => handleQuickRangeChange(e.target.value ?? null),
229
+ className: "w-[300px]",
230
+ popoverProps: { portalContainer: document.body },
231
+ children: quickRangeOptions.map((option) => /* @__PURE__ */ jsx(SelectItem, { children: option.label }, option.key))
232
+ })]
233
+ })]
234
+ });
247
235
  };
236
+ //#endregion
237
+ export { RangeNuqsDatePicker };
238
+
239
+ //# sourceMappingURL=RangeNuqsDatePicker.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RangeNuqsDatePicker.js","names":[],"sources":["../../../../../src/modules/auth/components/RangeNuqsDatePicker.tsx"],"sourcesContent":["import {\r\n DateRangePicker,\r\n type DateValue,\r\n type RangeValue,\r\n Select,\r\n SelectItem,\r\n} from \"@heroui/react\";\r\nimport { CalendarDate, getLocalTimeZone, today } from \"@internationalized/date\";\r\nimport type { QueryFilters } from \"@m5kdev/commons/modules/schemas/query.schema\";\r\nimport { useNuqsQueryParams } from \"@m5kdev/frontend/modules/table/hooks/useNuqsQueryParams\";\r\nimport {\r\n calendarDateToEndOfDayUTC,\r\n calendarDateToUTC,\r\n dateFilterToRangeValue,\r\n} from \"@m5kdev/web-ui/modules/table/filterTransformers\";\r\nimport { DateTime } from \"luxon\";\r\nimport { startTransition, useEffect, useMemo, useState } from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\n\r\ntype QuickRangeKey =\r\n | \"today\"\r\n | \"yesterday\"\r\n | \"last7\"\r\n | \"last30\"\r\n | \"thisWeek\"\r\n | \"lastWeek\"\r\n | \"thisMonth\"\r\n | \"lastMonth\"\r\n | \"thisYear\"\r\n | \"lastYear\";\r\n\r\nconst toCalendarDate = (dt: DateTime): CalendarDate => new CalendarDate(dt.year, dt.month, dt.day);\r\n\r\nconst isSameCalendarDate = (a: CalendarDate, b: CalendarDate) =>\r\n a.year === b.year && a.month === b.month && a.day === b.day;\r\n\r\nexport interface RangeNuqsDatePickerProps {\r\n /**\r\n * The column ID to use for the date filter (e.g., \"startedAt\")\r\n */\r\n columnId?: string;\r\n /**\r\n * The end column ID for range filters (e.g., \"endedAt\")\r\n */\r\n endColumnId?: string;\r\n /**\r\n * Label for the date range picker\r\n */\r\n dateRangeLabel?: string;\r\n /**\r\n * Label for the quick range selector\r\n */\r\n quickRangeLabel?: string;\r\n /**\r\n * Translation namespace for i18n\r\n */\r\n translationNamespace?: string;\r\n /**\r\n * Whether to show quick range selector\r\n */\r\n showQuickRange?: boolean;\r\n /**\r\n * Custom className for the container\r\n */\r\n className?: string;\r\n}\r\n\r\nexport const RangeNuqsDatePicker = ({\r\n columnId = \"startedAt\",\r\n endColumnId = \"endedAt\",\r\n dateRangeLabel,\r\n quickRangeLabel,\r\n translationNamespace = \"horecaai-app\",\r\n showQuickRange = true,\r\n className,\r\n}: RangeNuqsDatePickerProps) => {\r\n const { t } = useTranslation();\r\n const { filters, setFilters } = useNuqsQueryParams();\r\n\r\n const [quickRange, setQuickRange] = useState<QuickRangeKey | null>(null);\r\n const [hasInitialized, setHasInitialized] = useState(false);\r\n\r\n // Extract date range from filters using shared helper\r\n const dateRange = useMemo(() => {\r\n return dateFilterToRangeValue(filters, columnId);\r\n }, [filters, columnId]);\r\n\r\n const [localRange, setLocalRange] = useState<RangeValue<DateValue> | null | undefined>(dateRange);\r\n\r\n useEffect(() => {\r\n setLocalRange(dateRange);\r\n }, [dateRange]);\r\n\r\n const todayIso = DateTime.utc().toISODate();\r\n\r\n const quickRangeOptions = useMemo(() => {\r\n const now = DateTime.utc();\r\n const todayStart = now.startOf(\"day\");\r\n const weekStart = todayStart.startOf(\"week\");\r\n const monthStart = todayStart.startOf(\"month\");\r\n const lastWeekStart = weekStart.minus({ weeks: 1 });\r\n const lastMonthStart = monthStart.minus({ months: 1 });\r\n const yearStart = todayStart.startOf(\"year\");\r\n const lastYearStart = yearStart.minus({ years: 1 });\r\n\r\n const options: { key: QuickRangeKey; label: string; start: DateTime; end: DateTime }[] = [\r\n {\r\n key: \"today\",\r\n label: t(`${translationNamespace}:reports.quickRange.today`, { defaultValue: \"Today\" }),\r\n start: todayStart,\r\n end: todayStart,\r\n },\r\n {\r\n key: \"yesterday\",\r\n label: t(`${translationNamespace}:reports.quickRange.yesterday`, {\r\n defaultValue: \"Yesterday\",\r\n }),\r\n start: todayStart.minus({ days: 1 }),\r\n end: todayStart.minus({ days: 1 }),\r\n },\r\n {\r\n key: \"last7\",\r\n label: t(`${translationNamespace}:reports.quickRange.last7`, {\r\n defaultValue: \"Last 7 days\",\r\n }),\r\n start: todayStart.minus({ days: 6 }),\r\n end: todayStart,\r\n },\r\n {\r\n key: \"last30\",\r\n label: t(`${translationNamespace}:reports.quickRange.last30`, {\r\n defaultValue: \"Last 30 days\",\r\n }),\r\n start: todayStart.minus({ days: 29 }),\r\n end: todayStart,\r\n },\r\n {\r\n key: \"thisWeek\",\r\n label: t(`${translationNamespace}:reports.quickRange.thisWeek`, {\r\n defaultValue: \"This week\",\r\n }),\r\n start: weekStart,\r\n end: todayStart,\r\n },\r\n {\r\n key: \"lastWeek\",\r\n label: t(`${translationNamespace}:reports.quickRange.lastWeek`, {\r\n defaultValue: \"Last week\",\r\n }),\r\n start: lastWeekStart,\r\n end: lastWeekStart.plus({ days: 6 }),\r\n },\r\n {\r\n key: \"thisMonth\",\r\n label: t(`${translationNamespace}:reports.quickRange.thisMonth`, {\r\n defaultValue: \"This month\",\r\n }),\r\n start: monthStart,\r\n end: todayStart,\r\n },\r\n {\r\n key: \"lastMonth\",\r\n label: t(`${translationNamespace}:reports.quickRange.lastMonth`, {\r\n defaultValue: \"Last month\",\r\n }),\r\n start: lastMonthStart,\r\n end: lastMonthStart.endOf(\"month\"),\r\n },\r\n {\r\n key: \"thisYear\",\r\n label: t(`${translationNamespace}:reports.quickRange.thisYear`, {\r\n defaultValue: \"This year\",\r\n }),\r\n start: yearStart,\r\n end: todayStart,\r\n },\r\n {\r\n key: \"lastYear\",\r\n label: t(`${translationNamespace}:reports.quickRange.lastYear`, {\r\n defaultValue: \"Last year\",\r\n }),\r\n start: lastYearStart,\r\n end: lastYearStart.endOf(\"year\"),\r\n },\r\n ];\r\n\r\n return options.map((opt) => ({\r\n key: opt.key,\r\n label: opt.label,\r\n range: {\r\n start: toCalendarDate(opt.start),\r\n end: toCalendarDate(opt.end),\r\n },\r\n }));\r\n }, [t, todayIso, translationNamespace]);\r\n\r\n // Set default to \"this month\" on initial load if no date range is set\r\n useEffect(() => {\r\n if (hasInitialized || !setFilters) return;\r\n\r\n // Check if there's already a valid date range from URL\r\n if (dateRange) {\r\n setHasInitialized(true);\r\n return;\r\n }\r\n\r\n // No date range set, initialize to \"this month\"\r\n const thisMonthOption = quickRangeOptions.find((opt) => opt.key === \"thisMonth\");\r\n if (thisMonthOption) {\r\n setHasInitialized(true);\r\n setQuickRange(\"thisMonth\");\r\n\r\n // Set filters directly for \"this month\" range\r\n const startDate = thisMonthOption.range.start;\r\n const endDate = thisMonthOption.range.end;\r\n\r\n const newFilters: QueryFilters = [\r\n ...(filters?.filter((f) => f.columnId !== columnId && f.columnId !== endColumnId) ?? []),\r\n {\r\n columnId,\r\n type: \"date\" as const,\r\n method: \"intersect\" as const,\r\n value: calendarDateToUTC(startDate),\r\n valueTo: calendarDateToEndOfDayUTC(endDate),\r\n endColumnId,\r\n },\r\n ];\r\n\r\n setFilters(newFilters);\r\n }\r\n }, [dateRange, columnId, endColumnId, quickRangeOptions, hasInitialized, setFilters]);\r\n\r\n useEffect(() => {\r\n // Don't sync quickRange if we're still initializing\r\n if (!hasInitialized) return;\r\n\r\n if (!dateRange?.start || !dateRange?.end) {\r\n setQuickRange(null);\r\n return;\r\n }\r\n\r\n const start = dateRange.start as unknown as CalendarDate;\r\n const end = dateRange.end as unknown as CalendarDate;\r\n\r\n const matches = quickRangeOptions.filter(\r\n (option) =>\r\n isSameCalendarDate(option.range.start, start) && isSameCalendarDate(option.range.end, end)\r\n );\r\n\r\n if (matches.length === 0) {\r\n setQuickRange(null);\r\n return;\r\n }\r\n\r\n // If the current quick range still matches, keep it\r\n const currentStillMatches = quickRange ? matches.find((m) => m.key === quickRange) : null;\r\n if (currentStillMatches) {\r\n return;\r\n }\r\n\r\n // Otherwise pick the highest-priority match to keep intent (week/month over last7 overlap)\r\n const priority: QuickRangeKey[] = [\r\n \"today\",\r\n \"yesterday\",\r\n \"thisWeek\",\r\n \"lastWeek\",\r\n \"thisMonth\",\r\n \"lastMonth\",\r\n \"last7\",\r\n \"last30\",\r\n ];\r\n const preferred =\r\n priority.map((key) => matches.find((m) => m.key === key)).find((m) => Boolean(m)) ??\r\n matches[0];\r\n\r\n setQuickRange(preferred?.key ?? null);\r\n }, [dateRange, quickRangeOptions, quickRange, hasInitialized]);\r\n\r\n // Handle date range changes\r\n const handleDateRangeChange = (range: RangeValue<DateValue> | null) => {\r\n if (!setFilters) return;\r\n\r\n if (range === null) {\r\n // Explicit clear — remove date filters\r\n const newFilters =\r\n filters?.filter((f) => f.columnId !== columnId && f.columnId !== endColumnId) ?? [];\r\n startTransition(() => setFilters(newFilters));\r\n return;\r\n }\r\n\r\n // Incomplete range (e.g. only start selected mid-calendar-selection) — keep current filters\r\n if (!range.start || !range.end) return;\r\n\r\n // Use intersect to find records where [startedAt, endedAt] overlaps with the selected range\r\n // This includes ongoing records (endedAt = NULL) and records that overlap the range\r\n const startDate = range.start as unknown as CalendarDate;\r\n const endDate = range.end as unknown as CalendarDate;\r\n\r\n const newFilters: QueryFilters = [\r\n ...(filters?.filter((f) => f.columnId !== columnId && f.columnId !== endColumnId) ?? []),\r\n {\r\n columnId,\r\n type: \"date\" as const,\r\n method: \"intersect\" as const,\r\n value: calendarDateToUTC(startDate),\r\n valueTo: calendarDateToEndOfDayUTC(endDate),\r\n endColumnId,\r\n },\r\n ];\r\n\r\n startTransition(() => setFilters(newFilters));\r\n };\r\n\r\n const handleQuickRangeChange = (key: QuickRangeKey | null) => {\r\n if (!key) {\r\n setQuickRange(null);\r\n return;\r\n }\r\n\r\n const option = quickRangeOptions.find((opt) => opt.key === key);\r\n if (!option) return;\r\n\r\n setQuickRange(key);\r\n handleDateRangeChange({\r\n start: option.range.start as unknown as DateValue,\r\n end: option.range.end as unknown as DateValue,\r\n });\r\n };\r\n\r\n return (\r\n <div className={`flex gap-4 flex-row ${className ?? \"\"}`}>\r\n <div className=\"flex flex-col gap-2\">\r\n <span className=\"text-sm text-muted-foreground\">\r\n {dateRangeLabel ??\r\n t(`${translationNamespace}:reports.dateRange`, { defaultValue: \"Date range\" })}\r\n </span>\r\n <DateRangePicker\r\n aria-label=\"Date range\"\r\n value={(localRange as any) ?? undefined}\r\n onChange={setLocalRange}\r\n onBlur={() => {\r\n if (localRange !== undefined) {\r\n handleDateRangeChange(localRange);\r\n }\r\n }}\r\n className=\"w-[300px]\"\r\n granularity=\"day\"\r\n showMonthAndYearPickers\r\n maxValue={today(getLocalTimeZone()) as unknown as DateValue}\r\n popoverProps={{\r\n portalContainer: document.body,\r\n disableAnimation: true,\r\n }}\r\n />\r\n </div>\r\n {showQuickRange && (\r\n <div className=\"flex flex-col gap-2\">\r\n <span className=\"text-sm text-muted-foreground\">\r\n {quickRangeLabel ??\r\n t(`${translationNamespace}:reports.quickRange.label`, {\r\n defaultValue: \"Quick range\",\r\n })}\r\n </span>\r\n <Select\r\n selectedKeys={quickRange ? [quickRange] : []}\r\n onChange={(e) => handleQuickRangeChange((e.target.value as QuickRangeKey) ?? null)}\r\n className=\"w-[300px]\"\r\n popoverProps={{\r\n portalContainer: document.body,\r\n }}\r\n >\r\n {quickRangeOptions.map((option) => (\r\n <SelectItem key={option.key}>{option.label}</SelectItem>\r\n ))}\r\n </Select>\r\n </div>\r\n )}\r\n </div>\r\n );\r\n};\r\n"],"mappings":";;;;;;;;;AA+BA,MAAM,kBAAkB,OAA+B,IAAI,aAAa,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI;AAElG,MAAM,sBAAsB,GAAiB,MAC3C,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE;AAiC1D,MAAa,uBAAuB,EAClC,WAAW,aACX,cAAc,WACd,gBACA,iBACA,uBAAuB,gBACvB,iBAAiB,MACjB,gBAC8B;CAC9B,MAAM,EAAE,MAAM,gBAAgB;CAC9B,MAAM,EAAE,SAAS,eAAe,oBAAoB;CAEpD,MAAM,CAAC,YAAY,iBAAiB,SAA+B,KAAK;CACxE,MAAM,CAAC,gBAAgB,qBAAqB,SAAS,MAAM;CAG3D,MAAM,YAAY,cAAc;AAC9B,SAAO,uBAAuB,SAAS,SAAS;IAC/C,CAAC,SAAS,SAAS,C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+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
+
3
+ //#region src/modules/auth/components/ResetPasswordForm.d.ts
4
+ declare function ResetPasswordForm(): _$react_jsx_runtime0.JSX.Element;
5
+ //#endregion
6
+ export { ResetPasswordForm };
7
+ //# sourceMappingURL=ResetPasswordForm.d.ts.map