@codefast/ui 0.1.57 → 0.1.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-2DBTDO6C.js +1 -0
- package/dist/chunk-2PAJRLB6.js +1 -0
- package/dist/chunk-3CSHSTBC.cjs +1 -0
- package/dist/chunk-3DPRKBDA.js +1 -0
- package/dist/chunk-3EIH33SX.js +1 -0
- package/dist/chunk-3LNJ5UZG.cjs +1 -0
- package/dist/chunk-3LWDEELS.cjs +1 -0
- package/dist/chunk-3QZZTUFF.js +1 -0
- package/dist/chunk-4ICJ6TJH.cjs +1 -0
- package/dist/chunk-4RXR6ADA.cjs +1 -0
- package/dist/chunk-4WLK3YTS.js +1 -0
- package/dist/chunk-5H3QZ3FR.cjs +1 -0
- package/dist/chunk-5STR423O.cjs +1 -0
- package/dist/chunk-6DV77ZKX.js +1 -0
- package/dist/chunk-6J3UKPUR.cjs +1 -0
- package/dist/chunk-6OX5C4QB.cjs +1 -0
- package/dist/chunk-6XPLRP6V.js +1 -0
- package/dist/chunk-73C7USVV.cjs +1 -0
- package/dist/chunk-7AP4N6C2.cjs +1 -0
- package/dist/chunk-7DWFOXEE.js +3 -0
- package/dist/chunk-ABXCGNGZ.js +1 -0
- package/dist/chunk-ACSEZ64N.cjs +1 -0
- package/dist/chunk-AFJTP5SO.cjs +1 -0
- package/dist/chunk-AMA6AK3X.js +1 -0
- package/dist/chunk-AO7XXH6Z.js +0 -0
- package/dist/chunk-APJHXZQH.cjs +1 -0
- package/dist/chunk-BLDKJZDM.js +1 -0
- package/dist/chunk-BMZ3E3SA.cjs +1 -0
- package/dist/chunk-BYBQP6L7.js +1 -0
- package/dist/chunk-C4EWLUQK.cjs +1 -0
- package/dist/chunk-DUBIK7AM.js +1 -0
- package/dist/chunk-DUFLDJPH.cjs +1 -0
- package/dist/chunk-E7OXGQQA.cjs +1 -0
- package/dist/chunk-EDTDSIXB.js +1 -0
- package/dist/chunk-EEUBLZ7E.cjs +1 -0
- package/dist/chunk-ELXSQAET.cjs +1 -0
- package/dist/chunk-EWGPNNC7.js +1 -0
- package/dist/chunk-F6M3OEEV.js +1 -0
- package/dist/chunk-FC3COBLZ.js +1 -0
- package/dist/chunk-FKNREVG7.cjs +1 -0
- package/dist/chunk-FPVRIVHO.js +1 -0
- package/dist/chunk-FQMSK2WZ.js +1 -0
- package/dist/chunk-FUFFRWKC.js +1 -0
- package/dist/chunk-FUH3KA3X.cjs +1 -0
- package/dist/chunk-FUMHTCGR.js +1 -0
- package/dist/chunk-FXMCMXCB.js +1 -0
- package/dist/chunk-FYW73RA6.cjs +1 -0
- package/dist/chunk-G7FG4ER7.js +1 -0
- package/dist/chunk-GCOZTRNW.js +1 -0
- package/dist/chunk-GR263IKS.js +1 -0
- package/dist/chunk-GX2DXYKT.cjs +1 -0
- package/dist/chunk-H4NRQ67V.js +1 -0
- package/dist/chunk-HBL6AZTD.js +1 -0
- package/dist/chunk-HRLLYNFF.cjs +1 -0
- package/dist/chunk-ID2LGO2W.cjs +1 -0
- package/dist/chunk-IK6V7PIL.js +1 -0
- package/dist/chunk-IWQ2RIHB.cjs +1 -0
- package/dist/chunk-JCGQDOMK.cjs +1 -0
- package/dist/chunk-JCRWOD3T.js +1 -0
- package/dist/chunk-JD6OR357.js +0 -0
- package/dist/chunk-JJT3IMEL.cjs +1 -0
- package/dist/chunk-JNCMBNRF.js +1 -0
- package/dist/chunk-JNWHP47X.cjs +1 -0
- package/dist/chunk-JXRDRDJL.js +1 -0
- package/dist/chunk-K2ETALGT.js +1 -0
- package/dist/chunk-KBSBBHIE.cjs +1 -0
- package/dist/chunk-KCWHYV6T.cjs +1 -0
- package/dist/chunk-KL2KVFCO.js +1 -0
- package/dist/chunk-KNFY3RCG.cjs +1 -0
- package/dist/chunk-L7B23IAD.js +1 -0
- package/dist/chunk-LEUXUKKV.js +1 -0
- package/dist/chunk-LJ7NJT5Y.cjs +1 -0
- package/dist/chunk-LKQOXCXE.js +1 -0
- package/dist/chunk-LT6JIE4P.js +1 -0
- package/dist/chunk-LTM6SW3L.js +1 -0
- package/dist/chunk-ML4USOX2.js +1 -0
- package/dist/chunk-MY6QRFEA.js +1 -0
- package/dist/chunk-N3K7ZHVH.js +1 -0
- package/dist/chunk-N4TDAI2I.cjs +1 -0
- package/dist/chunk-ND3AGBDC.js +1 -0
- package/dist/chunk-NJFZCW7H.js +1 -0
- package/dist/chunk-NKFW4I2I.cjs +1 -0
- package/dist/chunk-NQ2YPSRT.js +1 -0
- package/dist/chunk-NRBJ3GHE.js +1 -0
- package/dist/chunk-NRWGIK35.js +1 -0
- package/dist/chunk-NX2PYE7U.cjs +1 -0
- package/dist/chunk-O5AGASQ6.cjs +1 -0
- package/dist/chunk-OCGBQHXH.js +1 -0
- package/dist/chunk-OLTXFM6D.js +1 -0
- package/dist/chunk-OOZCTLCR.cjs +1 -0
- package/dist/chunk-ORY7EM7Y.cjs +1 -0
- package/dist/chunk-P643F2WU.cjs +3 -0
- package/dist/chunk-PBV6P2IV.js +1 -0
- package/dist/chunk-PHZPMGZT.cjs +1 -0
- package/dist/chunk-PJDYG7AT.js +1 -0
- package/dist/chunk-PNUGMOQP.cjs +1 -0
- package/dist/chunk-PQYONDGU.cjs +1 -0
- package/dist/chunk-Q73XQPJX.cjs +1 -0
- package/dist/chunk-Q7G3A7X6.js +1 -0
- package/dist/chunk-QWDM7XSN.cjs +1 -0
- package/dist/chunk-R773RBMT.js +1 -0
- package/dist/chunk-RBHOHZIP.cjs +1 -0
- package/dist/chunk-RKOSMAEX.cjs +1 -0
- package/dist/chunk-RNGFAUQN.js +1 -0
- package/dist/chunk-RPOU2F26.js +1 -0
- package/dist/chunk-RQ4C7DVU.cjs +1 -0
- package/dist/chunk-S2PSRAPV.cjs +1 -0
- package/dist/chunk-S6HAB37R.cjs +1 -0
- package/dist/chunk-SJSMDXBF.cjs +1 -0
- package/dist/chunk-SNBWYKQA.cjs +1 -0
- package/dist/chunk-ST4N4PRQ.js +1 -0
- package/dist/chunk-SUH57ETM.js +1 -0
- package/dist/chunk-SWLBEEZC.cjs +1 -0
- package/dist/chunk-T3TZ5JKN.cjs +1 -0
- package/dist/chunk-T5IORNCK.cjs +1 -0
- package/dist/chunk-T65WMOEK.cjs +1 -0
- package/dist/chunk-TC56766Y.cjs +1 -0
- package/dist/chunk-TFRTDTNW.cjs +1 -0
- package/dist/chunk-TPRKQDJ2.cjs +1 -0
- package/dist/chunk-TWBZ62SK.cjs +1 -0
- package/dist/chunk-UKF2IZQU.cjs +1 -0
- package/dist/chunk-UOS7HBNK.js +1 -0
- package/dist/chunk-V3H3W256.js +1 -0
- package/dist/chunk-V53QTNPO.cjs +1 -0
- package/dist/chunk-VBIU63FD.js +1 -0
- package/dist/chunk-VS5SUBCH.js +1 -0
- package/dist/chunk-VW52VVUU.cjs +1 -0
- package/dist/chunk-W6Y3Y7DJ.js +1 -0
- package/dist/chunk-WA2EFCFS.js +1 -0
- package/dist/chunk-WCV4ETDJ.cjs +1 -0
- package/dist/chunk-WEIN353E.js +1 -0
- package/dist/chunk-WHKHOVGT.cjs +1 -0
- package/dist/chunk-WKGMBYOD.cjs +1 -0
- package/dist/chunk-X4RHTO22.cjs +1 -0
- package/dist/chunk-XGKX2BXM.cjs +1 -0
- package/dist/chunk-XGVKI6XK.cjs +1 -0
- package/dist/chunk-XKINB7CY.cjs +1 -0
- package/dist/chunk-Y6HEOVJR.js +1 -0
- package/dist/chunk-Y7W5N76Z.js +1 -0
- package/dist/chunk-YMH6C3S4.cjs +1 -0
- package/dist/chunk-YSSFLIW2.js +1 -0
- package/dist/chunk-YUQUBN4B.js +1 -0
- package/dist/chunk-YXCWCQOO.js +1 -0
- package/dist/chunk-Z7VMKIVR.cjs +1 -0
- package/dist/chunk-ZAO7W23W.js +1 -0
- package/dist/chunk-ZW5BKKRM.js +1 -0
- package/dist/components/accordion.cjs +1 -0
- package/dist/components/accordion.d.cts +20 -0
- package/dist/components/accordion.d.ts +20 -0
- package/dist/components/accordion.js +1 -0
- package/dist/components/alert-dialog.cjs +1 -0
- package/dist/components/alert-dialog.d.cts +35 -0
- package/dist/components/alert-dialog.d.ts +35 -0
- package/dist/components/alert-dialog.js +1 -0
- package/dist/components/alert.cjs +1 -0
- package/dist/components/alert.d.cts +51 -0
- package/dist/components/alert.d.ts +51 -0
- package/dist/components/alert.js +1 -0
- package/dist/components/aspect-ratio.cjs +1 -0
- package/dist/components/aspect-ratio.d.cts +8 -0
- package/dist/components/aspect-ratio.d.ts +8 -0
- package/dist/components/aspect-ratio.js +1 -0
- package/dist/components/avatar.cjs +1 -0
- package/dist/components/avatar.d.cts +12 -0
- package/dist/components/avatar.d.ts +12 -0
- package/dist/components/avatar.js +1 -0
- package/dist/components/badge.cjs +1 -0
- package/dist/components/badge.d.cts +161 -0
- package/dist/components/badge.d.ts +161 -0
- package/dist/components/badge.js +1 -0
- package/dist/components/blockquote.cjs +1 -0
- package/dist/components/blockquote.d.cts +9 -0
- package/dist/components/blockquote.d.ts +9 -0
- package/dist/components/blockquote.js +1 -0
- package/dist/components/box.cjs +1 -0
- package/dist/components/box.d.cts +15 -0
- package/dist/components/box.d.ts +15 -0
- package/dist/components/box.js +1 -0
- package/dist/components/breadcrumb.cjs +1 -0
- package/dist/components/breadcrumb.d.cts +23 -0
- package/dist/components/breadcrumb.d.ts +23 -0
- package/dist/components/breadcrumb.js +1 -0
- package/dist/components/button.cjs +1 -0
- package/dist/components/button.d.cts +16 -0
- package/dist/components/button.d.ts +16 -0
- package/dist/components/button.js +1 -0
- package/dist/components/calendar.cjs +1 -0
- package/dist/components/calendar.d.cts +20 -0
- package/dist/components/calendar.d.ts +20 -0
- package/dist/components/calendar.js +1 -0
- package/dist/components/card.cjs +1 -0
- package/dist/components/card.d.cts +17 -0
- package/dist/components/card.d.ts +17 -0
- package/dist/components/card.js +1 -0
- package/dist/components/carousel.cjs +1 -0
- package/dist/components/carousel.d.cts +37 -0
- package/dist/components/carousel.d.ts +37 -0
- package/dist/components/carousel.js +1 -0
- package/dist/components/chart.cjs +1 -0
- package/dist/components/chart.d.cts +55 -0
- package/dist/components/chart.d.ts +55 -0
- package/dist/components/chart.js +1 -0
- package/dist/components/checkbox-cards.cjs +1 -0
- package/dist/components/checkbox-cards.d.cts +12 -0
- package/dist/components/checkbox-cards.d.ts +12 -0
- package/dist/components/checkbox-cards.js +1 -0
- package/dist/components/checkbox-group.cjs +1 -0
- package/dist/components/checkbox-group.d.cts +10 -0
- package/dist/components/checkbox-group.d.ts +10 -0
- package/dist/components/checkbox-group.js +1 -0
- package/dist/components/checkbox.cjs +1 -0
- package/dist/components/checkbox.d.cts +8 -0
- package/dist/components/checkbox.d.ts +8 -0
- package/dist/components/checkbox.js +1 -0
- package/dist/components/code.cjs +1 -0
- package/dist/components/code.d.cts +9 -0
- package/dist/components/code.d.ts +9 -0
- package/dist/components/code.js +1 -0
- package/dist/components/collapsible.cjs +1 -0
- package/dist/components/collapsible.d.cts +12 -0
- package/dist/components/collapsible.d.ts +12 -0
- package/dist/components/collapsible.js +1 -0
- package/dist/components/command.cjs +1 -0
- package/dist/components/command.d.cts +105 -0
- package/dist/components/command.d.ts +105 -0
- package/dist/components/command.js +1 -0
- package/dist/components/container.cjs +1 -0
- package/dist/components/container.d.cts +9 -0
- package/dist/components/container.d.ts +9 -0
- package/dist/components/container.js +1 -0
- package/dist/components/context-menu.cjs +1 -0
- package/dist/components/context-menu.d.cts +42 -0
- package/dist/components/context-menu.d.ts +42 -0
- package/dist/components/context-menu.js +1 -0
- package/dist/components/data-table.cjs +1 -0
- package/dist/components/data-table.d.cts +18 -0
- package/dist/components/data-table.d.ts +18 -0
- package/dist/components/data-table.js +1 -0
- package/dist/components/date-input.cjs +1 -0
- package/dist/components/date-input.d.cts +2 -0
- package/dist/components/date-input.d.ts +2 -0
- package/dist/components/date-input.js +1 -0
- package/dist/components/dialog.cjs +1 -0
- package/dist/components/dialog.d.cts +30 -0
- package/dist/components/dialog.d.ts +30 -0
- package/dist/components/dialog.js +1 -0
- package/dist/components/drawer.cjs +1 -0
- package/dist/components/drawer.d.cts +31 -0
- package/dist/components/drawer.d.ts +31 -0
- package/dist/components/drawer.js +1 -0
- package/dist/components/dropdown-menu.cjs +1 -0
- package/dist/components/dropdown-menu.d.cts +42 -0
- package/dist/components/dropdown-menu.d.ts +42 -0
- package/dist/components/dropdown-menu.js +1 -0
- package/dist/components/em.cjs +1 -0
- package/dist/components/em.d.cts +9 -0
- package/dist/components/em.d.ts +9 -0
- package/dist/components/em.js +1 -0
- package/dist/components/form.cjs +1 -0
- package/dist/components/form.d.cts +26 -0
- package/dist/components/form.d.ts +26 -0
- package/dist/components/form.js +1 -0
- package/dist/components/heading.cjs +1 -0
- package/dist/components/heading.d.cts +10 -0
- package/dist/components/heading.d.ts +10 -0
- package/dist/components/heading.js +1 -0
- package/dist/components/hover-card.cjs +1 -0
- package/dist/components/hover-card.d.cts +14 -0
- package/dist/components/hover-card.d.ts +14 -0
- package/dist/components/hover-card.js +1 -0
- package/dist/components/input-otp.cjs +1 -0
- package/dist/components/input-otp.d.cts +17 -0
- package/dist/components/input-otp.d.ts +17 -0
- package/dist/components/input-otp.js +1 -0
- package/dist/components/kbd.cjs +1 -0
- package/dist/components/kbd.d.cts +9 -0
- package/dist/components/kbd.d.ts +9 -0
- package/dist/components/kbd.js +1 -0
- package/dist/components/label.cjs +1 -0
- package/dist/components/label.d.cts +8 -0
- package/dist/components/label.d.ts +8 -0
- package/dist/components/label.js +1 -0
- package/dist/components/menubar.cjs +1 -0
- package/dist/components/menubar.d.cts +51 -0
- package/dist/components/menubar.d.ts +51 -0
- package/dist/components/menubar.js +1 -0
- package/dist/components/navigation-menu.cjs +1 -0
- package/dist/components/navigation-menu.d.cts +18 -0
- package/dist/components/navigation-menu.d.ts +18 -0
- package/dist/components/navigation-menu.js +1 -0
- package/dist/components/number-input.cjs +1 -0
- package/dist/components/number-input.d.cts +12 -0
- package/dist/components/number-input.d.ts +12 -0
- package/dist/components/number-input.js +1 -0
- package/dist/components/pagination.cjs +1 -0
- package/dist/components/pagination.d.cts +24 -0
- package/dist/components/pagination.d.ts +24 -0
- package/dist/components/pagination.js +1 -0
- package/dist/components/password-input.cjs +1 -0
- package/dist/components/password-input.d.cts +12 -0
- package/dist/components/password-input.d.ts +12 -0
- package/dist/components/password-input.js +1 -0
- package/dist/components/popover.cjs +1 -0
- package/dist/components/popover.d.cts +16 -0
- package/dist/components/popover.d.ts +16 -0
- package/dist/components/popover.js +1 -0
- package/dist/components/pre.cjs +1 -0
- package/dist/components/pre.d.cts +9 -0
- package/dist/components/pre.d.ts +9 -0
- package/dist/components/pre.js +1 -0
- package/dist/components/progress.cjs +1 -0
- package/dist/components/progress.d.cts +8 -0
- package/dist/components/progress.d.ts +8 -0
- package/dist/components/progress.js +1 -0
- package/dist/components/quote.cjs +1 -0
- package/dist/components/quote.d.cts +9 -0
- package/dist/components/quote.d.ts +9 -0
- package/dist/components/quote.js +1 -0
- package/dist/components/radio-cards.cjs +1 -0
- package/dist/components/radio-cards.d.cts +10 -0
- package/dist/components/radio-cards.d.ts +10 -0
- package/dist/components/radio-cards.js +1 -0
- package/dist/components/radio-group.cjs +1 -0
- package/dist/components/radio-group.d.cts +10 -0
- package/dist/components/radio-group.d.ts +10 -0
- package/dist/components/radio-group.js +1 -0
- package/dist/components/radio.cjs +1 -0
- package/dist/components/radio.d.cts +9 -0
- package/dist/components/radio.d.ts +9 -0
- package/dist/components/radio.js +1 -0
- package/dist/components/resizable.cjs +1 -0
- package/dist/components/resizable.d.cts +27 -0
- package/dist/components/resizable.d.ts +27 -0
- package/dist/components/resizable.js +1 -0
- package/dist/components/scroll-area.cjs +1 -0
- package/dist/components/scroll-area.d.cts +93 -0
- package/dist/components/scroll-area.d.ts +93 -0
- package/dist/components/scroll-area.js +1 -0
- package/dist/components/search-input.cjs +1 -0
- package/dist/components/search-input.d.cts +15 -0
- package/dist/components/search-input.d.ts +15 -0
- package/dist/components/search-input.js +1 -0
- package/dist/components/section.cjs +1 -0
- package/dist/components/section.d.cts +9 -0
- package/dist/components/section.d.ts +9 -0
- package/dist/components/section.js +1 -0
- package/dist/components/select.cjs +1 -0
- package/dist/components/select.d.cts +31 -0
- package/dist/components/select.d.ts +31 -0
- package/dist/components/select.js +1 -0
- package/dist/components/separator.cjs +1 -0
- package/dist/components/separator.d.cts +86 -0
- package/dist/components/separator.d.ts +86 -0
- package/dist/components/separator.js +1 -0
- package/dist/components/sheet.cjs +1 -0
- package/dist/components/sheet.d.cts +85 -0
- package/dist/components/sheet.d.ts +85 -0
- package/dist/components/sheet.js +1 -0
- package/dist/components/sidebar.cjs +1 -0
- package/dist/components/sidebar.d.cts +155 -0
- package/dist/components/sidebar.d.ts +155 -0
- package/dist/components/sidebar.js +1 -0
- package/dist/components/skeleton.cjs +1 -0
- package/dist/components/skeleton.d.cts +6 -0
- package/dist/components/skeleton.d.ts +6 -0
- package/dist/components/skeleton.js +1 -0
- package/dist/components/slider.cjs +1 -0
- package/dist/components/slider.d.cts +8 -0
- package/dist/components/slider.d.ts +8 -0
- package/dist/components/slider.js +1 -0
- package/dist/components/sonner.cjs +1 -0
- package/dist/components/sonner.d.cts +8 -0
- package/dist/components/sonner.d.ts +8 -0
- package/dist/components/sonner.js +1 -0
- package/dist/components/spinner.cjs +1 -0
- package/dist/components/spinner.d.cts +9 -0
- package/dist/components/spinner.d.ts +9 -0
- package/dist/components/spinner.js +1 -0
- package/dist/components/strong.cjs +1 -0
- package/dist/components/strong.d.cts +9 -0
- package/dist/components/strong.d.ts +9 -0
- package/dist/components/strong.js +1 -0
- package/dist/components/switch.cjs +1 -0
- package/dist/components/switch.d.cts +8 -0
- package/dist/components/switch.d.ts +8 -0
- package/dist/components/switch.js +1 -0
- package/dist/components/table.cjs +1 -0
- package/dist/components/table.d.cts +21 -0
- package/dist/components/table.d.ts +21 -0
- package/dist/components/table.js +1 -0
- package/dist/components/tabs.cjs +1 -0
- package/dist/components/tabs.d.cts +14 -0
- package/dist/components/tabs.d.ts +14 -0
- package/dist/components/tabs.js +1 -0
- package/dist/components/text-input.cjs +1 -0
- package/dist/components/text-input.d.cts +13 -0
- package/dist/components/text-input.d.ts +13 -0
- package/dist/components/text-input.js +1 -0
- package/dist/components/text.cjs +1 -0
- package/dist/components/text.d.cts +15 -0
- package/dist/components/text.d.ts +15 -0
- package/dist/components/text.js +1 -0
- package/dist/components/textarea.cjs +1 -0
- package/dist/components/textarea.d.cts +7 -0
- package/dist/components/textarea.d.ts +7 -0
- package/dist/components/textarea.js +1 -0
- package/dist/components/time-input.cjs +1 -0
- package/dist/components/time-input.d.cts +2 -0
- package/dist/components/time-input.d.ts +2 -0
- package/dist/components/time-input.js +1 -0
- package/dist/components/toggle-group.cjs +1 -0
- package/dist/components/toggle-group.d.cts +16 -0
- package/dist/components/toggle-group.d.ts +16 -0
- package/dist/components/toggle-group.js +1 -0
- package/dist/components/toggle.cjs +1 -0
- package/dist/components/toggle.d.cts +14 -0
- package/dist/components/toggle.d.ts +14 -0
- package/dist/components/toggle.js +1 -0
- package/dist/components/tooltip.cjs +1 -0
- package/dist/components/tooltip.d.cts +16 -0
- package/dist/components/tooltip.d.ts +16 -0
- package/dist/components/tooltip.js +1 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.cts +116 -0
- package/dist/index.d.ts +116 -0
- package/dist/index.js +1 -0
- package/dist/lib/utils.cjs +1 -0
- package/dist/lib/utils.d.cts +8 -0
- package/dist/lib/utils.d.ts +8 -0
- package/dist/lib/utils.js +1 -0
- package/dist/styles/button-variants.cjs +1 -0
- package/dist/styles/button-variants.d.cts +204 -0
- package/dist/styles/button-variants.d.ts +204 -0
- package/dist/styles/button-variants.js +1 -0
- package/dist/styles/input-variants.cjs +1 -0
- package/dist/styles/input-variants.d.cts +206 -0
- package/dist/styles/input-variants.d.ts +206 -0
- package/dist/styles/input-variants.js +1 -0
- package/dist/styles/toggle-variants.cjs +1 -0
- package/dist/styles/toggle-variants.d.cts +169 -0
- package/dist/styles/toggle-variants.d.ts +169 -0
- package/dist/styles/toggle-variants.js +1 -0
- package/package.json +10 -10
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _tailwindvariants = require('tailwind-variants');var a=_tailwindvariants.tv.call(void 0, {base:["inline-flex shrink-0 select-none items-center justify-center gap-2 whitespace-nowrap rounded-md px-4 text-sm font-medium transition","[&>svg]:shrink-0","focus-visible:outline-none","focus-visible:ring-ring focus-visible:ring-2 focus-visible:ring-offset-2","disabled:pointer-events-none disabled:opacity-50"],compoundVariants:[{className:"w-7",icon:!0,size:"xxs"},{className:"w-8",icon:!0,size:"xs"},{className:"w-9",icon:!0,size:"sm"},{className:"w-10",icon:!0,size:"md"},{className:"w-11",icon:!0,size:"lg"},{className:"w-12",icon:!0,size:"xl"},{className:"[&>svg]:size-3",size:"xxs"},{className:"[&>svg]:size-3.5",size:"xs"}],defaultVariants:{icon:!1,size:"md",variant:"default"},variants:{icon:{false:"",true:"px-0"},size:{xxs:"h-7 [&>svg]:size-3",xs:"h-8 [&>svg]:size-3.5",sm:"h-9 [&>svg]:size-4",md:"h-10 [&>svg]:size-4",lg:"h-11 [&>svg]:size-5",xl:"h-12 [&>svg]:size-5"},variant:{default:["data-[state=on]:bg-primary data-[state=on]:text-primary-foreground data-[state=on]:shadow-sm","hover:bg-primary/80 hover:text-primary-foreground"],secondary:["data-[state=on]:bg-secondary data-[state=on]:text-secondary-foreground data-[state=on]:shadow-sm","hover:bg-secondary/80 hover:text-secondary-foreground"],info:["data-[state=on]:bg-info data-[state=on]:text-info-foreground data-[state=on]:shadow-sm","hover:bg-info/80 hover:text-info-foreground"],success:["data-[state=on]:bg-success data-[state=on]:text-success-foreground data-[state=on]:shadow-sm","hover:bg-success/80 hover:text-success-foreground"],warning:["data-[state=on]:bg-warning data-[state=on]:text-warning-foreground data-[state=on]:shadow-sm","hover:bg-warning/80 hover:text-warning-foreground"],destructive:["data-[state=on]:bg-destructive data-[state=on]:text-destructive-foreground data-[state=on]:shadow-sm","hover:bg-destructive/80 hover:text-destructive-foreground"],outline:["data-[state=on]:bg-accent data-[state=on]:text-accent-foreground","hover:bg-accent/80 hover:text-accent-foreground","bg-background border-input border shadow-sm"],ghost:["data-[state=on]:bg-accent data-[state=on]:text-accent-foreground","hover:bg-accent/80 hover:text-accent-foreground"]}}});exports.a = a;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Slot as r}from"@radix-ui/react-slot";import{forwardRef as n}from"react";import{jsx as p}from"react/jsx-runtime";var d=n(({asChild:e,...o},t)=>p(e?r:"code",{ref:t,...o}));d.displayName="Code";export{d as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as t}from"./chunk-FQMSK2WZ.js";import*as o from"@codefast-ui/checkbox-group";import{CheckIcon as c}from"lucide-react";import{forwardRef as m}from"react";import{jsx as e}from"react/jsx-runtime";var n=m(({className:r,...i},p)=>e(o.Root,{ref:p,className:t("grid gap-2",r),...i}));n.displayName="CheckboxGroup";var b=m(({className:r,...i},p)=>e(o.Item,{ref:p,className:t(["border-input text-primary-foreground peer flex size-4 shrink-0 rounded border shadow-sm transition","hover:border-primary","aria-checked:border-primary aria-checked:bg-primary","focus-visible:ring-ring focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2","disabled:pointer-events-none disabled:opacity-50"],r),...i,children:e(o.CheckboxGroupIndicator,{children:e(c,{className:"size-3.5"})})}));b.displayName="CheckboxGroupItem";export{n as a,b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{a as e}from"./chunk-FQMSK2WZ.js";import{composeEventHandlers as s}from"@radix-ui/primitive";import{forwardRef as d}from"react";import{jsx as p}from"react/jsx-runtime";var l=d(({className:r,onValueChange:i,onChange:t,...n},o)=>p("input",{ref:o,className:e("peer appearance-none","border-input inline-flex size-4 shrink-0 items-center justify-center rounded-full border shadow-sm transition","hover:border-primary","checked:border-primary checked:bg-primary","after:bg-background after:size-full after:rounded-full after:transition-[width,height]","checked:after:size-1","focus-visible:ring-ring focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2","disabled:pointer-events-none disabled:opacity-50",r),type:"radio",onChange:s(t,a=>i?.(a.currentTarget.value)),...n}));l.displayName="Radio";export{l as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o}from"./chunk-FQMSK2WZ.js";import*as a from"@radix-ui/react-avatar";import{forwardRef as i}from"react";import{jsx as m}from"react/jsx-runtime";var p=i(({className:e,...t},r)=>m(a.Root,{ref:r,className:o("relative flex size-10 shrink-0 overflow-hidden rounded-full",e),...t}));p.displayName=a.Root.displayName;var l=i(({className:e,...t},r)=>m(a.Image,{ref:r,className:o("aspect-square size-full",e),...t}));l.displayName=a.Image.displayName;var v=i(({className:e,...t},r)=>m(a.Fallback,{ref:r,className:o("bg-muted flex size-full items-center justify-center rounded-full",e),...t}));v.displayName=a.Fallback.displayName;export{p as a,l as b,v as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Slot as o}from"@radix-ui/react-slot";import{forwardRef as r}from"react";import{jsx as p}from"react/jsx-runtime";var n=r(({asChild:e,...t},m)=>p(e?o:"em",{ref:m,...t}));n.displayName="Em";export{n as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as t}from"./chunk-FQMSK2WZ.js";import*as o from"@radix-ui/react-accordion";import{Slot as d}from"@radix-ui/react-slot";import{ChevronRightIcon as m}from"lucide-react";import{forwardRef as c}from"react";import{jsx as i}from"react/jsx-runtime";var C=o.Root,v=o.Item;function u({asChild:r,className:e,...n}){return r?i(d,{className:t("text-muted-foreground size-4 shrink-0 transition","group-data-[state=open]:rotate-90",e),...n}):i(m,{"aria-hidden":!0,className:t("text-muted-foreground size-4 shrink-0 transition","group-data-[state=open]:rotate-90",e)})}var s=c(({className:r,...e},n)=>i(o.Header,{className:"flex",children:i(o.Trigger,{ref:n,className:t("group flex grow items-center gap-2 py-4 text-left text-sm font-medium",r),...e})}));s.displayName=o.Trigger.displayName;var a=c(({children:r,className:e,...n},p)=>i(o.Content,{ref:p,className:t("overflow-hidden text-sm","data-[state=open]:animate-collapsible-open data-[state=closed]:animate-collapsible-closed"),...n,children:i("div",{className:t("pb-4 pt-0",e),children:r})}));a.displayName=o.Content.displayName;export{C as a,v as b,u as c,s as d,a as e};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var _chunkNX2PYE7Ucjs = require('./chunk-NX2PYE7U.cjs');var _reactprogress = require('@radix-ui/react-progress'); var r = _interopRequireWildcard(_reactprogress);var _react = require('react');var _jsxruntime = require('react/jsx-runtime');var p=_react.forwardRef.call(void 0, ({className:s,value:t,...i},m)=>_jsxruntime.jsx.call(void 0, r.Root,{ref:m,className:_chunkNX2PYE7Ucjs.a.call(void 0, "bg-primary/20 relative h-2 w-full overflow-hidden rounded-full",s),...i,children:_jsxruntime.jsx.call(void 0, r.Indicator,{className:"bg-primary size-full flex-1 transition",style:{transform:`translateX(-${String(100-(_nullishCoalesce(t, () => (0))))}%)`}})}));p.displayName=r.Root.displayName;exports.a = p;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{tv as o}from"tailwind-variants";import{jsx as c,jsxs as g}from"react/jsx-runtime";var d=o({base:["inline-flex shrink-0 items-center justify-center gap-2 whitespace-nowrap rounded-md px-2.5 text-sm font-medium","[&>svg]:shrink-0"],compoundVariants:[{className:"w-8",icon:!0,size:"sm"},{className:"w-9",icon:!0,size:"md"},{className:"w-10",icon:!0,size:"lg"},{className:"w-11",icon:!0,size:"xl"},{className:"w-12",icon:!0,size:"2xl"}],defaultVariants:{icon:!1,size:"md",variant:"default"},variants:{icon:{false:"",true:"px-0"},size:{sm:"h-5 [&>svg]:size-3",md:"h-6 [&>svg]:size-3",lg:"h-7 [&>svg]:size-4",xl:"h-8 [&>svg]:size-5","2xl":"h-9 [&>svg]:size-5"},variant:{default:"bg-primary text-primary-foreground",secondary:"bg-secondary text-secondary-foreground",info:"bg-info text-info-foreground",success:"bg-success text-success-foreground",warning:"bg-warning text-warning-foreground",destructive:"bg-destructive text-destructive-foreground",outline:"bg-background border-input border"}}});function m({className:s,variant:t,size:r,prefix:a,suffix:i,children:e,...n}){return g("div",{className:d({variant:t,className:s,size:r}),...n,children:[a,typeof e=="string"?c("span",{className:"truncate",children:e}):e,i]})}export{m as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as t}from"./chunk-BYBQP6L7.js";import*as o from"@radix-ui/react-toggle";import{forwardRef as f}from"react";import{jsx as T,jsxs as P}from"react/jsx-runtime";var n=f(({className:g,size:i,icon:p,variant:r,prefix:a,children:e,suffix:m,...s},l)=>P(o.Root,{ref:l,className:t({className:g,icon:p,size:i,variant:r}),...s,children:[a,typeof e=="string"?T("span",{className:"truncate",children:e}):e,m]}));n.displayName=o.Root.displayName;export{n as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkNX2PYE7Ucjs = require('./chunk-NX2PYE7U.cjs');var _react = require('react');var _jsxruntime = require('react/jsx-runtime');var i=_react.forwardRef.call(void 0, ({className:r,...t},a)=>_jsxruntime.jsx.call(void 0, "textarea",{ref:a,className:_chunkNX2PYE7Ucjs.a.call(void 0, ["border-input flex min-h-16 w-full grow rounded-md border bg-transparent px-3 py-2 text-sm shadow-sm transition","focus-visible:border-ring focus-visible:ring-ring/40 focus-visible:outline-none focus-visible:ring-2","placeholder:text-muted-foreground","disabled:cursor-default disabled:opacity-50"],r),...t}));i.displayName="Textarea";exports.a = i;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Slot as n}from"@radix-ui/react-slot";import{forwardRef as i}from"react";import{jsx as p}from"react/jsx-runtime";var r=i(({asChild:e,...t},o)=>p(e?n:"section",{ref:o,...t}));r.displayName="Section";export{r as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useTheme as e}from"next-themes";import{toast as m,Toaster as r}from"sonner";import{jsx as s}from"react/jsx-runtime";function g({...t}){let{theme:o="system"}=e();return s(r,{className:"toaster group",theme:o,toastOptions:{classNames:{actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground",content:"w-full flex flex-col gap-1",description:"group-[.toast]:text-muted-foreground",toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg"}},...t})}export{m as a,g as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as p}from"./chunk-FQMSK2WZ.js";import*as o from"@radix-ui/react-tooltip";import{forwardRef as a}from"react";import{jsx as r}from"react/jsx-runtime";var f=o.Provider,y=o.Root,v=o.Trigger,d=a(({className:t,sideOffset:e=6,...i},l)=>r(o.Portal,{children:r(o.Content,{ref:l,className:p("bg-popover text-popover-foreground","z-50 rounded-md border px-3 py-1.5 text-xs","data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in data-[state=delayed-open]:zoom-in-95","data-[state=delayed-open]:data-[side=top]:slide-in-from-bottom-2","data-[state=delayed-open]:data-[side=right]:slide-in-from-left-2","data-[state=delayed-open]:data-[side=bottom]:slide-in-from-top-2","data-[state=delayed-open]:data-[side=left]:slide-in-from-right-2","data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-95","data-[state=closed]:data-[side=top]:slide-out-to-bottom-2","data-[state=closed]:data-[side=right]:slide-out-to-left-2","data-[state=closed]:data-[side=bottom]:slide-out-to-top-2","data-[state=closed]:data-[side=left]:slide-out-to-right-2",t),sideOffset:e,...i})}));d.displayName=o.Content.displayName;var s=a(({className:t,...e},i)=>r(o.Arrow,{ref:i,className:p("fill-popover",t),...e}));s.displayName=o.Arrow.displayName;export{f as a,y as b,v as c,d,s as e};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _clsx = require('clsx');var _tailwindmerge = require('tailwind-merge');function n(...r){return _tailwindmerge.twMerge.call(void 0, _clsx.clsx.call(void 0, r))}exports.a = n;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkNX2PYE7Ucjs = require('./chunk-NX2PYE7U.cjs');var _reactcollapsible = require('@radix-ui/react-collapsible'); var e = _interopRequireWildcard(_reactcollapsible);var _react = require('react');var _jsxruntime = require('react/jsx-runtime');var b=e.Root,m= exports.b =e.CollapsibleTrigger,s= exports.c =_react.forwardRef.call(void 0, ({className:o,...t},i)=>_jsxruntime.jsx.call(void 0, e.CollapsibleContent,{ref:i,className:_chunkNX2PYE7Ucjs.a.call(void 0, "overflow-hidden","data-[state=open]:animate-collapsible-open","data-[state=closed]:animate-collapsible-closed",o),...t}));s.displayName=e.CollapsibleContent.displayName;exports.a = b; exports.b = m; exports.c = s;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{a as p}from"./chunk-YSSFLIW2.js";import{a as s}from"./chunk-GCOZTRNW.js";import{a}from"./chunk-RNGFAUQN.js";import*as t from"@codefast-ui/input";import{useControllableState as C}from"@radix-ui/react-use-controllable-state";import{SearchIcon as g,XIcon as R}from"lucide-react";import{forwardRef as S}from"react";import{jsx as e,jsxs as N}from"react/jsx-runtime";var{root:V,input:x}=p(),b=S(({className:u,inputSize:o,loaderPosition:m,loading:l,prefix:f,spinner:c,suffix:I,value:P,defaultValue:d,onChange:h,...n},v)=>{let[r,i]=C({prop:P,defaultProp:d,onChange:h});return N(t.Root,{className:V({inputSize:o,className:u}),loaderPosition:m,loading:l,prefix:f||e(g,{}),spinner:c||e(a,{}),suffix:I,children:[e(t.Item,{ref:v,className:x({inputSize:o}),type:"search",value:r,onChange:y=>{i(y.target.value)},...n}),r?e(s,{icon:!0,inside:!0,"aria-label":"Clear search",className:"rounded-full",disabled:n.disabled,size:o,suffix:e(R,{}),variant:"ghost",onClick:()=>{i("")}}):null]})});b.displayName="SearchInput";export{b as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-FQMSK2WZ.js";import{forwardRef as d}from"react";import{jsx as o}from"react/jsx-runtime";var n=d(({className:e,...t},r)=>o("div",{ref:r,className:a("bg-card text-card-foreground rounded-lg border shadow",e),...t}));n.displayName="Card";var s=d(({className:e,...t},r)=>o("div",{ref:r,className:a("flex flex-col gap-y-1.5 p-6",e),...t}));s.displayName="CardHeader";var i=d(({children:e,className:t,...r},p)=>o("h3",{ref:p,className:a("font-semibold leading-none tracking-tight",t),...r,children:e}));i.displayName="CardTitle";var l=d(({className:e,...t},r)=>o("p",{ref:r,className:a("text-muted-foreground text-sm",e),...t}));l.displayName="CardDescription";var C=d(({className:e,...t},r)=>o("div",{ref:r,className:a("p-6 pt-0",e),...t}));C.displayName="CardContent";var m=d(({className:e,...t},r)=>o("div",{ref:r,className:a("flex items-center p-6 pt-0",e),...t}));m.displayName="CardFooter";export{n as a,s as b,i as c,l as d,C as e,m as f};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _reactslot = require('@radix-ui/react-slot');var _react = require('react');var _jsxruntime = require('react/jsx-runtime');var s=_react.forwardRef.call(void 0, ({as:o="div",asChild:e,...t},p)=>_jsxruntime.jsx.call(void 0, e?_reactslot.Slot:o,{ref:p,...t}));s.displayName="Box";exports.a = s;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkLJ7NJT5Ycjs = require('./chunk-LJ7NJT5Y.cjs');var _reacttoggle = require('@radix-ui/react-toggle'); var o = _interopRequireWildcard(_reacttoggle);var _react = require('react');var _jsxruntime = require('react/jsx-runtime');var n=_react.forwardRef.call(void 0, ({className:g,size:i,icon:p,variant:r,prefix:a,children:e,suffix:m,...s},l)=>_jsxruntime.jsxs.call(void 0, o.Root,{ref:l,className:_chunkLJ7NJT5Ycjs.a.call(void 0, {className:g,icon:p,size:i,variant:r}),...s,children:[a,typeof e=="string"?_jsxruntime.jsx.call(void 0, "span",{className:"truncate",children:e}):e,m]}));n.displayName=o.Root.displayName;exports.a = n;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";var _chunkNX2PYE7Ucjs = require('./chunk-NX2PYE7U.cjs');var _react = require('react');var _recharts = require('recharts'); var g = _interopRequireWildcard(_recharts);var _jsxruntime = require('react/jsx-runtime');var N={light:"",dark:".dark"},_=_react.createContext.call(void 0, null);function w(){let e=_react.useContext.call(void 0, _);if(!e)throw new Error("useChart must be used within a <ChartContainer />");return e}var K=_react.forwardRef.call(void 0, ({children:e,className:n,config:t,id:o,...a},s)=>{let c=_react.useId.call(void 0, ),l=`chart-${o||c.replace(/:/g,"")}`;return _jsxruntime.jsx.call(void 0, _.Provider,{value:{config:t},children:_jsxruntime.jsxs.call(void 0, "div",{ref:s,className:_chunkNX2PYE7Ucjs.a.call(void 0, "flex aspect-video justify-center text-xs","[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground","[&_.recharts-cartesian-grid_line]:stroke-border/50","[&_.recharts-curve.recharts-tooltip-cursor]:stroke-border","[&_.recharts-dot]:stroke-transparent","[&_.recharts-layer]:outline-none","[&_.recharts-polar-grid_]:stroke-border","[&_.recharts-radial-bar-background-sector]:fill-muted","[&_.recharts-reference-line_]:stroke-border","[&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted","[&_.recharts-sector]:outline-none","[&_.recharts-sector]:stroke-transparent","[&_.recharts-surface]:outline-none",n),"data-chart":l,...a,children:[_jsxruntime.jsx.call(void 0, $,{config:t,id:l}),_jsxruntime.jsx.call(void 0, g.ResponsiveContainer,{children:e})]})})});K.displayName="Chart";function $({id:e,config:n}){let t=_react.useMemo.call(void 0, ()=>J(e,n),[e,n]);return _jsxruntime.jsx.call(void 0, "style",{dangerouslySetInnerHTML:{__html:t}})}var G=g.Tooltip,O= exports.d =_react.forwardRef.call(void 0, ({active:e,className:n,color:t,formatter:o,hideIndicator:a=!1,hideLabel:s=!1,indicator:c="dot",label:l,labelClassName:p,labelFormatter:C,labelKey:y,nameKey:E,payload:h},I)=>{let{config:m}=w(),L=_react.useMemo.call(void 0, ()=>{if(s||!_optionalChain([h, 'optionalAccess', _2 => _2.length]))return null;let[r]=h,P=`${y||r.dataKey||r.name||"value"}`,b=T(m,r,P),u=!y&&typeof l=="string"?_optionalChain([m, 'access', _3 => _3[l], 'optionalAccess', _4 => _4.label])||l:_optionalChain([b, 'optionalAccess', _5 => _5.label]);return C?_jsxruntime.jsx.call(void 0, "div",{className:_chunkNX2PYE7Ucjs.a.call(void 0, "font-medium",p),children:C(u,h)}):u?_jsxruntime.jsx.call(void 0, "div",{className:_chunkNX2PYE7Ucjs.a.call(void 0, "font-medium",p),children:u}):null},[m,s,l,p,C,y,h]);if(!e||!_optionalChain([h, 'optionalAccess', _6 => _6.length]))return null;let v=h.length===1&&c!=="dot";return _jsxruntime.jsxs.call(void 0, "div",{ref:I,className:_chunkNX2PYE7Ucjs.a.call(void 0, "border-border/50 bg-background grid min-w-[8rem] items-start gap-1.5 rounded-lg border px-2.5 py-1.5 text-xs shadow-xl",n),children:[v?null:L,_jsxruntime.jsx.call(void 0, "div",{className:"grid gap-1.5",children:h.map((r,P)=>{let b=`${E||r.name||r.dataKey||"value"}`,u=T(m,r,b),S=t||r.payload.fill||r.color;return _jsxruntime.jsx.call(void 0, "div",{className:_chunkNX2PYE7Ucjs.a.call(void 0, "[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5",c==="dot"&&"items-center"),children:o&&r.value!==void 0&&r.name?o(r.value,r.name,r,P,r.payload):_jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment,{children:[_optionalChain([u, 'optionalAccess', _7 => _7.icon])?_jsxruntime.jsx.call(void 0, u.icon,{}):!a&&_jsxruntime.jsx.call(void 0, "div",{className:_chunkNX2PYE7Ucjs.a.call(void 0, "shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]",{"h-2.5 w-2.5":c==="dot","w-1":c==="line","w-0 border-[1.5px] border-dashed bg-transparent":c==="dashed","my-0.5":v&&c==="dashed"}),style:{"--color-bg":S,"--color-border":S}}),_jsxruntime.jsxs.call(void 0, "div",{className:_chunkNX2PYE7Ucjs.a.call(void 0, "flex flex-1 justify-between leading-none",v?"items-end":"items-center"),children:[_jsxruntime.jsxs.call(void 0, "div",{className:"grid gap-1.5",children:[v?L:null,_jsxruntime.jsx.call(void 0, "span",{className:"text-muted-foreground",children:_optionalChain([u, 'optionalAccess', _8 => _8.label])||r.name})]}),r.value?_jsxruntime.jsx.call(void 0, "span",{className:"text-foreground font-mono font-medium tabular-nums",children:r.value.toLocaleString()}):null]})]})},r.dataKey)})})]})});O.displayName="ChartTooltipContent";var Q=g.Legend,D= exports.f =_react.forwardRef.call(void 0, ({className:e,hideIcon:n=!1,nameKey:t,payload:o,verticalAlign:a="bottom"},s)=>{let{config:c}=w();return _optionalChain([o, 'optionalAccess', _9 => _9.length])?_jsxruntime.jsx.call(void 0, "div",{ref:s,className:_chunkNX2PYE7Ucjs.a.call(void 0, "flex items-center justify-center gap-4",a==="top"?"pb-3":"pt-3",e),children:o.map(l=>{let p="value";t?p=t:l.dataKey&&(p=String(l.dataKey));let C=T(c,l,p);return _jsxruntime.jsxs.call(void 0, "div",{className:_chunkNX2PYE7Ucjs.a.call(void 0, "[&>svg]:text-muted-foreground flex items-center gap-1.5 [&>svg]:size-3"),children:[_optionalChain([C, 'optionalAccess', _10 => _10.icon])&&!n?_jsxruntime.jsx.call(void 0, C.icon,{}):_jsxruntime.jsx.call(void 0, "div",{className:"size-2 shrink-0 rounded",style:{backgroundColor:l.color}}),_optionalChain([C, 'optionalAccess', _11 => _11.label])]},String(l.value))})}):null});D.displayName="ChartLegendContent";function T(e,n,t){if(!k(n))return;let o="payload"in n&&k(n.payload)?n.payload:void 0,a=V(n,o,t);return a in e?e[a]:e[t]}function k(e){return typeof e=="object"&&e!==null}function V(e,n,t){return t in e&&typeof e[t]=="string"?e[t]:n&&t in n&&typeof n[t]=="string"?n[t]:t}function z(e,n,t){let o=[];return o.push(`${N[e]} [data-chart=${n}] {`),t.forEach(([a,s])=>{let c=_optionalChain([s, 'optionalAccess', _12 => _12.theme, 'optionalAccess', _13 => _13[e]])||_optionalChain([s, 'optionalAccess', _14 => _14.color]);c&&o.push(` --color-${a}: ${c};`)}),o.push("}"),o.join(`
|
|
2
|
+
`)}function J(e,n){let t=Object.entries(n).filter(([a,s])=>_optionalChain([s, 'optionalAccess', _15 => _15.theme])||_optionalChain([s, 'optionalAccess', _16 => _16.color])),o=[];return Object.keys(N).forEach(a=>{let s=z(a,e,t);o.push(s)}),o.join(`
|
|
3
|
+
`)}exports.a = K; exports.b = $; exports.c = G; exports.d = O; exports.e = Q; exports.f = D;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Slot as n}from"@radix-ui/react-slot";import{forwardRef as r}from"react";import{jsx as i}from"react/jsx-runtime";var s=r(({as:o="div",asChild:e,...t},p)=>i(e?n:o,{ref:p,...t}));s.displayName="Box";export{s as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _nextthemes = require('next-themes');var _sonner = require('sonner');var _jsxruntime = require('react/jsx-runtime');function m({...t}){let{theme:o="system"}=_nextthemes.useTheme.call(void 0, );return _jsxruntime.jsx.call(void 0, _sonner.Toaster,{className:"toaster group",theme:o,toastOptions:{classNames:{actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground",content:"w-full flex flex-col gap-1",description:"group-[.toast]:text-muted-foreground",toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg"}},...t})}exports.a = _sonner.toast; exports.b = m;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{a as _,b as k,c as A,d as D}from"./chunk-NRWGIK35.js";import{a as H}from"./chunk-Q7G3A7X6.js";import{a as N}from"./chunk-AMA6AK3X.js";import{a as T,c as I,g as B,h as L}from"./chunk-ABXCGNGZ.js";import{a as P}from"./chunk-R773RBMT.js";import{a as w}from"./chunk-GCOZTRNW.js";import{a as o}from"./chunk-FQMSK2WZ.js";import{useMediaQuery as V}from"@codefast/hooks";import{Slot as v}from"@radix-ui/react-slot";import{VisuallyHidden as F}from"@radix-ui/react-visually-hidden";import{PanelLeftIcon as $}from"lucide-react";import{createContext as U,forwardRef as n,useCallback as G,useContext as W,useEffect as j,useMemo as R,useState as z}from"react";import{tv as q}from"tailwind-variants";import{jsx as r,jsxs as f}from"react/jsx-runtime";var Q="sidebar:state",X=60*60*24*7,Y="16rem",J="18rem",Z="3rem",ee="b",te=768,O=U(null);function M(){let t=W(O);if(!t)throw new Error("useSidebar must be used within a SidebarProvider.");return t}var ae=n(({defaultOpen:t=!0,open:e,onOpenChange:a,className:i,style:d,children:s,...c},S)=>{let p=V(`(max-width: ${te-1}px)`),[m,b]=z(!1),[h,E]=z(t),g=e??h,x=G(l=>{let u=typeof l=="function"?l(g):l;a?a(u):E(u),document.cookie=`${Q}=${u}; path=/; max-age=${X}`},[a,g]),y=G(()=>{p?b(l=>!l):x(l=>!l)},[p,x,b]);j(()=>{let l=u=>{u.key===ee&&(u.metaKey||u.ctrlKey)&&(u.preventDefault(),y())};return window.addEventListener("keydown",l),()=>{window.removeEventListener("keydown",l)}},[y]);let C=g?"expanded":"collapsed",K=R(()=>({state:C,open:g,setOpen:x,isMobile:p,openMobile:m,setOpenMobile:b,toggleSidebar:y}),[C,g,x,p,m,b,y]);return r(O.Provider,{value:K,children:r(_,{delayDuration:0,children:r("div",{ref:S,className:o("group/sidebar-wrapper has-[[data-variant=inset]]:bg-sidebar flex min-h-svh w-full",i),style:{"--sidebar-width":Y,"--sidebar-width-icon":Z,...d},...c,children:s})})})});ae.displayName="SidebarProvider";var re=n(({side:t="left",variant:e="sidebar",collapsible:a="offcanvas",className:i,children:d,...s},c)=>{let{isMobile:S,state:p,openMobile:m,setOpenMobile:b}=M();return a==="none"?r("div",{ref:c,className:o("bg-sidebar text-sidebar-foreground flex h-full w-[--sidebar-width] flex-col",i),...s,children:d}):S?r(T,{open:m,onOpenChange:b,...s,children:f(I,{className:"bg-sidebar text-sidebar-foreground w-[--sidebar-width] p-0 [&>button]:hidden","data-mobile":"true","data-sidebar":"sidebar",side:t,style:{"--sidebar-width":J},children:[f(F,{children:[r(B,{children:"Sidebar"}),r(L,{children:"Press escape to close the sidebar"})]}),r("div",{className:"flex h-full w-full flex-col",children:d})]})}):f("div",{ref:c,className:"text-sidebar-foreground group peer hidden md:block","data-collapsible":p==="collapsed"?a:"","data-side":t,"data-state":p,"data-variant":e,children:[r("div",{className:o("relative h-svh w-[--sidebar-width] bg-transparent transition-[width] duration-200 ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",e==="floating"||e==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),r("div",{className:o("fixed inset-y-0 z-10 hidden h-svh w-[--sidebar-width] transition-[left,right,width] duration-200 ease-linear md:flex",t==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",e==="floating"||e==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",i),...s,children:r("div",{className:"bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow","data-sidebar":"sidebar",children:d})})]})});re.displayName="Sidebar";var oe=n(({className:t,onClick:e,...a},i)=>{let{toggleSidebar:d}=M();return f(w,{ref:i,icon:!0,className:o("",t),"data-sidebar":"trigger",size:"xxs",variant:"ghost",onClick:s=>{e?.(s),d()},...a,children:[r($,{}),r("span",{className:"sr-only",children:"Toggle Sidebar"})]})});oe.displayName="SidebarTrigger";var ne=n(({className:t,...e},a)=>{let{toggleSidebar:i}=M();return r("button",{ref:a,"aria-label":"Toggle Sidebar",className:o("hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-0.5 group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:hover:bg-sidebar group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",t),"data-sidebar":"rail",tabIndex:-1,title:"Toggle Sidebar",type:"button",onClick:i,...e})});ne.displayName="SidebarRail";var ie=n(({className:t,...e},a)=>r("main",{ref:a,className:o("bg-background relative flex min-h-svh flex-1 flex-col","peer-data-[variant=inset]:min-h-[calc(100svh-theme(spacing.4))] md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",t),...e}));ie.displayName="SidebarInset";var de=n(({className:t,...e},a)=>r(H,{ref:a,className:o("bg-background focus-visible:ring-sidebar-ring h-8 w-full shadow-none focus-visible:ring-2",t),"data-sidebar":"input",...e}));de.displayName="SidebarInput";var se=n(({className:t,...e},a)=>r("div",{ref:a,className:o("flex flex-col gap-2 p-2",t),"data-sidebar":"header",...e}));se.displayName="SidebarHeader";var le=n(({className:t,...e},a)=>r("div",{ref:a,className:o("flex flex-col gap-2 p-2",t),"data-sidebar":"footer",...e}));le.displayName="SidebarFooter";var pe=n(({className:t,...e},a)=>r(N,{ref:a,className:o("bg-sidebar-border mx-2 w-auto",t),"data-sidebar":"separator",...e}));pe.displayName="SidebarSeparator";var be=n(({className:t,...e},a)=>r("div",{ref:a,className:o("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",t),"data-sidebar":"content",...e}));be.displayName="SidebarContent";var ue=n(({className:t,...e},a)=>r("div",{ref:a,className:o("relative flex w-full min-w-0 flex-col p-2",t),"data-sidebar":"group",...e}));ue.displayName="SidebarGroup";var ce=n(({className:t,asChild:e=!1,...a},i)=>r(e?v:"div",{ref:i,className:o("text-sidebar-foreground/70 ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-none transition-[margin,opa] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",t),"data-sidebar":"group-label",...a}));ce.displayName="SidebarGroupLabel";var me=n(({className:t,asChild:e=!1,...a},i)=>r(e?v:"button",{ref:i,className:o("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-none transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",t),"data-sidebar":"group-action",...a}));me.displayName="SidebarGroupAction";var fe=n(({className:t,...e},a)=>r("div",{ref:a,className:o("w-full text-sm",t),"data-sidebar":"group-content",...e}));fe.displayName="SidebarGroupContent";var Se=n(({className:t,...e},a)=>r("ul",{ref:a,className:o("flex w-full min-w-0 flex-col gap-1",t),"data-sidebar":"menu",...e}));Se.displayName="SidebarMenu";var ge=n(({className:t,...e},a)=>r("li",{ref:a,className:o("group/menu-item relative",t),"data-sidebar":"menu-item",...e}));ge.displayName="SidebarMenuItem";var ve=q({base:"peer/menu-button ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none transition-[width,height,padding] focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:font-medium group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background hover:bg-sidebar-accent hover:text-sidebar-accent-foreground shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),he=n(({asChild:t=!1,isActive:e=!1,variant:a="default",size:i="default",tooltip:d,className:s,...c},S)=>{let p=t?v:"button",{isMobile:m,state:b}=M(),h=r(p,{ref:S,className:o(ve({variant:a,size:i}),s),"data-active":e,"data-sidebar":"menu-button","data-size":i,...c});return d?f(k,{children:[r(A,{asChild:!0,children:h}),r(D,{align:"center",hidden:b!=="collapsed"||m,side:"right",...typeof d=="string"?{children:d}:d})]}):h});he.displayName="SidebarMenuButton";var xe=n(({className:t,asChild:e=!1,showOnHover:a=!1,...i},d)=>r(e?v:"button",{ref:d,className:o("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-none transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",a&&"peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0",t),"data-sidebar":"menu-action",...i}));xe.displayName="SidebarMenuAction";var ye=n(({className:t,...e},a)=>r("div",{ref:a,className:o("text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 select-none items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",t),"data-sidebar":"menu-badge",...e}));ye.displayName="SidebarMenuBadge";var Me=n(({className:t,showIcon:e=!1,...a},i)=>{let d=R(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return f("div",{ref:i,className:o("flex h-8 items-center gap-2 rounded-md px-2",t),"data-sidebar":"menu-skeleton",...a,children:[e?r(P,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}):null,r(P,{className:"h-4 max-w-[--skeleton-width] flex-1","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":d}})]})});Me.displayName="SidebarMenuSkeleton";var Pe=n(({className:t,...e},a)=>r("ul",{ref:a,className:o("border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",t),"data-sidebar":"menu-sub",...e}));Pe.displayName="SidebarMenuSub";var Ee=n(({...t},e)=>r("li",{ref:e,...t}));Ee.displayName="SidebarMenuSubItem";var Ce=n(({asChild:t=!1,size:e="md",isActive:a,className:i,...d},s)=>r(t?v:"a",{ref:s,className:o("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 outline-none focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",e==="sm"&&"text-xs",e==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",i),"data-active":a,"data-sidebar":"menu-sub-button","data-size":e,...d}));Ce.displayName="SidebarMenuSubButton";export{M as a,ae as b,re as c,oe as d,ne as e,ie as f,de as g,se as h,le as i,pe as j,be as k,ue as l,ce as m,me as n,fe as o,Se as p,ge as q,he as r,xe as s,ye as t,Me as u,Pe as v,Ee as w,Ce as x};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _reactslot = require('@radix-ui/react-slot');var _react = require('react');var _jsxruntime = require('react/jsx-runtime');var r=_react.forwardRef.call(void 0, ({asChild:e,...t},o)=>_jsxruntime.jsx.call(void 0, e?_reactslot.Slot:"section",{ref:o,...t}));r.displayName="Section";exports.a = r;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _reactslot = require('@radix-ui/react-slot');var _react = require('react');var _jsxruntime = require('react/jsx-runtime');var u=_react.forwardRef.call(void 0, ({asChild:e,...t},o)=>_jsxruntime.jsx.call(void 0, e?_reactslot.Slot:"q",{ref:o,...t}));u.displayName="Quote";exports.a = u;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkNX2PYE7Ucjs = require('./chunk-NX2PYE7U.cjs');var _reactcontextmenu = require('@radix-ui/react-context-menu'); var e = _interopRequireWildcard(_reactcontextmenu);var _lucidereact = require('lucide-react');var _react = require('react');var _jsxruntime = require('react/jsx-runtime');var h=e.Root,N= exports.b =e.Trigger,E= exports.c =e.Group,T= exports.d =e.Sub,w= exports.e =e.RadioGroup,d= exports.f =_react.forwardRef.call(void 0, ({children:t,className:o,inset:n,...a},s)=>_jsxruntime.jsxs.call(void 0, e.SubTrigger,{ref:s,className:_chunkNX2PYE7Ucjs.a.call(void 0, "gap-x-2 px-3 py-1.5","flex cursor-pointer select-none items-center rounded text-sm","focus:bg-accent focus:text-accent-foreground focus:outline-none","data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",n&&"pl-8",o),...a,children:[t,_jsxruntime.jsx.call(void 0, _lucidereact.ChevronRightIcon,{className:"ml-auto size-4"})]}));d.displayName=e.SubTrigger.displayName;var l=_react.forwardRef.call(void 0, ({className:t,...o},n)=>_jsxruntime.jsx.call(void 0, e.Portal,{children:_jsxruntime.jsx.call(void 0, e.SubContent,{ref:n,className:_chunkNX2PYE7Ucjs.a.call(void 0, "bg-popover text-popover-foreground z-50 min-w-32 rounded-md border p-1 shadow-md","data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-95","data-[state=open]:data-[side=top]:slide-in-from-bottom-2","data-[state=open]:data-[side=right]:slide-in-from-left-2","data-[state=open]:data-[side=bottom]:slide-in-from-top-2","data-[state=open]:data-[side=left]:slide-in-from-right-2","data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-95","data-[state=closed]:data-[side=top]:slide-out-to-bottom-2","data-[state=closed]:data-[side=right]:slide-out-to-left-2","data-[state=closed]:data-[side=bottom]:slide-out-to-top-2","data-[state=closed]:data-[side=left]:slide-out-to-right-2",t),...o})}));l.displayName=e.SubContent.displayName;var M=_react.forwardRef.call(void 0, ({className:t,...o},n)=>_jsxruntime.jsx.call(void 0, e.Portal,{children:_jsxruntime.jsx.call(void 0, e.Content,{ref:n,className:_chunkNX2PYE7Ucjs.a.call(void 0, "bg-popover text-popover-foreground z-50 min-w-32 rounded-md border p-1 shadow-md","data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-95","data-[state=open]:data-[side=top]:slide-in-from-bottom-2","data-[state=open]:data-[side=right]:slide-in-from-left-2","data-[state=open]:data-[side=bottom]:slide-in-from-top-2","data-[state=open]:data-[side=left]:slide-in-from-right-2",t),...o})}));M.displayName=e.Content.displayName;var c=_react.forwardRef.call(void 0, ({className:t,inset:o,...n},a)=>_jsxruntime.jsx.call(void 0, e.Item,{ref:a,className:_chunkNX2PYE7Ucjs.a.call(void 0, "gap-x-2 px-3 py-1.5","relative flex cursor-pointer select-none items-center rounded text-sm","focus:bg-accent focus:text-accent-foreground focus:outline-none","aria-disabled:pointer-events-none aria-disabled:opacity-50",o&&"pl-8",t),...n}));c.displayName=e.Item.displayName;var P=_react.forwardRef.call(void 0, ({children:t,className:o,checked:n,...a},s)=>_jsxruntime.jsxs.call(void 0, e.CheckboxItem,{ref:s,checked:n,className:_chunkNX2PYE7Ucjs.a.call(void 0, "gap-x-2 px-3 py-1.5","pl-8","relative flex cursor-pointer select-none items-center rounded text-sm","focus:bg-accent focus:text-accent-foreground focus:outline-none","aria-disabled:pointer-events-none aria-disabled:opacity-50",o),...a,children:[_jsxruntime.jsx.call(void 0, "span",{className:"absolute left-2 flex size-3.5 items-center justify-center",children:_jsxruntime.jsx.call(void 0, e.ItemIndicator,{children:_jsxruntime.jsx.call(void 0, _lucidereact.CheckIcon,{className:"size-4"})})}),t]}));P.displayName=e.CheckboxItem.displayName;var f=_react.forwardRef.call(void 0, ({children:t,className:o,...n},a)=>_jsxruntime.jsxs.call(void 0, e.RadioItem,{ref:a,className:_chunkNX2PYE7Ucjs.a.call(void 0, "gap-x-2 px-3 py-1.5","pl-8","relative flex cursor-pointer select-none items-center rounded text-sm","focus:bg-accent focus:text-accent-foreground focus:outline-none","aria-disabled:pointer-events-none aria-disabled:opacity-50",o),...n,children:[_jsxruntime.jsx.call(void 0, "span",{className:"absolute left-2 flex size-3.5 items-center justify-center",children:_jsxruntime.jsx.call(void 0, e.ItemIndicator,{children:_jsxruntime.jsx.call(void 0, _lucidereact.DotIcon,{className:"size-4 fill-current"})})}),t]}));f.displayName=e.RadioItem.displayName;var y=_react.forwardRef.call(void 0, ({className:t,inset:o,...n},a)=>_jsxruntime.jsx.call(void 0, e.Label,{ref:a,className:_chunkNX2PYE7Ucjs.a.call(void 0, "gap-x-2 px-3 py-1.5","flex items-center text-sm font-semibold",o&&"pl-8",t),...n}));y.displayName=e.Label.displayName;var b=_react.forwardRef.call(void 0, ({className:t,...o},n)=>_jsxruntime.jsx.call(void 0, e.Separator,{ref:n,className:_chunkNX2PYE7Ucjs.a.call(void 0, "bg-muted mx-2 my-1 h-px",t),...o}));b.displayName=e.Separator.displayName;function k({className:t,...o}){return _jsxruntime.jsx.call(void 0, "span",{className:_chunkNX2PYE7Ucjs.a.call(void 0, "text-muted-foreground ml-auto text-xs tracking-widest",t),...o})}var v=_react.forwardRef.call(void 0, ({className:t,...o},n)=>_jsxruntime.jsx.call(void 0, e.Arrow,{ref:n,className:_chunkNX2PYE7Ucjs.a.call(void 0, "fill-popover",t),...o}));v.displayName=e.Arrow.displayName;exports.a = h; exports.b = N; exports.c = E; exports.d = T; exports.e = w; exports.f = d; exports.g = l; exports.h = M; exports.i = c; exports.j = P; exports.k = f; exports.l = y; exports.m = b; exports.n = k; exports.o = v;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o}from"./chunk-YSSFLIW2.js";import{a as n}from"./chunk-RNGFAUQN.js";import*as t from"@codefast-ui/input";import{forwardRef as P}from"react";import{jsx as e}from"react/jsx-runtime";var{root:l,input:x}=o(),y=P(({className:i,inputSize:p,loaderPosition:r,loading:m,prefix:s,spinner:a,suffix:u,...f},I)=>e(t.Root,{className:l({inputSize:p,className:i}),loaderPosition:r,loading:m,prefix:s,spinner:a||e(n,{}),suffix:u,children:e(t.Item,{ref:I,className:x({inputSize:p}),...f})}));y.displayName="TextInput";export{y as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkNX2PYE7Ucjs = require('./chunk-NX2PYE7U.cjs');var _reactswitch = require('@radix-ui/react-switch'); var t = _interopRequireWildcard(_reactswitch);var _react = require('react');var _jsxruntime = require('react/jsx-runtime');var a=_react.forwardRef.call(void 0, ({className:o,...s},r)=>_jsxruntime.jsx.call(void 0, t.Root,{className:_chunkNX2PYE7Ucjs.a.call(void 0, "peer inline-flex h-5 w-9 shrink-0 items-center rounded-full border-2 border-transparent shadow-sm transition","data-[state=checked]:bg-primary data-[state=unchecked]:bg-input","focus-visible:ring-ring focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2","disabled:cursor-default disabled:opacity-50",o),...s,ref:r,children:_jsxruntime.jsx.call(void 0, t.Thumb,{className:_chunkNX2PYE7Ucjs.a.call(void 0, "bg-background pointer-events-none block size-4 rounded-full shadow transition","data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})}));a.displayName=t.Root.displayName;exports.a = a;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e}from"./chunk-FQMSK2WZ.js";import{jsx as n}from"react/jsx-runtime";function m({className:t,...o}){return n("div",{className:e("bg-muted animate-pulse rounded",t),...o})}export{m as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }"use client";var _chunkNX2PYE7Ucjs = require('./chunk-NX2PYE7U.cjs');var _reactcontext = require('@radix-ui/react-context');var _reactscrollarea = require('@radix-ui/react-scroll-area'); var r = _interopRequireWildcard(_reactscrollarea);var _react = require('react');var _tailwindvariants = require('tailwind-variants');var _jsxruntime = require('react/jsx-runtime');var P=_tailwindvariants.tv.call(void 0, {base:"flex touch-none select-none p-px transition",compoundVariants:[{className:"w-1.5",orientation:"vertical",size:"sm"},{className:"w-2",orientation:"vertical",size:"md"},{className:"w-2.5",orientation:"vertical",size:"lg"},{className:"h-1.5",orientation:"horizontal",size:"sm"},{className:"h-2",orientation:"horizontal",size:"md"},{className:"h-2.5",orientation:"horizontal",size:"lg"}],defaultVariants:{size:"md",vertical:"vertical"},variants:{orientation:{vertical:"h-full flex-row border-l border-l-transparent",horizontal:"w-full flex-col border-t border-t-transparent"},size:{none:"",sm:"",md:"",lg:""}}}),n="ScrollArea",[f]=_reactcontext.createContextScope.call(void 0, n),[v,d]=f(n),b= exports.a =_react.forwardRef.call(void 0, ({__scopeScrollArea:l,children:a,className:o,size:t,...i},c)=>_jsxruntime.jsx.call(void 0, v,{scope:l,size:t,children:_jsxruntime.jsxs.call(void 0, r.Root,{ref:c,className:_chunkNX2PYE7Ucjs.a.call(void 0, "relative overflow-hidden",o),...i,children:[_jsxruntime.jsx.call(void 0, r.Viewport,{className:"size-full rounded-[inherit] [&>*]:h-full",children:a}),_jsxruntime.jsx.call(void 0, s,{orientation:"vertical"}),_jsxruntime.jsx.call(void 0, s,{orientation:"horizontal"}),_jsxruntime.jsx.call(void 0, r.Corner,{})]})}));b.displayName=r.Root.displayName;var s=_react.forwardRef.call(void 0, ({__scopeScrollArea:l,className:a,orientation:o,...t},i)=>{let{size:c}=d(n,l);return _jsxruntime.jsx.call(void 0, r.Scrollbar,{ref:i,className:P({orientation:o,size:c,className:a}),orientation:o,...t,children:_jsxruntime.jsx.call(void 0, r.ScrollAreaThumb,{className:"bg-border relative flex-1 rounded-full"})})});s.displayName=r.Scrollbar.displayName;exports.a = b; exports.b = s;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _reactslot = require('@radix-ui/react-slot');var _react = require('react');var _jsxruntime = require('react/jsx-runtime');var n=_react.forwardRef.call(void 0, ({as:e="p",asChild:t,...r},p)=>_jsxruntime.jsx.call(void 0, t?_reactslot.Slot:e,{ref:p,...r}));n.displayName="Text";exports.a = n;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as i}from"./chunk-FQMSK2WZ.js";import{VisuallyHidden as f}from"@radix-ui/react-visually-hidden";import{forwardRef as m}from"react";import{jsx as n,jsxs as d}from"react/jsx-runtime";var e=8,u=m(({children:r,className:s,loading:o=!0,...p},l)=>{if(!o)return r;let a=n("span",{ref:l,className:i("relative flex size-4 items-center justify-center opacity-60",s),...p,children:Array.from({length:e},(b,t)=>n("span",{className:"before:fade-out-25 before:animate-out before:animate-repeat-infinite before:animate-delay-[var(--spinner-delay)] before:animate-duration-[var(--spinner-duration)] absolute h-full rotate-[var(--spinner-rotate)] before:block before:h-1/3 before:w-full before:rounded-full before:bg-current",style:{width:`${(100/e).toString()}%`,"--spinner-delay":`-${((e-t)*100).toString()}ms`,"--spinner-rotate":`${(360/e*t).toString()}deg`,"--spinner-duration":`${(e*100).toString()}ms`}},t))});return r===void 0?a:d("span",{className:"relative",children:[n("span",{"aria-hidden":!0,className:"invisible contents",children:r}),n(f,{children:r}),n("span",{className:"absolute inset-0 flex items-center justify-center",children:a})]})});u.displayName="Spinner";export{u as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as v}from"./chunk-V3H3W256.js";import{a as n}from"./chunk-FQMSK2WZ.js";import*as t from"@radix-ui/react-navigation-menu";import{ChevronDownIcon as u}from"lucide-react";import{forwardRef as r}from"react";import{jsx as a,jsxs as m}from"react/jsx-runtime";var N=r(({children:i,className:e,...o},p)=>m(t.Root,{ref:p,className:n("relative z-10 flex max-w-max flex-1 items-center justify-center",e),...o,children:[i,a(s,{})]}));N.displayName=t.Root.displayName;var d=r(({children:i,className:e,...o},p)=>m(t.List,{ref:p,className:n("group flex flex-1 list-none items-center justify-center space-x-1",e),...o,children:[i,a(g,{})]}));d.displayName=t.List.displayName;var w=t.Item,f=r(({children:i,className:e,...o},p)=>m(t.Trigger,{ref:p,className:v({variant:"ghost",className:["data-[state=open]:bg-accent data-[state=open]:text-accent-foreground","group",e]}),...o,children:[i,a(u,{"aria-hidden":"true",className:n("relative top-px ml-1 size-3 transition","group-data-[state=open]:rotate-180")})]}));f.displayName=t.Trigger.displayName;var M=r(({className:i,...e},o)=>a(t.Content,{ref:o,className:n("left-0 top-0 w-full md:absolute md:w-auto","data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in","data-[motion=from-end]:slide-in-from-right-52","data-[motion=from-start]:slide-in-from-left-52","data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out","data-[motion=to-end]:slide-out-to-right-52","data-[motion=to-start]:slide-out-to-left-52",i),...e}));M.displayName=t.Content.displayName;var R=t.Link,s=r(({className:i,...e},o)=>a("div",{className:"perspective-[125rem] absolute left-0 top-full flex justify-center",children:a(t.Viewport,{ref:o,className:n("bg-popover text-popover-foreground relative mt-1.5 w-full origin-[top_center] overflow-hidden rounded-md border p-1 shadow-md transition-[width,height]","h-[var(--radix-navigation-menu-viewport-height)] sm:w-[var(--radix-navigation-menu-viewport-width)]","data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-90","data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-95",i),...e})}));s.displayName=t.Viewport.displayName;var g=r(({className:i,...e},o)=>a(t.Indicator,{ref:o,className:n("data-[state=visible]:animate-fade-in data-[state=hidden]:animate-fade-out top-full z-10 flex h-1.5 items-center justify-center overflow-hidden transition",i),...e,children:a("div",{className:"bg-popover relative top-[60%] size-2 rotate-45 rounded-tl-sm"})}));g.displayName=t.Indicator.displayName;export{N as a,d as b,w as c,f as d,M as e,R as f};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkNX2PYE7Ucjs = require('./chunk-NX2PYE7U.cjs');var _reactmenubar = require('@radix-ui/react-menubar'); var e = _interopRequireWildcard(_reactmenubar);var _lucidereact = require('lucide-react');var _react = require('react');var _jsxruntime = require('react/jsx-runtime');var T=e.Menu,w= exports.b =e.Group,k= exports.c =e.Sub,W= exports.d =e.RadioGroup,l= exports.e =_react.forwardRef.call(void 0, ({className:t,...r},o)=>_jsxruntime.jsx.call(void 0, e.Root,{ref:o,className:_chunkNX2PYE7Ucjs.a.call(void 0, "bg-background flex h-10 items-center space-x-1 rounded-md border p-1",t),...r}));l.displayName=e.Root.displayName;var c=_react.forwardRef.call(void 0, ({className:t,...r},o)=>_jsxruntime.jsx.call(void 0, e.Trigger,{ref:o,className:_chunkNX2PYE7Ucjs.a.call(void 0, "gap-x-2 px-3 py-1.5","flex cursor-pointer select-none items-center rounded text-sm font-medium","focus:bg-accent focus:text-accent-foreground focus:outline-none","data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t),...r}));c.displayName=e.Trigger.displayName;var f=_react.forwardRef.call(void 0, ({children:t,className:r,inset:o,...i},u)=>_jsxruntime.jsxs.call(void 0, e.SubTrigger,{ref:u,className:_chunkNX2PYE7Ucjs.a.call(void 0, "gap-x-2 px-3 py-1.5","flex cursor-pointer select-none items-center rounded text-sm","focus:bg-accent focus:text-accent-foreground focus:outline-none","data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",o&&"pl-8",r),...i,children:[t,_jsxruntime.jsx.call(void 0, _lucidereact.ChevronRightIcon,{className:"ml-auto size-4"})]}));f.displayName=e.SubTrigger.displayName;var P=_react.forwardRef.call(void 0, ({className:t,...r},o)=>_jsxruntime.jsx.call(void 0, e.Portal,{children:_jsxruntime.jsx.call(void 0, e.SubContent,{ref:o,className:_chunkNX2PYE7Ucjs.a.call(void 0, "bg-popover text-popover-foreground z-50 min-w-32 rounded-md border p-1 shadow-md","data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-95","data-[state=open]:data-[side=top]:slide-in-from-bottom-2","data-[state=open]:data-[side=right]:slide-in-from-left-2","data-[state=open]:data-[side=bottom]:slide-in-from-top-2","data-[state=open]:data-[side=left]:slide-in-from-right-2","data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-95","data-[state=closed]:data-[side=top]:slide-out-to-bottom-2","data-[state=closed]:data-[side=left]:slide-out-to-right-2","data-[state=closed]:data-[side=bottom]:slide-out-to-top-2","data-[state=closed]:data-[side=right]:slide-out-to-left-2",t),...r})}));P.displayName=e.SubContent.displayName;var y=_react.forwardRef.call(void 0, ({className:t,align:r="start",alignOffset:o=-4,sideOffset:i=8,...u},m)=>_jsxruntime.jsx.call(void 0, e.Portal,{children:_jsxruntime.jsx.call(void 0, e.Content,{ref:m,align:r,alignOffset:o,className:_chunkNX2PYE7Ucjs.a.call(void 0, "bg-popover text-popover-foreground z-50 min-w-32 rounded-md border p-1 shadow-md","data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-95 data-[state=open]:data-[side=top]:slide-in-from-bottom-2 data-[state=open]:data-[side=right]:slide-in-from-left-2 data-[state=open]:data-[side=bottom]:slide-in-from-top-2 data-[state=open]:data-[side=left]:slide-in-from-right-2",t),sideOffset:i,...u})}));y.displayName=e.Content.displayName;var g=_react.forwardRef.call(void 0, ({className:t,inset:r,...o},i)=>_jsxruntime.jsx.call(void 0, e.Item,{ref:i,className:_chunkNX2PYE7Ucjs.a.call(void 0, "gap-x-2 px-3 py-1.5","relative flex cursor-pointer select-none items-center rounded text-sm","focus:bg-accent focus:text-accent-foreground focus:outline-none","aria-disabled:pointer-events-none aria-disabled:opacity-50",r&&"pl-8",t),...o}));g.displayName=e.Item.displayName;var v=_react.forwardRef.call(void 0, ({children:t,className:r,checked:o,...i},u)=>_jsxruntime.jsxs.call(void 0, e.CheckboxItem,{ref:u,checked:o,className:_chunkNX2PYE7Ucjs.a.call(void 0, "gap-x-2 px-3 py-1.5","pl-8","relative flex cursor-pointer select-none items-center rounded text-sm","focus:bg-accent focus:text-accent-foreground focus:outline-none","aria-disabled:pointer-events-none aria-disabled:opacity-50",r),...i,children:[_jsxruntime.jsx.call(void 0, "span",{className:"absolute left-2 flex size-3.5 items-center justify-center",children:_jsxruntime.jsx.call(void 0, e.ItemIndicator,{children:_jsxruntime.jsx.call(void 0, _lucidereact.CheckIcon,{className:"size-4"})})}),t]}));v.displayName=e.CheckboxItem.displayName;var C=_react.forwardRef.call(void 0, ({children:t,className:r,...o},i)=>_jsxruntime.jsxs.call(void 0, e.RadioItem,{ref:i,className:_chunkNX2PYE7Ucjs.a.call(void 0, "gap-x-2 px-3 py-1.5","pl-8","relative flex cursor-pointer select-none items-center rounded text-sm","focus:bg-accent focus:text-accent-foreground focus:outline-none","aria-disabled:pointer-events-none aria-disabled:opacity-50",r),...o,children:[_jsxruntime.jsx.call(void 0, "span",{className:"absolute left-2 flex size-3.5 items-center justify-center",children:_jsxruntime.jsx.call(void 0, e.ItemIndicator,{children:_jsxruntime.jsx.call(void 0, _lucidereact.DotIcon,{className:"size-4 fill-current"})})}),t]}));C.displayName=e.RadioItem.displayName;var x=_react.forwardRef.call(void 0, ({className:t,inset:r,...o},i)=>_jsxruntime.jsx.call(void 0, e.Label,{ref:i,className:_chunkNX2PYE7Ucjs.a.call(void 0, "gap-x-2 px-3 py-1.5","flex items-center text-sm font-semibold",r&&"pl-8",t),...o}));x.displayName=e.Label.displayName;var R=_react.forwardRef.call(void 0, ({className:t,...r},o)=>_jsxruntime.jsx.call(void 0, e.Separator,{ref:o,className:_chunkNX2PYE7Ucjs.a.call(void 0, "bg-muted mx-2 my-1 h-px",t),...r}));R.displayName=e.Separator.displayName;function L({className:t,...r}){return _jsxruntime.jsx.call(void 0, "span",{className:_chunkNX2PYE7Ucjs.a.call(void 0, "text-muted-foreground ml-auto text-xs tracking-widest",t),...r})}var h=_react.forwardRef.call(void 0, ({className:t,...r},o)=>_jsxruntime.jsx.call(void 0, e.Arrow,{ref:o,className:_chunkNX2PYE7Ucjs.a.call(void 0, "fill-popover",t),...r}));h.displayName=e.Arrow.displayName;exports.a = T; exports.b = w; exports.c = k; exports.d = W; exports.e = l; exports.f = c; exports.g = f; exports.h = P; exports.i = y; exports.j = g; exports.k = v; exports.l = C; exports.m = x; exports.n = R; exports.o = L; exports.p = h;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _tailwindvariants = require('tailwind-variants');var _jsxruntime = require('react/jsx-runtime');var d=_tailwindvariants.tv.call(void 0, {base:["inline-flex shrink-0 items-center justify-center gap-2 whitespace-nowrap rounded-md px-2.5 text-sm font-medium","[&>svg]:shrink-0"],compoundVariants:[{className:"w-8",icon:!0,size:"sm"},{className:"w-9",icon:!0,size:"md"},{className:"w-10",icon:!0,size:"lg"},{className:"w-11",icon:!0,size:"xl"},{className:"w-12",icon:!0,size:"2xl"}],defaultVariants:{icon:!1,size:"md",variant:"default"},variants:{icon:{false:"",true:"px-0"},size:{sm:"h-5 [&>svg]:size-3",md:"h-6 [&>svg]:size-3",lg:"h-7 [&>svg]:size-4",xl:"h-8 [&>svg]:size-5","2xl":"h-9 [&>svg]:size-5"},variant:{default:"bg-primary text-primary-foreground",secondary:"bg-secondary text-secondary-foreground",info:"bg-info text-info-foreground",success:"bg-success text-success-foreground",warning:"bg-warning text-warning-foreground",destructive:"bg-destructive text-destructive-foreground",outline:"bg-background border-input border"}}});function f({className:s,variant:t,size:r,prefix:a,suffix:i,children:e,...n}){return _jsxruntime.jsxs.call(void 0, "div",{className:d({variant:t,className:s,size:r}),...n,children:[a,typeof e=="string"?_jsxruntime.jsx.call(void 0, "span",{className:"truncate",children:e}):e,i]})}exports.a = f;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkNX2PYE7Ucjs = require('./chunk-NX2PYE7U.cjs');var _reactseparator = require('@radix-ui/react-separator'); var a = _interopRequireWildcard(_reactseparator);var _react = require('react');var _tailwindvariants = require('tailwind-variants');var _jsxruntime = require('react/jsx-runtime');var f=_tailwindvariants.tv.call(void 0, {base:"bg-muted relative flex shrink-0 items-center",defaultVariants:{align:"center",orientation:"horizontal"},variants:{align:{start:"justify-start",center:"justify-center",end:"justify-end"},orientation:{horizontal:"h-px w-full",vertical:"h-full w-px flex-col"}}}),S= exports.a =_react.forwardRef.call(void 0, ({className:e,orientation:t,align:r,decorative:n=!0,...s},m)=>_jsxruntime.jsx.call(void 0, a.Root,{ref:m,className:f({align:r,orientation:t,className:e}),decorative:n,orientation:t,...s}));S.displayName=a.Root.displayName;var y=_react.forwardRef.call(void 0, ({className:e,...t},r)=>_jsxruntime.jsx.call(void 0, "div",{ref:r,className:_chunkNX2PYE7Ucjs.a.call(void 0, "bg-background text-muted-foreground absolute mx-2 px-2 text-sm",e),...t}));y.displayName="SeparatorItem";exports.a = S; exports.b = y;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkNX2PYE7Ucjs = require('./chunk-NX2PYE7U.cjs');var _reactdropdownmenu = require('@radix-ui/react-dropdown-menu'); var e = _interopRequireWildcard(_reactdropdownmenu);var _lucidereact = require('lucide-react');var _react = require('react');var _jsxruntime = require('react/jsx-runtime');var h=e.Root,R= exports.b =e.Trigger,S= exports.c =e.Group,N= exports.d =e.Sub,T= exports.e =e.RadioGroup,l= exports.f =_react.forwardRef.call(void 0, ({children:o,className:t,inset:n,...p},d)=>_jsxruntime.jsxs.call(void 0, e.SubTrigger,{ref:d,className:_chunkNX2PYE7Ucjs.a.call(void 0, "gap-x-2 px-3 py-1.5","flex cursor-pointer select-none items-center rounded text-sm","focus:bg-accent focus:text-accent-foreground focus:outline-none","data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",n&&"pl-8",t),...p,children:[o,_jsxruntime.jsx.call(void 0, _lucidereact.ChevronRightIcon,{className:"ml-auto size-4"})]}));l.displayName=e.SubTrigger.displayName;var M=_react.forwardRef.call(void 0, ({className:o,...t},n)=>_jsxruntime.jsx.call(void 0, e.Portal,{children:_jsxruntime.jsx.call(void 0, e.SubContent,{ref:n,className:_chunkNX2PYE7Ucjs.a.call(void 0, "bg-popover text-popover-foreground z-50 min-w-32 rounded-md border p-1 shadow-md","data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-95","data-[state=open]:data-[side=top]:slide-in-from-bottom-2","data-[state=open]:data-[side=right]:slide-in-from-left-2","data-[state=open]:data-[side=bottom]:slide-in-from-top-2","data-[state=open]:data-[side=left]:slide-in-from-right-2","data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-95","data-[state=closed]:data-[side=top]:slide-out-to-bottom-2","data-[state=closed]:data-[side=right]:slide-out-to-left-2","data-[state=closed]:data-[side=bottom]:slide-out-to-top-2","data-[state=closed]:data-[side=left]:slide-out-to-right-2",o),...t})}));M.displayName=e.SubContent.displayName;var D=_react.forwardRef.call(void 0, ({className:o,sideOffset:t=6,...n},p)=>_jsxruntime.jsx.call(void 0, e.Portal,{children:_jsxruntime.jsx.call(void 0, e.Content,{ref:p,className:_chunkNX2PYE7Ucjs.a.call(void 0, "bg-popover text-popover-foreground z-50 min-w-32 rounded-md border p-1 shadow-md","data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-95","data-[state=open]:data-[side=top]:slide-in-from-bottom-2","data-[state=open]:data-[side=right]:slide-in-from-left-2","data-[state=open]:data-[side=bottom]:slide-in-from-top-2","data-[state=open]:data-[side=left]:slide-in-from-right-2","data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-95","data-[state=closed]:data-[side=top]:slide-out-to-bottom-2","data-[state=closed]:data-[side=right]:slide-out-to-left-2","data-[state=closed]:data-[side=bottom]:slide-out-to-top-2","data-[state=closed]:data-[side=left]:slide-out-to-right-2",o),sideOffset:t,...n})}));D.displayName=e.Content.displayName;var c=_react.forwardRef.call(void 0, ({className:o,inset:t,...n},p)=>_jsxruntime.jsx.call(void 0, e.Item,{ref:p,className:_chunkNX2PYE7Ucjs.a.call(void 0, "gap-x-2 px-3 py-1.5","relative flex cursor-pointer select-none items-center rounded text-sm","focus:bg-accent focus:text-accent-foreground focus:outline-none","aria-disabled:pointer-events-none aria-disabled:opacity-50",t&&"pl-8",o),...n}));c.displayName=e.Item.displayName;var P=_react.forwardRef.call(void 0, ({children:o,className:t,checked:n,...p},d)=>_jsxruntime.jsxs.call(void 0, e.CheckboxItem,{ref:d,checked:n,className:_chunkNX2PYE7Ucjs.a.call(void 0, "gap-x-2 px-3 py-1.5","pl-8","relative flex cursor-pointer select-none items-center rounded text-sm","focus:bg-accent focus:text-accent-foreground focus:outline-none","aria-disabled:pointer-events-none aria-disabled:opacity-50",t),...p,children:[_jsxruntime.jsx.call(void 0, "span",{className:"absolute left-2 flex size-3.5 items-center justify-center",children:_jsxruntime.jsx.call(void 0, e.ItemIndicator,{children:_jsxruntime.jsx.call(void 0, _lucidereact.CheckIcon,{className:"size-4"})})}),o]}));P.displayName=e.CheckboxItem.displayName;var f=_react.forwardRef.call(void 0, ({children:o,className:t,...n},p)=>_jsxruntime.jsxs.call(void 0, e.RadioItem,{ref:p,className:_chunkNX2PYE7Ucjs.a.call(void 0, "gap-x-2 px-3 py-1.5","pl-8","relative flex cursor-pointer select-none items-center rounded text-sm","focus:bg-accent focus:text-accent-foreground focus:outline-none","aria-disabled:pointer-events-none aria-disabled:opacity-50",t),...n,children:[_jsxruntime.jsx.call(void 0, "span",{className:"absolute left-2 flex size-3.5 items-center justify-center",children:_jsxruntime.jsx.call(void 0, e.ItemIndicator,{children:_jsxruntime.jsx.call(void 0, _lucidereact.DotIcon,{className:"size-4 fill-current"})})}),o]}));f.displayName=e.RadioItem.displayName;var y=_react.forwardRef.call(void 0, ({className:o,inset:t,...n},p)=>_jsxruntime.jsx.call(void 0, e.Label,{ref:p,className:_chunkNX2PYE7Ucjs.a.call(void 0, "gap-x-2 px-3 py-1.5","flex items-center text-sm font-semibold",t&&"pl-8",o),...n}));y.displayName=e.Label.displayName;var b=_react.forwardRef.call(void 0, ({className:o,...t},n)=>_jsxruntime.jsx.call(void 0, e.Separator,{ref:n,className:_chunkNX2PYE7Ucjs.a.call(void 0, "bg-muted mx-2 my-1 h-px",o),...t}));b.displayName=e.Separator.displayName;function E({className:o,...t}){return _jsxruntime.jsx.call(void 0, "span",{className:_chunkNX2PYE7Ucjs.a.call(void 0, "ml-auto text-xs tracking-widest opacity-60",o),...t})}var v=_react.forwardRef.call(void 0, ({className:o,...t},n)=>_jsxruntime.jsx.call(void 0, e.Arrow,{ref:n,className:_chunkNX2PYE7Ucjs.a.call(void 0, "fill-popover",o),...t}));v.displayName=e.Arrow.displayName;exports.a = h; exports.b = R; exports.c = S; exports.d = N; exports.e = T; exports.f = l; exports.g = M; exports.h = D; exports.i = c; exports.j = P; exports.k = f; exports.l = y; exports.m = b; exports.n = E; exports.o = v;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var _chunkNX2PYE7Ucjs = require('./chunk-NX2PYE7U.cjs');var _reactslider = require('@radix-ui/react-slider'); var e = _interopRequireWildcard(_reactslider);var _react = require('react');var _jsxruntime = require('react/jsx-runtime');var a=_react.forwardRef.call(void 0, ({className:l,...i},o)=>_jsxruntime.jsxs.call(void 0, e.Root,{ref:o,className:_chunkNX2PYE7Ucjs.a.call(void 0, "relative flex w-full touch-none select-none items-center",l),...i,children:[_jsxruntime.jsx.call(void 0, e.Track,{className:"bg-muted relative h-1 w-full grow overflow-hidden rounded-full",children:_jsxruntime.jsx.call(void 0, e.Range,{className:"bg-primary absolute h-full"})}),(_nullishCoalesce(_nullishCoalesce(i.value, () => (i.defaultValue)), () => ([]))).map((f,n)=>_jsxruntime.jsx.call(void 0, e.Thumb,{className:_chunkNX2PYE7Ucjs.a.call(void 0, "border-primary bg-primary flex size-4 items-center justify-center rounded-full border-2 shadow-sm transition","after:bg-background after:size-full after:rounded-full after:transition-[width,height]","active:after:size-1","focus-visible:ring-ring focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2","disabled:pointer-events-none disabled:opacity-50"),...i.tabIndex!==void 0?{tabIndex:i.tabIndex}:void 0},n))]}));a.displayName=e.Root.displayName;exports.a = a;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-FQMSK2WZ.js";import{forwardRef as T}from"react";import{jsx as o}from"react/jsx-runtime";var b=T(({className:e,...t},l)=>o("div",{className:"relative w-full overflow-auto",children:o("table",{ref:l,className:a("w-full caption-bottom text-sm",e),...t})}));b.displayName="Table";var r=T(({className:e,...t},l)=>o("thead",{ref:l,className:a("[&>tr]:border-b [&>tr]:hover:bg-transparent",e),...t}));r.displayName="TableHeader";var p=T(({className:e,...t},l)=>o("tbody",{ref:l,className:a("[&_tr:last-child]:border-0",e),...t}));p.displayName="TableBody";var s=T(({className:e,...t},l)=>o("tfoot",{ref:l,className:a("bg-muted/50 border-t font-medium [&>tr]:last:border-b-0",e),...t}));s.displayName="TableFooter";var n=T(({className:e,...t},l)=>o("tr",{ref:l,className:a("border-b transition","hover:bg-accent","data-[state=selected]:bg-muted",e),...t}));n.displayName="TableRow";var m=T(({className:e,...t},l)=>o("th",{ref:l,className:a("text-muted-foreground p-2 text-left align-middle font-medium",e),...t}));m.displayName="TableHead";var d=T(({className:e,...t},l)=>o("td",{ref:l,className:a("p-2 align-middle",e),...t}));d.displayName="TableCell";var i=T(({className:e,...t},l)=>o("caption",{ref:l,className:a("text-muted-foreground mt-4 text-sm",e),...t}));i.displayName="TableCaption";export{b as a,r as b,p as c,s as d,n as e,m as f,d as g,i as h};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e}from"./chunk-FQMSK2WZ.js";import*as t from"@radix-ui/react-switch";import{forwardRef as n}from"react";import{jsx as i}from"react/jsx-runtime";var a=n(({className:o,...s},r)=>i(t.Root,{className:e("peer inline-flex h-5 w-9 shrink-0 items-center rounded-full border-2 border-transparent shadow-sm transition","data-[state=checked]:bg-primary data-[state=unchecked]:bg-input","focus-visible:ring-ring focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2","disabled:cursor-default disabled:opacity-50",o),...s,ref:r,children:i(t.Thumb,{className:e("bg-background pointer-events-none block size-4 rounded-full shadow transition","data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})}));a.displayName=t.Root.displayName;export{a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";var _chunkUKF2IZQUcjs = require('./chunk-UKF2IZQU.cjs');var _chunkNX2PYE7Ucjs = require('./chunk-NX2PYE7U.cjs');var _cmdk = require('cmdk');var _lucidereact = require('lucide-react');var _react = require('react');var _jsxruntime = require('react/jsx-runtime');var i=_react.forwardRef.call(void 0, ({className:e,...o},t)=>_jsxruntime.jsx.call(void 0, _cmdk.Command,{ref:t,className:_chunkNX2PYE7Ucjs.a.call(void 0, "bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",e),...o}));i.displayName=_cmdk.Command.displayName;function I({children:e,...o}){return _jsxruntime.jsx.call(void 0, _chunkUKF2IZQUcjs.a,{...o,children:_jsxruntime.jsx.call(void 0, _chunkUKF2IZQUcjs.c,{className:"p-0",children:_jsxruntime.jsx.call(void 0, i,{className:"[&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:size-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:size-5",children:e})})})}var C=_react.forwardRef.call(void 0, ({className:e,...o},t)=>_jsxruntime.jsxs.call(void 0, "div",{className:"flex items-center gap-2 border-b px-3","cmdk-input-wrapper":"",children:[_jsxruntime.jsx.call(void 0, _lucidereact.SearchIcon,{className:"size-5 shrink-0 opacity-50"}),_jsxruntime.jsx.call(void 0, _cmdk.Command.Input,{ref:t,className:_chunkNX2PYE7Ucjs.a.call(void 0, "placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent text-sm outline-none disabled:cursor-default disabled:opacity-50",e),...o})]}));C.displayName=_cmdk.Command.Input.displayName;var l=_react.forwardRef.call(void 0, ({className:e,...o},t)=>_jsxruntime.jsx.call(void 0, _cmdk.Command.List,{ref:t,className:_chunkNX2PYE7Ucjs.a.call(void 0, "max-h-72 overflow-y-auto overflow-x-hidden",e),...o}));l.displayName=_cmdk.Command.List.displayName;var y=_react.forwardRef.call(void 0, (e,o)=>_jsxruntime.jsx.call(void 0, _cmdk.Command.Empty,{ref:o,className:"py-6 text-center text-sm",...e}));y.displayName=_cmdk.Command.Empty.displayName;var u=_react.forwardRef.call(void 0, ({className:e,...o},t)=>_jsxruntime.jsx.call(void 0, _cmdk.Command.Group,{ref:t,className:_chunkNX2PYE7Ucjs.a.call(void 0, "text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",e),...o}));u.displayName=_cmdk.Command.Group.displayName;var f=_react.forwardRef.call(void 0, ({className:e,...o},t)=>_jsxruntime.jsx.call(void 0, _cmdk.Command.Separator,{ref:t,className:_chunkNX2PYE7Ucjs.a.call(void 0, "bg-border -mx-1 h-px",e),...o}));f.displayName=_cmdk.Command.Separator.displayName;var c=_react.forwardRef.call(void 0, ({className:e,...o},t)=>_jsxruntime.jsx.call(void 0, _cmdk.Command.Item,{ref:t,className:_chunkNX2PYE7Ucjs.a.call(void 0, "gap-x-2 px-3 py-1.5","relative flex cursor-pointer select-none items-center rounded text-sm","aria-disabled:pointer-events-none aria-disabled:opacity-50","aria-selected:bg-accent aria-selected:text-accent-foreground aria-selected:outline-none",e),...o}));c.displayName=_cmdk.Command.Item.displayName;var P=_react.forwardRef.call(void 0, ({className:e,...o},t)=>_jsxruntime.jsx.call(void 0, _cmdk.Command.Loading,{ref:t,className:_chunkNX2PYE7Ucjs.a.call(void 0, "flex justify-center p-2",e),...o}));P.displayName=_cmdk.Command.Loading.displayName;function k({className:e,...o}){return _jsxruntime.jsx.call(void 0, "span",{className:_chunkNX2PYE7Ucjs.a.call(void 0, "text-muted-foreground ml-auto text-xs tracking-widest",e),...o})}exports.a = i; exports.b = I; exports.c = C; exports.d = l; exports.e = y; exports.f = u; exports.g = f; exports.h = c; exports.i = P; exports.j = k;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _reactslot = require('@radix-ui/react-slot');var _react = require('react');var _jsxruntime = require('react/jsx-runtime');var r=_react.forwardRef.call(void 0, ({asChild:e,as:n="h1",...t},o)=>_jsxruntime.jsx.call(void 0, e?_reactslot.Slot:n,{ref:o,...t}));r.displayName="Heading";exports.a = r;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkNX2PYE7Ucjs = require('./chunk-NX2PYE7U.cjs');var _reactslot = require('@radix-ui/react-slot');var _react = require('react');var _jsxruntime = require('react/jsx-runtime');var p=_react.forwardRef.call(void 0, ({asChild:t,className:o,...n},r)=>_jsxruntime.jsx.call(void 0, t?_reactslot.Slot:"kbd",{ref:r,className:_chunkNX2PYE7Ucjs.a.call(void 0, "bg-muted text-muted-foreground inline-flex h-5 select-none items-center gap-1 rounded border px-1.5 font-mono text-xs font-medium",o),...n}));p.displayName="Kbd";exports.a = p;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }"use client";var _chunkLJ7NJT5Ycjs = require('./chunk-LJ7NJT5Y.cjs');var _chunkNX2PYE7Ucjs = require('./chunk-NX2PYE7U.cjs');var _reactcontext = require('@radix-ui/react-context');var _reacttogglegroup = require('@radix-ui/react-toggle-group'); var t = _interopRequireWildcard(_reacttogglegroup);var _react = require('react');var _jsxruntime = require('react/jsx-runtime');var u="ToggleGroup",[R]=_reactcontext.createContextScope.call(void 0, u,[_reacttogglegroup.createToggleGroupScope]),P=_reacttogglegroup.createToggleGroupScope.call(void 0, ),[I,v]=R(u),d= exports.a =_react.forwardRef.call(void 0, ({__scopeToggleGroup:o,children:e,className:p,variant:r,size:g,icon:i,...s},m)=>{let l=P(o);return _jsxruntime.jsx.call(void 0, I,{icon:i,scope:o,size:g,variant:r,children:_jsxruntime.jsx.call(void 0, t.Root,{ref:m,className:_chunkNX2PYE7Ucjs.a.call(void 0, "flex items-center justify-center gap-1.5",p),...l,...s,children:e})})});d.displayName=u;var f="ToggleGroupItem",N= exports.b =_react.forwardRef.call(void 0, ({__scopeToggleGroup:o,children:e,prefix:p,suffix:r,className:g,...i},s)=>{let m=v(f,o),l=P(o);return _jsxruntime.jsxs.call(void 0, t.Item,{ref:s,className:_chunkLJ7NJT5Ycjs.a.call(void 0, {...m,className:g}),...l,...i,children:[p,typeof e=="string"?_jsxruntime.jsx.call(void 0, "span",{className:"truncate",children:e}):e,r]})});N.displayName=f;exports.a = d; exports.b = N;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkNX2PYE7Ucjs = require('./chunk-NX2PYE7U.cjs');var _checkboxgroup = require('@codefast-ui/checkbox-group'); var e = _interopRequireWildcard(_checkboxgroup);var _lucidereact = require('lucide-react');var _react = require('react');var _jsxruntime = require('react/jsx-runtime');var C=_react.forwardRef.call(void 0, ({className:i,...t},p)=>_jsxruntime.jsx.call(void 0, e.Root,{className:_chunkNX2PYE7Ucjs.a.call(void 0, "grid gap-2",i),...t,ref:p}));C.displayName=e.Root.displayName;var b=_react.forwardRef.call(void 0, ({children:i,className:t,checkboxClassName:p,...m},a)=>_jsxruntime.jsxs.call(void 0, "label",{className:_chunkNX2PYE7Ucjs.a.call(void 0, "group flex items-center justify-center gap-4 rounded-md border p-4",t),children:[i,_jsxruntime.jsx.call(void 0, e.Item,{ref:a,className:_chunkNX2PYE7Ucjs.a.call(void 0, "border-input text-primary-foreground peer flex size-4 shrink-0 cursor-pointer rounded border shadow-sm transition","group-hover:border-primary","aria-checked:border-primary aria-checked:bg-primary","focus-visible:ring-ring focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2","disabled:cursor-default disabled:opacity-50",p),...m,children:_jsxruntime.jsx.call(void 0, e.CheckboxGroupIndicator,{children:_jsxruntime.jsx.call(void 0, _lucidereact.CheckIcon,{className:"size-3.5"})})})]}));b.displayName=e.Item.displayName;exports.a = C; exports.b = b;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _tailwindvariants = require('tailwind-variants');var e=_tailwindvariants.tv.call(void 0, {slots:{root:["border-input bg-background flex w-full grow cursor-text items-center gap-2 rounded-md border px-3 text-sm shadow-sm transition","[&>svg]:text-muted-foreground [&>svg]:shrink-0","focus-within:border-ring focus-within:ring-ring/40 focus-within:ring-2","has-[input:disabled]:cursor-default has-[input:disabled]:opacity-50"],input:["peer size-full rounded-[inherit] bg-inherit outline-none","file:cursor-pointer file:border-0 file:bg-transparent file:font-medium","placeholder:text-muted-foreground","disabled:cursor-default"]},variants:{inputSize:{xxs:{root:"h-7 [&>svg]:size-3",input:"file:py-0.75"},xs:{root:"h-8 [&>svg]:size-3.5",input:"file:py-1.25"},sm:{root:"h-9 [&>svg]:size-4",input:"file:py-1.75"},md:{root:"h-10 [&>svg]:size-4",input:"file:py-2.25"},lg:{root:"h-11 [&>svg]:size-5",input:"file:py-2.75"},xl:{root:"h-12 [&>svg]:size-5",input:"file:py-3.25"}}},defaultVariants:{inputSize:"md"}});exports.a = e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _reactslot = require('@radix-ui/react-slot');var _react = require('react');var _jsxruntime = require('react/jsx-runtime');var d=_react.forwardRef.call(void 0, ({asChild:e,...o},t)=>_jsxruntime.jsx.call(void 0, e?_reactslot.Slot:"code",{ref:t,...o}));d.displayName="Code";exports.a = d;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _reactslot = require('@radix-ui/react-slot');var _react = require('react');var _jsxruntime = require('react/jsx-runtime');var u=_react.forwardRef.call(void 0, ({asChild:o,...e},t)=>_jsxruntime.jsx.call(void 0, o?_reactslot.Slot:"blockquote",{ref:t,...e}));u.displayName="Blockquote";exports.a = u;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkKNFY3RCGcjs = require('./chunk-KNFY3RCG.cjs');var _chunkNX2PYE7Ucjs = require('./chunk-NX2PYE7U.cjs');var _reactdialog = require('@radix-ui/react-dialog'); var e = _interopRequireWildcard(_reactdialog);var _lucidereact = require('lucide-react');var _react = require('react');var _jsxruntime = require('react/jsx-runtime');var T=e.Root,x= exports.b =e.Trigger,D= exports.c =_react.forwardRef.call(void 0, ({children:t,className:o,...l},s)=>_jsxruntime.jsx.call(void 0, e.Portal,{children:_jsxruntime.jsx.call(void 0, e.Overlay,{className:_chunkNX2PYE7Ucjs.a.call(void 0, "fixed inset-0 z-50 grid place-items-center overflow-auto bg-black/80 p-4 sm:pb-12 sm:pt-8","data-[state=open]:animate-duration-200 data-[state=open]:animate-fade-in","data-[state=closed]:animate-duration-200 data-[state=closed]:animate-fade-out"),children:_jsxruntime.jsxs.call(void 0, e.Content,{ref:s,className:_chunkNX2PYE7Ucjs.a.call(void 0, "bg-background relative z-50 flex w-full max-w-lg flex-col rounded-lg border shadow-lg","data-[state=open]:animate-in data-[state=open]:zoom-in-95 data-[state=open]:animate-duration-200 data-[state=open]:fade-in","data-[state=closed]:zoom-out-95 data-[state=closed]:animate-duration-200 data-[state=closed]:animate-out data-[state=closed]:fade-out",o),...l,children:[t,_jsxruntime.jsxs.call(void 0, e.Close,{className:_chunkKNFY3RCGcjs.a.call(void 0, {className:"absolute right-4 top-4",icon:!0,size:"xxs",variant:"ghost"}),children:[_jsxruntime.jsx.call(void 0, _lucidereact.XIcon,{className:"size-4"}),_jsxruntime.jsx.call(void 0, "span",{className:"sr-only",children:"Close"})]})]})})}));D.displayName=e.Content.displayName;function N({className:t,...o}){return _jsxruntime.jsx.call(void 0, "header",{className:_chunkNX2PYE7Ucjs.a.call(void 0, "flex shrink-0 flex-col gap-1.5 px-6 pb-4 pt-6 text-center sm:text-left",t),...o})}function b({className:t,...o}){return _jsxruntime.jsx.call(void 0, "main",{className:_chunkNX2PYE7Ucjs.a.call(void 0, "overflow-auto px-6 py-2",t),...o})}function E({className:t,...o}){return _jsxruntime.jsx.call(void 0, "footer",{className:_chunkNX2PYE7Ucjs.a.call(void 0, "flex shrink-0 flex-col-reverse gap-2 px-6 pb-6 pt-4 sm:flex-row sm:justify-end",t),...o})}var P=_react.forwardRef.call(void 0, ({className:t,...o},l)=>_jsxruntime.jsx.call(void 0, e.Title,{ref:l,className:_chunkNX2PYE7Ucjs.a.call(void 0, "text-lg font-semibold leading-none tracking-tight",t),...o}));P.displayName=e.Title.displayName;var d=_react.forwardRef.call(void 0, ({className:t,...o},l)=>_jsxruntime.jsx.call(void 0, e.Description,{ref:l,className:_chunkNX2PYE7Ucjs.a.call(void 0, "text-muted-foreground text-sm",t),...o}));d.displayName=e.Description.displayName;var f=_react.forwardRef.call(void 0, ({className:t,size:o,variant:l="outline",...s},m)=>_jsxruntime.jsx.call(void 0, e.Close,{ref:m,className:_chunkKNFY3RCGcjs.a.call(void 0, {className:t,size:o,variant:l}),...s}));f.displayName=e.Close.displayName;exports.a = T; exports.b = x; exports.c = D; exports.d = N; exports.e = b; exports.f = E; exports.g = P; exports.h = d; exports.i = f;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as t}from"./chunk-FQMSK2WZ.js";import*as o from"@radix-ui/react-radio-group";import{forwardRef as a}from"react";import{jsx as p}from"react/jsx-runtime";var m=a(({className:e,...i},r)=>p(o.Root,{className:t("grid gap-2",e),...i,ref:r}));m.displayName=o.Root.displayName;var d=a(({className:e,...i},r)=>p(o.Item,{ref:r,className:t("peer","border-input inline-flex size-4 shrink-0 items-center justify-center rounded-full border shadow-sm transition","hover:border-primary","aria-checked:border-primary aria-checked:bg-primary","focus-visible:ring-ring focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2","disabled:pointer-events-none disabled:opacity-50",e),...i,children:p(o.Indicator,{className:"bg-background size-1 rounded-full"})}));d.displayName=o.Item.displayName;export{m as a,d as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{tv as e}from"tailwind-variants";var t=e({base:["inline-flex shrink-0 select-none items-center justify-center gap-2 whitespace-nowrap rounded-md px-4 text-sm font-medium transition","[&>svg]:shrink-0","focus-visible:ring-ring focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2","disabled:pointer-events-none disabled:opacity-50"],compoundVariants:[{className:"w-7",icon:!0,size:"xxs"},{className:"w-8",icon:!0,size:"xs"},{className:"w-9",icon:!0,size:"sm"},{className:"w-10",icon:!0,size:"md"},{className:"w-11",icon:!0,size:"lg"},{className:"w-12",icon:!0,size:"xl"},{className:"h-6",inside:!0,size:"xxs"},{className:"h-6",inside:!0,size:"xs"},{className:"h-7",inside:!0,size:"sm"},{className:"h-8",inside:!0,size:"md"},{className:"h-9",inside:!0,size:"lg"},{className:"h-10",inside:!0,size:"xl"},{className:"w-6",icon:!0,inside:!0,size:"xxs"},{className:"w-6",icon:!0,inside:!0,size:"xs"},{className:"w-7",icon:!0,inside:!0,size:"sm"},{className:"w-8",icon:!0,inside:!0,size:"md"},{className:"w-9",icon:!0,inside:!0,size:"lg"},{className:"w-10",icon:!0,inside:!0,size:"xl"}],defaultVariants:{icon:!1,inside:!1,size:"md",variant:"default"},variants:{icon:{false:"",true:"px-0"},inside:{false:"",true:""},size:{xxs:"h-7 [&>svg]:size-3",xs:"h-8 [&>svg]:size-3.5",sm:"h-9 [&>svg]:size-4",md:"h-10 [&>svg]:size-4",lg:"h-11 [&>svg]:size-5",xl:"h-12 [&>svg]:size-5"},variant:{default:["bg-primary text-primary-foreground shadow-sm","hover:bg-primary/80"],secondary:["bg-secondary text-secondary-foreground shadow-sm","hover:bg-secondary/80"],info:["bg-info text-info-foreground shadow-sm","hover:bg-info/80"],success:["bg-success text-success-foreground shadow-sm","hover:bg-success/80"],warning:["bg-warning text-warning-foreground shadow-sm","hover:bg-warning/80"],destructive:["bg-destructive text-destructive-foreground shadow-sm","hover:bg-destructive/80"],outline:["text-foreground border-input border shadow-sm","hover:bg-accent hover:text-accent-foreground"],ghost:["text-foreground","hover:bg-accent hover:text-accent-foreground"],link:["text-primary underline-offset-4","hover:underline"]}}});export{t as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkNX2PYE7Ucjs = require('./chunk-NX2PYE7U.cjs');var _checkboxgroup = require('@codefast-ui/checkbox-group'); var o = _interopRequireWildcard(_checkboxgroup);var _lucidereact = require('lucide-react');var _react = require('react');var _jsxruntime = require('react/jsx-runtime');var n=_react.forwardRef.call(void 0, ({className:r,...i},p)=>_jsxruntime.jsx.call(void 0, o.Root,{ref:p,className:_chunkNX2PYE7Ucjs.a.call(void 0, "grid gap-2",r),...i}));n.displayName="CheckboxGroup";var b=_react.forwardRef.call(void 0, ({className:r,...i},p)=>_jsxruntime.jsx.call(void 0, o.Item,{ref:p,className:_chunkNX2PYE7Ucjs.a.call(void 0, ["border-input text-primary-foreground peer flex size-4 shrink-0 rounded border shadow-sm transition","hover:border-primary","aria-checked:border-primary aria-checked:bg-primary","focus-visible:ring-ring focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2","disabled:pointer-events-none disabled:opacity-50"],r),...i,children:_jsxruntime.jsx.call(void 0, o.CheckboxGroupIndicator,{children:_jsxruntime.jsx.call(void 0, _lucidereact.CheckIcon,{className:"size-3.5"})})}));b.displayName="CheckboxGroupItem";exports.a = n; exports.b = b;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as n}from"./chunk-V3H3W256.js";import{a}from"./chunk-FQMSK2WZ.js";import*as e from"@radix-ui/react-dialog";import{XIcon as g}from"lucide-react";import{forwardRef as r}from"react";import{jsx as i,jsxs as p}from"react/jsx-runtime";var x=e.Root,N=e.Trigger,D=r(({children:t,className:o,...l},s)=>i(e.Portal,{children:i(e.Overlay,{className:a("fixed inset-0 z-50 grid place-items-center overflow-auto bg-black/80 p-4 sm:pb-12 sm:pt-8","data-[state=open]:animate-duration-200 data-[state=open]:animate-fade-in","data-[state=closed]:animate-duration-200 data-[state=closed]:animate-fade-out"),children:p(e.Content,{ref:s,className:a("bg-background relative z-50 flex w-full max-w-lg flex-col rounded-lg border shadow-lg","data-[state=open]:animate-in data-[state=open]:zoom-in-95 data-[state=open]:animate-duration-200 data-[state=open]:fade-in","data-[state=closed]:zoom-out-95 data-[state=closed]:animate-duration-200 data-[state=closed]:animate-out data-[state=closed]:fade-out",o),...l,children:[t,p(e.Close,{className:n({className:"absolute right-4 top-4",icon:!0,size:"xxs",variant:"ghost"}),children:[i(g,{className:"size-4"}),i("span",{className:"sr-only",children:"Close"})]})]})})}));D.displayName=e.Content.displayName;function b({className:t,...o}){return i("header",{className:a("flex shrink-0 flex-col gap-1.5 px-6 pb-4 pt-6 text-center sm:text-left",t),...o})}function E({className:t,...o}){return i("main",{className:a("overflow-auto px-6 py-2",t),...o})}function R({className:t,...o}){return i("footer",{className:a("flex shrink-0 flex-col-reverse gap-2 px-6 pb-6 pt-4 sm:flex-row sm:justify-end",t),...o})}var P=r(({className:t,...o},l)=>i(e.Title,{ref:l,className:a("text-lg font-semibold leading-none tracking-tight",t),...o}));P.displayName=e.Title.displayName;var d=r(({className:t,...o},l)=>i(e.Description,{ref:l,className:a("text-muted-foreground text-sm",t),...o}));d.displayName=e.Description.displayName;var f=r(({className:t,size:o,variant:l="outline",...s},m)=>i(e.Close,{ref:m,className:n({className:t,size:o,variant:l}),...s}));f.displayName=e.Close.displayName;export{x as a,N as b,D as c,b as d,E as e,R as f,P as g,d as h,f as i};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{a as d}from"./chunk-GCOZTRNW.js";import{a as i}from"./chunk-FQMSK2WZ.js";import{createContextScope as g}from"@radix-ui/react-context";import B from"embla-carousel-react";import{ArrowLeftIcon as D,ArrowRightIcon as U}from"lucide-react";import{forwardRef as y,useCallback as f,useEffect as S,useState as b}from"react";import{jsx as s}from"react/jsx-runtime";var x="Carousel",[_,$]=g(x),[O,v]=_(x),z=y(({__scopeCarousel:l,children:a,orientation:o,opts:r,setApi:t,plugins:u,className:p,...c},C)=>{let[m,e]=B({...r,axis:o==="vertical"?"y":"x"},u),[R,H]=b(!1),[I,h]=b(!1),P=f(n=>{n&&(H(n.canScrollPrev()),h(n.canScrollNext()))},[]),E=f(()=>{e?.scrollPrev()},[e]),N=f(()=>{e?.scrollNext()},[e]),w=f(n=>{n.key==="ArrowLeft"?(n.preventDefault(),E()):n.key==="ArrowRight"&&(n.preventDefault(),N())},[E,N]);return S(()=>{!e||!t||t(e)},[e,t]),S(()=>{if(e)return P(e),e.on("reInit",P),e.on("select",P),()=>{e.off("select",P)}},[e,P]),s(O,{api:e,canScrollNext:I,canScrollPrev:R,carouselRef:m,opts:r,orientation:o??(r?.axis==="y"?"vertical":"horizontal"),scope:l,scrollNext:N,scrollPrev:E,children:s("div",{ref:C,"aria-roledescription":"carousel",className:i("relative",p),role:"region",onKeyDownCapture:w,...c,children:a})})});z.displayName=x;var T="CarouselContent",k=y(({__scopeCarousel:l,className:a,classNames:o,...r},t)=>{let{carouselRef:u,orientation:p}=v(T,l);return s("div",{ref:u,className:i("overflow-hidden",o?.wrapper),children:s("div",{ref:t,className:i("flex",p==="horizontal"?"-ml-4":"-mt-4 flex-col",o?.content,a),...r})})});k.displayName=T;var L="CarouselItem",K=y(({__scopeCarousel:l,className:a,...o},r)=>{let{orientation:t}=v(L,l);return s("div",{ref:r,"aria-roledescription":"slide",className:i("min-w-0 shrink-0 grow-0 basis-full",t==="horizontal"?"pl-4":"pt-4",a),role:"group",...o})});K.displayName=L;var A="CarouselPrevious",V=y(({__scopeCarousel:l,className:a,icon:o=!0,size:r="sm",variant:t="outline",...u},p)=>{let{orientation:c,scrollPrev:C,canScrollPrev:m}=v(A,l);return s(d,{ref:p,className:i("absolute",c==="horizontal"?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",a),disabled:!m,icon:o,prefix:s(D,{}),size:r,variant:t,onClick:C,...u,children:s("span",{className:"sr-only",children:"Previous slide"})})});V.displayName=A;var M="CarouselNext",X=y(({__scopeCarousel:l,className:a,icon:o=!0,size:r="sm",variant:t="outline",...u},p)=>{let{orientation:c,scrollNext:C,canScrollNext:m}=v(M,l);return s(d,{ref:p,className:i("absolute",c==="horizontal"?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",a),disabled:!m,icon:o,prefix:s(U,{}),size:r,variant:t,onClick:C,...u,children:s("span",{className:"sr-only",children:"Next slide"})})});X.displayName=M;export{$ as a,z as b,k as c,K as d,V as e,X as f};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkNX2PYE7Ucjs = require('./chunk-NX2PYE7U.cjs');var _reactavatar = require('@radix-ui/react-avatar'); var a = _interopRequireWildcard(_reactavatar);var _react = require('react');var _jsxruntime = require('react/jsx-runtime');var p=_react.forwardRef.call(void 0, ({className:e,...t},r)=>_jsxruntime.jsx.call(void 0, a.Root,{ref:r,className:_chunkNX2PYE7Ucjs.a.call(void 0, "relative flex size-10 shrink-0 overflow-hidden rounded-full",e),...t}));p.displayName=a.Root.displayName;var l=_react.forwardRef.call(void 0, ({className:e,...t},r)=>_jsxruntime.jsx.call(void 0, a.Image,{ref:r,className:_chunkNX2PYE7Ucjs.a.call(void 0, "aspect-square size-full",e),...t}));l.displayName=a.Image.displayName;var v=_react.forwardRef.call(void 0, ({className:e,...t},r)=>_jsxruntime.jsx.call(void 0, a.Fallback,{ref:r,className:_chunkNX2PYE7Ucjs.a.call(void 0, "bg-muted flex size-full items-center justify-center rounded-full",e),...t}));v.displayName=a.Fallback.displayName;exports.a = p; exports.b = l; exports.c = v;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{a as r}from"./chunk-YSSFLIW2.js";import{a as i}from"./chunk-GCOZTRNW.js";import{a as n}from"./chunk-RNGFAUQN.js";import*as o from"@codefast-ui/input";import{EyeClosedIcon as c,EyeIcon as v}from"lucide-react";import{forwardRef as C,useCallback as R,useState as x}from"react";import{jsx as t,jsxs as h}from"react/jsx-runtime";var{root:E,input:b}=r(),g=C(({className:a,inputSize:e,loaderPosition:m,loading:d,prefix:u,spinner:P,suffix:l,...p},f)=>{let[s,I]=x("password"),w=R(()=>{I(y=>y==="password"?"text":"password")},[]);return h(o.Root,{className:E({inputSize:e,className:a}),loaderPosition:m,loading:d,prefix:u,spinner:P||t(n,{}),suffix:l,children:[t(o.Item,{ref:f,className:b({inputSize:e}),type:s,...p}),t(i,{icon:!0,inside:!0,"aria-label":s==="password"?"Show password":"Hide password",className:"rounded-full",disabled:p.disabled,prefix:s==="password"?t(c,{}):t(v,{}),size:e,variant:"ghost",onClick:w})]})});g.displayName="PasswordInput";export{g as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as r}from"./chunk-V3H3W256.js";import{a as e}from"./chunk-FQMSK2WZ.js";import{ChevronLeftIcon as m,ChevronRightIcon as u,EllipsisIcon as c}from"lucide-react";import{forwardRef as p}from"react";import{jsx as t,jsxs as o}from"react/jsx-runtime";function b({className:n,...i}){return t("nav",{"aria-label":"pagination",className:e("mx-auto flex w-full justify-center",n),role:"navigation",...i})}var L=p(({className:n,...i},a)=>t("ul",{ref:a,className:e("flex flex-row items-center gap-1",n),...i}));L.displayName="PaginationContent";var f=p((n,i)=>t("li",{ref:i,...n}));f.displayName="PaginationItem";function P({children:n,className:i,icon:a=!0,isActive:s,size:l,...g}){return t("a",{"aria-current":s?"page":void 0,className:r({className:i,icon:a,size:l,variant:s?"outline":"ghost"}),...g,children:n})}function x({...n}){return o(P,{"aria-label":"Go to previous page",icon:!1,...n,children:[t(m,{className:"size-4"}),t("span",{children:"Previous"})]})}function I({...n}){return o(P,{"aria-label":"Go to next page",icon:!1,...n,children:[t("span",{children:"Next"}),t(u,{})]})}function v({className:n,...i}){return o("span",{"aria-hidden":!0,className:e("flex size-10 items-center justify-center",n),...i,children:[t(c,{className:"size-4"}),t("span",{className:"sr-only",children:"More pages"})]})}export{b as a,L as b,f as c,P as d,x as e,I as f,v as g};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Slot as o}from"@radix-ui/react-slot";import{forwardRef as n}from"react";import{jsx as P}from"react/jsx-runtime";var p=n(({asChild:e,...r},t)=>P(e?o:"pre",{ref:t,...r}));p.displayName="Pre";export{p as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkEEUBLZ7Ecjs = require('./chunk-EEUBLZ7E.cjs');var _chunkKNFY3RCGcjs = require('./chunk-KNFY3RCG.cjs');var _react = require('react');var _jsxruntime = require('react/jsx-runtime');var d=_react.forwardRef.call(void 0, ({children:t,className:u,variant:a,size:f,icon:i,inside:m,disabled:B,loading:e,prefix:x,suffix:b,loaderPosition:p="prefix",spinner:r,...y},N)=>_jsxruntime.jsxs.call(void 0, "button",{ref:N,className:_chunkKNFY3RCGcjs.a.call(void 0, {className:u,icon:i,inside:m,size:f,variant:a}),disabled:e||B,type:"button",...y,children:[e&&p==="prefix"?r||_jsxruntime.jsx.call(void 0, _chunkEEUBLZ7Ecjs.a,{}):x,typeof t=="string"?_jsxruntime.jsx.call(void 0, "span",{className:"truncate",children:t}):t,e&&p==="suffix"?r||_jsxruntime.jsx.call(void 0, _chunkEEUBLZ7Ecjs.a,{}):b]}));d.displayName="Button";exports.a = d;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";var _chunkBMZ3E3SAcjs = require('./chunk-BMZ3E3SA.cjs');var _chunkSJSMDXBFcjs = require('./chunk-SJSMDXBF.cjs');var _chunkWHKHOVGTcjs = require('./chunk-WHKHOVGT.cjs');var _chunkKNFY3RCGcjs = require('./chunk-KNFY3RCG.cjs');var _chunkNX2PYE7Ucjs = require('./chunk-NX2PYE7U.cjs');var _lucidereact = require('lucide-react');var _jsxruntime = require('react/jsx-runtime');function O({table:t}){return _jsxruntime.jsxs.call(void 0, _chunkSJSMDXBFcjs.a,{children:[_jsxruntime.jsxs.call(void 0, _chunkSJSMDXBFcjs.b,{className:_chunkKNFY3RCGcjs.a.call(void 0, {size:"xs",variant:"outline"}),children:[_jsxruntime.jsx.call(void 0, _lucidereact.Settings2Icon,{className:"size-4"}),"View"]}),_jsxruntime.jsxs.call(void 0, _chunkSJSMDXBFcjs.h,{align:"end",className:"w-36",children:[_jsxruntime.jsx.call(void 0, _chunkSJSMDXBFcjs.l,{children:"Toggle columns"}),_jsxruntime.jsx.call(void 0, _chunkSJSMDXBFcjs.m,{}),t.getAllColumns().filter(n=>typeof n.accessorFn<"u"&&n.getCanHide()).map(n=>_jsxruntime.jsx.call(void 0, _chunkSJSMDXBFcjs.j,{checked:n.getIsVisible(),className:"capitalize",onCheckedChange:r=>{n.toggleVisibility(!!r)},children:n.id},n.id))]})]})}function X({table:t,className:n,...r}){return _jsxruntime.jsxs.call(void 0, "div",{className:_chunkNX2PYE7Ucjs.a.call(void 0, "flex flex-wrap items-center justify-between gap-4 px-2",n),...r,children:[_jsxruntime.jsxs.call(void 0, "div",{className:"text-muted-foreground min-w-max flex-1 text-sm",children:[t.getFilteredSelectedRowModel().rows.length," of ",t.getFilteredRowModel().rows.length," row(s) selected."]}),_jsxruntime.jsxs.call(void 0, "div",{className:"flex grow flex-wrap items-center justify-between gap-4 md:justify-end md:gap-x-6 lg:gap-x-8",children:[_jsxruntime.jsxs.call(void 0, "div",{className:"flex flex-wrap items-center gap-x-2 gap-y-4",children:[_jsxruntime.jsx.call(void 0, "p",{className:"text-sm font-medium",children:"Rows per page"}),_jsxruntime.jsxs.call(void 0, _chunkBMZ3E3SAcjs.a,{value:String(t.getState().pagination.pageSize),onValueChange:s=>{t.setPageSize(Number(s))},children:[_jsxruntime.jsx.call(void 0, _chunkBMZ3E3SAcjs.d,{className:"w-18 h-8",children:_jsxruntime.jsx.call(void 0, _chunkBMZ3E3SAcjs.c,{placeholder:t.getState().pagination.pageSize})}),_jsxruntime.jsx.call(void 0, _chunkBMZ3E3SAcjs.g,{side:"top",children:[10,20,30,40,50].map(s=>_jsxruntime.jsx.call(void 0, _chunkBMZ3E3SAcjs.i,{value:String(s),children:s},s))})]})]}),_jsxruntime.jsxs.call(void 0, "div",{className:"flex flex-wrap items-center justify-center text-sm font-medium",children:["Page ",t.getState().pagination.pageIndex+1," of ",t.getPageCount()]}),_jsxruntime.jsxs.call(void 0, "div",{className:"flex flex-wrap items-center gap-x-2 gap-y-4",children:[_jsxruntime.jsxs.call(void 0, _chunkWHKHOVGTcjs.a,{icon:!0,className:"max-md:hidden",disabled:!t.getCanPreviousPage(),size:"xs",variant:"outline",onClick:()=>{t.setPageIndex(0)},children:[_jsxruntime.jsx.call(void 0, "span",{className:"sr-only",children:"Go to first page"}),_jsxruntime.jsx.call(void 0, _lucidereact.ChevronsLeftIcon,{className:"size-4"})]}),_jsxruntime.jsxs.call(void 0, _chunkWHKHOVGTcjs.a,{icon:!0,disabled:!t.getCanPreviousPage(),size:"xs",variant:"outline",onClick:()=>{t.previousPage()},children:[_jsxruntime.jsx.call(void 0, "span",{className:"sr-only",children:"Go to previous page"}),_jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeftIcon,{className:"size-4"})]}),_jsxruntime.jsxs.call(void 0, _chunkWHKHOVGTcjs.a,{icon:!0,disabled:!t.getCanNextPage(),size:"xs",variant:"outline",onClick:()=>{t.nextPage()},children:[_jsxruntime.jsx.call(void 0, "span",{className:"sr-only",children:"Go to next page"}),_jsxruntime.jsx.call(void 0, _lucidereact.ChevronRightIcon,{className:"size-4"})]}),_jsxruntime.jsxs.call(void 0, _chunkWHKHOVGTcjs.a,{icon:!0,className:"max-md:hidden",disabled:!t.getCanNextPage(),size:"xs",variant:"outline",onClick:()=>{t.setPageIndex(t.getPageCount()-1)},children:[_jsxruntime.jsx.call(void 0, "span",{className:"sr-only",children:"Go to last page"}),_jsxruntime.jsx.call(void 0, _lucidereact.ChevronsRightIcon,{className:"size-4"})]})]})]})]})}function A({column:t,title:n}){return t.getCanSort()?_jsxruntime.jsxs.call(void 0, _chunkSJSMDXBFcjs.a,{children:[_jsxruntime.jsx.call(void 0, _chunkSJSMDXBFcjs.b,{asChild:!0,children:_jsxruntime.jsx.call(void 0, _chunkWHKHOVGTcjs.a,{className:_chunkNX2PYE7Ucjs.a.call(void 0, "text-muted-foreground p-0","hover:bg-transparent","data-[state=open]:text-accent-foreground","focus-visible:text-accent-foreground focus-visible:bg-transparent focus-visible:outline-0"),size:"xs",suffix:_jsxruntime.jsx.call(void 0, z,{sorted:t.getIsSorted()}),variant:"ghost",children:n})}),_jsxruntime.jsxs.call(void 0, _chunkSJSMDXBFcjs.h,{align:"start",children:[_jsxruntime.jsxs.call(void 0, _chunkSJSMDXBFcjs.i,{onClick:()=>{t.toggleSorting(!1)},children:[_jsxruntime.jsx.call(void 0, _lucidereact.ChevronUpIcon,{className:"text-muted-foreground size-4"}),"Asc"]}),_jsxruntime.jsxs.call(void 0, _chunkSJSMDXBFcjs.i,{onClick:()=>{t.toggleSorting(!0)},children:[_jsxruntime.jsx.call(void 0, _lucidereact.ChevronDownIcon,{className:"text-muted-foreground size-4"}),"Desc"]}),_jsxruntime.jsx.call(void 0, _chunkSJSMDXBFcjs.m,{}),_jsxruntime.jsxs.call(void 0, _chunkSJSMDXBFcjs.i,{onClick:()=>{t.toggleVisibility(!1)},children:[_jsxruntime.jsx.call(void 0, _lucidereact.EyeOffIcon,{className:"text-muted-foreground size-4"}),"Hide"]})]})]}):_jsxruntime.jsx.call(void 0, _jsxruntime.Fragment,{children:n})}function z({sorted:t}){switch(t){case"desc":return _jsxruntime.jsx.call(void 0, _lucidereact.ChevronDownIcon,{});case"asc":return _jsxruntime.jsx.call(void 0, _lucidereact.ChevronUpIcon,{});default:return _jsxruntime.jsx.call(void 0, _lucidereact.ChevronsUpDownIcon,{})}}exports.a = O; exports.b = X; exports.c = A;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }"use client";var _chunkTFRTDTNWcjs = require('./chunk-TFRTDTNW.cjs');var _chunkWHKHOVGTcjs = require('./chunk-WHKHOVGT.cjs');var _chunkEEUBLZ7Ecjs = require('./chunk-EEUBLZ7E.cjs');var _input = require('@codefast-ui/input'); var o = _interopRequireWildcard(_input);var _lucidereact = require('lucide-react');var _react = require('react');var _jsxruntime = require('react/jsx-runtime');var{root:E,input:b}=_chunkTFRTDTNWcjs.a.call(void 0, ),g= exports.a =_react.forwardRef.call(void 0, ({className:a,inputSize:e,loaderPosition:m,loading:d,prefix:u,spinner:P,suffix:l,...p},f)=>{let[s,I]=_react.useState.call(void 0, "password"),w=_react.useCallback.call(void 0, ()=>{I(y=>y==="password"?"text":"password")},[]);return _jsxruntime.jsxs.call(void 0, o.Root,{className:E({inputSize:e,className:a}),loaderPosition:m,loading:d,prefix:u,spinner:P||_jsxruntime.jsx.call(void 0, _chunkEEUBLZ7Ecjs.a,{}),suffix:l,children:[_jsxruntime.jsx.call(void 0, o.Item,{ref:f,className:b({inputSize:e}),type:s,...p}),_jsxruntime.jsx.call(void 0, _chunkWHKHOVGTcjs.a,{icon:!0,inside:!0,"aria-label":s==="password"?"Show password":"Hide password",className:"rounded-full",disabled:p.disabled,prefix:s==="password"?_jsxruntime.jsx.call(void 0, _lucidereact.EyeClosedIcon,{}):_jsxruntime.jsx.call(void 0, _lucidereact.EyeIcon,{}),size:e,variant:"ghost",onClick:w})]})});g.displayName="PasswordInput";exports.a = g;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkTFRTDTNWcjs = require('./chunk-TFRTDTNW.cjs');var _chunkEEUBLZ7Ecjs = require('./chunk-EEUBLZ7E.cjs');var _chunkKNFY3RCGcjs = require('./chunk-KNFY3RCG.cjs');var _chunkNX2PYE7Ucjs = require('./chunk-NX2PYE7U.cjs');var _numberinput = require('@codefast-ui/number-input'); var e = _interopRequireWildcard(_numberinput);var _lucidereact = require('lucide-react');var _react = require('react');var _jsxruntime = require('react/jsx-runtime');var{root:E,input:L}=_chunkTFRTDTNWcjs.a.call(void 0, ),O= exports.a =_react.forwardRef.call(void 0, ({ariaDecrementLabel:u,ariaIncrementLabel:a,className:s,defaultValue:d,disabled:l,formatOptions:f,id:c,inputSize:r,loaderPosition:b,loading:I,max:N,min:v,onChange:P,prefix:h,readOnly:C,spinner:y,step:R,suffix:g,value:x,...V},B)=>_jsxruntime.jsxs.call(void 0, e.Root,{ariaDecrementLabel:u,ariaIncrementLabel:a,className:E({inputSize:r,className:["pr-0",s]}),defaultValue:d,disabled:l,formatOptions:f,id:c,loaderPosition:b,loading:I,max:N,min:v,prefix:h,readOnly:C,spinner:y||_jsxruntime.jsx.call(void 0, _chunkEEUBLZ7Ecjs.a,{}),step:R,suffix:g,value:x,onChange:P,children:[_jsxruntime.jsx.call(void 0, e.Item,{ref:B,autoCapitalize:"off",autoComplete:"off",autoCorrect:"off",className:L({inputSize:r}),inputMode:"numeric",spellCheck:"false",...V}),_jsxruntime.jsxs.call(void 0, "div",{className:_chunkNX2PYE7Ucjs.a.call(void 0, "peer-focus:divide-ring peer-focus:border-l-ring","divide-input border-input order-last ml-auto grid h-full shrink-0 divide-y overflow-hidden rounded-r-[calc(theme(borderRadius.md)-1px)] border-l transition"),children:[_jsxruntime.jsx.call(void 0, e.IncrementButton,{className:_chunkKNFY3RCGcjs.a.call(void 0, {className:"h-full rounded-none rounded-tr-[calc(theme(borderRadius.md)-1px)]",icon:!0,variant:"ghost",size:r}),children:_jsxruntime.jsx.call(void 0, _lucidereact.ChevronUpIcon,{})}),_jsxruntime.jsx.call(void 0, e.DecrementButton,{className:_chunkKNFY3RCGcjs.a.call(void 0, {className:"h-full rounded-none rounded-br-[calc(theme(borderRadius.md)-1px)]",icon:!0,variant:"ghost",size:r}),children:_jsxruntime.jsx.call(void 0, _lucidereact.ChevronDownIcon,{})})]})]}));O.displayName="NumberInput";exports.a = O;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkKNFY3RCGcjs = require('./chunk-KNFY3RCG.cjs');var _chunkNX2PYE7Ucjs = require('./chunk-NX2PYE7U.cjs');var _reactnavigationmenu = require('@radix-ui/react-navigation-menu'); var t = _interopRequireWildcard(_reactnavigationmenu);var _lucidereact = require('lucide-react');var _react = require('react');var _jsxruntime = require('react/jsx-runtime');var N=_react.forwardRef.call(void 0, ({children:i,className:e,...o},p)=>_jsxruntime.jsxs.call(void 0, t.Root,{ref:p,className:_chunkNX2PYE7Ucjs.a.call(void 0, "relative z-10 flex max-w-max flex-1 items-center justify-center",e),...o,children:[i,_jsxruntime.jsx.call(void 0, s,{})]}));N.displayName=t.Root.displayName;var d=_react.forwardRef.call(void 0, ({children:i,className:e,...o},p)=>_jsxruntime.jsxs.call(void 0, t.List,{ref:p,className:_chunkNX2PYE7Ucjs.a.call(void 0, "group flex flex-1 list-none items-center justify-center space-x-1",e),...o,children:[i,_jsxruntime.jsx.call(void 0, g,{})]}));d.displayName=t.List.displayName;var h=t.Item,f= exports.d =_react.forwardRef.call(void 0, ({children:i,className:e,...o},p)=>_jsxruntime.jsxs.call(void 0, t.Trigger,{ref:p,className:_chunkKNFY3RCGcjs.a.call(void 0, {variant:"ghost",className:["data-[state=open]:bg-accent data-[state=open]:text-accent-foreground","group",e]}),...o,children:[i,_jsxruntime.jsx.call(void 0, _lucidereact.ChevronDownIcon,{"aria-hidden":"true",className:_chunkNX2PYE7Ucjs.a.call(void 0, "relative top-px ml-1 size-3 transition","group-data-[state=open]:rotate-180")})]}));f.displayName=t.Trigger.displayName;var M=_react.forwardRef.call(void 0, ({className:i,...e},o)=>_jsxruntime.jsx.call(void 0, t.Content,{ref:o,className:_chunkNX2PYE7Ucjs.a.call(void 0, "left-0 top-0 w-full md:absolute md:w-auto","data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in","data-[motion=from-end]:slide-in-from-right-52","data-[motion=from-start]:slide-in-from-left-52","data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out","data-[motion=to-end]:slide-out-to-right-52","data-[motion=to-start]:slide-out-to-left-52",i),...e}));M.displayName=t.Content.displayName;var w=t.Link,s=_react.forwardRef.call(void 0, ({className:i,...e},o)=>_jsxruntime.jsx.call(void 0, "div",{className:"perspective-[125rem] absolute left-0 top-full flex justify-center",children:_jsxruntime.jsx.call(void 0, t.Viewport,{ref:o,className:_chunkNX2PYE7Ucjs.a.call(void 0, "bg-popover text-popover-foreground relative mt-1.5 w-full origin-[top_center] overflow-hidden rounded-md border p-1 shadow-md transition-[width,height]","h-[var(--radix-navigation-menu-viewport-height)] sm:w-[var(--radix-navigation-menu-viewport-width)]","data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-90","data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-95",i),...e})}));s.displayName=t.Viewport.displayName;var g=_react.forwardRef.call(void 0, ({className:i,...e},o)=>_jsxruntime.jsx.call(void 0, t.Indicator,{ref:o,className:_chunkNX2PYE7Ucjs.a.call(void 0, "data-[state=visible]:animate-fade-in data-[state=hidden]:animate-fade-out top-full z-10 flex h-1.5 items-center justify-center overflow-hidden transition",i),...e,children:_jsxruntime.jsx.call(void 0, "div",{className:"bg-popover relative top-[60%] size-2 rotate-45 rounded-tl-sm"})}));g.displayName=t.Indicator.displayName;exports.a = N; exports.b = d; exports.c = h; exports.d = f; exports.e = M; exports.f = w;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkNX2PYE7Ucjs = require('./chunk-NX2PYE7U.cjs');var _react = require('react');var _jsxruntime = require('react/jsx-runtime');var b=_react.forwardRef.call(void 0, ({className:e,...t},l)=>_jsxruntime.jsx.call(void 0, "div",{className:"relative w-full overflow-auto",children:_jsxruntime.jsx.call(void 0, "table",{ref:l,className:_chunkNX2PYE7Ucjs.a.call(void 0, "w-full caption-bottom text-sm",e),...t})}));b.displayName="Table";var r=_react.forwardRef.call(void 0, ({className:e,...t},l)=>_jsxruntime.jsx.call(void 0, "thead",{ref:l,className:_chunkNX2PYE7Ucjs.a.call(void 0, "[&>tr]:border-b [&>tr]:hover:bg-transparent",e),...t}));r.displayName="TableHeader";var p=_react.forwardRef.call(void 0, ({className:e,...t},l)=>_jsxruntime.jsx.call(void 0, "tbody",{ref:l,className:_chunkNX2PYE7Ucjs.a.call(void 0, "[&_tr:last-child]:border-0",e),...t}));p.displayName="TableBody";var s=_react.forwardRef.call(void 0, ({className:e,...t},l)=>_jsxruntime.jsx.call(void 0, "tfoot",{ref:l,className:_chunkNX2PYE7Ucjs.a.call(void 0, "bg-muted/50 border-t font-medium [&>tr]:last:border-b-0",e),...t}));s.displayName="TableFooter";var n=_react.forwardRef.call(void 0, ({className:e,...t},l)=>_jsxruntime.jsx.call(void 0, "tr",{ref:l,className:_chunkNX2PYE7Ucjs.a.call(void 0, "border-b transition","hover:bg-accent","data-[state=selected]:bg-muted",e),...t}));n.displayName="TableRow";var m=_react.forwardRef.call(void 0, ({className:e,...t},l)=>_jsxruntime.jsx.call(void 0, "th",{ref:l,className:_chunkNX2PYE7Ucjs.a.call(void 0, "text-muted-foreground p-2 text-left align-middle font-medium",e),...t}));m.displayName="TableHead";var d=_react.forwardRef.call(void 0, ({className:e,...t},l)=>_jsxruntime.jsx.call(void 0, "td",{ref:l,className:_chunkNX2PYE7Ucjs.a.call(void 0, "p-2 align-middle",e),...t}));d.displayName="TableCell";var i=_react.forwardRef.call(void 0, ({className:e,...t},l)=>_jsxruntime.jsx.call(void 0, "caption",{ref:l,className:_chunkNX2PYE7Ucjs.a.call(void 0, "text-muted-foreground mt-4 text-sm",e),...t}));i.displayName="TableCaption";exports.a = b; exports.b = r; exports.c = p; exports.d = s; exports.e = n; exports.f = m; exports.g = d; exports.h = i;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-FQMSK2WZ.js";import*as e from"@radix-ui/react-hover-card";import{forwardRef as i}from"react";import{jsx as d}from"react/jsx-runtime";var H=e.Root,P=e.Trigger,n=i(({className:t,align:o="center",sideOffset:r=6,...p},s)=>d(e.Portal,{children:d(e.Content,{ref:s,align:o,className:a("bg-popover text-popover-foreground z-50 min-w-32 rounded-md border p-4 shadow-md","data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-95","data-[state=open]:data-[side=top]:slide-in-from-bottom-2","data-[state=open]:data-[side=left]:slide-in-from-right-2","data-[state=open]:data-[side=bottom]:slide-in-from-top-2","data-[state=open]:data-[side=right]:slide-in-from-left-2","data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-95","data-[state=closed]:data-[side=top]:slide-out-to-bottom-2","data-[state=closed]:data-[side=left]:slide-out-to-right-2","data-[state=closed]:data-[side=bottom]:slide-out-to-top-2","data-[state=closed]:data-[side=right]:slide-out-to-left-2",t),sideOffset:r,...p})}));n.displayName=e.Content.displayName;var m=i(({className:t,...o},r)=>d(e.Arrow,{ref:r,className:a("fill-popover",t),...o}));m.displayName=e.Arrow.displayName;export{H as a,P as b,n as c,m as d};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as l}from"./chunk-FQMSK2WZ.js";import*as e from"@radix-ui/react-collapsible";import{forwardRef as p}from"react";import{jsx as a}from"react/jsx-runtime";var m=e.Root,P=e.CollapsibleTrigger,s=p(({className:o,...t},i)=>a(e.CollapsibleContent,{ref:i,className:l("overflow-hidden","data-[state=open]:animate-collapsible-open","data-[state=closed]:animate-collapsible-closed",o),...t}));s.displayName=e.CollapsibleContent.displayName;export{m as a,P as b,s as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkKNFY3RCGcjs = require('./chunk-KNFY3RCG.cjs');var _chunkNX2PYE7Ucjs = require('./chunk-NX2PYE7U.cjs');var _reactdialog = require('@radix-ui/react-dialog'); var e = _interopRequireWildcard(_reactdialog);var _lucidereact = require('lucide-react');var _react = require('react');var _tailwindvariants = require('tailwind-variants');var _jsxruntime = require('react/jsx-runtime');var d=_tailwindvariants.tv.call(void 0, {base:["bg-background animate-ease-in-out fixed z-50 flex flex-col overflow-auto shadow-lg","data-[state=open]:animate-in data-[state=open]:animate-duration-500","data-[state=closed]:animate-out data-[state=closed]:animate-duration-300"],defaultVariants:{side:"right"},variants:{side:{top:["inset-x-0 top-0 max-h-screen border-b","data-[state=open]:slide-in-from-top","data-[state=closed]:slide-out-to-top"],bottom:["inset-x-0 bottom-0 max-h-screen border-t","data-[state=open]:slide-in-from-bottom","data-[state=closed]:slide-out-to-bottom"],left:["inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm","data-[state=open]:slide-in-from-left","data-[state=closed]:slide-out-to-left"],right:["inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm","data-[state=open]:slide-in-from-right","data-[state=closed]:slide-out-to-right"]}}}),N= exports.a =e.Root,E= exports.b =e.Trigger,P= exports.c =_react.forwardRef.call(void 0, ({children:t,side:o="right",className:s,...n},p)=>_jsxruntime.jsxs.call(void 0, e.Portal,{children:[_jsxruntime.jsx.call(void 0, e.Overlay,{className:_chunkNX2PYE7Ucjs.a.call(void 0, "fixed inset-0 z-50 bg-black/80","data-[state=open]:animate-duration-500 data-[state=open]:animate-fade-in","data-[state=closed]:animate-duration-300 data-[state=closed]:animate-fade-out")}),_jsxruntime.jsxs.call(void 0, e.Content,{ref:p,className:d({side:o,className:s}),...n,children:[t,_jsxruntime.jsxs.call(void 0, e.Close,{className:_chunkKNFY3RCGcjs.a.call(void 0, {className:"absolute right-4 top-4",icon:!0,size:"xxs",variant:"ghost"}),children:[_jsxruntime.jsx.call(void 0, _lucidereact.XIcon,{className:"size-4"}),_jsxruntime.jsx.call(void 0, "span",{className:"sr-only",children:"Close"})]})]})]}));P.displayName=e.Content.displayName;function R({className:t,...o}){return _jsxruntime.jsx.call(void 0, "header",{className:_chunkNX2PYE7Ucjs.a.call(void 0, "flex shrink-0 flex-col gap-1.5 px-6 pb-4 pt-6 text-center sm:text-left",t),...o})}function D({className:t,...o}){return _jsxruntime.jsx.call(void 0, "main",{className:_chunkNX2PYE7Ucjs.a.call(void 0, "px-6 py-2",t),...o})}function f({className:t,...o}){return _jsxruntime.jsx.call(void 0, "footer",{className:_chunkNX2PYE7Ucjs.a.call(void 0, "flex shrink-0 flex-col-reverse gap-2 px-6 pb-6 pt-4 sm:flex-row sm:justify-end",t),...o})}f.displayName="SheetFooter";var y=_react.forwardRef.call(void 0, ({className:t,...o},s)=>_jsxruntime.jsx.call(void 0, e.Title,{ref:s,className:_chunkNX2PYE7Ucjs.a.call(void 0, "text-foreground text-lg font-semibold",t),...o}));y.displayName=e.Title.displayName;var c=_react.forwardRef.call(void 0, ({className:t,...o},s)=>_jsxruntime.jsx.call(void 0, e.Description,{ref:s,className:_chunkNX2PYE7Ucjs.a.call(void 0, "text-muted-foreground text-sm",t),...o}));c.displayName=e.Description.displayName;var u=_react.forwardRef.call(void 0, ({className:t,size:o,variant:s="outline",...n},p)=>_jsxruntime.jsx.call(void 0, e.Close,{ref:p,className:_chunkKNFY3RCGcjs.a.call(void 0, {variant:s,size:o,className:t}),...n}));u.displayName=e.Close.displayName;exports.a = N; exports.b = E; exports.c = P; exports.d = R; exports.e = D; exports.f = f; exports.g = y; exports.h = c; exports.i = u;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{tv as t}from"tailwind-variants";var o=t({slots:{root:["border-input bg-background flex w-full grow cursor-text items-center gap-2 rounded-md border px-3 text-sm shadow-sm transition","[&>svg]:text-muted-foreground [&>svg]:shrink-0","focus-within:border-ring focus-within:ring-ring/40 focus-within:ring-2","has-[input:disabled]:cursor-default has-[input:disabled]:opacity-50"],input:["peer size-full rounded-[inherit] bg-inherit outline-none","file:cursor-pointer file:border-0 file:bg-transparent file:font-medium","placeholder:text-muted-foreground","disabled:cursor-default"]},variants:{inputSize:{xxs:{root:"h-7 [&>svg]:size-3",input:"file:py-0.75"},xs:{root:"h-8 [&>svg]:size-3.5",input:"file:py-1.25"},sm:{root:"h-9 [&>svg]:size-4",input:"file:py-1.75"},md:{root:"h-10 [&>svg]:size-4",input:"file:py-2.25"},lg:{root:"h-11 [&>svg]:size-5",input:"file:py-2.75"},xl:{root:"h-12 [&>svg]:size-5",input:"file:py-3.25"}}},defaultVariants:{inputSize:"md"}});export{o as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{a as r,c as d}from"./chunk-VBIU63FD.js";import{a as p}from"./chunk-FQMSK2WZ.js";import{Command as m}from"cmdk";import{SearchIcon as s}from"lucide-react";import{forwardRef as a}from"react";import{jsx as n,jsxs as g}from"react/jsx-runtime";var i=a(({className:e,...o},t)=>n(m,{ref:t,className:p("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",e),...o}));i.displayName=m.displayName;function k({children:e,...o}){return n(r,{...o,children:n(d,{className:"p-0",children:n(i,{className:"[&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:size-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:size-5",children:e})})})}var C=a(({className:e,...o},t)=>g("div",{className:"flex items-center gap-2 border-b px-3","cmdk-input-wrapper":"",children:[n(s,{className:"size-5 shrink-0 opacity-50"}),n(m.Input,{ref:t,className:p("placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent text-sm outline-none disabled:cursor-default disabled:opacity-50",e),...o})]}));C.displayName=m.Input.displayName;var l=a(({className:e,...o},t)=>n(m.List,{ref:t,className:p("max-h-72 overflow-y-auto overflow-x-hidden",e),...o}));l.displayName=m.List.displayName;var y=a((e,o)=>n(m.Empty,{ref:o,className:"py-6 text-center text-sm",...e}));y.displayName=m.Empty.displayName;var u=a(({className:e,...o},t)=>n(m.Group,{ref:t,className:p("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",e),...o}));u.displayName=m.Group.displayName;var f=a(({className:e,...o},t)=>n(m.Separator,{ref:t,className:p("bg-border -mx-1 h-px",e),...o}));f.displayName=m.Separator.displayName;var c=a(({className:e,...o},t)=>n(m.Item,{ref:t,className:p("gap-x-2 px-3 py-1.5","relative flex cursor-pointer select-none items-center rounded text-sm","aria-disabled:pointer-events-none aria-disabled:opacity-50","aria-selected:bg-accent aria-selected:text-accent-foreground aria-selected:outline-none",e),...o}));c.displayName=m.Item.displayName;var P=a(({className:e,...o},t)=>n(m.Loading,{ref:t,className:p("flex justify-center p-2",e),...o}));P.displayName=m.Loading.displayName;function R({className:e,...o}){return n("span",{className:p("text-muted-foreground ml-auto text-xs tracking-widest",e),...o})}export{i as a,k as b,C as c,l as d,y as e,u as f,f as g,c as h,P as i,R as j};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e}from"./chunk-FQMSK2WZ.js";import{forwardRef as o}from"react";import{jsx as s}from"react/jsx-runtime";var i=o(({className:r,...t},a)=>s("textarea",{ref:a,className:e(["border-input flex min-h-16 w-full grow rounded-md border bg-transparent px-3 py-2 text-sm shadow-sm transition","focus-visible:border-ring focus-visible:ring-ring/40 focus-visible:outline-none focus-visible:ring-2","placeholder:text-muted-foreground","disabled:cursor-default disabled:opacity-50"],r),...t}));i.displayName="Textarea";export{i as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _reactaspectratio = require('@radix-ui/react-aspect-ratio'); var t = _interopRequireWildcard(_reactaspectratio);var i=t.Root;exports.a = i;
|