@wealthx/shadcn 1.3.1 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +259 -223
- package/CHANGELOG.md +12 -0
- package/dist/{chunk-2UM72RJ7.mjs → chunk-2D3HQPFN.mjs} +12 -10
- package/dist/chunk-2EM2FRU6.mjs +613 -0
- package/dist/{chunk-FH6QVUVZ.mjs → chunk-2GIYVERS.mjs} +2 -2
- package/dist/chunk-2P7HP7LR.mjs +68 -0
- package/dist/{chunk-HISNT2MG.mjs → chunk-37AE3OM5.mjs} +5 -5
- package/dist/{chunk-HBZLGDIN.mjs → chunk-3ERBUVHC.mjs} +169 -110
- package/dist/{chunk-C7CQJNMR.mjs → chunk-3VDET466.mjs} +2 -2
- package/dist/{chunk-462HMNO4.mjs → chunk-4MM7LHM5.mjs} +2 -2
- package/dist/{chunk-QMY3AZJH.mjs → chunk-4Z66LMIQ.mjs} +2 -2
- package/dist/{chunk-U5X52X37.mjs → chunk-57ZXILTS.mjs} +6 -6
- package/dist/{chunk-3OYFOX3X.mjs → chunk-5VOTTIXF.mjs} +2 -2
- package/dist/{chunk-LBMRIB3G.mjs → chunk-6AJUS7VX.mjs} +1 -1
- package/dist/{chunk-OODBHKG7.mjs → chunk-6HIOM2HL.mjs} +7 -4
- package/dist/{chunk-BDYZCBRT.mjs → chunk-6QAFGZC2.mjs} +2 -2
- package/dist/{chunk-U4NDAF2P.mjs → chunk-6TX73WG7.mjs} +1 -1
- package/dist/{chunk-GD4BJDJR.mjs → chunk-7BTFGCFC.mjs} +4 -4
- package/dist/{chunk-FAKPBKLT.mjs → chunk-7GWRPXHD.mjs} +4 -4
- package/dist/{chunk-NMOI6CQD.mjs → chunk-7YI3HEBH.mjs} +5 -5
- package/dist/{chunk-T4BJLT57.mjs → chunk-AE7MASLF.mjs} +5 -5
- package/dist/{chunk-VLQZANBF.mjs → chunk-AFML43VJ.mjs} +6 -1
- package/dist/chunk-BBXSNDS3.mjs +260 -0
- package/dist/chunk-BOW7U26Y.mjs +203 -0
- package/dist/{chunk-34NWQURD.mjs → chunk-BS75ICOO.mjs} +2 -2
- package/dist/chunk-D2NSIIXG.mjs +394 -0
- package/dist/{chunk-3GF7OVTP.mjs → chunk-DGNHGNYH.mjs} +2 -2
- package/dist/{chunk-VLARHE5V.mjs → chunk-DMXYRCHM.mjs} +6 -6
- package/dist/{chunk-OGOYQ7BG.mjs → chunk-DQB4EPIS.mjs} +1 -1
- package/dist/{chunk-MIZQHHUO.mjs → chunk-FL6DZFJK.mjs} +106 -38
- package/dist/{chunk-I3RZS7V2.mjs → chunk-FLL633WS.mjs} +19 -33
- package/dist/{chunk-PBL4OQV2.mjs → chunk-FTPBQVQ6.mjs} +4 -4
- package/dist/chunk-FYPSTTEJ.mjs +169 -0
- package/dist/{chunk-6O6KD7CE.mjs → chunk-G27TSQLQ.mjs} +6 -6
- package/dist/{chunk-66MI7Q4B.mjs → chunk-GT3RU6GA.mjs} +2 -2
- package/dist/{chunk-D6ID6M4V.mjs → chunk-GTAVSBDO.mjs} +2 -2
- package/dist/{chunk-24FUO7TD.mjs → chunk-H6NQTIF4.mjs} +2 -2
- package/dist/{chunk-7DHU4VGG.mjs → chunk-HK4HUQTV.mjs} +2 -2
- package/dist/chunk-I4KVSZCH.mjs +101 -0
- package/dist/{chunk-RGVKLTLH.mjs → chunk-IKXYTCSB.mjs} +2 -2
- package/dist/{chunk-Y6DWJSKZ.mjs → chunk-ISUA7DSB.mjs} +1 -1
- package/dist/{chunk-2A5RRQGG.mjs → chunk-JD3YWRNP.mjs} +10 -14
- package/dist/{chunk-J5UICVJS.mjs → chunk-JPGL36WQ.mjs} +2 -2
- package/dist/{chunk-7XJHLGUV.mjs → chunk-JTK6VJXY.mjs} +2 -2
- package/dist/{chunk-7YAU5CY6.mjs → chunk-JVMXMFBB.mjs} +2 -2
- package/dist/{chunk-IAE3F7DR.mjs → chunk-JZY6TNIS.mjs} +21 -21
- package/dist/{chunk-K5A5L6T2.mjs → chunk-K4KOD3KR.mjs} +12 -12
- package/dist/{chunk-MBON7YRJ.mjs → chunk-K5QV4TT6.mjs} +3 -3
- package/dist/{chunk-IHMFS7NZ.mjs → chunk-K5VHK7CM.mjs} +21 -21
- package/dist/{chunk-RJI6GKVF.mjs → chunk-KCWNDYPZ.mjs} +5 -5
- package/dist/{chunk-UFYSFDER.mjs → chunk-KFH36NKF.mjs} +1 -1
- package/dist/{chunk-EBXQWIYG.mjs → chunk-KLTACJ2G.mjs} +5 -5
- package/dist/{chunk-3TTACBDP.mjs → chunk-KWD6GANL.mjs} +4 -4
- package/dist/{chunk-IOJRDS6V.mjs → chunk-L4NSRQ3T.mjs} +218 -147
- package/dist/{chunk-GYMYRIZP.mjs → chunk-LBTHZSBT.mjs} +2 -2
- package/dist/{chunk-AMQZRHEZ.mjs → chunk-LQULK2E3.mjs} +5 -5
- package/dist/{chunk-YJG55G2H.mjs → chunk-LR6LHDP3.mjs} +5 -5
- package/dist/{chunk-7PV3IWCN.mjs → chunk-M4VYX2PV.mjs} +19 -1
- package/dist/{chunk-P76HMUI6.mjs → chunk-MDUKXXIL.mjs} +2 -2
- package/dist/{chunk-LV35NGVG.mjs → chunk-N6Q5IPKT.mjs} +9 -9
- package/dist/{chunk-DOEO3CDL.mjs → chunk-NB3ZL36B.mjs} +1 -1
- package/dist/{chunk-XREGSKX3.mjs → chunk-NOOEKOWY.mjs} +5 -5
- package/dist/{chunk-NL3ZO62D.mjs → chunk-NT4FX27K.mjs} +1 -1
- package/dist/{chunk-QZ4RE6NA.mjs → chunk-NTYQWVLI.mjs} +6 -6
- package/dist/{chunk-ERGGHC2V.mjs → chunk-OEOOYMC2.mjs} +2 -2
- package/dist/{chunk-4GAWMKMI.mjs → chunk-OIKBW2QD.mjs} +291 -54
- package/dist/{chunk-DUJTAXMH.mjs → chunk-OKTJFDPN.mjs} +6 -6
- package/dist/chunk-OLKMCXAR.mjs +1219 -0
- package/dist/{chunk-EI5F6FMT.mjs → chunk-OWFQSXVD.mjs} +3 -3
- package/dist/{chunk-6DZEXFNB.mjs → chunk-P2N2PEFY.mjs} +3 -3
- package/dist/{chunk-NSLMILBT.mjs → chunk-P7CEBZM6.mjs} +2 -2
- package/dist/{chunk-7S5AESZO.mjs → chunk-PNRUH7JY.mjs} +6 -6
- package/dist/{chunk-ZU4NV6RG.mjs → chunk-PNSYFE3K.mjs} +2 -2
- package/dist/{chunk-JKGDCQTZ.mjs → chunk-QTRSCVQ3.mjs} +5 -5
- package/dist/{chunk-ABFDMHOR.mjs → chunk-QX7IFQSF.mjs} +5 -5
- package/dist/{chunk-CFMQP5QS.mjs → chunk-QXKGOMUX.mjs} +6 -6
- package/dist/{chunk-NQPOYKAQ.mjs → chunk-R2ON6CAN.mjs} +2 -2
- package/dist/{chunk-DBHJ5KC3.mjs → chunk-R4HCRDU5.mjs} +1 -1
- package/dist/{chunk-EWRB4PAD.mjs → chunk-RCAOCHWA.mjs} +14 -14
- package/dist/{chunk-EFRENWEJ.mjs → chunk-RSUIPKGX.mjs} +2 -2
- package/dist/{chunk-DGHAXJBN.mjs → chunk-S2FKV4M5.mjs} +5 -5
- package/dist/{chunk-RGU7HOEC.mjs → chunk-SET2ANTY.mjs} +5 -7
- package/dist/chunk-SFH2NJEJ.mjs +47 -0
- package/dist/{chunk-6AW4KJHE.mjs → chunk-SIVYAI3M.mjs} +12 -12
- package/dist/{chunk-5FQIKDKP.mjs → chunk-THVO2N47.mjs} +8 -8
- package/dist/{chunk-JMHR3YGZ.mjs → chunk-TLAWKTSA.mjs} +3 -3
- package/dist/{chunk-HVY6KCCF.mjs → chunk-TOWTPLRC.mjs} +68 -72
- package/dist/{chunk-6JQFUE5I.mjs → chunk-UALR6JGV.mjs} +2 -2
- package/dist/{chunk-MLNEWRWV.mjs → chunk-UJZ4UHWI.mjs} +10 -15
- package/dist/{chunk-MARPPFOJ.mjs → chunk-UNACI2YK.mjs} +2 -2
- package/dist/{chunk-3NCUZIFP.mjs → chunk-V6XGXYCJ.mjs} +7 -7
- package/dist/chunk-VB5M6OZQ.mjs +57 -0
- package/dist/{chunk-5IS7G74I.mjs → chunk-VY5NEUP7.mjs} +6 -6
- package/dist/{chunk-JHJHG4GO.mjs → chunk-WE4YKBDE.mjs} +2 -2
- package/dist/{chunk-BKNFWEH2.mjs → chunk-WL6WVV47.mjs} +3 -3
- package/dist/{chunk-FWCSY2DS.mjs → chunk-WNQUEZJF.mjs} +22 -1
- package/dist/{chunk-2Y7YJKPE.mjs → chunk-WZ6UJCBL.mjs} +1 -1
- package/dist/{chunk-UMTOX62O.mjs → chunk-XYPW2XA5.mjs} +13 -10
- package/dist/chunk-Y2MTAVAK.mjs +34 -0
- package/dist/{chunk-6CR5N2JW.mjs → chunk-YCWLFG27.mjs} +6 -6
- package/dist/{chunk-PU4YZQXV.mjs → chunk-YE67AALL.mjs} +12 -12
- package/dist/{chunk-M3FV7LOK.mjs → chunk-YEWNFK5S.mjs} +6 -1
- package/dist/{chunk-R3VSPKNP.mjs → chunk-YIZHS72Z.mjs} +11 -12
- package/dist/{chunk-7PYJD5JI.mjs → chunk-ZEDMKQK2.mjs} +2 -2
- package/dist/{chunk-N2PT566P.mjs → chunk-ZFCDYW6N.mjs} +4 -4
- package/dist/chunk-ZGQIVGIN.mjs +57 -0
- package/dist/{chunk-Q2BGOAMG.mjs → chunk-ZKWXDQDG.mjs} +4 -4
- package/dist/{chunk-GHC7LLUX.mjs → chunk-ZOWL2L5J.mjs} +5 -5
- package/dist/components/ui/accordion.mjs +3 -3
- package/dist/components/ui/add-column-modal.js +2 -2
- package/dist/components/ui/add-column-modal.mjs +10 -10
- package/dist/components/ui/add-lead-modal.js +424 -82
- package/dist/components/ui/add-lead-modal.mjs +12 -9
- package/dist/components/ui/advisor-card.js +2 -2
- package/dist/components/ui/advisor-card.mjs +8 -8
- package/dist/components/ui/ai-assistant-drawer.js +2 -2
- package/dist/components/ui/ai-assistant-drawer.mjs +9 -9
- package/dist/components/ui/ai-builder.js +958 -0
- package/dist/components/ui/ai-builder.mjs +25 -0
- package/dist/components/ui/ai-conversations.js +2045 -0
- package/dist/components/ui/ai-conversations.mjs +41 -0
- package/dist/components/ui/alert-dialog.js +2 -2
- package/dist/components/ui/alert-dialog.mjs +5 -5
- package/dist/components/ui/alert.mjs +3 -3
- package/dist/components/ui/appointment-action-dialogs.js +19 -3
- package/dist/components/ui/appointment-action-dialogs.mjs +15 -14
- package/dist/components/ui/appointment-availability-settings.js +181 -111
- package/dist/components/ui/appointment-availability-settings.mjs +20 -18
- package/dist/components/ui/appointment-book-dialog.js +113 -24
- package/dist/components/ui/appointment-book-dialog.mjs +21 -20
- package/dist/components/ui/appointment-calendar-view.js +19 -3
- package/dist/components/ui/appointment-calendar-view.mjs +10 -9
- package/dist/components/ui/appointment-detail-sheet.js +19 -3
- package/dist/components/ui/appointment-detail-sheet.mjs +18 -17
- package/dist/components/ui/appointment-gmail-connect.js +49 -89
- package/dist/components/ui/appointment-gmail-connect.mjs +8 -9
- package/dist/components/ui/appointment-mini-card.js +2 -2
- package/dist/components/ui/appointment-mini-card.mjs +6 -6
- package/dist/components/ui/appointment-time-slot-picker.mjs +6 -6
- package/dist/components/ui/appointment-upcoming-card.js +19 -3
- package/dist/components/ui/appointment-upcoming-card.mjs +15 -14
- package/dist/components/ui/auth-logo.js +95 -0
- package/dist/components/ui/auth-logo.mjs +8 -0
- package/dist/components/ui/auth-page-layout.js +108 -0
- package/dist/components/ui/auth-page-layout.mjs +8 -0
- package/dist/components/ui/avatar.mjs +3 -3
- package/dist/components/ui/backoffice-alert-history-chart.js +2 -2
- package/dist/components/ui/backoffice-alert-history-chart.mjs +9 -9
- package/dist/components/ui/backoffice-alerts-chart.js +2 -2
- package/dist/components/ui/backoffice-alerts-chart.mjs +11 -11
- package/dist/components/ui/backoffice-connections-chart.js +2 -2
- package/dist/components/ui/backoffice-connections-chart.mjs +11 -11
- package/dist/components/ui/backoffice-contact-history-chart.js +2 -2
- package/dist/components/ui/backoffice-contact-history-chart.mjs +9 -9
- package/dist/components/ui/badge.mjs +4 -4
- package/dist/components/ui/borrowing-capacity-line-chart.js +145 -132
- package/dist/components/ui/borrowing-capacity-line-chart.mjs +9 -9
- package/dist/components/ui/button.js +2 -2
- package/dist/components/ui/button.mjs +4 -4
- package/dist/components/ui/calendar.js +17 -3
- package/dist/components/ui/calendar.mjs +6 -5
- package/dist/components/ui/card.mjs +3 -3
- package/dist/components/ui/cash-balance-line-chart.js +157 -152
- package/dist/components/ui/cash-balance-line-chart.mjs +9 -9
- package/dist/components/ui/cashflow-bar-chart.js +2 -2
- package/dist/components/ui/cashflow-bar-chart.mjs +9 -9
- package/dist/components/ui/chat-widget-primitives.js +573 -0
- package/dist/components/ui/chat-widget-primitives.mjs +21 -0
- package/dist/components/ui/chat-widget.js +1268 -0
- package/dist/components/ui/chat-widget.mjs +29 -0
- package/dist/components/ui/checkbox.mjs +3 -3
- package/dist/components/ui/chip.js +2 -2
- package/dist/components/ui/chip.mjs +6 -6
- package/dist/components/ui/color-picker.js +2 -2
- package/dist/components/ui/color-picker.mjs +7 -7
- package/dist/components/ui/combobox.mjs +3 -3
- package/dist/components/ui/data-table.js +2 -2
- package/dist/components/ui/data-table.mjs +12 -12
- package/dist/components/ui/date-picker.js +22 -6
- package/dist/components/ui/date-picker.mjs +9 -8
- package/dist/components/ui/dialog.js +2 -2
- package/dist/components/ui/dialog.mjs +5 -5
- package/dist/components/ui/document-checklist-template.js +630 -0
- package/dist/components/ui/document-checklist-template.mjs +15 -0
- package/dist/components/ui/drawer.js +2 -2
- package/dist/components/ui/drawer.mjs +3 -3
- package/dist/components/ui/dropdown-menu.mjs +3 -3
- package/dist/components/ui/empty.mjs +3 -3
- package/dist/components/ui/expense-bar-chart.js +2 -2
- package/dist/components/ui/expense-bar-chart.mjs +9 -9
- package/dist/components/ui/field.mjs +5 -5
- package/dist/components/ui/financial-cards.js +431 -291
- package/dist/components/ui/financial-cards.mjs +10 -9
- package/dist/components/ui/financial-drawers.js +4 -4
- package/dist/components/ui/financial-drawers.mjs +8 -8
- package/dist/components/ui/financial-primitives.mjs +3 -3
- package/dist/components/ui/financial-sections.js +8 -9
- package/dist/components/ui/financial-sections.mjs +12 -12
- package/dist/components/ui/form-primitives.mjs +8 -8
- package/dist/components/ui/income-bar-chart.js +2 -2
- package/dist/components/ui/income-bar-chart.mjs +9 -9
- package/dist/components/ui/input-group.js +2 -2
- package/dist/components/ui/input-group.mjs +7 -7
- package/dist/components/ui/input-otp.mjs +3 -3
- package/dist/components/ui/input.mjs +3 -3
- package/dist/components/ui/kanban-column.js +19 -23
- package/dist/components/ui/kanban-column.mjs +14 -14
- package/dist/components/ui/label.mjs +3 -3
- package/dist/components/ui/onboarding-layout.js +476 -0
- package/dist/components/ui/onboarding-layout.mjs +11 -0
- package/dist/components/ui/opportunity-card.js +2 -2
- package/dist/components/ui/opportunity-card.mjs +12 -12
- package/dist/components/ui/opportunity-edit-modals.js +22 -6
- package/dist/components/ui/opportunity-edit-modals.mjs +21 -20
- package/dist/components/ui/opportunity-summary-tab.js +991 -674
- package/dist/components/ui/opportunity-summary-tab.mjs +26 -26
- package/dist/components/ui/page-header.mjs +3 -3
- package/dist/components/ui/page-top-bar.mjs +3 -3
- package/dist/components/ui/pagination.js +2 -2
- package/dist/components/ui/pagination.mjs +6 -6
- package/dist/components/ui/password-strength-tooltip.js +197 -0
- package/dist/components/ui/password-strength-tooltip.mjs +11 -0
- package/dist/components/ui/pipeline-alerts.mjs +3 -3
- package/dist/components/ui/pipeline-board.js +19 -23
- package/dist/components/ui/pipeline-board.mjs +18 -18
- package/dist/components/ui/pipeline-chart.js +12 -6
- package/dist/components/ui/pipeline-chart.mjs +4 -3
- package/dist/components/ui/pipeline-dialogs.js +28 -12
- package/dist/components/ui/pipeline-dialogs.mjs +14 -13
- package/dist/components/ui/pipeline-primitives.mjs +6 -6
- package/dist/components/ui/popover.mjs +3 -3
- package/dist/components/ui/progress.mjs +3 -3
- package/dist/components/ui/property-cashflow-doughnut-chart.js +2 -2
- package/dist/components/ui/property-cashflow-doughnut-chart.mjs +9 -9
- package/dist/components/ui/property-debt-equity-doughnut-chart.js +2 -2
- package/dist/components/ui/property-debt-equity-doughnut-chart.mjs +9 -9
- package/dist/components/ui/property-mobile-estimate-line-chart.js +2 -2
- package/dist/components/ui/property-mobile-estimate-line-chart.mjs +9 -9
- package/dist/components/ui/radio-group.mjs +3 -3
- package/dist/components/ui/select.mjs +3 -3
- package/dist/components/ui/separator.mjs +3 -3
- package/dist/components/ui/sheet.mjs +3 -3
- package/dist/components/ui/sidebar-nav.js +7 -9
- package/dist/components/ui/sidebar-nav.mjs +7 -7
- package/dist/components/ui/skeleton.mjs +3 -3
- package/dist/components/ui/slider.mjs +3 -3
- package/dist/components/ui/sonner.mjs +2 -2
- package/dist/components/ui/spinner.mjs +3 -3
- package/dist/components/ui/stage-timeline.mjs +10 -10
- package/dist/components/ui/stepper.mjs +3 -3
- package/dist/components/ui/switch.mjs +3 -3
- package/dist/components/ui/table.mjs +3 -3
- package/dist/components/ui/tabs.mjs +3 -3
- package/dist/components/ui/textarea.mjs +3 -3
- package/dist/components/ui/toggle-group.mjs +4 -4
- package/dist/components/ui/toggle.mjs +3 -3
- package/dist/components/ui/tooltip.mjs +3 -3
- package/dist/components/ui/transactions-expense-categories-doughnut-chart.js +2 -2
- package/dist/components/ui/transactions-expense-categories-doughnut-chart.mjs +9 -9
- package/dist/components/ui/transactions-income-expense-bar-chart.js +2 -2
- package/dist/components/ui/transactions-income-expense-bar-chart.mjs +9 -9
- package/dist/components/ui/transactions-liabilities-breakdown-doughnut-chart.js +2 -2
- package/dist/components/ui/transactions-liabilities-breakdown-doughnut-chart.mjs +9 -9
- package/dist/components/ui/two-fa-setup-form.js +612 -0
- package/dist/components/ui/two-fa-setup-form.mjs +16 -0
- package/dist/components/ui/upload-card.js +187 -0
- package/dist/components/ui/upload-card.mjs +10 -0
- package/dist/components/ui/video-background.js +118 -0
- package/dist/components/ui/video-background.mjs +8 -0
- package/dist/index.js +12765 -9400
- package/dist/index.mjs +341 -245
- package/dist/lib/colors.mjs +1 -1
- package/dist/lib/theme-provider.mjs +1 -1
- package/dist/lib/typography.mjs +2 -2
- package/dist/lib/utils.js +8 -2
- package/dist/lib/utils.mjs +6 -4
- package/dist/styles.css +1 -1
- package/package.json +61 -1
- package/src/components/index.tsx +126 -1
- package/src/components/ui/add-lead-modal.tsx +101 -142
- package/src/components/ui/ai-builder.tsx +560 -0
- package/src/components/ui/ai-conversations.tsx +1690 -0
- package/src/components/ui/appointment-availability-settings.tsx +152 -101
- package/src/components/ui/appointment-book-dialog.tsx +138 -24
- package/src/components/ui/appointment-calendar-view.tsx +2 -3
- package/src/components/ui/appointment-gmail-connect.tsx +23 -42
- package/src/components/ui/auth-logo.tsx +50 -0
- package/src/components/ui/auth-page-layout.tsx +59 -0
- package/src/components/ui/borrowing-capacity-line-chart.tsx +10 -8
- package/src/components/ui/button.tsx +2 -2
- package/src/components/ui/calendar.tsx +2 -1
- package/src/components/ui/cash-balance-line-chart.tsx +10 -14
- package/src/components/ui/chart-shared.tsx +10 -0
- package/src/components/ui/chat-widget-primitives.tsx +336 -0
- package/src/components/ui/chat-widget.tsx +822 -0
- package/src/components/ui/document-checklist-template.tsx +264 -0
- package/src/components/ui/drawer.tsx +2 -2
- package/src/components/ui/financial-cards.tsx +176 -78
- package/src/components/ui/financial-drawers.tsx +2 -2
- package/src/components/ui/financial-sections.tsx +1 -1
- package/src/components/ui/kanban-column.tsx +2 -5
- package/src/components/ui/onboarding-layout.tsx +109 -0
- package/src/components/ui/opportunity-summary-tab.tsx +469 -142
- package/src/components/ui/password-strength-tooltip.tsx +70 -0
- package/src/components/ui/pipeline-chart.tsx +2 -6
- package/src/components/ui/sidebar-nav.tsx +2 -15
- package/src/components/ui/two-fa-setup-form.tsx +229 -0
- package/src/components/ui/upload-card.tsx +98 -0
- package/src/components/ui/video-background.tsx +55 -0
- package/src/lib/format-date.ts +26 -0
- package/src/lib/utils.ts +11 -0
- package/src/styles/styles-css.ts +1 -1
- package/tsup.config.ts +13 -0
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Calendar,
|
|
3
3
|
CalendarDayButton
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-6HIOM2HL.mjs";
|
|
5
|
+
import "../../chunk-M4VYX2PV.mjs";
|
|
6
|
+
import "../../chunk-NOOEKOWY.mjs";
|
|
7
|
+
import "../../chunk-R4HCRDU5.mjs";
|
|
8
|
+
import "../../chunk-AFML43VJ.mjs";
|
|
9
|
+
import "../../chunk-WNQUEZJF.mjs";
|
|
9
10
|
export {
|
|
10
11
|
Calendar,
|
|
11
12
|
CalendarDayButton
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
CardFooter,
|
|
7
7
|
CardHeader,
|
|
8
8
|
CardTitle
|
|
9
|
-
} from "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
9
|
+
} from "../../chunk-3VDET466.mjs";
|
|
10
|
+
import "../../chunk-AFML43VJ.mjs";
|
|
11
|
+
import "../../chunk-WNQUEZJF.mjs";
|
|
12
12
|
export {
|
|
13
13
|
Card,
|
|
14
14
|
CardAction,
|
|
@@ -74,6 +74,11 @@ function useThemeVars() {
|
|
|
74
74
|
return (0, import_react.useContext)(ThemeVarsContext);
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
+
// src/components/ui/button.tsx
|
|
78
|
+
var import_react2 = require("react");
|
|
79
|
+
var import_class_variance_authority = require("class-variance-authority");
|
|
80
|
+
var import_lucide_react = require("lucide-react");
|
|
81
|
+
|
|
77
82
|
// src/lib/utils.ts
|
|
78
83
|
var import_clsx = require("clsx");
|
|
79
84
|
var import_tailwind_merge = require("tailwind-merge");
|
|
@@ -113,137 +118,6 @@ function cn(...inputs) {
|
|
|
113
118
|
return twMerge((0, import_clsx.clsx)(inputs));
|
|
114
119
|
}
|
|
115
120
|
|
|
116
|
-
// src/components/ui/card.tsx
|
|
117
|
-
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
118
|
-
function Card(_a) {
|
|
119
|
-
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
120
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
121
|
-
"div",
|
|
122
|
-
__spreadValues({
|
|
123
|
-
className: cn(
|
|
124
|
-
"flex flex-col gap-6 border bg-card py-6 text-card-foreground shadow-sm",
|
|
125
|
-
className
|
|
126
|
-
),
|
|
127
|
-
"data-slot": "card"
|
|
128
|
-
}, props)
|
|
129
|
-
);
|
|
130
|
-
}
|
|
131
|
-
function CardHeader(_a) {
|
|
132
|
-
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
133
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
134
|
-
"div",
|
|
135
|
-
__spreadValues({
|
|
136
|
-
className: cn(
|
|
137
|
-
"@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-center gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",
|
|
138
|
-
className
|
|
139
|
-
),
|
|
140
|
-
"data-slot": "card-header"
|
|
141
|
-
}, props)
|
|
142
|
-
);
|
|
143
|
-
}
|
|
144
|
-
function CardTitle(_a) {
|
|
145
|
-
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
146
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
147
|
-
"div",
|
|
148
|
-
__spreadValues({
|
|
149
|
-
className: cn("text-label-large", className),
|
|
150
|
-
"data-slot": "card-title"
|
|
151
|
-
}, props)
|
|
152
|
-
);
|
|
153
|
-
}
|
|
154
|
-
function CardContent(_a) {
|
|
155
|
-
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
156
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
157
|
-
"div",
|
|
158
|
-
__spreadValues({
|
|
159
|
-
className: cn("px-6", className),
|
|
160
|
-
"data-slot": "card-content"
|
|
161
|
-
}, props)
|
|
162
|
-
);
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
// src/components/ui/empty.tsx
|
|
166
|
-
var import_class_variance_authority = require("class-variance-authority");
|
|
167
|
-
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
168
|
-
function Empty(_a) {
|
|
169
|
-
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
170
|
-
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
171
|
-
"div",
|
|
172
|
-
__spreadValues({
|
|
173
|
-
className: cn(
|
|
174
|
-
"flex min-w-0 flex-1 flex-col items-center justify-center gap-6 border border-dashed p-6 text-center text-balance md:p-12",
|
|
175
|
-
className
|
|
176
|
-
),
|
|
177
|
-
"data-slot": "empty"
|
|
178
|
-
}, props)
|
|
179
|
-
);
|
|
180
|
-
}
|
|
181
|
-
var emptyMediaVariants = (0, import_class_variance_authority.cva)(
|
|
182
|
-
"mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
183
|
-
{
|
|
184
|
-
variants: {
|
|
185
|
-
variant: {
|
|
186
|
-
default: "[&_svg:not([class*='size-'])]:size-10",
|
|
187
|
-
icon: "flex size-10 shrink-0 items-center justify-center text-muted-foreground [&_svg:not([class*='size-'])]:size-6"
|
|
188
|
-
}
|
|
189
|
-
},
|
|
190
|
-
defaultVariants: {
|
|
191
|
-
variant: "default"
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
);
|
|
195
|
-
function EmptyDescription(_a) {
|
|
196
|
-
var _b = _a, {
|
|
197
|
-
className
|
|
198
|
-
} = _b, props = __objRest(_b, [
|
|
199
|
-
"className"
|
|
200
|
-
]);
|
|
201
|
-
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
202
|
-
"div",
|
|
203
|
-
__spreadValues({
|
|
204
|
-
className: cn(
|
|
205
|
-
"text-body-small leading-relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",
|
|
206
|
-
className
|
|
207
|
-
),
|
|
208
|
-
"data-slot": "empty-description"
|
|
209
|
-
}, props)
|
|
210
|
-
);
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
// src/components/ui/spinner.tsx
|
|
214
|
-
var import_class_variance_authority2 = require("class-variance-authority");
|
|
215
|
-
var import_lucide_react = require("lucide-react");
|
|
216
|
-
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
217
|
-
var spinnerVariants = (0, import_class_variance_authority2.cva)("animate-spin shrink-0", {
|
|
218
|
-
variants: {
|
|
219
|
-
size: {
|
|
220
|
-
sm: "size-3",
|
|
221
|
-
default: "size-4",
|
|
222
|
-
lg: "size-6",
|
|
223
|
-
xl: "size-8"
|
|
224
|
-
}
|
|
225
|
-
},
|
|
226
|
-
defaultVariants: {
|
|
227
|
-
size: "default"
|
|
228
|
-
}
|
|
229
|
-
});
|
|
230
|
-
function Spinner(_a) {
|
|
231
|
-
var _b = _a, { className, size } = _b, props = __objRest(_b, ["className", "size"]);
|
|
232
|
-
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
233
|
-
import_lucide_react.LoaderCircle,
|
|
234
|
-
__spreadValues({
|
|
235
|
-
"aria-hidden": "true",
|
|
236
|
-
className: cn(spinnerVariants({ size }), className),
|
|
237
|
-
"data-slot": "spinner"
|
|
238
|
-
}, props)
|
|
239
|
-
);
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
// src/components/ui/button.tsx
|
|
243
|
-
var import_react2 = require("react");
|
|
244
|
-
var import_class_variance_authority3 = require("class-variance-authority");
|
|
245
|
-
var import_lucide_react2 = require("lucide-react");
|
|
246
|
-
|
|
247
121
|
// src/lib/slot.tsx
|
|
248
122
|
var React2 = __toESM(require("react"));
|
|
249
123
|
function mergeRefs(...refs) {
|
|
@@ -292,8 +166,8 @@ var Slot = React2.forwardRef(
|
|
|
292
166
|
Slot.displayName = "Slot";
|
|
293
167
|
|
|
294
168
|
// src/components/ui/button.tsx
|
|
295
|
-
var
|
|
296
|
-
var buttonVariants = (0,
|
|
169
|
+
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
170
|
+
var buttonVariants = (0, import_class_variance_authority.cva)(
|
|
297
171
|
"inline-flex shrink-0 cursor-pointer items-center justify-center gap-2 font-sans text-button whitespace-nowrap transition-all active:scale-[0.98] outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
298
172
|
{
|
|
299
173
|
variants: {
|
|
@@ -301,9 +175,9 @@ var buttonVariants = (0, import_class_variance_authority3.cva)(
|
|
|
301
175
|
default: "bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",
|
|
302
176
|
secondary: "bg-brand-secondary text-brand-secondary-foreground shadow-xs hover:bg-brand-secondary/80 focus-visible:ring-brand-secondary/30",
|
|
303
177
|
destructive: "bg-destructive text-destructive-foreground shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:bg-destructive/60 dark:focus-visible:ring-destructive/40",
|
|
304
|
-
outline: "border border-input bg-background shadow-xs hover:bg-accent hover:text-accent-foreground focus-visible:ring-border/50 dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
|
|
178
|
+
outline: "border border-input bg-background shadow-xs hover:bg-accent hover:text-accent-foreground focus-visible:border-border focus-visible:ring-border/50 dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
|
|
305
179
|
"outline-primary": "border border-primary text-foreground bg-transparent shadow-xs hover:bg-primary/5 focus-visible:ring-primary/50",
|
|
306
|
-
"outline-secondary": "border border-brand-secondary text-brand-secondary bg-transparent shadow-xs hover:bg-brand-secondary/10 focus-visible:ring-brand-secondary/30",
|
|
180
|
+
"outline-secondary": "border border-brand-secondary text-brand-secondary bg-transparent shadow-xs hover:bg-brand-secondary/10 focus-visible:border-brand-secondary focus-visible:ring-brand-secondary/30",
|
|
307
181
|
ghost: "hover:bg-accent hover:text-accent-foreground hover:shadow-xs focus-visible:ring-border/50 dark:hover:bg-accent/50",
|
|
308
182
|
link: "text-primary underline-offset-4 hover:underline"
|
|
309
183
|
},
|
|
@@ -346,7 +220,7 @@ var Button = (0, import_react2.forwardRef)(function Button2(_a, ref) {
|
|
|
346
220
|
]);
|
|
347
221
|
const Comp = asChild ? Slot : "button";
|
|
348
222
|
const isIconOnly = size === "icon" || size === "icon-xs" || size === "icon-sm" || size === "icon-lg";
|
|
349
|
-
return /* @__PURE__ */ (0,
|
|
223
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
350
224
|
Comp,
|
|
351
225
|
__spreadProps(__spreadValues({
|
|
352
226
|
className: cn(buttonVariants({ variant, size, className })),
|
|
@@ -357,8 +231,8 @@ var Button = (0, import_react2.forwardRef)(function Button2(_a, ref) {
|
|
|
357
231
|
ref,
|
|
358
232
|
type
|
|
359
233
|
}, props), {
|
|
360
|
-
children: loading ? /* @__PURE__ */ (0,
|
|
361
|
-
/* @__PURE__ */ (0,
|
|
234
|
+
children: loading ? /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_jsx_runtime2.Fragment, { children: [
|
|
235
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_lucide_react.Loader2, { "aria-hidden": "true", className: "animate-spin" }),
|
|
362
236
|
!isIconOnly && children
|
|
363
237
|
] }) : children
|
|
364
238
|
})
|
|
@@ -391,17 +265,28 @@ function formatCurrencyAbbrev(value) {
|
|
|
391
265
|
}
|
|
392
266
|
|
|
393
267
|
// src/components/ui/chart-shared.tsx
|
|
394
|
-
var
|
|
268
|
+
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
395
269
|
var FALLBACK_PRIMARY = "#33FF99";
|
|
396
270
|
var FALLBACK_BG = "#ffffff";
|
|
397
271
|
var FALLBACK_TICK = "#9EAAB5";
|
|
272
|
+
function formatChartDateLabel(iso) {
|
|
273
|
+
const d = new Date(iso);
|
|
274
|
+
return d.toLocaleDateString("en-US", { month: "short", day: "numeric" });
|
|
275
|
+
}
|
|
276
|
+
function formatTooltipDate(iso, granularity) {
|
|
277
|
+
const d = new Date(iso);
|
|
278
|
+
return d.toLocaleDateString(
|
|
279
|
+
"en-US",
|
|
280
|
+
granularity === "daily" ? { month: "short", day: "numeric", year: "numeric" } : { month: "short", year: "numeric" }
|
|
281
|
+
);
|
|
282
|
+
}
|
|
398
283
|
function ChartLegendItem({
|
|
399
284
|
label,
|
|
400
285
|
color,
|
|
401
286
|
lineStyle
|
|
402
287
|
}) {
|
|
403
|
-
return /* @__PURE__ */ (0,
|
|
404
|
-
lineStyle ? /* @__PURE__ */ (0,
|
|
288
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "flex items-center gap-1.5", children: [
|
|
289
|
+
lineStyle ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
405
290
|
"svg",
|
|
406
291
|
{
|
|
407
292
|
width: "20",
|
|
@@ -409,7 +294,7 @@ function ChartLegendItem({
|
|
|
409
294
|
viewBox: "0 0 20 10",
|
|
410
295
|
"aria-hidden": "true",
|
|
411
296
|
style: { flexShrink: 0 },
|
|
412
|
-
children: /* @__PURE__ */ (0,
|
|
297
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
413
298
|
"line",
|
|
414
299
|
{
|
|
415
300
|
x1: "0",
|
|
@@ -423,7 +308,7 @@ function ChartLegendItem({
|
|
|
423
308
|
}
|
|
424
309
|
)
|
|
425
310
|
}
|
|
426
|
-
) : /* @__PURE__ */ (0,
|
|
311
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
427
312
|
"div",
|
|
428
313
|
{
|
|
429
314
|
style: {
|
|
@@ -434,10 +319,136 @@ function ChartLegendItem({
|
|
|
434
319
|
}
|
|
435
320
|
}
|
|
436
321
|
),
|
|
437
|
-
/* @__PURE__ */ (0,
|
|
322
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "text-[11px] text-muted-foreground leading-none", children: label })
|
|
438
323
|
] });
|
|
439
324
|
}
|
|
440
325
|
|
|
326
|
+
// src/components/ui/card.tsx
|
|
327
|
+
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
328
|
+
function Card(_a) {
|
|
329
|
+
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
330
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
331
|
+
"div",
|
|
332
|
+
__spreadValues({
|
|
333
|
+
className: cn(
|
|
334
|
+
"flex flex-col gap-6 border bg-card py-6 text-card-foreground shadow-sm",
|
|
335
|
+
className
|
|
336
|
+
),
|
|
337
|
+
"data-slot": "card"
|
|
338
|
+
}, props)
|
|
339
|
+
);
|
|
340
|
+
}
|
|
341
|
+
function CardHeader(_a) {
|
|
342
|
+
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
343
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
344
|
+
"div",
|
|
345
|
+
__spreadValues({
|
|
346
|
+
className: cn(
|
|
347
|
+
"@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-center gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",
|
|
348
|
+
className
|
|
349
|
+
),
|
|
350
|
+
"data-slot": "card-header"
|
|
351
|
+
}, props)
|
|
352
|
+
);
|
|
353
|
+
}
|
|
354
|
+
function CardTitle(_a) {
|
|
355
|
+
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
356
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
357
|
+
"div",
|
|
358
|
+
__spreadValues({
|
|
359
|
+
className: cn("text-label-large", className),
|
|
360
|
+
"data-slot": "card-title"
|
|
361
|
+
}, props)
|
|
362
|
+
);
|
|
363
|
+
}
|
|
364
|
+
function CardContent(_a) {
|
|
365
|
+
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
366
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
367
|
+
"div",
|
|
368
|
+
__spreadValues({
|
|
369
|
+
className: cn("px-6", className),
|
|
370
|
+
"data-slot": "card-content"
|
|
371
|
+
}, props)
|
|
372
|
+
);
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
// src/components/ui/empty.tsx
|
|
376
|
+
var import_class_variance_authority2 = require("class-variance-authority");
|
|
377
|
+
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
378
|
+
function Empty(_a) {
|
|
379
|
+
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
380
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
381
|
+
"div",
|
|
382
|
+
__spreadValues({
|
|
383
|
+
className: cn(
|
|
384
|
+
"flex min-w-0 flex-1 flex-col items-center justify-center gap-6 border border-dashed p-6 text-center text-balance md:p-12",
|
|
385
|
+
className
|
|
386
|
+
),
|
|
387
|
+
"data-slot": "empty"
|
|
388
|
+
}, props)
|
|
389
|
+
);
|
|
390
|
+
}
|
|
391
|
+
var emptyMediaVariants = (0, import_class_variance_authority2.cva)(
|
|
392
|
+
"mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
393
|
+
{
|
|
394
|
+
variants: {
|
|
395
|
+
variant: {
|
|
396
|
+
default: "[&_svg:not([class*='size-'])]:size-10",
|
|
397
|
+
icon: "flex size-10 shrink-0 items-center justify-center text-muted-foreground [&_svg:not([class*='size-'])]:size-6"
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
defaultVariants: {
|
|
401
|
+
variant: "default"
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
);
|
|
405
|
+
function EmptyDescription(_a) {
|
|
406
|
+
var _b = _a, {
|
|
407
|
+
className
|
|
408
|
+
} = _b, props = __objRest(_b, [
|
|
409
|
+
"className"
|
|
410
|
+
]);
|
|
411
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
412
|
+
"div",
|
|
413
|
+
__spreadValues({
|
|
414
|
+
className: cn(
|
|
415
|
+
"text-body-small leading-relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",
|
|
416
|
+
className
|
|
417
|
+
),
|
|
418
|
+
"data-slot": "empty-description"
|
|
419
|
+
}, props)
|
|
420
|
+
);
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
// src/components/ui/spinner.tsx
|
|
424
|
+
var import_class_variance_authority3 = require("class-variance-authority");
|
|
425
|
+
var import_lucide_react2 = require("lucide-react");
|
|
426
|
+
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
427
|
+
var spinnerVariants = (0, import_class_variance_authority3.cva)("animate-spin shrink-0", {
|
|
428
|
+
variants: {
|
|
429
|
+
size: {
|
|
430
|
+
sm: "size-3",
|
|
431
|
+
default: "size-4",
|
|
432
|
+
lg: "size-6",
|
|
433
|
+
xl: "size-8"
|
|
434
|
+
}
|
|
435
|
+
},
|
|
436
|
+
defaultVariants: {
|
|
437
|
+
size: "default"
|
|
438
|
+
}
|
|
439
|
+
});
|
|
440
|
+
function Spinner(_a) {
|
|
441
|
+
var _b = _a, { className, size } = _b, props = __objRest(_b, ["className", "size"]);
|
|
442
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
443
|
+
import_lucide_react2.LoaderCircle,
|
|
444
|
+
__spreadValues({
|
|
445
|
+
"aria-hidden": "true",
|
|
446
|
+
className: cn(spinnerVariants({ size }), className),
|
|
447
|
+
"data-slot": "spinner"
|
|
448
|
+
}, props)
|
|
449
|
+
);
|
|
450
|
+
}
|
|
451
|
+
|
|
441
452
|
// src/components/ui/cash-balance-line-chart.tsx
|
|
442
453
|
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
443
454
|
import_chart.Chart.register(
|
|
@@ -449,16 +460,10 @@ import_chart.Chart.register(
|
|
|
449
460
|
import_chart.Tooltip
|
|
450
461
|
);
|
|
451
462
|
function formatDateLabel(iso) {
|
|
452
|
-
|
|
453
|
-
return d.toLocaleDateString("en-US", { month: "short", day: "numeric" });
|
|
463
|
+
return formatChartDateLabel(iso);
|
|
454
464
|
}
|
|
455
465
|
function formatDateTooltip(iso) {
|
|
456
|
-
|
|
457
|
-
return d.toLocaleDateString("en-US", {
|
|
458
|
-
month: "short",
|
|
459
|
-
day: "numeric",
|
|
460
|
-
year: "numeric"
|
|
461
|
-
});
|
|
466
|
+
return formatTooltipDate(iso, "daily");
|
|
462
467
|
}
|
|
463
468
|
function CashBalanceLineChart({
|
|
464
469
|
chartData,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CashBalanceLineChart
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-JD3YWRNP.mjs";
|
|
4
|
+
import "../../chunk-YEWNFK5S.mjs";
|
|
5
5
|
import "../../chunk-MN5NYQCL.mjs";
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-R2ON6CAN.mjs";
|
|
7
|
+
import "../../chunk-3VDET466.mjs";
|
|
8
|
+
import "../../chunk-JVMXMFBB.mjs";
|
|
9
|
+
import "../../chunk-NOOEKOWY.mjs";
|
|
10
|
+
import "../../chunk-R4HCRDU5.mjs";
|
|
11
11
|
import "../../chunk-FEZKMUCF.mjs";
|
|
12
12
|
import "../../chunk-QOJ2DQD6.mjs";
|
|
13
|
-
import "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
13
|
+
import "../../chunk-AFML43VJ.mjs";
|
|
14
|
+
import "../../chunk-WNQUEZJF.mjs";
|
|
15
15
|
export {
|
|
16
16
|
CashBalanceLineChart
|
|
17
17
|
};
|
|
@@ -298,9 +298,9 @@ var buttonVariants = (0, import_class_variance_authority2.cva)(
|
|
|
298
298
|
default: "bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",
|
|
299
299
|
secondary: "bg-brand-secondary text-brand-secondary-foreground shadow-xs hover:bg-brand-secondary/80 focus-visible:ring-brand-secondary/30",
|
|
300
300
|
destructive: "bg-destructive text-destructive-foreground shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:bg-destructive/60 dark:focus-visible:ring-destructive/40",
|
|
301
|
-
outline: "border border-input bg-background shadow-xs hover:bg-accent hover:text-accent-foreground focus-visible:ring-border/50 dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
|
|
301
|
+
outline: "border border-input bg-background shadow-xs hover:bg-accent hover:text-accent-foreground focus-visible:border-border focus-visible:ring-border/50 dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
|
|
302
302
|
"outline-primary": "border border-primary text-foreground bg-transparent shadow-xs hover:bg-primary/5 focus-visible:ring-primary/50",
|
|
303
|
-
"outline-secondary": "border border-brand-secondary text-brand-secondary bg-transparent shadow-xs hover:bg-brand-secondary/10 focus-visible:ring-brand-secondary/30",
|
|
303
|
+
"outline-secondary": "border border-brand-secondary text-brand-secondary bg-transparent shadow-xs hover:bg-brand-secondary/10 focus-visible:border-brand-secondary focus-visible:ring-brand-secondary/30",
|
|
304
304
|
ghost: "hover:bg-accent hover:text-accent-foreground hover:shadow-xs focus-visible:ring-border/50 dark:hover:bg-accent/50",
|
|
305
305
|
link: "text-primary underline-offset-4 hover:underline"
|
|
306
306
|
},
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CashflowBarChart
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-QTRSCVQ3.mjs";
|
|
4
|
+
import "../../chunk-GTAVSBDO.mjs";
|
|
5
|
+
import "../../chunk-YEWNFK5S.mjs";
|
|
6
6
|
import "../../chunk-MN5NYQCL.mjs";
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-R2ON6CAN.mjs";
|
|
8
|
+
import "../../chunk-3VDET466.mjs";
|
|
9
|
+
import "../../chunk-NOOEKOWY.mjs";
|
|
10
|
+
import "../../chunk-R4HCRDU5.mjs";
|
|
11
11
|
import "../../chunk-FEZKMUCF.mjs";
|
|
12
12
|
import "../../chunk-QOJ2DQD6.mjs";
|
|
13
|
-
import "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
13
|
+
import "../../chunk-AFML43VJ.mjs";
|
|
14
|
+
import "../../chunk-WNQUEZJF.mjs";
|
|
15
15
|
export {
|
|
16
16
|
CashflowBarChart
|
|
17
17
|
};
|