@wealthx/shadcn 1.4.1 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +360 -180
- package/CHANGELOG.md +6 -0
- package/dist/chunk-2A53WPEC.mjs +182 -0
- package/dist/{chunk-SIVYAI3M.mjs → chunk-2LLFNGJZ.mjs} +15 -15
- package/dist/chunk-2QNOPXMQ.mjs +360 -0
- package/dist/{chunk-K5QV4TT6.mjs → chunk-2WCIORP7.mjs} +29 -4
- package/dist/{chunk-5NF6T2RS.mjs → chunk-3AREQTZU.mjs} +8 -8
- package/dist/{chunk-2EM2FRU6.mjs → chunk-3WGFIFP6.mjs} +5 -5
- package/dist/{chunk-K4KOD3KR.mjs → chunk-42NEC57Y.mjs} +44 -25
- package/dist/{chunk-FL6DZFJK.mjs → chunk-46Q4335I.mjs} +121 -39
- package/dist/chunk-4DO3WM7V.mjs +48 -0
- package/dist/chunk-5FHBC6DY.mjs +68 -0
- package/dist/chunk-5SAYZ4CI.mjs +40 -0
- package/dist/chunk-5WMFKQZ6.mjs +180 -0
- package/dist/chunk-623YVI5O.mjs +43 -0
- package/dist/{chunk-SFH2NJEJ.mjs → chunk-6OSULDEO.mjs} +3 -3
- package/dist/{chunk-UALR6JGV.mjs → chunk-6SR4K5T5.mjs} +1 -1
- package/dist/{chunk-D2NSIIXG.mjs → chunk-7KT5HPYM.mjs} +11 -11
- package/dist/chunk-A6ER36CW.mjs +456 -0
- package/dist/{chunk-QX7IFQSF.mjs → chunk-AHKHVBWR.mjs} +4 -4
- package/dist/chunk-AHSCWXYJ.mjs +113 -0
- package/dist/{chunk-7GWRPXHD.mjs → chunk-AL6GOL2Y.mjs} +1 -1
- package/dist/{chunk-OIKBW2QD.mjs → chunk-AUEUTZIC.mjs} +13 -13
- package/dist/{chunk-FYPSTTEJ.mjs → chunk-B7DD3ODQ.mjs} +1 -1
- package/dist/{chunk-TLAWKTSA.mjs → chunk-BD3DWDT4.mjs} +3 -3
- package/dist/{chunk-S2FKV4M5.mjs → chunk-BDESHD25.mjs} +4 -4
- package/dist/{chunk-OKTJFDPN.mjs → chunk-BFB3UH7V.mjs} +2 -2
- package/dist/{chunk-DGNHGNYH.mjs → chunk-C6SWS7OW.mjs} +1 -1
- package/dist/chunk-CDVG7SFT.mjs +271 -0
- package/dist/chunk-CUSHAIUL.mjs +109 -0
- package/dist/{chunk-QXKGOMUX.mjs → chunk-CW32WTZU.mjs} +4 -4
- package/dist/{chunk-SET2ANTY.mjs → chunk-D447W45Z.mjs} +3 -3
- package/dist/{chunk-RCAOCHWA.mjs → chunk-DFL5CV75.mjs} +18 -18
- package/dist/chunk-DYSVJ473.mjs +162 -0
- package/dist/chunk-E3PQDBYI.mjs +288 -0
- package/dist/chunk-EMYBNPIA.mjs +83 -0
- package/dist/chunk-EUYPMDQG.mjs +348 -0
- package/dist/{chunk-XYPW2XA5.mjs → chunk-EW72FINW.mjs} +11 -11
- package/dist/chunk-F24U4QQQ.mjs +234 -0
- package/dist/{chunk-VB5M6OZQ.mjs → chunk-F4O2YPXJ.mjs} +1 -1
- package/dist/chunk-FFXTQTB4.mjs +84 -0
- package/dist/{chunk-ZOWL2L5J.mjs → chunk-FYUSF5KO.mjs} +5 -1
- package/dist/{chunk-FTPBQVQ6.mjs → chunk-GNER6MCO.mjs} +1 -1
- package/dist/{chunk-2D3HQPFN.mjs → chunk-HF4FUBCY.mjs} +5 -5
- package/dist/{chunk-RSUIPKGX.mjs → chunk-HNDTLT5X.mjs} +1 -1
- package/dist/{chunk-N6Q5IPKT.mjs → chunk-HO6S3ECM.mjs} +46 -18
- package/dist/{chunk-L4NSRQ3T.mjs → chunk-HROG643K.mjs} +1 -1
- package/dist/chunk-I2EKKSEF.mjs +148 -0
- package/dist/{chunk-QTRSCVQ3.mjs → chunk-I3UDLWQ7.mjs} +1 -1
- package/dist/{chunk-AE7MASLF.mjs → chunk-IQGKOT7A.mjs} +9 -6
- package/dist/chunk-IXR4BQSQ.mjs +290 -0
- package/dist/{chunk-4MM7LHM5.mjs → chunk-J5NW5NCT.mjs} +1 -1
- package/dist/{chunk-OLKMCXAR.mjs → chunk-JTG5R5YV.mjs} +24 -24
- package/dist/chunk-JUBUN65Q.mjs +106 -0
- package/dist/chunk-K7TWMLLW.mjs +520 -0
- package/dist/{chunk-BOW7U26Y.mjs → chunk-K7WSRWOU.mjs} +4 -4
- package/dist/{chunk-NTYQWVLI.mjs → chunk-KAD26MCC.mjs} +1 -1
- package/dist/{chunk-KCWNDYPZ.mjs → chunk-KB7MZMED.mjs} +4 -4
- package/dist/chunk-KCKYGQVQ.mjs +61 -0
- package/dist/{chunk-VY5NEUP7.mjs → chunk-KLJLDNCA.mjs} +1 -1
- package/dist/chunk-LLAGF6BA.mjs +49 -0
- package/dist/{chunk-G27TSQLQ.mjs → chunk-M4LTX3MH.mjs} +1 -1
- package/dist/{chunk-YIZHS72Z.mjs → chunk-MHHA7QGO.mjs} +94 -54
- package/dist/{chunk-P2N2PEFY.mjs → chunk-NCUH54IZ.mjs} +4 -4
- package/dist/{chunk-PNRUH7JY.mjs → chunk-OECGKCVF.mjs} +5 -5
- package/dist/{chunk-YE67AALL.mjs → chunk-OL65UQHQ.mjs} +10 -10
- package/dist/{chunk-LQULK2E3.mjs → chunk-OYBIUEGE.mjs} +1 -1
- package/dist/{chunk-LR6LHDP3.mjs → chunk-PGR53HMH.mjs} +7 -7
- package/dist/chunk-PUJ42INK.mjs +141 -0
- package/dist/{chunk-M4VYX2PV.mjs → chunk-PV3Y7QGK.mjs} +2 -2
- package/dist/{chunk-UJZ4UHWI.mjs → chunk-PV7PNA6K.mjs} +4 -4
- package/dist/{chunk-6HIOM2HL.mjs → chunk-Q35PNFJ7.mjs} +1 -1
- package/dist/{chunk-JZY6TNIS.mjs → chunk-Q5SGEIJV.mjs} +27 -27
- package/dist/{chunk-ZFCDYW6N.mjs → chunk-QAX6HCUH.mjs} +1 -1
- package/dist/chunk-QHJDGB54.mjs +135 -0
- package/dist/chunk-QQSOZQOC.mjs +27 -0
- package/dist/chunk-RUX3OLVZ.mjs +59 -0
- package/dist/{chunk-QOJ2DQD6.mjs → chunk-S4CTM3UE.mjs} +5 -0
- package/dist/{chunk-ZEDMKQK2.mjs → chunk-TAX3KL66.mjs} +1 -1
- package/dist/chunk-TC43SMIN.mjs +133 -0
- package/dist/chunk-TGVXRD53.mjs +174 -0
- package/dist/{chunk-K5VHK7CM.mjs → chunk-TLYSVRSK.mjs} +12 -12
- package/dist/{chunk-YCWLFG27.mjs → chunk-TOIVHWNC.mjs} +1 -1
- package/dist/chunk-TXUBGKB7.mjs +160 -0
- package/dist/chunk-UEREFDAE.mjs +75 -0
- package/dist/chunk-UTCQN6XU.mjs +123 -0
- package/dist/{chunk-37AE3OM5.mjs → chunk-V4CUTCHS.mjs} +4 -4
- package/dist/{chunk-THVO2N47.mjs → chunk-VFH632TB.mjs} +9 -9
- package/dist/{chunk-3ERBUVHC.mjs → chunk-VJ3GC7W3.mjs} +95 -49
- package/dist/{chunk-V6XGXYCJ.mjs → chunk-VLELWBEW.mjs} +4 -4
- package/dist/{chunk-FEZKMUCF.mjs → chunk-WDTXHLYM.mjs} +1 -1
- package/dist/chunk-WUA546RX.mjs +129 -0
- package/dist/chunk-XHGISOX5.mjs +257 -0
- package/dist/chunk-XIY5DJXI.mjs +168 -0
- package/dist/{chunk-TOWTPLRC.mjs → chunk-XN37434W.mjs} +8 -8
- package/dist/{chunk-KLTACJ2G.mjs → chunk-XTWAJWCQ.mjs} +1 -1
- package/dist/chunk-Y24TXIFJ.mjs +518 -0
- package/dist/{chunk-DMXYRCHM.mjs → chunk-Y6UM3VTN.mjs} +4 -4
- package/dist/components/ui/about-you-form.js +1120 -0
- package/dist/components/ui/about-you-form.mjs +323 -0
- package/dist/components/ui/account-list-carousel.js +304 -0
- package/dist/components/ui/account-list-carousel.mjs +11 -0
- package/dist/components/ui/add-column-modal.js +1 -1
- package/dist/components/ui/add-column-modal.mjs +6 -6
- package/dist/components/ui/add-lead-modal.js +2 -2
- package/dist/components/ui/add-lead-modal.mjs +6 -6
- package/dist/components/ui/advisor-card.mjs +2 -2
- package/dist/components/ui/agent-evaluation-toast.js +299 -0
- package/dist/components/ui/agent-evaluation-toast.mjs +12 -0
- package/dist/components/ui/ai-assistant-drawer.mjs +5 -5
- package/dist/components/ui/ai-builder.js +3 -3
- package/dist/components/ui/ai-builder.mjs +5 -5
- package/dist/components/ui/ai-conversations.js +2 -2
- package/dist/components/ui/ai-conversations.mjs +11 -11
- package/dist/components/ui/alert-dialog.mjs +3 -3
- package/dist/components/ui/applicant-document-checklist.js +346 -0
- package/dist/components/ui/applicant-document-checklist.mjs +10 -0
- package/dist/components/ui/applicant-expenses-section.js +455 -0
- package/dist/components/ui/applicant-expenses-section.mjs +220 -0
- package/dist/components/ui/applicant-navigation-bar.js +309 -0
- package/dist/components/ui/applicant-navigation-bar.mjs +87 -0
- package/dist/components/ui/applicant-switcher.js +268 -0
- package/dist/components/ui/applicant-switcher.mjs +46 -0
- package/dist/components/ui/application-mobile-layout.js +88 -0
- package/dist/components/ui/application-mobile-layout.mjs +8 -0
- package/dist/components/ui/appointment-action-dialogs.js +1 -1
- package/dist/components/ui/appointment-action-dialogs.mjs +10 -10
- package/dist/components/ui/appointment-availability-settings.js +78 -31
- package/dist/components/ui/appointment-availability-settings.mjs +12 -10
- package/dist/components/ui/appointment-book-dialog.js +137 -58
- package/dist/components/ui/appointment-book-dialog.mjs +14 -14
- package/dist/components/ui/appointment-calendar-view.js +1 -1
- package/dist/components/ui/appointment-calendar-view.mjs +4 -4
- package/dist/components/ui/appointment-detail-sheet.js +38 -11
- package/dist/components/ui/appointment-detail-sheet.mjs +13 -13
- package/dist/components/ui/appointment-gmail-connect.mjs +2 -2
- package/dist/components/ui/appointment-time-slot-picker.mjs +2 -2
- package/dist/components/ui/appointment-upcoming-card.js +1 -1
- package/dist/components/ui/appointment-upcoming-card.mjs +10 -10
- package/dist/components/ui/asset-accordion.js +506 -0
- package/dist/components/ui/asset-accordion.mjs +202 -0
- package/dist/components/ui/assets-liabilities-side-card.js +328 -0
- package/dist/components/ui/assets-liabilities-side-card.mjs +127 -0
- package/dist/components/ui/auth-page-layout.js +3 -3
- package/dist/components/ui/auth-page-layout.mjs +1 -1
- package/dist/components/ui/backoffice-alert-history-chart.mjs +4 -4
- package/dist/components/ui/backoffice-alert-matching-chart.js +786 -0
- package/dist/components/ui/backoffice-alert-matching-chart.mjs +19 -0
- package/dist/components/ui/backoffice-alerts-chart.mjs +4 -4
- package/dist/components/ui/backoffice-connections-chart.mjs +4 -4
- package/dist/components/ui/backoffice-contact-history-chart.mjs +4 -4
- package/dist/components/ui/backoffice-contact-matching-chart.js +803 -0
- package/dist/components/ui/backoffice-contact-matching-chart.mjs +19 -0
- package/dist/components/ui/backoffice-signup-steps.js +1673 -0
- package/dist/components/ui/backoffice-signup-steps.mjs +36 -0
- package/dist/components/ui/bank-statement-document-table.js +467 -0
- package/dist/components/ui/bank-statement-document-table.mjs +12 -0
- package/dist/components/ui/bank-statement-generate-dialog.js +1517 -0
- package/dist/components/ui/bank-statement-generate-dialog.mjs +27 -0
- package/dist/components/ui/bank-statement-pdf-viewer.js +525 -0
- package/dist/components/ui/bank-statement-pdf-viewer.mjs +14 -0
- package/dist/components/ui/banking-accounts-connect.js +336 -0
- package/dist/components/ui/banking-accounts-connect.mjs +114 -0
- package/dist/components/ui/borrowing-capacity-atoms.js +382 -0
- package/dist/components/ui/borrowing-capacity-atoms.mjs +17 -0
- package/dist/components/ui/borrowing-capacity-card.js +835 -0
- package/dist/components/ui/borrowing-capacity-card.mjs +89 -0
- package/dist/components/ui/borrowing-capacity-line-chart.mjs +4 -4
- package/dist/components/ui/broker-info-panel.js +281 -0
- package/dist/components/ui/broker-info-panel.mjs +59 -0
- package/dist/components/ui/calculator-input-item.js +101 -0
- package/dist/components/ui/calculator-input-item.mjs +8 -0
- package/dist/components/ui/calculator-section.js +743 -0
- package/dist/components/ui/calculator-section.mjs +220 -0
- package/dist/components/ui/calendar.mjs +2 -2
- package/dist/components/ui/cash-balance-line-chart.mjs +5 -5
- package/dist/components/ui/cashflow-bar-chart.mjs +4 -4
- package/dist/components/ui/category-edit-dialog.js +737 -0
- package/dist/components/ui/category-edit-dialog.mjs +16 -0
- package/dist/components/ui/chat-widget.mjs +3 -3
- package/dist/components/ui/color-picker.mjs +4 -4
- package/dist/components/ui/connect-bank-step.js +511 -0
- package/dist/components/ui/connect-bank-step.mjs +287 -0
- package/dist/components/ui/contact-alert-dialog.js +1405 -0
- package/dist/components/ui/contact-alert-dialog.mjs +27 -0
- package/dist/components/ui/create-contact-modal.js +1028 -0
- package/dist/components/ui/create-contact-modal.mjs +21 -0
- package/dist/components/ui/csv-import-modal.js +583 -0
- package/dist/components/ui/csv-import-modal.mjs +14 -0
- package/dist/components/ui/currency-input.js +439 -0
- package/dist/components/ui/currency-input.mjs +13 -0
- package/dist/components/ui/dashboard-expense-categories.js +355 -0
- package/dist/components/ui/dashboard-expense-categories.mjs +186 -0
- package/dist/components/ui/dashboard-transactions-table.js +1083 -0
- package/dist/components/ui/dashboard-transactions-table.mjs +177 -0
- package/dist/components/ui/data-table.mjs +6 -6
- package/dist/components/ui/date-picker.mjs +6 -6
- package/dist/components/ui/debt-accordion.js +523 -0
- package/dist/components/ui/debt-accordion.mjs +219 -0
- package/dist/components/ui/delete-contact-component.js +479 -0
- package/dist/components/ui/delete-contact-component.mjs +14 -0
- package/dist/components/ui/dialog.js +1 -1
- package/dist/components/ui/dialog.mjs +3 -3
- package/dist/components/ui/document-checklist-template.mjs +4 -4
- package/dist/components/ui/drawer.mjs +3 -3
- package/dist/components/ui/dropdown-menu.mjs +3 -3
- package/dist/components/ui/dynamic-tabs.js +274 -0
- package/dist/components/ui/dynamic-tabs.mjs +116 -0
- package/dist/components/ui/editable-money-item.js +306 -0
- package/dist/components/ui/editable-money-item.mjs +12 -0
- package/dist/components/ui/expense-bar-chart.mjs +4 -4
- package/dist/components/ui/expense-detail-item.js +506 -0
- package/dist/components/ui/expense-detail-item.mjs +15 -0
- package/dist/components/ui/expense-work-details.js +1259 -0
- package/dist/components/ui/expense-work-details.mjs +175 -0
- package/dist/components/ui/field.mjs +2 -2
- package/dist/components/ui/file-preview-dialog.js +704 -0
- package/dist/components/ui/file-preview-dialog.mjs +17 -0
- package/dist/components/ui/financial-cards.mjs +2 -2
- package/dist/components/ui/financial-drawers.js +1 -1
- package/dist/components/ui/financial-drawers.mjs +5 -5
- package/dist/components/ui/financial-sections.mjs +4 -4
- package/dist/components/ui/form-primitives.mjs +2 -2
- package/dist/components/ui/frontend-signup-steps.js +1239 -0
- package/dist/components/ui/frontend-signup-steps.mjs +38 -0
- package/dist/components/ui/income-bar-chart.mjs +4 -4
- package/dist/components/ui/income-sources-card.js +269 -0
- package/dist/components/ui/income-sources-card.mjs +100 -0
- package/dist/components/ui/income-summary-component.js +361 -0
- package/dist/components/ui/income-summary-component.mjs +84 -0
- package/dist/components/ui/income-work-details.js +1663 -0
- package/dist/components/ui/income-work-details.mjs +28 -0
- package/dist/components/ui/incoming-outgoings-card.js +218 -0
- package/dist/components/ui/incoming-outgoings-card.mjs +82 -0
- package/dist/components/ui/interest-rate-input.js +442 -0
- package/dist/components/ui/interest-rate-input.mjs +90 -0
- package/dist/components/ui/interest-rate-section.js +337 -0
- package/dist/components/ui/interest-rate-section.mjs +84 -0
- package/dist/components/ui/interest-rate-used.js +202 -0
- package/dist/components/ui/interest-rate-used.mjs +62 -0
- package/dist/components/ui/kanban-column.js +338 -160
- package/dist/components/ui/kanban-column.mjs +13 -11
- package/dist/components/ui/loan-applicant-information.js +336 -0
- package/dist/components/ui/loan-applicant-information.mjs +59 -0
- package/dist/components/ui/loan-applicant-invite.js +319 -0
- package/dist/components/ui/loan-applicant-invite.mjs +68 -0
- package/dist/components/ui/loan-application-badge.js +236 -0
- package/dist/components/ui/loan-application-badge.mjs +10 -0
- package/dist/components/ui/loan-application-cards.js +356 -0
- package/dist/components/ui/loan-application-cards.mjs +110 -0
- package/dist/components/ui/loan-entry-shell.js +104 -0
- package/dist/components/ui/loan-entry-shell.mjs +8 -0
- package/dist/components/ui/loan-financials.js +410 -0
- package/dist/components/ui/loan-financials.mjs +76 -0
- package/dist/components/ui/loan-option-card.js +102 -0
- package/dist/components/ui/loan-option-card.mjs +41 -0
- package/dist/components/ui/loan-option-group.js +288 -0
- package/dist/components/ui/loan-option-group.mjs +10 -0
- package/dist/components/ui/loan-steps.js +1121 -0
- package/dist/components/ui/loan-steps.mjs +509 -0
- package/dist/components/ui/loan-wizard-shell.js +452 -0
- package/dist/components/ui/loan-wizard-shell.mjs +11 -0
- package/dist/components/ui/money-input-with-slider.js +210 -0
- package/dist/components/ui/money-input-with-slider.mjs +10 -0
- package/dist/components/ui/money-item-with-color-indicator.js +314 -0
- package/dist/components/ui/money-item-with-color-indicator.mjs +20 -0
- package/dist/components/ui/opportunity-card.js +235 -97
- package/dist/components/ui/opportunity-card.mjs +11 -9
- package/dist/components/ui/opportunity-edit-modals.js +1 -1
- package/dist/components/ui/opportunity-edit-modals.mjs +15 -15
- package/dist/components/ui/opportunity-summary-tab.js +1 -1
- package/dist/components/ui/opportunity-summary-tab.mjs +19 -19
- package/dist/components/ui/pagination.mjs +4 -4
- package/dist/components/ui/password-strength-tooltip.mjs +4 -4
- package/dist/components/ui/pipeline-board.js +358 -176
- package/dist/components/ui/pipeline-board.mjs +16 -14
- package/dist/components/ui/pipeline-chart.mjs +3 -3
- package/dist/components/ui/pipeline-dialogs.js +1 -1
- package/dist/components/ui/pipeline-dialogs.mjs +9 -9
- package/dist/components/ui/pipeline-primitives.js +75 -8
- package/dist/components/ui/pipeline-primitives.mjs +3 -2
- package/dist/components/ui/popover.mjs +3 -3
- package/dist/components/ui/property-asset-card.js +428 -0
- package/dist/components/ui/property-asset-card.mjs +156 -0
- package/dist/components/ui/property-cashflow-doughnut-chart.mjs +4 -4
- package/dist/components/ui/property-debt-equity-doughnut-chart.mjs +4 -4
- package/dist/components/ui/property-list-carousel.js +295 -0
- package/dist/components/ui/property-list-carousel.mjs +11 -0
- package/dist/components/ui/property-mobile-estimate-line-chart.mjs +4 -4
- package/dist/components/ui/property-report-dialog.js +1148 -0
- package/dist/components/ui/property-report-dialog.mjs +25 -0
- package/dist/components/ui/resource-center.js +748 -0
- package/dist/components/ui/resource-center.mjs +24 -0
- package/dist/components/ui/review-alerts-dialog.js +569 -0
- package/dist/components/ui/review-alerts-dialog.mjs +15 -0
- package/dist/components/ui/savings-goal-modal.js +1148 -0
- package/dist/components/ui/savings-goal-modal.mjs +160 -0
- package/dist/components/ui/scenario-drawer.js +791 -0
- package/dist/components/ui/scenario-drawer.mjs +294 -0
- package/dist/components/ui/scenario-item.js +256 -0
- package/dist/components/ui/scenario-item.mjs +11 -0
- package/dist/components/ui/scenario-list.js +507 -0
- package/dist/components/ui/scenario-list.mjs +100 -0
- package/dist/components/ui/select.mjs +3 -3
- package/dist/components/ui/share-details-dialog.js +636 -0
- package/dist/components/ui/share-details-dialog.mjs +19 -0
- package/dist/components/ui/sheet.mjs +3 -3
- package/dist/components/ui/sidebar-nav.mjs +5 -5
- package/dist/components/ui/signup-form-primitives.js +770 -0
- package/dist/components/ui/signup-form-primitives.mjs +25 -0
- package/dist/components/ui/signup-shell.js +338 -0
- package/dist/components/ui/signup-shell.mjs +13 -0
- package/dist/components/ui/stage-timeline.js +103 -33
- package/dist/components/ui/stage-timeline.mjs +5 -4
- package/dist/components/ui/submission-confirmation-card.js +284 -0
- package/dist/components/ui/submission-confirmation-card.mjs +62 -0
- package/dist/components/ui/tooltip.mjs +3 -3
- package/dist/components/ui/top-three-product.js +374 -0
- package/dist/components/ui/top-three-product.mjs +129 -0
- package/dist/components/ui/transactions-expense-categories-doughnut-chart.mjs +4 -4
- package/dist/components/ui/transactions-income-expense-bar-chart.mjs +5 -5
- package/dist/components/ui/transactions-liabilities-breakdown-doughnut-chart.mjs +4 -4
- package/dist/components/ui/transactions-summary-block.js +95 -0
- package/dist/components/ui/transactions-summary-block.mjs +34 -0
- package/dist/components/ui/two-fa-setup-form.mjs +3 -3
- package/dist/index.js +9430 -4573
- package/dist/index.mjs +404 -251
- package/dist/lib/colors.js +6 -0
- package/dist/lib/colors.mjs +3 -1
- package/dist/lib/theme-provider.mjs +2 -2
- package/dist/styles.css +1 -1
- package/package.json +366 -2
- package/src/components/index.tsx +223 -0
- package/src/components/ui/about-you-form.tsx +397 -0
- package/src/components/ui/account-list-carousel.tsx +87 -0
- package/src/components/ui/add-lead-modal.tsx +1 -1
- package/src/components/ui/agent-evaluation-toast.tsx +191 -0
- package/src/components/ui/ai-builder.tsx +3 -5
- package/src/components/ui/ai-conversations.tsx +1 -1
- package/src/components/ui/applicant-document-checklist.tsx +175 -0
- package/src/components/ui/applicant-expenses-section.tsx +260 -0
- package/src/components/ui/applicant-navigation-bar.tsx +104 -0
- package/src/components/ui/applicant-switcher.tsx +54 -0
- package/src/components/ui/application-mobile-layout.tsx +34 -0
- package/src/components/ui/appointment-availability-settings.tsx +115 -23
- package/src/components/ui/appointment-book-dialog.tsx +406 -259
- package/src/components/ui/appointment-calendar-view.tsx +4 -1
- package/src/components/ui/appointment-detail-sheet.tsx +59 -24
- package/src/components/ui/appointment-time-slot-picker.tsx +5 -1
- package/src/components/ui/asset-accordion.tsx +241 -0
- package/src/components/ui/assets-liabilities-side-card.tsx +157 -0
- package/src/components/ui/auth-page-layout.tsx +3 -3
- package/src/components/ui/backoffice-alert-matching-chart.tsx +320 -0
- package/src/components/ui/backoffice-contact-matching-chart.tsx +341 -0
- package/src/components/ui/backoffice-signup-steps.tsx +615 -0
- package/src/components/ui/bank-statement-document-table.tsx +222 -0
- package/src/components/ui/bank-statement-generate-dialog.tsx +435 -0
- package/src/components/ui/bank-statement-pdf-viewer.tsx +241 -0
- package/src/components/ui/banking-accounts-connect.tsx +187 -0
- package/src/components/ui/borrowing-capacity-atoms.tsx +228 -0
- package/src/components/ui/borrowing-capacity-card.tsx +155 -0
- package/src/components/ui/broker-info-panel.tsx +94 -0
- package/src/components/ui/calculator-input-item.tsx +49 -0
- package/src/components/ui/calculator-section.tsx +275 -0
- package/src/components/ui/category-edit-dialog.tsx +300 -0
- package/src/components/ui/connect-bank-step.tsx +379 -0
- package/src/components/ui/contact-alert-dialog.tsx +710 -0
- package/src/components/ui/create-contact-modal.tsx +237 -0
- package/src/components/ui/csv-import-modal.tsx +153 -0
- package/src/components/ui/currency-input.tsx +104 -0
- package/src/components/ui/dashboard-expense-categories.tsx +262 -0
- package/src/components/ui/dashboard-transactions-table.tsx +241 -0
- package/src/components/ui/debt-accordion.tsx +254 -0
- package/src/components/ui/delete-contact-component.tsx +87 -0
- package/src/components/ui/dialog.tsx +2 -2
- package/src/components/ui/dynamic-tabs.tsx +149 -0
- package/src/components/ui/editable-money-item.tsx +176 -0
- package/src/components/ui/expense-detail-item.tsx +216 -0
- package/src/components/ui/expense-work-details.tsx +229 -0
- package/src/components/ui/file-preview-dialog.tsx +292 -0
- package/src/components/ui/financial-drawers.tsx +1 -1
- package/src/components/ui/frontend-signup-steps.tsx +548 -0
- package/src/components/ui/income-sources-card.tsx +143 -0
- package/src/components/ui/income-summary-component.tsx +120 -0
- package/src/components/ui/income-work-details.tsx +429 -0
- package/src/components/ui/incoming-outgoings-card.tsx +111 -0
- package/src/components/ui/interest-rate-input.tsx +111 -0
- package/src/components/ui/interest-rate-section.tsx +158 -0
- package/src/components/ui/interest-rate-used.tsx +82 -0
- package/src/components/ui/kanban-column.tsx +53 -2
- package/src/components/ui/loan-applicant-information.tsx +64 -0
- package/src/components/ui/loan-applicant-invite.tsx +67 -0
- package/src/components/ui/loan-application-badge.tsx +70 -0
- package/src/components/ui/loan-application-cards.tsx +152 -0
- package/src/components/ui/loan-entry-shell.tsx +86 -0
- package/src/components/ui/loan-financials.tsx +77 -0
- package/src/components/ui/loan-option-card.tsx +62 -0
- package/src/components/ui/loan-option-group.tsx +106 -0
- package/src/components/ui/loan-steps.tsx +630 -0
- package/src/components/ui/loan-wizard-shell.tsx +235 -0
- package/src/components/ui/money-input-with-slider.tsx +77 -0
- package/src/components/ui/money-item-with-color-indicator.tsx +30 -0
- package/src/components/ui/opportunity-card.tsx +46 -18
- package/src/components/ui/pipeline-board.tsx +13 -0
- package/src/components/ui/pipeline-primitives.tsx +28 -0
- package/src/components/ui/property-asset-card.tsx +221 -0
- package/src/components/ui/property-list-carousel.tsx +73 -0
- package/src/components/ui/property-report-dialog.tsx +355 -0
- package/src/components/ui/resource-center.tsx +539 -0
- package/src/components/ui/review-alerts-dialog.tsx +163 -0
- package/src/components/ui/savings-goal-modal.tsx +169 -0
- package/src/components/ui/scenario-drawer.tsx +358 -0
- package/src/components/ui/scenario-item.tsx +141 -0
- package/src/components/ui/scenario-list.tsx +150 -0
- package/src/components/ui/share-details-dialog.tsx +238 -0
- package/src/components/ui/signup-form-primitives.tsx +212 -0
- package/src/components/ui/signup-shell.tsx +180 -0
- package/src/components/ui/stage-timeline.tsx +11 -0
- package/src/components/ui/submission-confirmation-card.tsx +68 -0
- package/src/components/ui/top-three-product.tsx +207 -0
- package/src/components/ui/transactions-summary-block.tsx +59 -0
- package/src/lib/colors.ts +12 -0
- package/src/lib/format-date.ts +2 -2
- package/src/styles/styles-css.ts +1 -1
- package/tsup.config.ts +77 -1
- package/dist/{chunk-5VOTTIXF.mjs → chunk-FRT3S72S.mjs} +3 -3
- package/dist/{chunk-7BTFGCFC.mjs → chunk-MUV4EGDW.mjs} +3 -3
- package/dist/{chunk-57ZXILTS.mjs → chunk-MXP2RX2V.mjs} +3 -3
- package/dist/{chunk-ZKWXDQDG.mjs → chunk-VCDGLN25.mjs} +3 -3
- package/dist/{chunk-FLL633WS.mjs → chunk-ZXEUBBHJ.mjs} +3 -3
|
@@ -535,18 +535,65 @@ function Checkbox(_a) {
|
|
|
535
535
|
);
|
|
536
536
|
}
|
|
537
537
|
|
|
538
|
-
// src/components/ui/
|
|
538
|
+
// src/components/ui/switch.tsx
|
|
539
|
+
var import_react4 = require("react");
|
|
540
|
+
var import_switch = require("@base-ui/react/switch");
|
|
539
541
|
var import_jsx_runtime8 = require("react/jsx-runtime");
|
|
542
|
+
function Switch(_a) {
|
|
543
|
+
var _b = _a, {
|
|
544
|
+
className,
|
|
545
|
+
size = "default"
|
|
546
|
+
} = _b, props = __objRest(_b, [
|
|
547
|
+
"className",
|
|
548
|
+
"size"
|
|
549
|
+
]);
|
|
550
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
551
|
+
import_switch.Switch.Root,
|
|
552
|
+
__spreadProps(__spreadValues({
|
|
553
|
+
className: cn(
|
|
554
|
+
"peer group/switch inline-flex shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none",
|
|
555
|
+
"focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50",
|
|
556
|
+
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
557
|
+
"data-[size=default]:h-[1.15rem] data-[size=default]:w-8",
|
|
558
|
+
"data-[size=sm]:h-3.5 data-[size=sm]:w-6",
|
|
559
|
+
"data-checked:bg-primary data-unchecked:bg-input",
|
|
560
|
+
"aria-invalid:data-checked:bg-destructive aria-invalid:border-destructive",
|
|
561
|
+
"dark:data-unchecked:bg-input/80",
|
|
562
|
+
className
|
|
563
|
+
),
|
|
564
|
+
"data-size": size,
|
|
565
|
+
"data-slot": "switch"
|
|
566
|
+
}, props), {
|
|
567
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
568
|
+
import_switch.Switch.Thumb,
|
|
569
|
+
{
|
|
570
|
+
className: cn(
|
|
571
|
+
"pointer-events-none block rounded-full bg-background ring-0 transition-transform",
|
|
572
|
+
"group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3",
|
|
573
|
+
"data-checked:translate-x-[calc(100%-2px)] data-unchecked:translate-x-0",
|
|
574
|
+
"dark:data-checked:bg-primary-foreground dark:data-unchecked:bg-foreground"
|
|
575
|
+
),
|
|
576
|
+
"data-slot": "switch-thumb"
|
|
577
|
+
}
|
|
578
|
+
)
|
|
579
|
+
})
|
|
580
|
+
);
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
// src/components/ui/pipeline-primitives.tsx
|
|
584
|
+
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
540
585
|
function TaskCheckItem({
|
|
541
586
|
title,
|
|
542
587
|
completed,
|
|
543
588
|
aiAgentName,
|
|
589
|
+
autoCompleteEnabled,
|
|
590
|
+
onAutoCompleteToggle,
|
|
544
591
|
onToggle,
|
|
545
592
|
disabled = false,
|
|
546
593
|
size = "xs",
|
|
547
594
|
className
|
|
548
595
|
}) {
|
|
549
|
-
return /* @__PURE__ */ (0,
|
|
596
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
|
|
550
597
|
"div",
|
|
551
598
|
{
|
|
552
599
|
className: cn(
|
|
@@ -557,7 +604,7 @@ function TaskCheckItem({
|
|
|
557
604
|
onClick: () => onToggle == null ? void 0 : onToggle(),
|
|
558
605
|
"data-slot": "task-check-item",
|
|
559
606
|
children: [
|
|
560
|
-
/* @__PURE__ */ (0,
|
|
607
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { onClick: (e) => e.stopPropagation(), className: "mt-0.5 shrink-0", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
561
608
|
Checkbox,
|
|
562
609
|
{
|
|
563
610
|
checked: completed,
|
|
@@ -565,8 +612,8 @@ function TaskCheckItem({
|
|
|
565
612
|
disabled
|
|
566
613
|
}
|
|
567
614
|
) }),
|
|
568
|
-
/* @__PURE__ */ (0,
|
|
569
|
-
/* @__PURE__ */ (0,
|
|
615
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { className: "flex min-w-0 flex-1 flex-col gap-0.5", children: [
|
|
616
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
570
617
|
"span",
|
|
571
618
|
{
|
|
572
619
|
className: cn(
|
|
@@ -577,8 +624,8 @@ function TaskCheckItem({
|
|
|
577
624
|
children: title
|
|
578
625
|
}
|
|
579
626
|
),
|
|
580
|
-
aiAgentName && /* @__PURE__ */ (0,
|
|
581
|
-
/* @__PURE__ */ (0,
|
|
627
|
+
aiAgentName && /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(Badge, { variant: "secondary", className: "gap-1 text-[10px]", children: [
|
|
628
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
582
629
|
"span",
|
|
583
630
|
{
|
|
584
631
|
className: "size-1.5 rounded-full bg-primary",
|
|
@@ -586,15 +633,93 @@ function TaskCheckItem({
|
|
|
586
633
|
}
|
|
587
634
|
),
|
|
588
635
|
aiAgentName
|
|
589
|
-
] })
|
|
636
|
+
] }),
|
|
637
|
+
aiAgentName && autoCompleteEnabled !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
|
|
638
|
+
"span",
|
|
639
|
+
{
|
|
640
|
+
className: "flex items-center gap-1.5",
|
|
641
|
+
onClick: (e) => e.stopPropagation(),
|
|
642
|
+
children: [
|
|
643
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
644
|
+
Switch,
|
|
645
|
+
{
|
|
646
|
+
checked: autoCompleteEnabled,
|
|
647
|
+
onCheckedChange: () => onAutoCompleteToggle == null ? void 0 : onAutoCompleteToggle(),
|
|
648
|
+
disabled,
|
|
649
|
+
className: "scale-75 origin-left",
|
|
650
|
+
"aria-label": "Allow agent to auto complete"
|
|
651
|
+
}
|
|
652
|
+
),
|
|
653
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "text-[10px] text-muted-foreground", children: "Allow Agent to Auto Complete" })
|
|
654
|
+
]
|
|
655
|
+
}
|
|
656
|
+
)
|
|
590
657
|
] })
|
|
591
658
|
]
|
|
592
659
|
}
|
|
593
660
|
);
|
|
594
661
|
}
|
|
595
662
|
|
|
663
|
+
// src/components/ui/tooltip.tsx
|
|
664
|
+
var import_tooltip = require("@base-ui/react/tooltip");
|
|
665
|
+
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
666
|
+
function TooltipProvider(_a) {
|
|
667
|
+
var _b = _a, {
|
|
668
|
+
delay = 0
|
|
669
|
+
} = _b, props = __objRest(_b, [
|
|
670
|
+
"delay"
|
|
671
|
+
]);
|
|
672
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
673
|
+
import_tooltip.Tooltip.Provider,
|
|
674
|
+
__spreadValues({
|
|
675
|
+
"data-slot": "tooltip-provider",
|
|
676
|
+
delay
|
|
677
|
+
}, props)
|
|
678
|
+
);
|
|
679
|
+
}
|
|
680
|
+
function Tooltip(_a) {
|
|
681
|
+
var props = __objRest(_a, []);
|
|
682
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_tooltip.Tooltip.Root, __spreadValues({ "data-slot": "tooltip" }, props));
|
|
683
|
+
}
|
|
684
|
+
function TooltipTrigger(_a) {
|
|
685
|
+
var props = __objRest(_a, []);
|
|
686
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_tooltip.Tooltip.Trigger, __spreadValues({ "data-slot": "tooltip-trigger" }, props));
|
|
687
|
+
}
|
|
688
|
+
function TooltipContent(_a) {
|
|
689
|
+
var _b = _a, {
|
|
690
|
+
className,
|
|
691
|
+
sideOffset = 8,
|
|
692
|
+
side,
|
|
693
|
+
children,
|
|
694
|
+
style
|
|
695
|
+
} = _b, props = __objRest(_b, [
|
|
696
|
+
"className",
|
|
697
|
+
"sideOffset",
|
|
698
|
+
"side",
|
|
699
|
+
"children",
|
|
700
|
+
"style"
|
|
701
|
+
]);
|
|
702
|
+
const themeVars = useThemeVars();
|
|
703
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_tooltip.Tooltip.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_tooltip.Tooltip.Positioner, { sideOffset, side, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
|
|
704
|
+
import_tooltip.Tooltip.Popup,
|
|
705
|
+
__spreadProps(__spreadValues({
|
|
706
|
+
className: cn(
|
|
707
|
+
"relative z-50 w-fit animate-in overflow-visible bg-brand-secondary px-3 py-1.5 text-caption text-balance text-brand-secondary-foreground fade-in-0 zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-ending-style:animate-out data-ending-style:fade-out-0 data-ending-style:zoom-out-95 data-ending-style:fill-mode-forwards",
|
|
708
|
+
className
|
|
709
|
+
),
|
|
710
|
+
"data-slot": "tooltip-content",
|
|
711
|
+
style: __spreadValues(__spreadValues({}, themeVars), style)
|
|
712
|
+
}, props), {
|
|
713
|
+
children: [
|
|
714
|
+
children,
|
|
715
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_tooltip.Tooltip.Arrow, { className: "z-50 size-2.5 rotate-45 bg-brand-secondary data-[side=bottom]:-top-1 data-[side=left]:-right-1 data-[side=right]:-left-1 data-[side=top]:-bottom-1" })
|
|
716
|
+
]
|
|
717
|
+
})
|
|
718
|
+
) }) });
|
|
719
|
+
}
|
|
720
|
+
|
|
596
721
|
// src/components/ui/opportunity-card.tsx
|
|
597
|
-
var
|
|
722
|
+
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
598
723
|
var PRIORITY_COLORS = {
|
|
599
724
|
HIGH: "var(--color-destructive)",
|
|
600
725
|
MEDIUM: "var(--color-warning)",
|
|
@@ -634,6 +759,7 @@ function OpportunityCard({
|
|
|
634
759
|
isModifyCompletedLoan,
|
|
635
760
|
tasks = [],
|
|
636
761
|
nextTask,
|
|
762
|
+
onCardClick,
|
|
637
763
|
onViewDetails,
|
|
638
764
|
onTaskToggle,
|
|
639
765
|
onMarkAsDone,
|
|
@@ -643,6 +769,8 @@ function OpportunityCard({
|
|
|
643
769
|
onDelete,
|
|
644
770
|
onPutOnHold,
|
|
645
771
|
isSubmitting = false,
|
|
772
|
+
draggable = false,
|
|
773
|
+
onDragStart,
|
|
646
774
|
className
|
|
647
775
|
}) {
|
|
648
776
|
const resolvedPriority = resolvePriority(
|
|
@@ -657,29 +785,35 @@ function OpportunityCard({
|
|
|
657
785
|
const hasTasks = tasks.length > 0;
|
|
658
786
|
const hasActions = onMarkAsDone || onMoveToNextStage;
|
|
659
787
|
const hasMenu = onViewDetails || onChangePriority || onPutOnHold || onDelete;
|
|
660
|
-
|
|
788
|
+
const stopProp = (e) => e.stopPropagation();
|
|
789
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
|
|
661
790
|
"div",
|
|
662
791
|
{
|
|
663
792
|
className: cn(
|
|
664
793
|
"flex flex-col gap-2 border border-border bg-background p-4 text-foreground shadow-sm",
|
|
794
|
+
onCardClick && "cursor-pointer",
|
|
795
|
+
draggable && "cursor-grab active:cursor-grabbing",
|
|
665
796
|
isSubmitting && "opacity-60",
|
|
666
797
|
className
|
|
667
798
|
),
|
|
668
799
|
"data-slot": "opportunity-card",
|
|
800
|
+
draggable,
|
|
801
|
+
onDragStart,
|
|
802
|
+
onClick: onCardClick,
|
|
669
803
|
children: [
|
|
670
|
-
onHoldTo && /* @__PURE__ */ (0,
|
|
804
|
+
onHoldTo && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
|
|
671
805
|
"div",
|
|
672
806
|
{
|
|
673
807
|
className: "flex items-center gap-1.5 rounded border border-warning/30 bg-warning/10 px-2 py-1 text-xs font-medium",
|
|
674
808
|
style: { color: "var(--color-warning-text)" },
|
|
675
809
|
children: [
|
|
676
|
-
/* @__PURE__ */ (0,
|
|
810
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_lucide_react5.Clock, { className: "size-3 shrink-0" }),
|
|
677
811
|
"On hold until ",
|
|
678
812
|
formatDateDayMonth(onHoldTo)
|
|
679
813
|
]
|
|
680
814
|
}
|
|
681
815
|
),
|
|
682
|
-
isModifyCompletedLoan && /* @__PURE__ */ (0,
|
|
816
|
+
isModifyCompletedLoan && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
683
817
|
"div",
|
|
684
818
|
{
|
|
685
819
|
className: "flex items-center gap-1.5 rounded border border-info/30 bg-info/10 px-2 py-1 text-xs font-medium",
|
|
@@ -687,27 +821,29 @@ function OpportunityCard({
|
|
|
687
821
|
children: "Modify completed loan"
|
|
688
822
|
}
|
|
689
823
|
),
|
|
690
|
-
/* @__PURE__ */ (0,
|
|
691
|
-
/* @__PURE__ */ (0,
|
|
692
|
-
(loanPurposeLabel || loanType) && /* @__PURE__ */ (0,
|
|
693
|
-
/* @__PURE__ */ (0,
|
|
824
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "flex items-start justify-between gap-2", children: [
|
|
825
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
826
|
+
(loanPurposeLabel || loanType) && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Badge, { variant: "outline", className: "self-start", children: loanPurposeLabel != null ? loanPurposeLabel : formatLoanType(loanType) }),
|
|
827
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "text-base font-bold tabular-nums text-foreground", children: formatCurrency(amount) })
|
|
694
828
|
] }),
|
|
695
|
-
/* @__PURE__ */ (0,
|
|
696
|
-
onLaunchAssistant && /* @__PURE__ */ (0,
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
829
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "flex items-center gap-1 -mr-1 -mt-1", onClick: stopProp, children: [
|
|
830
|
+
onLaunchAssistant && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(TooltipProvider, { delay: 0, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(Tooltip, { children: [
|
|
831
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
832
|
+
Button,
|
|
833
|
+
{
|
|
834
|
+
type: "button",
|
|
835
|
+
variant: "ghost",
|
|
836
|
+
size: "icon",
|
|
837
|
+
className: "size-7 shrink-0",
|
|
838
|
+
onClick: onLaunchAssistant,
|
|
839
|
+
"aria-label": "Launch AI",
|
|
840
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_lucide_react5.Bot, { className: "size-4" })
|
|
841
|
+
}
|
|
842
|
+
) }),
|
|
843
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(TooltipContent, { children: "Launch AI" })
|
|
844
|
+
] }) }),
|
|
845
|
+
hasMenu && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(DropdownMenu, { children: [
|
|
846
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
711
847
|
DropdownMenuTrigger,
|
|
712
848
|
{
|
|
713
849
|
className: cn(
|
|
@@ -715,51 +851,51 @@ function OpportunityCard({
|
|
|
715
851
|
"size-7 shrink-0"
|
|
716
852
|
),
|
|
717
853
|
"aria-label": "Opportunity actions",
|
|
718
|
-
children: /* @__PURE__ */ (0,
|
|
854
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_lucide_react5.MoreVertical, { className: "size-4" })
|
|
719
855
|
}
|
|
720
856
|
),
|
|
721
|
-
/* @__PURE__ */ (0,
|
|
722
|
-
onViewDetails && /* @__PURE__ */ (0,
|
|
723
|
-
onChangePriority && /* @__PURE__ */ (0,
|
|
724
|
-
onPutOnHold && /* @__PURE__ */ (0,
|
|
725
|
-
onDelete && /* @__PURE__ */ (0,
|
|
726
|
-
/* @__PURE__ */ (0,
|
|
727
|
-
/* @__PURE__ */ (0,
|
|
857
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(DropdownMenuContent, { align: "end", children: [
|
|
858
|
+
onViewDetails && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(DropdownMenuItem, { onClick: onViewDetails, children: "View details" }),
|
|
859
|
+
onChangePriority && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(DropdownMenuItem, { onClick: onChangePriority, children: "Change priority" }),
|
|
860
|
+
onPutOnHold && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(DropdownMenuItem, { onClick: onPutOnHold, children: "Put on hold" }),
|
|
861
|
+
onDelete && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
|
|
862
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(DropdownMenuSeparator, {}),
|
|
863
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(DropdownMenuItem, { onClick: onDelete, variant: "destructive", children: "Delete" })
|
|
728
864
|
] })
|
|
729
865
|
] })
|
|
730
866
|
] })
|
|
731
867
|
] })
|
|
732
868
|
] }),
|
|
733
|
-
/* @__PURE__ */ (0,
|
|
734
|
-
/* @__PURE__ */ (0,
|
|
735
|
-
/* @__PURE__ */ (0,
|
|
736
|
-
/* @__PURE__ */ (0,
|
|
737
|
-
additionalContacts && additionalContacts > 0 ? /* @__PURE__ */ (0,
|
|
738
|
-
/* @__PURE__ */ (0,
|
|
869
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Separator, {}),
|
|
870
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "flex flex-col gap-1", children: [
|
|
871
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "flex items-center justify-between gap-2", children: [
|
|
872
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "truncate text-sm font-semibold text-foreground", children: customerName }),
|
|
873
|
+
additionalContacts && additionalContacts > 0 ? /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(Badge, { variant: "secondary", className: "shrink-0 gap-1", children: [
|
|
874
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_lucide_react5.Users, { className: "size-3", "aria-hidden": "true" }),
|
|
739
875
|
"Joint"
|
|
740
|
-
] }) : /* @__PURE__ */ (0,
|
|
741
|
-
/* @__PURE__ */ (0,
|
|
876
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(Badge, { variant: "secondary", className: "shrink-0 gap-1", children: [
|
|
877
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_lucide_react5.User, { className: "size-3", "aria-hidden": "true" }),
|
|
742
878
|
"Individual"
|
|
743
879
|
] })
|
|
744
880
|
] }),
|
|
745
|
-
customerPhone && /* @__PURE__ */ (0,
|
|
746
|
-
/* @__PURE__ */ (0,
|
|
881
|
+
customerPhone && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { className: "flex items-center gap-1.5 text-xs text-muted-foreground", children: [
|
|
882
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_lucide_react5.Phone, { className: "size-3 shrink-0", "aria-hidden": "true" }),
|
|
747
883
|
customerPhone
|
|
748
884
|
] }),
|
|
749
|
-
customerEmail && /* @__PURE__ */ (0,
|
|
750
|
-
/* @__PURE__ */ (0,
|
|
751
|
-
/* @__PURE__ */ (0,
|
|
885
|
+
customerEmail && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { className: "flex items-center gap-1.5 text-xs text-muted-foreground", children: [
|
|
886
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_lucide_react5.Mail, { className: "size-3 shrink-0", "aria-hidden": "true" }),
|
|
887
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "truncate", children: customerEmail })
|
|
752
888
|
] })
|
|
753
889
|
] }),
|
|
754
|
-
/* @__PURE__ */ (0,
|
|
755
|
-
/* @__PURE__ */ (0,
|
|
756
|
-
/* @__PURE__ */ (0,
|
|
757
|
-
/* @__PURE__ */ (0,
|
|
890
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Separator, {}),
|
|
891
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "flex items-center justify-between", children: [
|
|
892
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { className: "flex items-center gap-1.5 text-xs text-muted-foreground", children: [
|
|
893
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_lucide_react5.Calendar, { className: "size-3 shrink-0", "aria-hidden": "true" }),
|
|
758
894
|
formatDateShort(date)
|
|
759
895
|
] }),
|
|
760
|
-
/* @__PURE__ */ (0,
|
|
761
|
-
daysSinceColumnChanged !== void 0 && /* @__PURE__ */ (0,
|
|
762
|
-
/* @__PURE__ */ (0,
|
|
896
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { className: "flex items-center gap-1.5", children: [
|
|
897
|
+
daysSinceColumnChanged !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
|
|
898
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
763
899
|
import_lucide_react5.Clock,
|
|
764
900
|
{
|
|
765
901
|
className: "size-3 shrink-0",
|
|
@@ -767,7 +903,7 @@ function OpportunityCard({
|
|
|
767
903
|
"aria-hidden": "true"
|
|
768
904
|
}
|
|
769
905
|
),
|
|
770
|
-
/* @__PURE__ */ (0,
|
|
906
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
|
|
771
907
|
"span",
|
|
772
908
|
{
|
|
773
909
|
className: "text-xs font-medium tabular-nums",
|
|
@@ -779,7 +915,7 @@ function OpportunityCard({
|
|
|
779
915
|
}
|
|
780
916
|
)
|
|
781
917
|
] }),
|
|
782
|
-
/* @__PURE__ */ (0,
|
|
918
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
783
919
|
"span",
|
|
784
920
|
{
|
|
785
921
|
role: "img",
|
|
@@ -790,8 +926,9 @@ function OpportunityCard({
|
|
|
790
926
|
)
|
|
791
927
|
] })
|
|
792
928
|
] }),
|
|
793
|
-
hasTasks &&
|
|
794
|
-
|
|
929
|
+
hasTasks && // stopPropagation: accordion expand/collapse + task checkboxes must not bubble to onCardClick
|
|
930
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { onClick: stopProp, children: [
|
|
931
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
795
932
|
"div",
|
|
796
933
|
{
|
|
797
934
|
className: "flex gap-0.5",
|
|
@@ -800,7 +937,7 @@ function OpportunityCard({
|
|
|
800
937
|
"aria-valuemin": 0,
|
|
801
938
|
"aria-valuemax": tasks.length,
|
|
802
939
|
"aria-label": `${completedCount} of ${tasks.length} tasks complete`,
|
|
803
|
-
children: tasks.map((t, i) => /* @__PURE__ */ (0,
|
|
940
|
+
children: tasks.map((t, i) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
804
941
|
"div",
|
|
805
942
|
{
|
|
806
943
|
className: cn(
|
|
@@ -812,15 +949,15 @@ function OpportunityCard({
|
|
|
812
949
|
))
|
|
813
950
|
}
|
|
814
951
|
),
|
|
815
|
-
/* @__PURE__ */ (0,
|
|
816
|
-
/* @__PURE__ */ (0,
|
|
952
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Accordion, { type: "single", collapsible: true, className: "-mx-4", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(AccordionItem, { value: "tasks", className: "border-0", children: [
|
|
953
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(AccordionTrigger, { className: "px-4 py-1.5 text-xs font-normal text-muted-foreground hover:no-underline hover:text-foreground [&>svg]:size-3.5", children: [
|
|
817
954
|
"Tasks (",
|
|
818
955
|
completedCount,
|
|
819
956
|
"/",
|
|
820
957
|
tasks.length,
|
|
821
958
|
")"
|
|
822
959
|
] }),
|
|
823
|
-
/* @__PURE__ */ (0,
|
|
960
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(AccordionContent, { className: "px-4", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "flex flex-col", children: tasks.map((task) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
824
961
|
TaskCheckItem,
|
|
825
962
|
{
|
|
826
963
|
title: task.title,
|
|
@@ -832,22 +969,23 @@ function OpportunityCard({
|
|
|
832
969
|
task.id
|
|
833
970
|
)) }) })
|
|
834
971
|
] }) }),
|
|
835
|
-
nextTask && /* @__PURE__ */ (0,
|
|
836
|
-
/* @__PURE__ */ (0,
|
|
972
|
+
nextTask && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "flex items-start gap-1.5 border border-primary/30 bg-primary/5 px-2 py-1.5 text-xs", children: [
|
|
973
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
837
974
|
import_lucide_react5.ArrowRight,
|
|
838
975
|
{
|
|
839
976
|
className: "mt-0.5 size-3 shrink-0 text-primary",
|
|
840
977
|
"aria-hidden": "true"
|
|
841
978
|
}
|
|
842
979
|
),
|
|
843
|
-
/* @__PURE__ */ (0,
|
|
844
|
-
/* @__PURE__ */ (0,
|
|
980
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "font-medium", children: "Next:" }),
|
|
981
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "text-muted-foreground", children: nextTask })
|
|
845
982
|
] })
|
|
846
983
|
] }),
|
|
847
|
-
hasActions &&
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
984
|
+
hasActions && // stopPropagation: button clicks must not bubble to onCardClick
|
|
985
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { onClick: stopProp, children: [
|
|
986
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Separator, {}),
|
|
987
|
+
(onMoveToNextStage || onMarkAsDone) && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "flex gap-2 pt-2", children: [
|
|
988
|
+
onMoveToNextStage && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
851
989
|
Button,
|
|
852
990
|
{
|
|
853
991
|
variant: "outline",
|
|
@@ -858,7 +996,7 @@ function OpportunityCard({
|
|
|
858
996
|
children: "Move to next stage"
|
|
859
997
|
}
|
|
860
998
|
),
|
|
861
|
-
onMarkAsDone && /* @__PURE__ */ (0,
|
|
999
|
+
onMarkAsDone && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
862
1000
|
Button,
|
|
863
1001
|
{
|
|
864
1002
|
variant: "default",
|
|
@@ -885,7 +1023,7 @@ function LeadCard({
|
|
|
885
1023
|
isSubmitting = false,
|
|
886
1024
|
className
|
|
887
1025
|
}) {
|
|
888
|
-
return /* @__PURE__ */ (0,
|
|
1026
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
|
|
889
1027
|
"div",
|
|
890
1028
|
{
|
|
891
1029
|
className: cn(
|
|
@@ -895,20 +1033,20 @@ function LeadCard({
|
|
|
895
1033
|
),
|
|
896
1034
|
"data-slot": "lead-card",
|
|
897
1035
|
children: [
|
|
898
|
-
/* @__PURE__ */ (0,
|
|
899
|
-
/* @__PURE__ */ (0,
|
|
900
|
-
/* @__PURE__ */ (0,
|
|
901
|
-
customerPhone && /* @__PURE__ */ (0,
|
|
902
|
-
/* @__PURE__ */ (0,
|
|
1036
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "flex items-start justify-between gap-2", children: [
|
|
1037
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
1038
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "text-sm font-semibold text-foreground", children: customerName }),
|
|
1039
|
+
customerPhone && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { className: "flex items-center gap-1.5 text-xs text-muted-foreground", children: [
|
|
1040
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_lucide_react5.Phone, { className: "size-3 shrink-0", "aria-hidden": "true" }),
|
|
903
1041
|
customerPhone
|
|
904
1042
|
] }),
|
|
905
|
-
customerEmail && /* @__PURE__ */ (0,
|
|
906
|
-
/* @__PURE__ */ (0,
|
|
907
|
-
/* @__PURE__ */ (0,
|
|
1043
|
+
customerEmail && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { className: "flex items-center gap-1.5 text-xs text-muted-foreground", children: [
|
|
1044
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_lucide_react5.Mail, { className: "size-3 shrink-0", "aria-hidden": "true" }),
|
|
1045
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "truncate", children: customerEmail })
|
|
908
1046
|
] })
|
|
909
1047
|
] }),
|
|
910
|
-
onDelete && /* @__PURE__ */ (0,
|
|
911
|
-
/* @__PURE__ */ (0,
|
|
1048
|
+
onDelete && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(DropdownMenu, { children: [
|
|
1049
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
912
1050
|
DropdownMenuTrigger,
|
|
913
1051
|
{
|
|
914
1052
|
className: cn(
|
|
@@ -916,10 +1054,10 @@ function LeadCard({
|
|
|
916
1054
|
"-mr-1 -mt-1 size-7 shrink-0"
|
|
917
1055
|
),
|
|
918
1056
|
"aria-label": "Lead actions",
|
|
919
|
-
children: /* @__PURE__ */ (0,
|
|
1057
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_lucide_react5.MoreVertical, { className: "size-4" })
|
|
920
1058
|
}
|
|
921
1059
|
),
|
|
922
|
-
/* @__PURE__ */ (0,
|
|
1060
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(DropdownMenuContent, { align: "end", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
923
1061
|
DropdownMenuItem,
|
|
924
1062
|
{
|
|
925
1063
|
onClick: onDelete,
|
|
@@ -929,9 +1067,9 @@ function LeadCard({
|
|
|
929
1067
|
) })
|
|
930
1068
|
] })
|
|
931
1069
|
] }),
|
|
932
|
-
/* @__PURE__ */ (0,
|
|
933
|
-
onSendLoanApplication && /* @__PURE__ */ (0,
|
|
934
|
-
/* @__PURE__ */ (0,
|
|
1070
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Separator, {}),
|
|
1071
|
+
onSendLoanApplication && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
1072
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
935
1073
|
Button,
|
|
936
1074
|
{
|
|
937
1075
|
variant: "outline",
|
|
@@ -942,10 +1080,10 @@ function LeadCard({
|
|
|
942
1080
|
children: "Send Loan Application Request"
|
|
943
1081
|
}
|
|
944
1082
|
),
|
|
945
|
-
loanApplicationUrl && /* @__PURE__ */ (0,
|
|
1083
|
+
loanApplicationUrl && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("p", { className: "text-xs text-muted-foreground", children: [
|
|
946
1084
|
"Or the link below to fill out the loan application directly.",
|
|
947
|
-
/* @__PURE__ */ (0,
|
|
948
|
-
/* @__PURE__ */ (0,
|
|
1085
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("br", {}),
|
|
1086
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
949
1087
|
"a",
|
|
950
1088
|
{
|
|
951
1089
|
href: `https://${loanApplicationUrl.replace(/^https?:\/\//, "")}`,
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LeadCard,
|
|
3
3
|
OpportunityCard
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-42NEC57Y.mjs";
|
|
5
|
+
import "../../chunk-2WCIORP7.mjs";
|
|
6
|
+
import "../../chunk-IKXYTCSB.mjs";
|
|
7
|
+
import "../../chunk-PNSYFE3K.mjs";
|
|
8
|
+
import "../../chunk-HNDTLT5X.mjs";
|
|
9
|
+
import "../../chunk-6SR4K5T5.mjs";
|
|
10
|
+
import "../../chunk-2GIYVERS.mjs";
|
|
8
11
|
import "../../chunk-WL6WVV47.mjs";
|
|
9
|
-
import "../../chunk-
|
|
12
|
+
import "../../chunk-PV3Y7QGK.mjs";
|
|
13
|
+
import "../../chunk-WDTXHLYM.mjs";
|
|
14
|
+
import "../../chunk-S4CTM3UE.mjs";
|
|
10
15
|
import "../../chunk-UNACI2YK.mjs";
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-IKXYTCSB.mjs";
|
|
16
|
+
import "../../chunk-MN5NYQCL.mjs";
|
|
13
17
|
import "../../chunk-NOOEKOWY.mjs";
|
|
14
18
|
import "../../chunk-R4HCRDU5.mjs";
|
|
15
|
-
import "../../chunk-FEZKMUCF.mjs";
|
|
16
|
-
import "../../chunk-QOJ2DQD6.mjs";
|
|
17
19
|
import "../../chunk-AFML43VJ.mjs";
|
|
18
20
|
import "../../chunk-WNQUEZJF.mjs";
|
|
19
21
|
export {
|