eai-frontend-components 2.0.4

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 (687) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +299 -0
  3. package/dist/components/accordion.d.ts +8 -0
  4. package/dist/components/accordion.d.ts.map +1 -0
  5. package/dist/components/accordion.js +13 -0
  6. package/dist/components/alert-dialog.d.ts +25 -0
  7. package/dist/components/alert-dialog.d.ts.map +1 -0
  8. package/dist/components/alert-dialog.js +27 -0
  9. package/dist/components/alert.d.ts +9 -0
  10. package/dist/components/alert.d.ts.map +1 -0
  11. package/dist/components/alert.js +22 -0
  12. package/dist/components/avatar.d.ts +7 -0
  13. package/dist/components/avatar.d.ts.map +1 -0
  14. package/dist/components/avatar.js +11 -0
  15. package/dist/components/badge.d.ts +10 -0
  16. package/dist/components/badge.d.ts.map +1 -0
  17. package/dist/components/badge.js +26 -0
  18. package/dist/components/breadcrumb.d.ts +20 -0
  19. package/dist/components/breadcrumb.d.ts.map +1 -0
  20. package/dist/components/breadcrumb.js +23 -0
  21. package/dist/components/button.d.ts +12 -0
  22. package/dist/components/button.d.ts.map +1 -0
  23. package/dist/components/button.js +33 -0
  24. package/dist/components/calendar.d.ts +9 -0
  25. package/dist/components/calendar.d.ts.map +1 -0
  26. package/dist/components/calendar.js +70 -0
  27. package/dist/components/card.d.ts +9 -0
  28. package/dist/components/card.d.ts.map +1 -0
  29. package/dist/components/card.js +16 -0
  30. package/dist/components/carousel.d.ts +19 -0
  31. package/dist/components/carousel.d.ts.map +1 -0
  32. package/dist/components/carousel.js +98 -0
  33. package/dist/components/chart.d.ts +63 -0
  34. package/dist/components/chart.d.ts.map +1 -0
  35. package/dist/components/chart.js +130 -0
  36. package/dist/components/checkbox.d.ts +5 -0
  37. package/dist/components/checkbox.d.ts.map +1 -0
  38. package/dist/components/checkbox.js +8 -0
  39. package/dist/components/collapsible.d.ts +6 -0
  40. package/dist/components/collapsible.d.ts.map +1 -0
  41. package/dist/components/collapsible.js +5 -0
  42. package/dist/components/command.d.ts +81 -0
  43. package/dist/components/command.d.ts.map +1 -0
  44. package/dist/components/command.js +28 -0
  45. package/dist/components/context-menu.d.ts +28 -0
  46. package/dist/components/context-menu.d.ts.map +1 -0
  47. package/dist/components/context-menu.js +33 -0
  48. package/dist/components/custom/date-picker.d.ts +12 -0
  49. package/dist/components/custom/date-picker.d.ts.map +1 -0
  50. package/dist/components/custom/date-picker.js +35 -0
  51. package/dist/components/custom/form/checkbox.d.ts +13 -0
  52. package/dist/components/custom/form/checkbox.d.ts.map +1 -0
  53. package/dist/components/custom/form/checkbox.js +15 -0
  54. package/dist/components/custom/form/color.d.ts +15 -0
  55. package/dist/components/custom/form/color.d.ts.map +1 -0
  56. package/dist/components/custom/form/color.js +40 -0
  57. package/dist/components/custom/form/combobox.d.ts +37 -0
  58. package/dist/components/custom/form/combobox.d.ts.map +1 -0
  59. package/dist/components/custom/form/combobox.js +82 -0
  60. package/dist/components/custom/form/cpf-cnpj.d.ts +16 -0
  61. package/dist/components/custom/form/cpf-cnpj.d.ts.map +1 -0
  62. package/dist/components/custom/form/cpf-cnpj.js +32 -0
  63. package/dist/components/custom/form/currency.d.ts +14 -0
  64. package/dist/components/custom/form/currency.d.ts.map +1 -0
  65. package/dist/components/custom/form/currency.js +15 -0
  66. package/dist/components/custom/form/date-range.d.ts +16 -0
  67. package/dist/components/custom/form/date-range.d.ts.map +1 -0
  68. package/dist/components/custom/form/date-range.js +24 -0
  69. package/dist/components/custom/form/date.d.ts +16 -0
  70. package/dist/components/custom/form/date.d.ts.map +1 -0
  71. package/dist/components/custom/form/date.js +35 -0
  72. package/dist/components/custom/form/decimal.d.ts +14 -0
  73. package/dist/components/custom/form/decimal.d.ts.map +1 -0
  74. package/dist/components/custom/form/decimal.js +15 -0
  75. package/dist/components/custom/form/file.d.ts +15 -0
  76. package/dist/components/custom/form/file.d.ts.map +1 -0
  77. package/dist/components/custom/form/file.js +18 -0
  78. package/dist/components/custom/form/form-help-text.d.ts +3 -0
  79. package/dist/components/custom/form/form-help-text.d.ts.map +1 -0
  80. package/dist/components/custom/form/form-help-text.js +7 -0
  81. package/dist/components/custom/form/form-label.d.ts +4 -0
  82. package/dist/components/custom/form/form-label.d.ts.map +1 -0
  83. package/dist/components/custom/form/form-label.js +9 -0
  84. package/dist/components/custom/form/form-message.d.ts +3 -0
  85. package/dist/components/custom/form/form-message.d.ts.map +1 -0
  86. package/dist/components/custom/form/form-message.js +5 -0
  87. package/dist/components/custom/form/ghost.d.ts +8 -0
  88. package/dist/components/custom/form/ghost.d.ts.map +1 -0
  89. package/dist/components/custom/form/ghost.js +8 -0
  90. package/dist/components/custom/form/input.d.ts +18 -0
  91. package/dist/components/custom/form/input.d.ts.map +1 -0
  92. package/dist/components/custom/form/input.js +14 -0
  93. package/dist/components/custom/form/mask.d.ts +19 -0
  94. package/dist/components/custom/form/mask.d.ts.map +1 -0
  95. package/dist/components/custom/form/mask.js +19 -0
  96. package/dist/components/custom/form/multi-select-old.d.ts +19 -0
  97. package/dist/components/custom/form/multi-select-old.d.ts.map +1 -0
  98. package/dist/components/custom/form/multi-select-old.js +30 -0
  99. package/dist/components/custom/form/multi-select.d.ts +26 -0
  100. package/dist/components/custom/form/multi-select.d.ts.map +1 -0
  101. package/dist/components/custom/form/multi-select.js +66 -0
  102. package/dist/components/custom/form/password.d.ts +16 -0
  103. package/dist/components/custom/form/password.d.ts.map +1 -0
  104. package/dist/components/custom/form/password.js +14 -0
  105. package/dist/components/custom/form/percent.d.ts +14 -0
  106. package/dist/components/custom/form/percent.d.ts.map +1 -0
  107. package/dist/components/custom/form/percent.js +15 -0
  108. package/dist/components/custom/form/phone.d.ts +16 -0
  109. package/dist/components/custom/form/phone.d.ts.map +1 -0
  110. package/dist/components/custom/form/phone.js +23 -0
  111. package/dist/components/custom/form/radio-group.d.ts +23 -0
  112. package/dist/components/custom/form/radio-group.d.ts.map +1 -0
  113. package/dist/components/custom/form/radio-group.js +15 -0
  114. package/dist/components/custom/form/select.d.ts +20 -0
  115. package/dist/components/custom/form/select.d.ts.map +1 -0
  116. package/dist/components/custom/form/select.js +12 -0
  117. package/dist/components/custom/form/step-new-form.d.ts +10 -0
  118. package/dist/components/custom/form/step-new-form.d.ts.map +1 -0
  119. package/dist/components/custom/form/step-new-form.js +13 -0
  120. package/dist/components/custom/form/switch.d.ts +13 -0
  121. package/dist/components/custom/form/switch.d.ts.map +1 -0
  122. package/dist/components/custom/form/switch.js +16 -0
  123. package/dist/components/custom/form/text.d.ts +18 -0
  124. package/dist/components/custom/form/text.d.ts.map +1 -0
  125. package/dist/components/custom/form/text.js +14 -0
  126. package/dist/components/custom/form/textarea.d.ts +16 -0
  127. package/dist/components/custom/form/textarea.d.ts.map +1 -0
  128. package/dist/components/custom/form/textarea.js +19 -0
  129. package/dist/components/custom/form/utils.d.ts +18 -0
  130. package/dist/components/custom/form/utils.d.ts.map +1 -0
  131. package/dist/components/custom/form/utils.js +88 -0
  132. package/dist/components/custom/header.d.ts +3 -0
  133. package/dist/components/custom/header.d.ts.map +1 -0
  134. package/dist/components/custom/header.js +94 -0
  135. package/dist/components/custom/label.d.ts +13 -0
  136. package/dist/components/custom/label.d.ts.map +1 -0
  137. package/dist/components/custom/label.js +20 -0
  138. package/dist/components/custom/not-found.d.ts +3 -0
  139. package/dist/components/custom/not-found.d.ts.map +1 -0
  140. package/dist/components/custom/not-found.js +9 -0
  141. package/dist/components/custom/sidebar/app-sidebar.d.ts +5 -0
  142. package/dist/components/custom/sidebar/app-sidebar.d.ts.map +1 -0
  143. package/dist/components/custom/sidebar/app-sidebar.js +26 -0
  144. package/dist/components/custom/sidebar/module-switcher.d.ts +3 -0
  145. package/dist/components/custom/sidebar/module-switcher.d.ts.map +1 -0
  146. package/dist/components/custom/sidebar/module-switcher.js +55 -0
  147. package/dist/components/custom/sidebar/nav-footer.d.ts +3 -0
  148. package/dist/components/custom/sidebar/nav-footer.d.ts.map +1 -0
  149. package/dist/components/custom/sidebar/nav-footer.js +17 -0
  150. package/dist/components/custom/sidebar/nav-main.d.ts +3 -0
  151. package/dist/components/custom/sidebar/nav-main.d.ts.map +1 -0
  152. package/dist/components/custom/sidebar/nav-main.js +32 -0
  153. package/dist/components/custom/sidebar/nav-submenu-collapsible.d.ts +9 -0
  154. package/dist/components/custom/sidebar/nav-submenu-collapsible.d.ts.map +1 -0
  155. package/dist/components/custom/sidebar/nav-submenu-collapsible.js +21 -0
  156. package/dist/components/custom/sidebar/nav-submenu-dropdown.d.ts +10 -0
  157. package/dist/components/custom/sidebar/nav-submenu-dropdown.d.ts.map +1 -0
  158. package/dist/components/custom/sidebar/nav-submenu-dropdown.js +13 -0
  159. package/dist/components/custom/sidebar/nav-user.d.ts +3 -0
  160. package/dist/components/custom/sidebar/nav-user.d.ts.map +1 -0
  161. package/dist/components/custom/sidebar/nav-user.js +51 -0
  162. package/dist/components/custom/sidebar/sidebar-button.d.ts +9 -0
  163. package/dist/components/custom/sidebar/sidebar-button.d.ts.map +1 -0
  164. package/dist/components/custom/sidebar/sidebar-button.js +7 -0
  165. package/dist/components/custom/sidebar/sidebar-item-two-lines.d.ts +12 -0
  166. package/dist/components/custom/sidebar/sidebar-item-two-lines.d.ts.map +1 -0
  167. package/dist/components/custom/sidebar/sidebar-item-two-lines.js +5 -0
  168. package/dist/components/custom/sidebar/sidebar-item.d.ts +9 -0
  169. package/dist/components/custom/sidebar/sidebar-item.d.ts.map +1 -0
  170. package/dist/components/custom/sidebar/sidebar-item.js +7 -0
  171. package/dist/components/custom/sidebar/types/sidebar.d.ts +29 -0
  172. package/dist/components/custom/sidebar/types/sidebar.d.ts.map +1 -0
  173. package/dist/components/custom/sidebar/types/sidebar.js +5 -0
  174. package/dist/components/custom/table/data-table-export.d.ts +8 -0
  175. package/dist/components/custom/table/data-table-export.d.ts.map +1 -0
  176. package/dist/components/custom/table/data-table-export.js +65 -0
  177. package/dist/components/custom/table/data-table-footer.d.ts +25 -0
  178. package/dist/components/custom/table/data-table-footer.d.ts.map +1 -0
  179. package/dist/components/custom/table/data-table-footer.js +39 -0
  180. package/dist/components/custom/table/data-table-header.d.ts +9 -0
  181. package/dist/components/custom/table/data-table-header.d.ts.map +1 -0
  182. package/dist/components/custom/table/data-table-header.js +11 -0
  183. package/dist/components/custom/table/data-table-rows.d.ts +13 -0
  184. package/dist/components/custom/table/data-table-rows.d.ts.map +1 -0
  185. package/dist/components/custom/table/data-table-rows.js +25 -0
  186. package/dist/components/custom/table/data-table.d.ts +35 -0
  187. package/dist/components/custom/table/data-table.d.ts.map +1 -0
  188. package/dist/components/custom/table/data-table.js +99 -0
  189. package/dist/components/custom/table/types/data-table.d.ts +29 -0
  190. package/dist/components/custom/table/types/data-table.d.ts.map +1 -0
  191. package/dist/components/custom/table/types/data-table.js +1 -0
  192. package/dist/components/custom/theme-provider.d.ts +24 -0
  193. package/dist/components/custom/theme-provider.d.ts.map +1 -0
  194. package/dist/components/custom/theme-provider.js +79 -0
  195. package/dist/components/dateRangePicker.d.ts +3 -0
  196. package/dist/components/dateRangePicker.d.ts.map +1 -0
  197. package/dist/components/dateRangePicker.js +15 -0
  198. package/dist/components/dialog.d.ts +23 -0
  199. package/dist/components/dialog.d.ts.map +1 -0
  200. package/dist/components/dialog.js +23 -0
  201. package/dist/components/drawer.d.ts +23 -0
  202. package/dist/components/drawer.d.ts.map +1 -0
  203. package/dist/components/drawer.js +22 -0
  204. package/dist/components/dropdown-menu.d.ts +28 -0
  205. package/dist/components/dropdown-menu.d.ts.map +1 -0
  206. package/dist/components/dropdown-menu.js +32 -0
  207. package/dist/components/form.d.ts +24 -0
  208. package/dist/components/form.d.ts.map +1 -0
  209. package/dist/components/form.js +60 -0
  210. package/dist/components/hover-card.d.ts +7 -0
  211. package/dist/components/hover-card.d.ts.map +1 -0
  212. package/dist/components/hover-card.js +9 -0
  213. package/dist/components/input.d.ts +24 -0
  214. package/dist/components/input.d.ts.map +1 -0
  215. package/dist/components/input.js +71 -0
  216. package/dist/components/label.d.ts +6 -0
  217. package/dist/components/label.d.ts.map +1 -0
  218. package/dist/components/label.js +9 -0
  219. package/dist/components/masks.d.ts +17 -0
  220. package/dist/components/masks.d.ts.map +1 -0
  221. package/dist/components/masks.js +25 -0
  222. package/dist/components/pagination.d.ts +30 -0
  223. package/dist/components/pagination.d.ts.map +1 -0
  224. package/dist/components/pagination.js +23 -0
  225. package/dist/components/popover.d.ts +7 -0
  226. package/dist/components/popover.d.ts.map +1 -0
  227. package/dist/components/popover.js +11 -0
  228. package/dist/components/progress.d.ts +5 -0
  229. package/dist/components/progress.d.ts.map +1 -0
  230. package/dist/components/progress.js +7 -0
  231. package/dist/components/radio-group.d.ts +6 -0
  232. package/dist/components/radio-group.d.ts.map +1 -0
  233. package/dist/components/radio-group.js +14 -0
  234. package/dist/components/scroll-area.d.ts +6 -0
  235. package/dist/components/scroll-area.d.ts.map +1 -0
  236. package/dist/components/scroll-area.js +11 -0
  237. package/dist/components/select.d.ts +14 -0
  238. package/dist/components/select.d.ts.map +1 -0
  239. package/dist/components/select.js +24 -0
  240. package/dist/components/separator.d.ts +5 -0
  241. package/dist/components/separator.d.ts.map +1 -0
  242. package/dist/components/separator.js +7 -0
  243. package/dist/components/sheet.d.ts +26 -0
  244. package/dist/components/sheet.d.ts.map +1 -0
  245. package/dist/components/sheet.js +37 -0
  246. package/dist/components/sidebar.d.ts +67 -0
  247. package/dist/components/sidebar.d.ts.map +1 -0
  248. package/dist/components/sidebar.js +221 -0
  249. package/dist/components/skeleton.d.ts +3 -0
  250. package/dist/components/skeleton.d.ts.map +1 -0
  251. package/dist/components/skeleton.js +6 -0
  252. package/dist/components/slider.d.ts +5 -0
  253. package/dist/components/slider.d.ts.map +1 -0
  254. package/dist/components/slider.js +7 -0
  255. package/dist/components/switch.d.ts +5 -0
  256. package/dist/components/switch.d.ts.map +1 -0
  257. package/dist/components/switch.js +7 -0
  258. package/dist/components/table.d.ts +11 -0
  259. package/dist/components/table.d.ts.map +1 -0
  260. package/dist/components/table.js +20 -0
  261. package/dist/components/tabs.d.ts +8 -0
  262. package/dist/components/tabs.d.ts.map +1 -0
  263. package/dist/components/tabs.js +12 -0
  264. package/dist/components/textarea.d.ts +4 -0
  265. package/dist/components/textarea.d.ts.map +1 -0
  266. package/dist/components/textarea.js +14 -0
  267. package/dist/components/toast.d.ts +16 -0
  268. package/dist/components/toast.d.ts.map +1 -0
  269. package/dist/components/toast.js +34 -0
  270. package/dist/components/toaster.d.ts +2 -0
  271. package/dist/components/toaster.d.ts.map +1 -0
  272. package/dist/components/toaster.js +21 -0
  273. package/dist/components/tooltip.d.ts +8 -0
  274. package/dist/components/tooltip.d.ts.map +1 -0
  275. package/dist/components/tooltip.js +10 -0
  276. package/dist/components/ui/accordion.d.ts +8 -0
  277. package/dist/components/ui/accordion.d.ts.map +1 -0
  278. package/dist/components/ui/accordion.js +13 -0
  279. package/dist/components/ui/alert-dialog.d.ts +25 -0
  280. package/dist/components/ui/alert-dialog.d.ts.map +1 -0
  281. package/dist/components/ui/alert-dialog.js +27 -0
  282. package/dist/components/ui/alert.d.ts +9 -0
  283. package/dist/components/ui/alert.d.ts.map +1 -0
  284. package/dist/components/ui/alert.js +22 -0
  285. package/dist/components/ui/avatar.d.ts +7 -0
  286. package/dist/components/ui/avatar.d.ts.map +1 -0
  287. package/dist/components/ui/avatar.js +11 -0
  288. package/dist/components/ui/badge.d.ts +10 -0
  289. package/dist/components/ui/badge.d.ts.map +1 -0
  290. package/dist/components/ui/badge.js +26 -0
  291. package/dist/components/ui/breadcrumb.d.ts +20 -0
  292. package/dist/components/ui/breadcrumb.d.ts.map +1 -0
  293. package/dist/components/ui/breadcrumb.js +23 -0
  294. package/dist/components/ui/button.d.ts +12 -0
  295. package/dist/components/ui/button.d.ts.map +1 -0
  296. package/dist/components/ui/button.js +33 -0
  297. package/dist/components/ui/calendar.d.ts +9 -0
  298. package/dist/components/ui/calendar.d.ts.map +1 -0
  299. package/dist/components/ui/calendar.js +70 -0
  300. package/dist/components/ui/card.d.ts +9 -0
  301. package/dist/components/ui/card.d.ts.map +1 -0
  302. package/dist/components/ui/card.js +16 -0
  303. package/dist/components/ui/carousel.d.ts +19 -0
  304. package/dist/components/ui/carousel.d.ts.map +1 -0
  305. package/dist/components/ui/carousel.js +98 -0
  306. package/dist/components/ui/chart.d.ts +63 -0
  307. package/dist/components/ui/chart.d.ts.map +1 -0
  308. package/dist/components/ui/chart.js +130 -0
  309. package/dist/components/ui/checkbox.d.ts +5 -0
  310. package/dist/components/ui/checkbox.d.ts.map +1 -0
  311. package/dist/components/ui/checkbox.js +8 -0
  312. package/dist/components/ui/collapsible.d.ts +6 -0
  313. package/dist/components/ui/collapsible.d.ts.map +1 -0
  314. package/dist/components/ui/collapsible.js +5 -0
  315. package/dist/components/ui/command.d.ts +81 -0
  316. package/dist/components/ui/command.d.ts.map +1 -0
  317. package/dist/components/ui/command.js +28 -0
  318. package/dist/components/ui/context-menu.d.ts +28 -0
  319. package/dist/components/ui/context-menu.d.ts.map +1 -0
  320. package/dist/components/ui/context-menu.js +33 -0
  321. package/dist/components/ui/custom/date-picker.d.ts +12 -0
  322. package/dist/components/ui/custom/date-picker.d.ts.map +1 -0
  323. package/dist/components/ui/custom/date-picker.js +35 -0
  324. package/dist/components/ui/custom/form/checkbox.d.ts +13 -0
  325. package/dist/components/ui/custom/form/checkbox.d.ts.map +1 -0
  326. package/dist/components/ui/custom/form/checkbox.js +15 -0
  327. package/dist/components/ui/custom/form/color.d.ts +15 -0
  328. package/dist/components/ui/custom/form/color.d.ts.map +1 -0
  329. package/dist/components/ui/custom/form/color.js +40 -0
  330. package/dist/components/ui/custom/form/combobox.d.ts +37 -0
  331. package/dist/components/ui/custom/form/combobox.d.ts.map +1 -0
  332. package/dist/components/ui/custom/form/combobox.js +82 -0
  333. package/dist/components/ui/custom/form/cpf-cnpj.d.ts +16 -0
  334. package/dist/components/ui/custom/form/cpf-cnpj.d.ts.map +1 -0
  335. package/dist/components/ui/custom/form/cpf-cnpj.js +32 -0
  336. package/dist/components/ui/custom/form/currency.d.ts +14 -0
  337. package/dist/components/ui/custom/form/currency.d.ts.map +1 -0
  338. package/dist/components/ui/custom/form/currency.js +15 -0
  339. package/dist/components/ui/custom/form/date-range.d.ts +16 -0
  340. package/dist/components/ui/custom/form/date-range.d.ts.map +1 -0
  341. package/dist/components/ui/custom/form/date-range.js +24 -0
  342. package/dist/components/ui/custom/form/date.d.ts +16 -0
  343. package/dist/components/ui/custom/form/date.d.ts.map +1 -0
  344. package/dist/components/ui/custom/form/date.js +35 -0
  345. package/dist/components/ui/custom/form/decimal.d.ts +14 -0
  346. package/dist/components/ui/custom/form/decimal.d.ts.map +1 -0
  347. package/dist/components/ui/custom/form/decimal.js +15 -0
  348. package/dist/components/ui/custom/form/file.d.ts +15 -0
  349. package/dist/components/ui/custom/form/file.d.ts.map +1 -0
  350. package/dist/components/ui/custom/form/file.js +18 -0
  351. package/dist/components/ui/custom/form/form-help-text.d.ts +3 -0
  352. package/dist/components/ui/custom/form/form-help-text.d.ts.map +1 -0
  353. package/dist/components/ui/custom/form/form-help-text.js +7 -0
  354. package/dist/components/ui/custom/form/form-label.d.ts +7 -0
  355. package/dist/components/ui/custom/form/form-label.d.ts.map +1 -0
  356. package/dist/components/ui/custom/form/form-label.js +9 -0
  357. package/dist/components/ui/custom/form/form-message.d.ts +5 -0
  358. package/dist/components/ui/custom/form/form-message.d.ts.map +1 -0
  359. package/dist/components/ui/custom/form/form-message.js +5 -0
  360. package/dist/components/ui/custom/form/ghost.d.ts +8 -0
  361. package/dist/components/ui/custom/form/ghost.d.ts.map +1 -0
  362. package/dist/components/ui/custom/form/ghost.js +8 -0
  363. package/dist/components/ui/custom/form/input.d.ts +18 -0
  364. package/dist/components/ui/custom/form/input.d.ts.map +1 -0
  365. package/dist/components/ui/custom/form/input.js +14 -0
  366. package/dist/components/ui/custom/form/mask.d.ts +19 -0
  367. package/dist/components/ui/custom/form/mask.d.ts.map +1 -0
  368. package/dist/components/ui/custom/form/mask.js +19 -0
  369. package/dist/components/ui/custom/form/multi-select-old.d.ts +19 -0
  370. package/dist/components/ui/custom/form/multi-select-old.d.ts.map +1 -0
  371. package/dist/components/ui/custom/form/multi-select-old.js +30 -0
  372. package/dist/components/ui/custom/form/multi-select.d.ts +26 -0
  373. package/dist/components/ui/custom/form/multi-select.d.ts.map +1 -0
  374. package/dist/components/ui/custom/form/multi-select.js +66 -0
  375. package/dist/components/ui/custom/form/password.d.ts +16 -0
  376. package/dist/components/ui/custom/form/password.d.ts.map +1 -0
  377. package/dist/components/ui/custom/form/password.js +14 -0
  378. package/dist/components/ui/custom/form/percent.d.ts +14 -0
  379. package/dist/components/ui/custom/form/percent.d.ts.map +1 -0
  380. package/dist/components/ui/custom/form/percent.js +15 -0
  381. package/dist/components/ui/custom/form/phone.d.ts +16 -0
  382. package/dist/components/ui/custom/form/phone.d.ts.map +1 -0
  383. package/dist/components/ui/custom/form/phone.js +23 -0
  384. package/dist/components/ui/custom/form/radio-group.d.ts +23 -0
  385. package/dist/components/ui/custom/form/radio-group.d.ts.map +1 -0
  386. package/dist/components/ui/custom/form/radio-group.js +15 -0
  387. package/dist/components/ui/custom/form/select.d.ts +20 -0
  388. package/dist/components/ui/custom/form/select.d.ts.map +1 -0
  389. package/dist/components/ui/custom/form/select.js +12 -0
  390. package/dist/components/ui/custom/form/step-new-form.d.ts +10 -0
  391. package/dist/components/ui/custom/form/step-new-form.d.ts.map +1 -0
  392. package/dist/components/ui/custom/form/step-new-form.js +13 -0
  393. package/dist/components/ui/custom/form/switch.d.ts +13 -0
  394. package/dist/components/ui/custom/form/switch.d.ts.map +1 -0
  395. package/dist/components/ui/custom/form/switch.js +16 -0
  396. package/dist/components/ui/custom/form/text.d.ts +18 -0
  397. package/dist/components/ui/custom/form/text.d.ts.map +1 -0
  398. package/dist/components/ui/custom/form/text.js +14 -0
  399. package/dist/components/ui/custom/form/textarea.d.ts +16 -0
  400. package/dist/components/ui/custom/form/textarea.d.ts.map +1 -0
  401. package/dist/components/ui/custom/form/textarea.js +19 -0
  402. package/dist/components/ui/custom/form/utils.d.ts +18 -0
  403. package/dist/components/ui/custom/form/utils.d.ts.map +1 -0
  404. package/dist/components/ui/custom/form/utils.js +88 -0
  405. package/dist/components/ui/custom/header.d.ts +11 -0
  406. package/dist/components/ui/custom/header.d.ts.map +1 -0
  407. package/dist/components/ui/custom/header.js +74 -0
  408. package/dist/components/ui/custom/label.d.ts +13 -0
  409. package/dist/components/ui/custom/label.d.ts.map +1 -0
  410. package/dist/components/ui/custom/label.js +20 -0
  411. package/dist/components/ui/custom/not-found.d.ts +3 -0
  412. package/dist/components/ui/custom/not-found.d.ts.map +1 -0
  413. package/dist/components/ui/custom/not-found.js +9 -0
  414. package/dist/components/ui/custom/sidebar/app-sidebar.d.ts +5 -0
  415. package/dist/components/ui/custom/sidebar/app-sidebar.d.ts.map +1 -0
  416. package/dist/components/ui/custom/sidebar/app-sidebar.js +26 -0
  417. package/dist/components/ui/custom/sidebar/module-switcher.d.ts +9 -0
  418. package/dist/components/ui/custom/sidebar/module-switcher.d.ts.map +1 -0
  419. package/dist/components/ui/custom/sidebar/module-switcher.js +55 -0
  420. package/dist/components/ui/custom/sidebar/nav-footer.d.ts +7 -0
  421. package/dist/components/ui/custom/sidebar/nav-footer.d.ts.map +1 -0
  422. package/dist/components/ui/custom/sidebar/nav-footer.js +13 -0
  423. package/dist/components/ui/custom/sidebar/nav-main.d.ts +7 -0
  424. package/dist/components/ui/custom/sidebar/nav-main.d.ts.map +1 -0
  425. package/dist/components/ui/custom/sidebar/nav-main.js +27 -0
  426. package/dist/components/ui/custom/sidebar/nav-submenu-collapsible.d.ts +9 -0
  427. package/dist/components/ui/custom/sidebar/nav-submenu-collapsible.d.ts.map +1 -0
  428. package/dist/components/ui/custom/sidebar/nav-submenu-collapsible.js +18 -0
  429. package/dist/components/ui/custom/sidebar/nav-submenu-dropdown.d.ts +10 -0
  430. package/dist/components/ui/custom/sidebar/nav-submenu-dropdown.d.ts.map +1 -0
  431. package/dist/components/ui/custom/sidebar/nav-submenu-dropdown.js +10 -0
  432. package/dist/components/ui/custom/sidebar/nav-user.d.ts +9 -0
  433. package/dist/components/ui/custom/sidebar/nav-user.d.ts.map +1 -0
  434. package/dist/components/ui/custom/sidebar/nav-user.js +24 -0
  435. package/dist/components/ui/custom/sidebar/sidebar-button.d.ts +9 -0
  436. package/dist/components/ui/custom/sidebar/sidebar-button.d.ts.map +1 -0
  437. package/dist/components/ui/custom/sidebar/sidebar-button.js +7 -0
  438. package/dist/components/ui/custom/sidebar/sidebar-item-two-lines.d.ts +12 -0
  439. package/dist/components/ui/custom/sidebar/sidebar-item-two-lines.d.ts.map +1 -0
  440. package/dist/components/ui/custom/sidebar/sidebar-item-two-lines.js +5 -0
  441. package/dist/components/ui/custom/sidebar/sidebar-item.d.ts +9 -0
  442. package/dist/components/ui/custom/sidebar/sidebar-item.d.ts.map +1 -0
  443. package/dist/components/ui/custom/sidebar/sidebar-item.js +7 -0
  444. package/dist/components/ui/custom/sidebar/sidebar-module-switcher.d.ts +9 -0
  445. package/dist/components/ui/custom/sidebar/sidebar-module-switcher.d.ts.map +1 -0
  446. package/dist/components/ui/custom/sidebar/sidebar-module-switcher.js +20 -0
  447. package/dist/components/ui/custom/sidebar/types/sidebar.d.ts +29 -0
  448. package/dist/components/ui/custom/sidebar/types/sidebar.d.ts.map +1 -0
  449. package/dist/components/ui/custom/sidebar/types/sidebar.js +5 -0
  450. package/dist/components/ui/custom/table/data-table-export.d.ts +8 -0
  451. package/dist/components/ui/custom/table/data-table-export.d.ts.map +1 -0
  452. package/dist/components/ui/custom/table/data-table-export.js +65 -0
  453. package/dist/components/ui/custom/table/data-table-footer.d.ts +25 -0
  454. package/dist/components/ui/custom/table/data-table-footer.d.ts.map +1 -0
  455. package/dist/components/ui/custom/table/data-table-footer.js +39 -0
  456. package/dist/components/ui/custom/table/data-table-header.d.ts +9 -0
  457. package/dist/components/ui/custom/table/data-table-header.d.ts.map +1 -0
  458. package/dist/components/ui/custom/table/data-table-header.js +11 -0
  459. package/dist/components/ui/custom/table/data-table-rows.d.ts +13 -0
  460. package/dist/components/ui/custom/table/data-table-rows.d.ts.map +1 -0
  461. package/dist/components/ui/custom/table/data-table-rows.js +25 -0
  462. package/dist/components/ui/custom/table/data-table.d.ts +35 -0
  463. package/dist/components/ui/custom/table/data-table.d.ts.map +1 -0
  464. package/dist/components/ui/custom/table/data-table.js +99 -0
  465. package/dist/components/ui/custom/table/types/data-table.d.ts +29 -0
  466. package/dist/components/ui/custom/table/types/data-table.d.ts.map +1 -0
  467. package/dist/components/ui/custom/table/types/data-table.js +1 -0
  468. package/dist/components/ui/custom/theme-provider.d.ts +24 -0
  469. package/dist/components/ui/custom/theme-provider.d.ts.map +1 -0
  470. package/dist/components/ui/custom/theme-provider.js +79 -0
  471. package/dist/components/ui/dateRangePicker.d.ts +3 -0
  472. package/dist/components/ui/dateRangePicker.d.ts.map +1 -0
  473. package/dist/components/ui/dateRangePicker.js +15 -0
  474. package/dist/components/ui/dialog.d.ts +23 -0
  475. package/dist/components/ui/dialog.d.ts.map +1 -0
  476. package/dist/components/ui/dialog.js +23 -0
  477. package/dist/components/ui/drawer.d.ts +23 -0
  478. package/dist/components/ui/drawer.d.ts.map +1 -0
  479. package/dist/components/ui/drawer.js +22 -0
  480. package/dist/components/ui/dropdown-menu.d.ts +28 -0
  481. package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
  482. package/dist/components/ui/dropdown-menu.js +32 -0
  483. package/dist/components/ui/form.d.ts +24 -0
  484. package/dist/components/ui/form.d.ts.map +1 -0
  485. package/dist/components/ui/form.js +60 -0
  486. package/dist/components/ui/hover-card.d.ts +7 -0
  487. package/dist/components/ui/hover-card.d.ts.map +1 -0
  488. package/dist/components/ui/hover-card.js +9 -0
  489. package/dist/components/ui/input.d.ts +24 -0
  490. package/dist/components/ui/input.d.ts.map +1 -0
  491. package/dist/components/ui/input.js +71 -0
  492. package/dist/components/ui/label.d.ts +6 -0
  493. package/dist/components/ui/label.d.ts.map +1 -0
  494. package/dist/components/ui/label.js +9 -0
  495. package/dist/components/ui/masks.d.ts +17 -0
  496. package/dist/components/ui/masks.d.ts.map +1 -0
  497. package/dist/components/ui/masks.js +25 -0
  498. package/dist/components/ui/pagination.d.ts +30 -0
  499. package/dist/components/ui/pagination.d.ts.map +1 -0
  500. package/dist/components/ui/pagination.js +23 -0
  501. package/dist/components/ui/popover.d.ts +7 -0
  502. package/dist/components/ui/popover.d.ts.map +1 -0
  503. package/dist/components/ui/popover.js +11 -0
  504. package/dist/components/ui/progress.d.ts +5 -0
  505. package/dist/components/ui/progress.d.ts.map +1 -0
  506. package/dist/components/ui/progress.js +7 -0
  507. package/dist/components/ui/radio-group.d.ts +6 -0
  508. package/dist/components/ui/radio-group.d.ts.map +1 -0
  509. package/dist/components/ui/radio-group.js +14 -0
  510. package/dist/components/ui/scroll-area.d.ts +6 -0
  511. package/dist/components/ui/scroll-area.d.ts.map +1 -0
  512. package/dist/components/ui/scroll-area.js +11 -0
  513. package/dist/components/ui/select.d.ts +14 -0
  514. package/dist/components/ui/select.d.ts.map +1 -0
  515. package/dist/components/ui/select.js +24 -0
  516. package/dist/components/ui/separator.d.ts +5 -0
  517. package/dist/components/ui/separator.d.ts.map +1 -0
  518. package/dist/components/ui/separator.js +7 -0
  519. package/dist/components/ui/sheet.d.ts +26 -0
  520. package/dist/components/ui/sheet.d.ts.map +1 -0
  521. package/dist/components/ui/sheet.js +37 -0
  522. package/dist/components/ui/sidebar.d.ts +67 -0
  523. package/dist/components/ui/sidebar.d.ts.map +1 -0
  524. package/dist/components/ui/sidebar.js +221 -0
  525. package/dist/components/ui/skeleton.d.ts +3 -0
  526. package/dist/components/ui/skeleton.d.ts.map +1 -0
  527. package/dist/components/ui/skeleton.js +6 -0
  528. package/dist/components/ui/slider.d.ts +5 -0
  529. package/dist/components/ui/slider.d.ts.map +1 -0
  530. package/dist/components/ui/slider.js +7 -0
  531. package/dist/components/ui/switch.d.ts +5 -0
  532. package/dist/components/ui/switch.d.ts.map +1 -0
  533. package/dist/components/ui/switch.js +7 -0
  534. package/dist/components/ui/table.d.ts +11 -0
  535. package/dist/components/ui/table.d.ts.map +1 -0
  536. package/dist/components/ui/table.js +20 -0
  537. package/dist/components/ui/tabs.d.ts +8 -0
  538. package/dist/components/ui/tabs.d.ts.map +1 -0
  539. package/dist/components/ui/tabs.js +12 -0
  540. package/dist/components/ui/textarea.d.ts +4 -0
  541. package/dist/components/ui/textarea.d.ts.map +1 -0
  542. package/dist/components/ui/textarea.js +14 -0
  543. package/dist/components/ui/toast.d.ts +16 -0
  544. package/dist/components/ui/toast.d.ts.map +1 -0
  545. package/dist/components/ui/toast.js +34 -0
  546. package/dist/components/ui/toaster.d.ts +2 -0
  547. package/dist/components/ui/toaster.d.ts.map +1 -0
  548. package/dist/components/ui/toaster.js +21 -0
  549. package/dist/components/ui/tooltip.d.ts +8 -0
  550. package/dist/components/ui/tooltip.d.ts.map +1 -0
  551. package/dist/components/ui/tooltip.js +10 -0
  552. package/dist/components/ui/use-calendar.d.ts +7 -0
  553. package/dist/components/ui/use-calendar.d.ts.map +1 -0
  554. package/dist/components/ui/use-calendar.js +23 -0
  555. package/dist/components/ui/use-toast.d.ts +46 -0
  556. package/dist/components/ui/use-toast.d.ts.map +1 -0
  557. package/dist/components/ui/use-toast.js +125 -0
  558. package/dist/components/use-calendar.d.ts +7 -0
  559. package/dist/components/use-calendar.d.ts.map +1 -0
  560. package/dist/components/use-calendar.js +23 -0
  561. package/dist/components/use-toast.d.ts +46 -0
  562. package/dist/components/use-toast.d.ts.map +1 -0
  563. package/dist/components/use-toast.js +125 -0
  564. package/dist/hooks/use-mobile.d.ts +2 -0
  565. package/dist/hooks/use-mobile.d.ts.map +1 -0
  566. package/dist/hooks/use-mobile.js +15 -0
  567. package/dist/index.d.ts +1514 -0
  568. package/dist/index.d.ts.map +1 -0
  569. package/dist/index.esm.js +3233 -0
  570. package/dist/index.esm.js.map +1 -0
  571. package/dist/index.js +3558 -0
  572. package/dist/index.js.map +1 -0
  573. package/dist/lib/help/date-utils.d.ts +7 -0
  574. package/dist/lib/help/date-utils.d.ts.map +1 -0
  575. package/dist/lib/help/date-utils.js +34 -0
  576. package/dist/lib/help/format.d.ts +22 -0
  577. package/dist/lib/help/format.d.ts.map +1 -0
  578. package/dist/lib/help/format.js +140 -0
  579. package/dist/lib/help/theme.d.ts +291 -0
  580. package/dist/lib/help/theme.d.ts.map +1 -0
  581. package/dist/lib/help/theme.js +340 -0
  582. package/dist/lib/help/uuid.d.ts +2 -0
  583. package/dist/lib/help/uuid.d.ts.map +1 -0
  584. package/dist/lib/help/uuid.js +4 -0
  585. package/dist/lib/utils.d.ts +3 -0
  586. package/dist/lib/utils.d.ts.map +1 -0
  587. package/dist/lib/utils.js +5 -0
  588. package/package.json +146 -0
  589. package/src/components/ui/accordion.tsx +48 -0
  590. package/src/components/ui/alert-dialog.tsx +138 -0
  591. package/src/components/ui/alert.tsx +36 -0
  592. package/src/components/ui/avatar.tsx +48 -0
  593. package/src/components/ui/badge.tsx +35 -0
  594. package/src/components/ui/breadcrumb.tsx +115 -0
  595. package/src/components/ui/button.tsx +43 -0
  596. package/src/components/ui/calendar.tsx +142 -0
  597. package/src/components/ui/card.tsx +35 -0
  598. package/src/components/ui/carousel.tsx +257 -0
  599. package/src/components/ui/chart.tsx +364 -0
  600. package/src/components/ui/checkbox.tsx +26 -0
  601. package/src/components/ui/collapsible.tsx +9 -0
  602. package/src/components/ui/command.tsx +145 -0
  603. package/src/components/ui/context-menu.tsx +198 -0
  604. package/src/components/ui/custom/date-picker.tsx +97 -0
  605. package/src/components/ui/custom/form/checkbox.tsx +53 -0
  606. package/src/components/ui/custom/form/color.tsx +140 -0
  607. package/src/components/ui/custom/form/combobox.tsx +259 -0
  608. package/src/components/ui/custom/form/cpf-cnpj.tsx +85 -0
  609. package/src/components/ui/custom/form/currency.tsx +51 -0
  610. package/src/components/ui/custom/form/date-range.tsx +110 -0
  611. package/src/components/ui/custom/form/date.tsx +109 -0
  612. package/src/components/ui/custom/form/decimal.tsx +50 -0
  613. package/src/components/ui/custom/form/file.tsx +65 -0
  614. package/src/components/ui/custom/form/form-help-text.tsx +20 -0
  615. package/src/components/ui/custom/form/form-label.tsx +24 -0
  616. package/src/components/ui/custom/form/form-message.tsx +10 -0
  617. package/src/components/ui/custom/form/ghost.tsx +28 -0
  618. package/src/components/ui/custom/form/input.tsx +69 -0
  619. package/src/components/ui/custom/form/mask.tsx +78 -0
  620. package/src/components/ui/custom/form/multi-select.tsx +209 -0
  621. package/src/components/ui/custom/form/password.tsx +70 -0
  622. package/src/components/ui/custom/form/percent.tsx +52 -0
  623. package/src/components/ui/custom/form/phone.tsx +79 -0
  624. package/src/components/ui/custom/form/radio-group.tsx +94 -0
  625. package/src/components/ui/custom/form/select.tsx +62 -0
  626. package/src/components/ui/custom/form/step-new-form.tsx +49 -0
  627. package/src/components/ui/custom/form/switch.tsx +51 -0
  628. package/src/components/ui/custom/form/text.tsx +71 -0
  629. package/src/components/ui/custom/form/textarea.tsx +71 -0
  630. package/src/components/ui/custom/form/utils.ts +100 -0
  631. package/src/components/ui/custom/header.tsx +128 -0
  632. package/src/components/ui/custom/label.tsx +79 -0
  633. package/src/components/ui/custom/not-found.tsx +30 -0
  634. package/src/components/ui/custom/sidebar/module-switcher.tsx +58 -0
  635. package/src/components/ui/custom/sidebar/nav-footer.tsx +35 -0
  636. package/src/components/ui/custom/sidebar/nav-main.tsx +64 -0
  637. package/src/components/ui/custom/sidebar/nav-submenu-collapsible.tsx +60 -0
  638. package/src/components/ui/custom/sidebar/nav-submenu-dropdown.tsx +56 -0
  639. package/src/components/ui/custom/sidebar/nav-user.tsx +77 -0
  640. package/src/components/ui/custom/sidebar/sidebar-button.tsx +30 -0
  641. package/src/components/ui/custom/sidebar/sidebar-item-two-lines.tsx +25 -0
  642. package/src/components/ui/custom/sidebar/sidebar-item.tsx +19 -0
  643. package/src/components/ui/custom/sidebar/types/sidebar.ts +31 -0
  644. package/src/components/ui/custom/table/data-table-export.tsx +126 -0
  645. package/src/components/ui/custom/table/data-table-footer.tsx +148 -0
  646. package/src/components/ui/custom/table/data-table-header.tsx +58 -0
  647. package/src/components/ui/custom/table/data-table-rows.tsx +94 -0
  648. package/src/components/ui/custom/table/data-table.tsx +285 -0
  649. package/src/components/ui/custom/table/types/data-table.ts +31 -0
  650. package/src/components/ui/custom/theme-provider.tsx +121 -0
  651. package/src/components/ui/dateRangePicker.tsx +63 -0
  652. package/src/components/ui/dialog.tsx +84 -0
  653. package/src/components/ui/drawer.tsx +116 -0
  654. package/src/components/ui/dropdown-menu.tsx +173 -0
  655. package/src/components/ui/form.tsx +114 -0
  656. package/src/components/ui/hover-card.tsx +27 -0
  657. package/src/components/ui/input.tsx +265 -0
  658. package/src/components/ui/label.tsx +15 -0
  659. package/src/components/ui/masks.ts +35 -0
  660. package/src/components/ui/pagination.tsx +78 -0
  661. package/src/components/ui/popover.tsx +32 -0
  662. package/src/components/ui/progress.tsx +22 -0
  663. package/src/components/ui/radio-group.tsx +36 -0
  664. package/src/components/ui/scroll-area.tsx +46 -0
  665. package/src/components/ui/select.tsx +130 -0
  666. package/src/components/ui/separator.tsx +29 -0
  667. package/src/components/ui/sheet.tsx +90 -0
  668. package/src/components/ui/sidebar.tsx +598 -0
  669. package/src/components/ui/skeleton.tsx +15 -0
  670. package/src/components/ui/slider.tsx +18 -0
  671. package/src/components/ui/switch.tsx +26 -0
  672. package/src/components/ui/table.tsx +53 -0
  673. package/src/components/ui/tabs.tsx +47 -0
  674. package/src/components/ui/textarea.tsx +27 -0
  675. package/src/components/ui/toast.tsx +88 -0
  676. package/src/components/ui/toaster.tsx +49 -0
  677. package/src/components/ui/tooltip.tsx +31 -0
  678. package/src/components/ui/use-calendar.tsx +61 -0
  679. package/src/components/ui/use-toast.ts +186 -0
  680. package/src/hooks/use-mobile.tsx +19 -0
  681. package/src/index.ts +299 -0
  682. package/src/lib/help/date-utils.ts +41 -0
  683. package/src/lib/help/format.ts +171 -0
  684. package/src/lib/help/theme.ts +346 -0
  685. package/src/lib/help/uuid.ts +4 -0
  686. package/src/lib/utils.ts +6 -0
  687. package/src/styles/globals.css +59 -0
@@ -0,0 +1,70 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { cn } from '@/lib/utils';
3
+ import { ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon } from 'lucide-react';
4
+ import * as React from 'react';
5
+ import { DayPicker, getDefaultClassNames } from 'react-day-picker';
6
+ import { Button, buttonVariants } from './button';
7
+ function Calendar({ className, classNames, showOutsideDays = true, captionLayout = 'label', buttonVariant = 'ghost', formatters, components, ...props }) {
8
+ const defaultClassNames = getDefaultClassNames();
9
+ return (_jsx(DayPicker, { showOutsideDays: showOutsideDays, className: cn('bg-background group/calendar p-3 [--cell-size:2rem] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent', String.raw `rtl:**:[.rdp-button\_next>svg]:rotate-180`, String.raw `rtl:**:[.rdp-button\_previous>svg]:rotate-180`, className), captionLayout: captionLayout, formatters: {
10
+ formatMonthDropdown: (date) => date.toLocaleString('default', { month: 'short' }),
11
+ ...formatters,
12
+ }, classNames: {
13
+ root: cn('w-fit', defaultClassNames.root),
14
+ months: cn('relative flex flex-col gap-4 md:flex-row', defaultClassNames.months),
15
+ month: cn('flex w-full flex-col gap-4', defaultClassNames.month),
16
+ nav: cn('absolute inset-x-0 top-0 flex w-full items-center justify-between gap-1', defaultClassNames.nav),
17
+ button_previous: cn(buttonVariants({ variant: buttonVariant }), 'h-[--cell-size] w-[--cell-size] select-none p-0 aria-disabled:opacity-50', defaultClassNames.button_previous),
18
+ button_next: cn(buttonVariants({ variant: buttonVariant }), 'h-[--cell-size] w-[--cell-size] select-none p-0 aria-disabled:opacity-50', defaultClassNames.button_next),
19
+ month_caption: cn('flex h-[--cell-size] w-full items-center justify-center px-[--cell-size]', defaultClassNames.month_caption),
20
+ dropdowns: cn('flex h-[--cell-size] w-full items-center justify-center gap-1.5 text-sm font-medium', defaultClassNames.dropdowns),
21
+ dropdown_root: cn('has-focus:border-ring border-input shadow-xs has-focus:ring-ring/50 has-focus:ring-[3px] relative rounded-md border', defaultClassNames.dropdown_root),
22
+ dropdown: cn('absolute inset-0 opacity-0', defaultClassNames.dropdown),
23
+ caption_label: cn('select-none font-medium', captionLayout === 'label'
24
+ ? 'text-sm'
25
+ : '[&>svg]:text-muted-foreground flex h-8 items-center gap-1 rounded-md pl-2 pr-1 text-sm [&>svg]:size-3.5', defaultClassNames.caption_label),
26
+ table: 'w-full border-collapse',
27
+ weekdays: cn('flex', defaultClassNames.weekdays),
28
+ weekday: cn('text-muted-foreground flex-1 select-none rounded-md text-[0.8rem] font-normal', defaultClassNames.weekday),
29
+ week: cn('mt-2 flex w-full', defaultClassNames.week),
30
+ week_number_header: cn('w-[--cell-size] select-none', defaultClassNames.week_number_header),
31
+ week_number: cn('text-muted-foreground select-none text-[0.8rem]', defaultClassNames.week_number),
32
+ day: cn('group/day relative aspect-square h-[32px] w-[32px] select-none p-0 text-center [&:first-child[data-selected=true]_button]:rounded-l-md [&:last-child[data-selected=true]_button]:rounded-r-md', defaultClassNames.day),
33
+ range_start: cn('bg-accent rounded-l-md', defaultClassNames.range_start),
34
+ range_middle: cn('rounded-none', defaultClassNames.range_middle),
35
+ range_end: cn('bg-accent rounded-r-md', defaultClassNames.range_end),
36
+ today: cn('bg-accent text-accent-foreground rounded-md data-[selected=true]:rounded-none', defaultClassNames.today),
37
+ outside: cn('text-muted-foreground aria-selected:text-muted-foreground', defaultClassNames.outside),
38
+ disabled: cn('text-muted-foreground opacity-50', defaultClassNames.disabled),
39
+ hidden: cn('invisible', defaultClassNames.hidden),
40
+ ...classNames,
41
+ }, components: {
42
+ Root: ({ className, rootRef, ...props }) => {
43
+ return _jsx("div", { "data-slot": 'calendar', ref: rootRef, className: cn(className), ...props });
44
+ },
45
+ Chevron: ({ className, orientation, ...props }) => {
46
+ if (orientation === 'left') {
47
+ return _jsx(ChevronLeftIcon, { className: cn('size-4', className), ...props });
48
+ }
49
+ if (orientation === 'right') {
50
+ return _jsx(ChevronRightIcon, { className: cn('size-4', className), ...props });
51
+ }
52
+ return _jsx(ChevronDownIcon, { className: cn('size-4', className), ...props });
53
+ },
54
+ DayButton: CalendarDayButton,
55
+ WeekNumber: ({ children, ...props }) => {
56
+ return (_jsx("td", { ...props, children: _jsx("div", { className: 'flex size-[--cell-size] items-center justify-center text-center', children: children }) }));
57
+ },
58
+ ...components,
59
+ }, ...props }));
60
+ }
61
+ function CalendarDayButton({ className, day, modifiers, ...props }) {
62
+ const defaultClassNames = getDefaultClassNames();
63
+ const ref = React.useRef(null);
64
+ React.useEffect(() => {
65
+ if (modifiers.focused)
66
+ ref.current?.focus();
67
+ }, [modifiers.focused]);
68
+ return (_jsx(Button, { ref: ref, variant: 'ghost', size: 'icon', "data-day": day.date.toLocaleDateString(), "data-selected-single": modifiers.selected && !modifiers.range_start && !modifiers.range_end && !modifiers.range_middle, "data-range-start": modifiers.range_start, "data-range-end": modifiers.range_end, "data-range-middle": modifiers.range_middle, className: cn('data-[selected-single=true]:bg-background-primary data-[selected-single=true]:text-primary-foreground data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:bg-background-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-background-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 flex aspect-square h-auto w-full min-w-[--cell-size] flex-col gap-1 font-normal leading-none data-[range-end=true]:rounded-md data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-md group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] [&>span]:text-xs [&>span]:opacity-70', defaultClassNames.day, className), ...props }));
69
+ }
70
+ export { Calendar, CalendarDayButton };
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
3
+ declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
4
+ declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
5
+ declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
6
+ declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
7
+ declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
8
+ export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
9
+ //# sourceMappingURL=card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../src/components/card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,IAAI,6GAER,CAAC;AAGH,QAAA,MAAM,UAAU,6GAEd,CAAC;AAGH,QAAA,MAAM,SAAS,6GAEb,CAAC;AAGH,QAAA,MAAM,eAAe,6GAEnB,CAAC;AAGH,QAAA,MAAM,WAAW,6GAEf,CAAC;AAGH,QAAA,MAAM,UAAU,6GAEd,CAAC;AAGH,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,eAAe,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import * as React from 'react';
3
+ import { cn } from '@/lib/utils';
4
+ const Card = React.forwardRef(({ className, ...props }, ref) => (_jsx("div", { ref: ref, className: cn('rounded-lg border bg-card text-card-foreground shadow-sm', className), ...props })));
5
+ Card.displayName = 'Card';
6
+ const CardHeader = React.forwardRef(({ className, ...props }, ref) => (_jsx("div", { ref: ref, className: cn('flex p-6', className), ...props })));
7
+ CardHeader.displayName = 'CardHeader';
8
+ const CardTitle = React.forwardRef(({ className, ...props }, ref) => (_jsx("div", { ref: ref, className: cn('text-2xl font-semibold leading-none tracking-tight', className), ...props })));
9
+ CardTitle.displayName = 'CardTitle';
10
+ const CardDescription = React.forwardRef(({ className, ...props }, ref) => (_jsx("div", { ref: ref, className: cn('text-sm text-muted-foreground', className), ...props })));
11
+ CardDescription.displayName = 'CardDescription';
12
+ const CardContent = React.forwardRef(({ className, ...props }, ref) => (_jsx("div", { ref: ref, className: cn('py-8 px-6', className), ...props })));
13
+ CardContent.displayName = 'CardContent';
14
+ const CardFooter = React.forwardRef(({ className, ...props }, ref) => (_jsx("div", { ref: ref, className: cn('flex items-center p-6', className), ...props })));
15
+ CardFooter.displayName = 'CardFooter';
16
+ export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
@@ -0,0 +1,19 @@
1
+ import useEmblaCarousel, { type UseEmblaCarouselType } from "embla-carousel-react";
2
+ import * as React from "react";
3
+ type CarouselApi = UseEmblaCarouselType[1];
4
+ type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
5
+ type CarouselOptions = UseCarouselParameters[0];
6
+ type CarouselPlugin = UseCarouselParameters[1];
7
+ type CarouselProps = {
8
+ opts?: CarouselOptions;
9
+ plugins?: CarouselPlugin;
10
+ orientation?: "horizontal" | "vertical";
11
+ setApi?: (api: CarouselApi) => void;
12
+ };
13
+ declare const Carousel: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & CarouselProps & React.RefAttributes<HTMLDivElement>>;
14
+ declare const CarouselContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
15
+ declare const CarouselItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
16
+ declare const CarouselPrevious: React.ForwardRefExoticComponent<Omit<import("./button").ButtonProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
17
+ declare const CarouselNext: React.ForwardRefExoticComponent<Omit<import("./button").ButtonProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
18
+ export { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type CarouselApi };
19
+ //# sourceMappingURL=carousel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"carousel.d.ts","sourceRoot":"","sources":["../../src/components/carousel.tsx"],"names":[],"mappings":"AACA,OAAO,gBAAgB,EAAE,EACvB,KAAK,oBAAoB,EAC1B,MAAM,sBAAsB,CAAA;AAE7B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,KAAK,WAAW,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAAA;AAC1C,KAAK,qBAAqB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAChE,KAAK,eAAe,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAAA;AAC/C,KAAK,cAAc,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAAA;AAE9C,KAAK,aAAa,GAAG;IACnB,IAAI,CAAC,EAAE,eAAe,CAAA;IACtB,OAAO,CAAC,EAAE,cAAc,CAAA;IACxB,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAA;IACvC,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,WAAW,KAAK,IAAI,CAAA;CACpC,CAAA;AAuBD,QAAA,MAAM,QAAQ,6HAyGb,CAAA;AAGD,QAAA,MAAM,eAAe,6GAmBnB,CAAA;AAGF,QAAA,MAAM,YAAY,6GAmBhB,CAAA;AAGF,QAAA,MAAM,gBAAgB,gKA0BpB,CAAA;AAGF,QAAA,MAAM,YAAY,gKA0BhB,CAAA;AAGF,OAAO,EACL,QAAQ,EACR,eAAe,EACf,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,KAAK,WAAW,EAC/D,CAAA"}
@@ -0,0 +1,98 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { cn } from "@/lib/utils";
3
+ import useEmblaCarousel from "embla-carousel-react";
4
+ import { ArrowLeft, ArrowRight } from "lucide-react";
5
+ import * as React from "react";
6
+ import { Button } from "./button";
7
+ const CarouselContext = React.createContext(null);
8
+ function useCarousel() {
9
+ const context = React.useContext(CarouselContext);
10
+ if (!context) {
11
+ throw new Error("useCarousel must be used within a <Carousel />");
12
+ }
13
+ return context;
14
+ }
15
+ const Carousel = React.forwardRef(({ orientation = "horizontal", opts, setApi, plugins, className, children, ...props }, ref) => {
16
+ const [carouselRef, api] = useEmblaCarousel({
17
+ ...opts,
18
+ axis: orientation === "horizontal" ? "x" : "y",
19
+ }, plugins);
20
+ const [canScrollPrev, setCanScrollPrev] = React.useState(false);
21
+ const [canScrollNext, setCanScrollNext] = React.useState(false);
22
+ const onSelect = React.useCallback((api) => {
23
+ if (!api) {
24
+ return;
25
+ }
26
+ setCanScrollPrev(api.canScrollPrev());
27
+ setCanScrollNext(api.canScrollNext());
28
+ }, []);
29
+ const scrollPrev = React.useCallback(() => {
30
+ api?.scrollPrev();
31
+ }, [api]);
32
+ const scrollNext = React.useCallback(() => {
33
+ api?.scrollNext();
34
+ }, [api]);
35
+ const handleKeyDown = React.useCallback((event) => {
36
+ if (event.key === "ArrowLeft") {
37
+ event.preventDefault();
38
+ scrollPrev();
39
+ }
40
+ else if (event.key === "ArrowRight") {
41
+ event.preventDefault();
42
+ scrollNext();
43
+ }
44
+ }, [scrollPrev, scrollNext]);
45
+ React.useEffect(() => {
46
+ if (!api || !setApi) {
47
+ return;
48
+ }
49
+ setApi(api);
50
+ }, [api, setApi]);
51
+ React.useEffect(() => {
52
+ if (!api) {
53
+ return;
54
+ }
55
+ onSelect(api);
56
+ api.on("reInit", onSelect);
57
+ api.on("select", onSelect);
58
+ return () => {
59
+ api?.off("select", onSelect);
60
+ };
61
+ }, [api, onSelect]);
62
+ return (_jsx(CarouselContext.Provider, { value: {
63
+ carouselRef,
64
+ api: api,
65
+ opts,
66
+ orientation: orientation || (opts?.axis === "y" ? "vertical" : "horizontal"),
67
+ scrollPrev,
68
+ scrollNext,
69
+ canScrollPrev,
70
+ canScrollNext,
71
+ }, children: _jsx("div", { ref: ref, onKeyDownCapture: handleKeyDown, className: cn("relative", className), role: "region", "aria-roledescription": "carousel", ...props, children: children }) }));
72
+ });
73
+ Carousel.displayName = "Carousel";
74
+ const CarouselContent = React.forwardRef(({ className, ...props }, ref) => {
75
+ const { carouselRef, orientation } = useCarousel();
76
+ return (_jsx("div", { ref: carouselRef, className: "overflow-hidden", children: _jsx("div", { ref: ref, className: cn("flex", orientation === "horizontal" ? "-ml-4" : "-mt-4 flex-col", className), ...props }) }));
77
+ });
78
+ CarouselContent.displayName = "CarouselContent";
79
+ const CarouselItem = React.forwardRef(({ className, ...props }, ref) => {
80
+ const { orientation } = useCarousel();
81
+ return (_jsx("div", { ref: ref, role: "group", "aria-roledescription": "slide", className: cn("min-w-0 shrink-0 grow-0 basis-full", orientation === "horizontal" ? "pl-4" : "pt-4", className), ...props }));
82
+ });
83
+ CarouselItem.displayName = "CarouselItem";
84
+ const CarouselPrevious = React.forwardRef(({ className, variant = "outline", size = "icon", ...props }, ref) => {
85
+ const { orientation, scrollPrev, canScrollPrev } = useCarousel();
86
+ return (_jsxs(Button, { ref: ref, variant: variant, size: size, className: cn("absolute h-8 w-8 rounded-full", orientation === "horizontal"
87
+ ? "-left-12 top-1/2 -translate-y-1/2"
88
+ : "-top-12 left-1/2 -translate-x-1/2 rotate-90", className), disabled: !canScrollPrev, onClick: scrollPrev, ...props, children: [_jsx(ArrowLeft, { className: "h-4 w-4" }), _jsx("span", { className: "sr-only", children: "Previous slide" })] }));
89
+ });
90
+ CarouselPrevious.displayName = "CarouselPrevious";
91
+ const CarouselNext = React.forwardRef(({ className, variant = "outline", size = "icon", ...props }, ref) => {
92
+ const { orientation, scrollNext, canScrollNext } = useCarousel();
93
+ return (_jsxs(Button, { ref: ref, variant: variant, size: size, className: cn("absolute h-8 w-8 rounded-full", orientation === "horizontal"
94
+ ? "-right-12 top-1/2 -translate-y-1/2"
95
+ : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90", className), disabled: !canScrollNext, onClick: scrollNext, ...props, children: [_jsx(ArrowRight, { className: "h-4 w-4" }), _jsx("span", { className: "sr-only", children: "Next slide" })] }));
96
+ });
97
+ CarouselNext.displayName = "CarouselNext";
98
+ export { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious };
@@ -0,0 +1,63 @@
1
+ import * as React from "react";
2
+ import * as RechartsPrimitive from "recharts";
3
+ declare const THEMES: {
4
+ readonly light: "";
5
+ readonly dark: ".dark";
6
+ };
7
+ export type ChartConfig = {
8
+ [k in string]: {
9
+ label?: React.ReactNode;
10
+ icon?: React.ComponentType;
11
+ } & ({
12
+ color?: string;
13
+ theme?: never;
14
+ } | {
15
+ color?: never;
16
+ theme: Record<keyof typeof THEMES, string>;
17
+ });
18
+ };
19
+ declare const ChartContainer: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
20
+ config: ChartConfig;
21
+ children: React.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
22
+ }, "ref"> & React.RefAttributes<HTMLDivElement>>;
23
+ declare const ChartStyle: ({ id, config }: {
24
+ id: string;
25
+ config: ChartConfig;
26
+ }) => import("react/jsx-runtime").JSX.Element | null;
27
+ declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
28
+ declare const ChartTooltipContent: React.ForwardRefExoticComponent<Omit<RechartsPrimitive.DefaultTooltipContentProps<import("recharts/types/component/DefaultTooltipContent").ValueType, import("recharts/types/component/DefaultTooltipContent").NameType> & {
29
+ accessibilityLayer?: boolean;
30
+ active?: boolean | undefined;
31
+ includeHidden?: boolean | undefined;
32
+ allowEscapeViewBox?: import("recharts/types/util/types").AllowInDimension;
33
+ animationDuration?: import("recharts/types/util/types").AnimationDuration;
34
+ animationEasing?: import("recharts/types/util/types").AnimationTiming;
35
+ content?: import("recharts/types/component/Tooltip").ContentType<import("recharts/types/component/DefaultTooltipContent").ValueType, import("recharts/types/component/DefaultTooltipContent").NameType> | undefined;
36
+ coordinate?: Partial<import("recharts/types/util/types").Coordinate>;
37
+ cursor?: boolean | React.ReactElement | React.SVGProps<SVGElement>;
38
+ filterNull?: boolean;
39
+ defaultIndex?: number;
40
+ isAnimationActive?: boolean;
41
+ offset?: number;
42
+ payloadUniqBy?: import("recharts/types/util/payload/getUniqPayload").UniqueOption<import("recharts/types/component/DefaultTooltipContent").Payload<import("recharts/types/component/DefaultTooltipContent").ValueType, import("recharts/types/component/DefaultTooltipContent").NameType>> | undefined;
43
+ position?: Partial<import("recharts/types/util/types").Coordinate>;
44
+ reverseDirection?: import("recharts/types/util/types").AllowInDimension;
45
+ shared?: boolean;
46
+ trigger?: "hover" | "click";
47
+ useTranslate3d?: boolean;
48
+ viewBox?: import("recharts/types/util/types").CartesianViewBox;
49
+ wrapperStyle?: React.CSSProperties;
50
+ } & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
51
+ hideLabel?: boolean;
52
+ hideIndicator?: boolean;
53
+ indicator?: "line" | "dot" | "dashed";
54
+ nameKey?: string;
55
+ labelKey?: string;
56
+ }, "ref"> & React.RefAttributes<HTMLDivElement>>;
57
+ declare const ChartLegend: typeof RechartsPrimitive.Legend;
58
+ declare const ChartLegendContent: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Pick<RechartsPrimitive.LegendProps, "payload" | "verticalAlign"> & {
59
+ hideIcon?: boolean;
60
+ nameKey?: string;
61
+ }, "ref"> & React.RefAttributes<HTMLDivElement>>;
62
+ export { ChartContainer, ChartTooltip, ChartTooltipContent, ChartLegend, ChartLegendContent, ChartStyle, };
63
+ //# sourceMappingURL=chart.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chart.d.ts","sourceRoot":"","sources":["../../src/components/chart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,iBAAiB,MAAM,UAAU,CAAA;AAK7C,QAAA,MAAM,MAAM;;;CAAwC,CAAA;AAEpD,MAAM,MAAM,WAAW,GAAG;KACvB,CAAC,IAAI,MAAM,GAAG;QACb,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;QACvB,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;KAC3B,GAAG,CACA;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,KAAK,CAAA;KAAE,GACjC;QAAE,KAAK,CAAC,EAAE,KAAK,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC,MAAM,OAAO,MAAM,EAAE,MAAM,CAAC,CAAA;KAAE,CAChE;CACF,CAAA;AAkBD,QAAA,MAAM,cAAc;YAGR,WAAW;cACT,KAAK,CAAC,cAAc,CAC5B,OAAO,iBAAiB,CAAC,mBAAmB,CAC7C,CAAC,UAAU,CAAC;gDAwBf,CAAA;AAGF,QAAA,MAAM,UAAU,GAAI,gBAAgB;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,WAAW,CAAA;CAAE,mDA+BtE,CAAA;AAED,QAAA,MAAM,YAAY,kCAA4B,CAAA;AAE9C,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;gBAIP,OAAO;oBACH,OAAO;gBACX,MAAM,GAAG,KAAK,GAAG,QAAQ;cAC3B,MAAM;eACL,MAAM;gDA+ItB,CAAA;AAGD,QAAA,MAAM,WAAW,iCAA2B,CAAA;AAE5C,QAAA,MAAM,kBAAkB;eAIP,OAAO;cACR,MAAM;gDAkDrB,CAAA;AA0CD,OAAO,EACL,cAAc,EACd,YAAY,EACZ,mBAAmB,EACnB,WAAW,EACX,kBAAkB,EAClB,UAAU,GACX,CAAA"}
@@ -0,0 +1,130 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import * as React from "react";
3
+ import * as RechartsPrimitive from "recharts";
4
+ import { cn } from "@/lib/utils";
5
+ // Format: { THEME_NAME: CSS_SELECTOR }
6
+ const THEMES = { light: "", dark: ".dark" };
7
+ const ChartContext = React.createContext(null);
8
+ function useChart() {
9
+ const context = React.useContext(ChartContext);
10
+ if (!context) {
11
+ throw new Error("useChart must be used within a <ChartContainer />");
12
+ }
13
+ return context;
14
+ }
15
+ const ChartContainer = React.forwardRef(({ id, className, children, config, ...props }, ref) => {
16
+ const uniqueId = React.useId();
17
+ const chartId = `chart-${id || uniqueId.replace(/:/g, "")}`;
18
+ return (_jsx(ChartContext.Provider, { value: { config }, children: _jsxs("div", { "data-chart": chartId, ref: ref, className: cn("flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-none [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-none [&_.recharts-surface]:outline-none", className), ...props, children: [_jsx(ChartStyle, { id: chartId, config: config }), _jsx(RechartsPrimitive.ResponsiveContainer, { children: children })] }) }));
19
+ });
20
+ ChartContainer.displayName = "Chart";
21
+ const ChartStyle = ({ id, config }) => {
22
+ const colorConfig = Object.entries(config).filter(([, config]) => config.theme || config.color);
23
+ if (!colorConfig.length) {
24
+ return null;
25
+ }
26
+ return (_jsx("style", { dangerouslySetInnerHTML: {
27
+ __html: Object.entries(THEMES)
28
+ .map(([theme, prefix]) => `
29
+ ${prefix} [data-chart=${id}] {
30
+ ${colorConfig
31
+ .map(([key, itemConfig]) => {
32
+ const color = itemConfig.theme?.[theme] ||
33
+ itemConfig.color;
34
+ return color ? ` --color-${key}: ${color};` : null;
35
+ })
36
+ .join("\n")}
37
+ }
38
+ `)
39
+ .join("\n"),
40
+ } }));
41
+ };
42
+ const ChartTooltip = RechartsPrimitive.Tooltip;
43
+ const ChartTooltipContent = React.forwardRef(({ active, payload, className, indicator = "dot", hideLabel = false, hideIndicator = false, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }, ref) => {
44
+ const { config } = useChart();
45
+ const tooltipLabel = React.useMemo(() => {
46
+ if (hideLabel || !payload?.length) {
47
+ return null;
48
+ }
49
+ const [item] = payload;
50
+ const key = `${labelKey || item.dataKey || item.name || "value"}`;
51
+ const itemConfig = getPayloadConfigFromPayload(config, item, key);
52
+ const value = !labelKey && typeof label === "string"
53
+ ? config[label]?.label || label
54
+ : itemConfig?.label;
55
+ if (labelFormatter) {
56
+ return (_jsx("div", { className: cn("font-medium", labelClassName), children: labelFormatter(value, payload) }));
57
+ }
58
+ if (!value) {
59
+ return null;
60
+ }
61
+ return _jsx("div", { className: cn("font-medium", labelClassName), children: value });
62
+ }, [
63
+ label,
64
+ labelFormatter,
65
+ payload,
66
+ hideLabel,
67
+ labelClassName,
68
+ config,
69
+ labelKey,
70
+ ]);
71
+ if (!active || !payload?.length) {
72
+ return null;
73
+ }
74
+ const nestLabel = payload.length === 1 && indicator !== "dot";
75
+ return (_jsxs("div", { ref: ref, className: cn("grid min-w-[8rem] items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl", className), children: [!nestLabel ? tooltipLabel : null, _jsx("div", { className: "grid gap-1.5", children: payload.map((item, index) => {
76
+ const key = `${nameKey || item.name || item.dataKey || "value"}`;
77
+ const itemConfig = getPayloadConfigFromPayload(config, item, key);
78
+ const indicatorColor = color || item.payload.fill || item.color;
79
+ return (_jsx("div", { className: cn("flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground", indicator === "dot" && "items-center"), children: formatter && item?.value !== undefined && item.name ? (formatter(item.value, item.name, item, index, item.payload)) : (_jsxs(_Fragment, { children: [itemConfig?.icon ? (_jsx(itemConfig.icon, {})) : (!hideIndicator && (_jsx("div", { className: cn("shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]", {
80
+ "h-2.5 w-2.5": indicator === "dot",
81
+ "w-1": indicator === "line",
82
+ "w-0 border-[1.5px] border-dashed bg-transparent": indicator === "dashed",
83
+ "my-0.5": nestLabel && indicator === "dashed",
84
+ }), style: {
85
+ "--color-bg": indicatorColor,
86
+ "--color-border": indicatorColor,
87
+ } }))), _jsxs("div", { className: cn("flex flex-1 justify-between leading-none", nestLabel ? "items-end" : "items-center"), children: [_jsxs("div", { className: "grid gap-1.5", children: [nestLabel ? tooltipLabel : null, _jsx("span", { className: "text-muted-foreground", children: itemConfig?.label || item.name })] }), item.value && (_jsx("span", { className: "font-mono font-medium tabular-nums text-foreground", children: item.value.toLocaleString() }))] })] })) }, item.dataKey));
88
+ }) })] }));
89
+ });
90
+ ChartTooltipContent.displayName = "ChartTooltip";
91
+ const ChartLegend = RechartsPrimitive.Legend;
92
+ const ChartLegendContent = React.forwardRef(({ className, hideIcon = false, payload, verticalAlign = "bottom", nameKey }, ref) => {
93
+ const { config } = useChart();
94
+ if (!payload?.length) {
95
+ return null;
96
+ }
97
+ return (_jsx("div", { ref: ref, className: cn("flex items-center justify-center gap-4", verticalAlign === "top" ? "pb-3" : "pt-3", className), children: payload.map((item) => {
98
+ const key = `${nameKey || item.dataKey || "value"}`;
99
+ const itemConfig = getPayloadConfigFromPayload(config, item, key);
100
+ return (_jsxs("div", { className: cn("flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"), children: [itemConfig?.icon && !hideIcon ? (_jsx(itemConfig.icon, {})) : (_jsx("div", { className: "h-2 w-2 shrink-0 rounded-[2px]", style: {
101
+ backgroundColor: item.color,
102
+ } })), itemConfig?.label] }, item.value));
103
+ }) }));
104
+ });
105
+ ChartLegendContent.displayName = "ChartLegend";
106
+ // Helper to extract item config from a payload.
107
+ function getPayloadConfigFromPayload(config, payload, key) {
108
+ if (typeof payload !== "object" || payload === null) {
109
+ return undefined;
110
+ }
111
+ const payloadPayload = "payload" in payload &&
112
+ typeof payload.payload === "object" &&
113
+ payload.payload !== null
114
+ ? payload.payload
115
+ : undefined;
116
+ let configLabelKey = key;
117
+ if (key in payload &&
118
+ typeof payload[key] === "string") {
119
+ configLabelKey = payload[key];
120
+ }
121
+ else if (payloadPayload &&
122
+ key in payloadPayload &&
123
+ typeof payloadPayload[key] === "string") {
124
+ configLabelKey = payloadPayload[key];
125
+ }
126
+ return configLabelKey in config
127
+ ? config[configLabelKey]
128
+ : config[key];
129
+ }
130
+ export { ChartContainer, ChartTooltip, ChartTooltipContent, ChartLegend, ChartLegendContent, ChartStyle, };
@@ -0,0 +1,5 @@
1
+ import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
2
+ import * as React from 'react';
3
+ declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
4
+ export { Checkbox };
5
+ //# sourceMappingURL=checkbox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../src/components/checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAC;AAE9D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,QAAQ,iKAgBb,CAAC;AAGF,OAAO,EAAE,QAAQ,EAAE,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
3
+ import { Check } from 'lucide-react';
4
+ import * as React from 'react';
5
+ import { cn } from '@/lib/utils';
6
+ const Checkbox = React.forwardRef(({ className, value, ...props }, ref) => (_jsx(CheckboxPrimitive.Root, { ref: ref, checked: !!value, className: cn('peer h-4 w-4 shrink-0 rounded-sm border ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-background-primary data-[state=checked]:text-primary-foreground', className), ...props, children: _jsx(CheckboxPrimitive.Indicator, { className: cn('flex items-center justify-center text-current'), children: _jsx(Check, { className: 'h-4 w-4' }) }) })));
7
+ Checkbox.displayName = CheckboxPrimitive.Root.displayName;
8
+ export { Checkbox };
@@ -0,0 +1,6 @@
1
+ import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
2
+ declare const Collapsible: import("react").ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & import("react").RefAttributes<HTMLDivElement>>;
3
+ declare const CollapsibleTrigger: import("react").ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
4
+ declare const CollapsibleContent: import("react").ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleContentProps & import("react").RefAttributes<HTMLDivElement>>;
5
+ export { Collapsible, CollapsibleTrigger, CollapsibleContent };
6
+ //# sourceMappingURL=collapsible.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collapsible.d.ts","sourceRoot":"","sources":["../../src/components/collapsible.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,oBAAoB,MAAM,6BAA6B,CAAA;AAEnE,QAAA,MAAM,WAAW,kIAA4B,CAAA;AAE7C,QAAA,MAAM,kBAAkB,4IAA0C,CAAA;AAElE,QAAA,MAAM,kBAAkB,yIAA0C,CAAA;AAElE,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,CAAA"}
@@ -0,0 +1,5 @@
1
+ import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
2
+ const Collapsible = CollapsiblePrimitive.Root;
3
+ const CollapsibleTrigger = CollapsiblePrimitive.CollapsibleTrigger;
4
+ const CollapsibleContent = CollapsiblePrimitive.CollapsibleContent;
5
+ export { Collapsible, CollapsibleTrigger, CollapsibleContent };
@@ -0,0 +1,81 @@
1
+ import { type DialogProps } from "@radix-ui/react-dialog";
2
+ import * as React from "react";
3
+ declare const Command: React.ForwardRefExoticComponent<Omit<{
4
+ children?: React.ReactNode;
5
+ } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
6
+ ref?: React.Ref<HTMLDivElement>;
7
+ } & {
8
+ asChild?: boolean;
9
+ }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
10
+ label?: string;
11
+ shouldFilter?: boolean;
12
+ filter?: (value: string, search: string, keywords?: string[]) => number;
13
+ defaultValue?: string;
14
+ value?: string;
15
+ onValueChange?: (value: string) => void;
16
+ loop?: boolean;
17
+ disablePointerSelection?: boolean;
18
+ vimBindings?: boolean;
19
+ } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
20
+ declare const CommandDialog: ({ children, ...props }: DialogProps) => import("react/jsx-runtime").JSX.Element;
21
+ declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
22
+ ref?: React.Ref<HTMLInputElement>;
23
+ } & {
24
+ asChild?: boolean;
25
+ }, "key" | "asChild" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "value" | "type"> & {
26
+ value?: string;
27
+ onValueChange?: (search: string) => void;
28
+ } & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
29
+ declare const CommandList: React.ForwardRefExoticComponent<Omit<{
30
+ children?: React.ReactNode;
31
+ } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
32
+ ref?: React.Ref<HTMLDivElement>;
33
+ } & {
34
+ asChild?: boolean;
35
+ }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
36
+ label?: string;
37
+ } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
38
+ declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
39
+ children?: React.ReactNode;
40
+ } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
41
+ ref?: React.Ref<HTMLDivElement>;
42
+ } & {
43
+ asChild?: boolean;
44
+ }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
45
+ declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
46
+ children?: React.ReactNode;
47
+ } & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
48
+ ref?: React.Ref<HTMLDivElement>;
49
+ } & {
50
+ asChild?: boolean;
51
+ }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "heading"> & {
52
+ heading?: React.ReactNode;
53
+ value?: string;
54
+ forceMount?: boolean;
55
+ } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
56
+ declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
57
+ ref?: React.Ref<HTMLDivElement>;
58
+ } & {
59
+ asChild?: boolean;
60
+ }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
61
+ alwaysRender?: boolean;
62
+ } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
63
+ declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
64
+ children?: React.ReactNode;
65
+ } & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
66
+ ref?: React.Ref<HTMLDivElement>;
67
+ } & {
68
+ asChild?: boolean;
69
+ }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "disabled" | "value"> & {
70
+ disabled?: boolean;
71
+ onSelect?: (value: string) => void;
72
+ value?: string;
73
+ keywords?: string[];
74
+ forceMount?: boolean;
75
+ } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
76
+ declare const CommandShortcut: {
77
+ ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
78
+ displayName: string;
79
+ };
80
+ export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut };
81
+ //# sourceMappingURL=command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../src/components/command.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAGzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,QAAA,MAAM,OAAO;;;;;;;;;qDA0IuhL,CAAC;;;;;;;sFA9HniL,CAAA;AAGF,QAAA,MAAM,aAAa,GAAI,wBAAwB,WAAW,4CAUzD,CAAA;AAED,QAAA,MAAM,YAAY;;;;;;;0FAehB,CAAA;AAIF,QAAA,MAAM,WAAW;;;;;;;;sFASf,CAAA;AAIF,QAAA,MAAM,YAAY;;;;;;uJAShB,CAAA;AAIF,QAAA,MAAM,YAAY;;;;;;;;;;sFAYhB,CAAA;AAIF,QAAA,MAAM,gBAAgB;;;;;;sFASpB,CAAA;AAGF,QAAA,MAAM,WAAW;;;;;;;;;;;;sFAYf,CAAA;AAIF,QAAA,MAAM,eAAe;8BAGlB,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;;CAUvC,CAAA;AAGD,OAAO,EACL,OAAO,EACP,aAAa,EAAE,YAAY,EAC3B,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,gBAAgB,EAAE,eAAe,EACxF,CAAA"}
@@ -0,0 +1,28 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { cn } from "@/lib/utils";
3
+ import { Command as CommandPrimitive } from "cmdk";
4
+ import { Search } from "lucide-react";
5
+ import * as React from "react";
6
+ import { Dialog, DialogContent } from "./dialog";
7
+ const Command = React.forwardRef(({ className, ...props }, ref) => (_jsx(CommandPrimitive, { ref: ref, className: cn("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground", className), ...props })));
8
+ Command.displayName = CommandPrimitive.displayName;
9
+ const CommandDialog = ({ children, ...props }) => {
10
+ return (_jsx(Dialog, { ...props, children: _jsx(DialogContent, { className: "overflow-hidden p-0 shadow-lg", children: _jsx(Command, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children: children }) }) }));
11
+ };
12
+ const CommandInput = React.forwardRef(({ className, ...props }, ref) => (_jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [_jsx(Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }), _jsx(CommandPrimitive.Input, { ref: ref, className: cn("flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50", className), ...props })] })));
13
+ CommandInput.displayName = CommandPrimitive.Input.displayName;
14
+ const CommandList = React.forwardRef(({ className, ...props }, ref) => (_jsx(CommandPrimitive.List, { ref: ref, className: cn("max-h-[300px] overflow-y-auto overflow-x-hidden", className), ...props })));
15
+ CommandList.displayName = CommandPrimitive.List.displayName;
16
+ const CommandEmpty = React.forwardRef((props, ref) => (_jsx(CommandPrimitive.Empty, { ref: ref, className: "py-6 text-center text-sm", ...props })));
17
+ CommandEmpty.displayName = CommandPrimitive.Empty.displayName;
18
+ const CommandGroup = React.forwardRef(({ className, ...props }, ref) => (_jsx(CommandPrimitive.Group, { ref: ref, className: cn("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground", className), ...props })));
19
+ CommandGroup.displayName = CommandPrimitive.Group.displayName;
20
+ const CommandSeparator = React.forwardRef(({ className, ...props }, ref) => (_jsx(CommandPrimitive.Separator, { ref: ref, className: cn("-mx-1 h-px bg-border", className), ...props })));
21
+ CommandSeparator.displayName = CommandPrimitive.Separator.displayName;
22
+ const CommandItem = React.forwardRef(({ className, ...props }, ref) => (_jsx(CommandPrimitive.Item, { ref: ref, className: cn("relative flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected='true']:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0", className), ...props })));
23
+ CommandItem.displayName = CommandPrimitive.Item.displayName;
24
+ const CommandShortcut = ({ className, ...props }) => {
25
+ return (_jsx("span", { className: cn("ml-auto text-xs tracking-widest text-muted-foreground", className), ...props }));
26
+ };
27
+ CommandShortcut.displayName = "CommandShortcut";
28
+ export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut };
@@ -0,0 +1,28 @@
1
+ import * as React from "react";
2
+ import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
3
+ declare const ContextMenu: React.FC<ContextMenuPrimitive.ContextMenuProps>;
4
+ declare const ContextMenuTrigger: React.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuTriggerProps & React.RefAttributes<HTMLSpanElement>>;
5
+ declare const ContextMenuGroup: React.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
6
+ declare const ContextMenuPortal: React.FC<ContextMenuPrimitive.ContextMenuPortalProps>;
7
+ declare const ContextMenuSub: React.FC<ContextMenuPrimitive.ContextMenuSubProps>;
8
+ declare const ContextMenuRadioGroup: React.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
9
+ declare const ContextMenuSubTrigger: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
10
+ inset?: boolean;
11
+ } & React.RefAttributes<HTMLDivElement>>;
12
+ declare const ContextMenuSubContent: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
13
+ declare const ContextMenuContent: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
14
+ declare const ContextMenuItem: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
15
+ inset?: boolean;
16
+ } & React.RefAttributes<HTMLDivElement>>;
17
+ declare const ContextMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
18
+ declare const ContextMenuRadioItem: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
19
+ declare const ContextMenuLabel: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
20
+ inset?: boolean;
21
+ } & React.RefAttributes<HTMLDivElement>>;
22
+ declare const ContextMenuSeparator: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
23
+ declare const ContextMenuShortcut: {
24
+ ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
25
+ displayName: string;
26
+ };
27
+ export { ContextMenu, ContextMenuTrigger, ContextMenuContent, ContextMenuItem, ContextMenuCheckboxItem, ContextMenuRadioItem, ContextMenuLabel, ContextMenuSeparator, ContextMenuShortcut, ContextMenuGroup, ContextMenuPortal, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuRadioGroup, };
28
+ //# sourceMappingURL=context-menu.d.ts.map