@wealthx/shadcn 1.4.0 → 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 +12 -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
|
@@ -0,0 +1,520 @@
|
|
|
1
|
+
import {
|
|
2
|
+
FormField,
|
|
3
|
+
PasswordField,
|
|
4
|
+
SectionHeading,
|
|
5
|
+
StaffRowItem
|
|
6
|
+
} from "./chunk-TXUBGKB7.mjs";
|
|
7
|
+
import {
|
|
8
|
+
ColorPicker
|
|
9
|
+
} from "./chunk-AL6GOL2Y.mjs";
|
|
10
|
+
import {
|
|
11
|
+
UploadCard
|
|
12
|
+
} from "./chunk-I4KVSZCH.mjs";
|
|
13
|
+
import {
|
|
14
|
+
Field,
|
|
15
|
+
FieldError,
|
|
16
|
+
FieldLabel
|
|
17
|
+
} from "./chunk-MUV4EGDW.mjs";
|
|
18
|
+
import {
|
|
19
|
+
Checkbox
|
|
20
|
+
} from "./chunk-IKXYTCSB.mjs";
|
|
21
|
+
import {
|
|
22
|
+
Select,
|
|
23
|
+
SelectContent,
|
|
24
|
+
SelectItem,
|
|
25
|
+
SelectTrigger,
|
|
26
|
+
SelectValue
|
|
27
|
+
} from "./chunk-TAX3KL66.mjs";
|
|
28
|
+
import {
|
|
29
|
+
Tooltip,
|
|
30
|
+
TooltipContent,
|
|
31
|
+
TooltipProvider,
|
|
32
|
+
TooltipTrigger
|
|
33
|
+
} from "./chunk-6SR4K5T5.mjs";
|
|
34
|
+
import {
|
|
35
|
+
Separator
|
|
36
|
+
} from "./chunk-2GIYVERS.mjs";
|
|
37
|
+
import {
|
|
38
|
+
Input
|
|
39
|
+
} from "./chunk-LBTHZSBT.mjs";
|
|
40
|
+
import {
|
|
41
|
+
Button
|
|
42
|
+
} from "./chunk-NOOEKOWY.mjs";
|
|
43
|
+
import {
|
|
44
|
+
__spreadProps,
|
|
45
|
+
__spreadValues
|
|
46
|
+
} from "./chunk-WNQUEZJF.mjs";
|
|
47
|
+
|
|
48
|
+
// src/components/ui/backoffice-signup-steps.tsx
|
|
49
|
+
import React, { useState } from "react";
|
|
50
|
+
import {
|
|
51
|
+
CalendarIcon,
|
|
52
|
+
InfoIcon,
|
|
53
|
+
MailIcon,
|
|
54
|
+
PhoneIcon,
|
|
55
|
+
PlusIcon
|
|
56
|
+
} from "lucide-react";
|
|
57
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
58
|
+
var BASE_PLAN_PRICE = 299;
|
|
59
|
+
var ROLE_INFO = {
|
|
60
|
+
Admin: "Admin seats have full access to manage the platform.",
|
|
61
|
+
Broker: "Broker seats can manage client portfolios.",
|
|
62
|
+
Support: "Support seats handle client inquiries and tickets."
|
|
63
|
+
};
|
|
64
|
+
var ROLE_SUBTITLE = {
|
|
65
|
+
Admin: "$89/month/company (first seat included)",
|
|
66
|
+
Broker: "$89/month/company",
|
|
67
|
+
Support: "$0/month/company"
|
|
68
|
+
};
|
|
69
|
+
function PersonalDetailsStep({
|
|
70
|
+
onValidChange
|
|
71
|
+
}) {
|
|
72
|
+
const [firstName, setFirstName] = useState("");
|
|
73
|
+
const [lastName, setLastName] = useState("");
|
|
74
|
+
const [email, setEmail] = useState("");
|
|
75
|
+
const [emailError, setEmailError] = useState("");
|
|
76
|
+
const [emailTouched, setEmailTouched] = useState(false);
|
|
77
|
+
const [passwordValue, setPasswordValue] = useState("");
|
|
78
|
+
const [confirmValue, setConfirmValue] = useState("");
|
|
79
|
+
const [termsAccepted, setTermsAccepted] = useState(false);
|
|
80
|
+
const validateEmail = (v) => {
|
|
81
|
+
if (v.length > 0 && !/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(v))
|
|
82
|
+
return "Please enter a valid email address";
|
|
83
|
+
return "";
|
|
84
|
+
};
|
|
85
|
+
const passwordRules = (v) => v.length >= 8 && /[A-Z]/.test(v) && /[a-z]/.test(v) && /[0-9]/.test(v) && /[^A-Za-z0-9]/.test(v);
|
|
86
|
+
const emailValid = email.length > 0 && validateEmail(email) === "";
|
|
87
|
+
const passwordValid = passwordRules(passwordValue);
|
|
88
|
+
const confirmPasswordValid = confirmValue.length > 0 && confirmValue === passwordValue;
|
|
89
|
+
React.useEffect(() => {
|
|
90
|
+
onValidChange == null ? void 0 : onValidChange(
|
|
91
|
+
firstName.trim().length > 0 && lastName.trim().length > 0 && emailValid && passwordValid && confirmPasswordValid && termsAccepted
|
|
92
|
+
);
|
|
93
|
+
}, [
|
|
94
|
+
firstName,
|
|
95
|
+
lastName,
|
|
96
|
+
emailValid,
|
|
97
|
+
passwordValid,
|
|
98
|
+
confirmPasswordValid,
|
|
99
|
+
termsAccepted,
|
|
100
|
+
onValidChange
|
|
101
|
+
]);
|
|
102
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1", children: [
|
|
103
|
+
/* @__PURE__ */ jsxs("div", { className: "flex gap-4", children: [
|
|
104
|
+
/* @__PURE__ */ jsxs(Field, { children: [
|
|
105
|
+
/* @__PURE__ */ jsxs(FieldLabel, { children: [
|
|
106
|
+
"First Name",
|
|
107
|
+
/* @__PURE__ */ jsx("span", { className: "text-destructive ml-0.5", children: "*" })
|
|
108
|
+
] }),
|
|
109
|
+
/* @__PURE__ */ jsx(
|
|
110
|
+
Input,
|
|
111
|
+
{
|
|
112
|
+
placeholder: "First Name",
|
|
113
|
+
value: firstName,
|
|
114
|
+
onChange: (e) => setFirstName(e.target.value)
|
|
115
|
+
}
|
|
116
|
+
),
|
|
117
|
+
/* @__PURE__ */ jsx("div", { className: "min-h-5" })
|
|
118
|
+
] }),
|
|
119
|
+
/* @__PURE__ */ jsxs(Field, { children: [
|
|
120
|
+
/* @__PURE__ */ jsxs(FieldLabel, { children: [
|
|
121
|
+
"Last Name",
|
|
122
|
+
/* @__PURE__ */ jsx("span", { className: "text-destructive ml-0.5", children: "*" })
|
|
123
|
+
] }),
|
|
124
|
+
/* @__PURE__ */ jsx(
|
|
125
|
+
Input,
|
|
126
|
+
{
|
|
127
|
+
placeholder: "Last Name",
|
|
128
|
+
value: lastName,
|
|
129
|
+
onChange: (e) => setLastName(e.target.value)
|
|
130
|
+
}
|
|
131
|
+
),
|
|
132
|
+
/* @__PURE__ */ jsx("div", { className: "min-h-5" })
|
|
133
|
+
] })
|
|
134
|
+
] }),
|
|
135
|
+
/* @__PURE__ */ jsxs(Field, { children: [
|
|
136
|
+
/* @__PURE__ */ jsxs(FieldLabel, { children: [
|
|
137
|
+
"Email Address",
|
|
138
|
+
/* @__PURE__ */ jsx("span", { className: "text-destructive ml-0.5", children: "*" })
|
|
139
|
+
] }),
|
|
140
|
+
/* @__PURE__ */ jsx(
|
|
141
|
+
Input,
|
|
142
|
+
{
|
|
143
|
+
type: "email",
|
|
144
|
+
placeholder: "Email Address",
|
|
145
|
+
value: email,
|
|
146
|
+
onChange: (e) => {
|
|
147
|
+
setEmail(e.target.value);
|
|
148
|
+
if (emailTouched) setEmailError(validateEmail(e.target.value));
|
|
149
|
+
},
|
|
150
|
+
onBlur: () => {
|
|
151
|
+
setEmailTouched(true);
|
|
152
|
+
setEmailError(validateEmail(email));
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
),
|
|
156
|
+
/* @__PURE__ */ jsx("div", { className: "min-h-5", children: emailTouched && emailError && /* @__PURE__ */ jsx(FieldError, { children: emailError }) })
|
|
157
|
+
] }),
|
|
158
|
+
/* @__PURE__ */ jsx(
|
|
159
|
+
PasswordField,
|
|
160
|
+
{
|
|
161
|
+
label: "Set Your Password",
|
|
162
|
+
placeholder: "Password",
|
|
163
|
+
required: true,
|
|
164
|
+
showStrengthPopover: true,
|
|
165
|
+
onValueChange: setPasswordValue
|
|
166
|
+
}
|
|
167
|
+
),
|
|
168
|
+
/* @__PURE__ */ jsx(
|
|
169
|
+
PasswordField,
|
|
170
|
+
{
|
|
171
|
+
label: "Confirm Password",
|
|
172
|
+
placeholder: "Confirm Your Password",
|
|
173
|
+
required: true,
|
|
174
|
+
onValueChange: setConfirmValue
|
|
175
|
+
}
|
|
176
|
+
),
|
|
177
|
+
/* @__PURE__ */ jsxs(Field, { children: [
|
|
178
|
+
/* @__PURE__ */ jsx(FieldLabel, { children: "Phone Number" }),
|
|
179
|
+
/* @__PURE__ */ jsx(Input, { placeholder: "Phone Number" }),
|
|
180
|
+
/* @__PURE__ */ jsx("div", { className: "min-h-5" })
|
|
181
|
+
] }),
|
|
182
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-start gap-3", children: [
|
|
183
|
+
/* @__PURE__ */ jsx(
|
|
184
|
+
Checkbox,
|
|
185
|
+
{
|
|
186
|
+
id: "terms",
|
|
187
|
+
checked: termsAccepted,
|
|
188
|
+
onCheckedChange: (v) => setTermsAccepted(!!v)
|
|
189
|
+
}
|
|
190
|
+
),
|
|
191
|
+
/* @__PURE__ */ jsxs(
|
|
192
|
+
"label",
|
|
193
|
+
{
|
|
194
|
+
htmlFor: "terms",
|
|
195
|
+
className: "text-sm text-muted-foreground leading-relaxed cursor-pointer select-none",
|
|
196
|
+
children: [
|
|
197
|
+
"I agree to the",
|
|
198
|
+
" ",
|
|
199
|
+
/* @__PURE__ */ jsx("span", { className: "text-foreground underline", children: "Terms and Conditions" }),
|
|
200
|
+
" ",
|
|
201
|
+
"and ",
|
|
202
|
+
/* @__PURE__ */ jsx("span", { className: "text-foreground underline", children: "Privacy Policy" })
|
|
203
|
+
]
|
|
204
|
+
}
|
|
205
|
+
)
|
|
206
|
+
] })
|
|
207
|
+
] });
|
|
208
|
+
}
|
|
209
|
+
function CompanyInfoStep() {
|
|
210
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
211
|
+
/* @__PURE__ */ jsx(SectionHeading, { children: "Company Details" }),
|
|
212
|
+
/* @__PURE__ */ jsx(FormField, { label: "Business Name", required: true, children: /* @__PURE__ */ jsx(Input, { placeholder: "Business Name" }) }),
|
|
213
|
+
/* @__PURE__ */ jsx(FormField, { label: "ABN (Australian Business Number)", required: true, children: /* @__PURE__ */ jsx(Input, { placeholder: "Input ABN" }) }),
|
|
214
|
+
/* @__PURE__ */ jsx(FormField, { label: "Australian Credit License Number", required: true, children: /* @__PURE__ */ jsx(Input, { placeholder: "Input License Number" }) }),
|
|
215
|
+
/* @__PURE__ */ jsx(FormField, { label: "Customer Support Email", required: true, children: /* @__PURE__ */ jsx(Input, { type: "email", placeholder: "Customer Support Email" }) }),
|
|
216
|
+
/* @__PURE__ */ jsx(FormField, { label: "Main Business Phone Number", required: true, children: /* @__PURE__ */ jsx(Input, { placeholder: "Main Business Phone Number" }) }),
|
|
217
|
+
/* @__PURE__ */ jsx(FormField, { label: "Domain", required: true, children: /* @__PURE__ */ jsx(Input, { placeholder: "Input Domain" }) }),
|
|
218
|
+
/* @__PURE__ */ jsxs(SectionHeading, { children: [
|
|
219
|
+
"Connective Details",
|
|
220
|
+
" ",
|
|
221
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground font-normal", children: "(connective brokers only)" })
|
|
222
|
+
] }),
|
|
223
|
+
/* @__PURE__ */ jsx(FormField, { label: "CA Number", children: /* @__PURE__ */ jsx(Input, { placeholder: "CA Number" }) }),
|
|
224
|
+
/* @__PURE__ */ jsx(FormField, { label: "Company ID", children: /* @__PURE__ */ jsx(Input, { placeholder: "Company ID" }) }),
|
|
225
|
+
/* @__PURE__ */ jsx(FormField, { label: "API Key", children: /* @__PURE__ */ jsx(Input, { placeholder: "API Key" }) }),
|
|
226
|
+
/* @__PURE__ */ jsx(FormField, { label: "API Token", children: /* @__PURE__ */ jsx(Input, { placeholder: "API Token" }) })
|
|
227
|
+
] });
|
|
228
|
+
}
|
|
229
|
+
function BrandingInfoStep() {
|
|
230
|
+
const [primaryColor, setPrimaryColor] = useState("#131C24");
|
|
231
|
+
const [secondaryColor, setSecondaryColor] = useState("#00E599");
|
|
232
|
+
const [calendarType, setCalendarType] = useState("Calendly");
|
|
233
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-6", children: [
|
|
234
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
235
|
+
/* @__PURE__ */ jsx(SectionHeading, { children: "Admin Advisor Content" }),
|
|
236
|
+
/* @__PURE__ */ jsx(FormField, { label: "Calendar URL", children: /* @__PURE__ */ jsxs("div", { className: "flex gap-2", children: [
|
|
237
|
+
/* @__PURE__ */ jsxs(
|
|
238
|
+
Select,
|
|
239
|
+
{
|
|
240
|
+
value: calendarType,
|
|
241
|
+
onValueChange: (v) => setCalendarType(v),
|
|
242
|
+
children: [
|
|
243
|
+
/* @__PURE__ */ jsx(SelectTrigger, { className: "w-[140px] shrink-0", children: /* @__PURE__ */ jsx(SelectValue, {}) }),
|
|
244
|
+
/* @__PURE__ */ jsxs(SelectContent, { children: [
|
|
245
|
+
/* @__PURE__ */ jsx(SelectItem, { value: "Calendly", children: "Calendly" }),
|
|
246
|
+
/* @__PURE__ */ jsx(SelectItem, { value: "Gmail", children: "Gmail Calendar" }),
|
|
247
|
+
/* @__PURE__ */ jsx(SelectItem, { value: "Outlook", children: "Outlook Calendar" })
|
|
248
|
+
] })
|
|
249
|
+
]
|
|
250
|
+
}
|
|
251
|
+
),
|
|
252
|
+
/* @__PURE__ */ jsx(Input, { placeholder: "Paste calendar URL", className: "flex-1" })
|
|
253
|
+
] }) }),
|
|
254
|
+
/* @__PURE__ */ jsx(FormField, { label: "Video URL (Youtube, Vimeo, Wistia)", children: /* @__PURE__ */ jsx(Input, { placeholder: "Input Video URL" }) }),
|
|
255
|
+
/* @__PURE__ */ jsxs(Field, { children: [
|
|
256
|
+
/* @__PURE__ */ jsx(FieldLabel, { children: "Upload professional photo (800x450)" }),
|
|
257
|
+
/* @__PURE__ */ jsx(
|
|
258
|
+
UploadCard,
|
|
259
|
+
{
|
|
260
|
+
size: "sm",
|
|
261
|
+
label: "Upload image",
|
|
262
|
+
description: "PNG, JPG \xB7 800\xD7450px"
|
|
263
|
+
}
|
|
264
|
+
)
|
|
265
|
+
] })
|
|
266
|
+
] }),
|
|
267
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
268
|
+
/* @__PURE__ */ jsx(SectionHeading, { children: "Company Branding" }),
|
|
269
|
+
/* @__PURE__ */ jsxs(Field, { children: [
|
|
270
|
+
/* @__PURE__ */ jsx(FieldLabel, { children: "Color Code Primary" }),
|
|
271
|
+
/* @__PURE__ */ jsx(ColorPicker, { value: primaryColor, onChange: setPrimaryColor })
|
|
272
|
+
] }),
|
|
273
|
+
/* @__PURE__ */ jsxs(Field, { children: [
|
|
274
|
+
/* @__PURE__ */ jsx(FieldLabel, { children: "Color Code Secondary" }),
|
|
275
|
+
/* @__PURE__ */ jsx(ColorPicker, { value: secondaryColor, onChange: setSecondaryColor })
|
|
276
|
+
] }),
|
|
277
|
+
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-2 gap-4", children: [
|
|
278
|
+
/* @__PURE__ */ jsxs(Field, { children: [
|
|
279
|
+
/* @__PURE__ */ jsx(FieldLabel, { children: "Primary Symbol Logo (50x50)" }),
|
|
280
|
+
/* @__PURE__ */ jsx(
|
|
281
|
+
UploadCard,
|
|
282
|
+
{
|
|
283
|
+
size: "sm",
|
|
284
|
+
label: "Upload image",
|
|
285
|
+
description: "PNG, JPG \xB7 50\xD750px"
|
|
286
|
+
}
|
|
287
|
+
)
|
|
288
|
+
] }),
|
|
289
|
+
/* @__PURE__ */ jsxs(Field, { children: [
|
|
290
|
+
/* @__PURE__ */ jsx(FieldLabel, { children: "Symbol Logo in White (50x50)" }),
|
|
291
|
+
/* @__PURE__ */ jsx(
|
|
292
|
+
UploadCard,
|
|
293
|
+
{
|
|
294
|
+
size: "sm",
|
|
295
|
+
label: "Upload image",
|
|
296
|
+
description: "PNG, JPG \xB7 50\xD750px"
|
|
297
|
+
}
|
|
298
|
+
)
|
|
299
|
+
] })
|
|
300
|
+
] }),
|
|
301
|
+
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-2 gap-4", children: [
|
|
302
|
+
/* @__PURE__ */ jsxs(Field, { children: [
|
|
303
|
+
/* @__PURE__ */ jsx(FieldLabel, { children: "Primary Business Logo (150x100)" }),
|
|
304
|
+
/* @__PURE__ */ jsx(
|
|
305
|
+
UploadCard,
|
|
306
|
+
{
|
|
307
|
+
size: "sm",
|
|
308
|
+
label: "Upload image",
|
|
309
|
+
description: "PNG, JPG \xB7 150\xD7100px"
|
|
310
|
+
}
|
|
311
|
+
)
|
|
312
|
+
] }),
|
|
313
|
+
/* @__PURE__ */ jsxs(Field, { children: [
|
|
314
|
+
/* @__PURE__ */ jsx(FieldLabel, { children: "Primary Business Logo in White (150x100)" }),
|
|
315
|
+
/* @__PURE__ */ jsx(
|
|
316
|
+
UploadCard,
|
|
317
|
+
{
|
|
318
|
+
size: "sm",
|
|
319
|
+
label: "Upload image",
|
|
320
|
+
description: "PNG, JPG \xB7 150\xD7100px"
|
|
321
|
+
}
|
|
322
|
+
)
|
|
323
|
+
] })
|
|
324
|
+
] })
|
|
325
|
+
] })
|
|
326
|
+
] });
|
|
327
|
+
}
|
|
328
|
+
function InviteStaffView({
|
|
329
|
+
onNext: _onNext,
|
|
330
|
+
onPrev: _onPrev
|
|
331
|
+
}) {
|
|
332
|
+
const [staffList, setStaffList] = useState([
|
|
333
|
+
{ id: "1", email: "", role: "" }
|
|
334
|
+
]);
|
|
335
|
+
const addStaff = () => setStaffList((p) => [
|
|
336
|
+
...p,
|
|
337
|
+
{ id: crypto.randomUUID(), email: "", role: "" }
|
|
338
|
+
]);
|
|
339
|
+
const removeStaff = (id) => setStaffList((p) => p.filter((m) => m.id !== id));
|
|
340
|
+
const changeStaff = (id, field, value) => setStaffList(
|
|
341
|
+
(p) => p.map((m) => m.id === id ? __spreadProps(__spreadValues({}, m), { [field]: value }) : m)
|
|
342
|
+
);
|
|
343
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-6", children: [
|
|
344
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
345
|
+
/* @__PURE__ */ jsx(SectionHeading, { children: "Invite Staff Members" }),
|
|
346
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-3 border border-border p-6", children: [
|
|
347
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 w-full", children: [
|
|
348
|
+
/* @__PURE__ */ jsx("span", { className: "flex-1 text-sm font-medium text-foreground", children: "Email" }),
|
|
349
|
+
/* @__PURE__ */ jsx("span", { className: "w-[140px] shrink-0 text-sm font-medium text-foreground", children: "Role" }),
|
|
350
|
+
/* @__PURE__ */ jsx("span", { className: "size-8 shrink-0" })
|
|
351
|
+
] }),
|
|
352
|
+
staffList.map((m) => /* @__PURE__ */ jsx(
|
|
353
|
+
StaffRowItem,
|
|
354
|
+
{
|
|
355
|
+
member: m,
|
|
356
|
+
onRemove: removeStaff,
|
|
357
|
+
onChange: changeStaff,
|
|
358
|
+
showRemove: staffList.length > 1
|
|
359
|
+
},
|
|
360
|
+
m.id
|
|
361
|
+
)),
|
|
362
|
+
/* @__PURE__ */ jsxs(Button, { variant: "outline", onClick: addStaff, className: "w-full", children: [
|
|
363
|
+
/* @__PURE__ */ jsx(PlusIcon, { className: "size-4" }),
|
|
364
|
+
"Add Staff"
|
|
365
|
+
] })
|
|
366
|
+
] })
|
|
367
|
+
] }),
|
|
368
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
369
|
+
/* @__PURE__ */ jsx(SectionHeading, { children: "Or Bulk Upload" }),
|
|
370
|
+
/* @__PURE__ */ jsx(
|
|
371
|
+
UploadCard,
|
|
372
|
+
{
|
|
373
|
+
size: "lg",
|
|
374
|
+
accept: ".csv",
|
|
375
|
+
label: "Drop files here",
|
|
376
|
+
description: "Or browse files from your computer"
|
|
377
|
+
}
|
|
378
|
+
),
|
|
379
|
+
/* @__PURE__ */ jsxs("p", { className: "text-sm text-muted-foreground text-center", children: [
|
|
380
|
+
"Ensure your CSV file includes columns for:",
|
|
381
|
+
/* @__PURE__ */ jsx("br", {}),
|
|
382
|
+
"No., First Name, Last Name, Email, Phone (Optional) and Staff Role."
|
|
383
|
+
] }),
|
|
384
|
+
/* @__PURE__ */ jsxs("div", { className: "flex justify-center gap-1 text-sm text-muted-foreground", children: [
|
|
385
|
+
"Or you can download the",
|
|
386
|
+
" ",
|
|
387
|
+
/* @__PURE__ */ jsx(Button, { variant: "link", className: "h-auto p-0", children: "Template file" })
|
|
388
|
+
] })
|
|
389
|
+
] })
|
|
390
|
+
] });
|
|
391
|
+
}
|
|
392
|
+
function PaymentView({
|
|
393
|
+
onNext: _onNext,
|
|
394
|
+
onPrev: _onPrev
|
|
395
|
+
}) {
|
|
396
|
+
const [seats, setSeats] = useState({ Admin: 1, Broker: 0, Support: 0 });
|
|
397
|
+
const additionalCost = Math.max(0, seats.Admin - 1) * 89 + seats.Broker * 89;
|
|
398
|
+
const total = BASE_PLAN_PRICE + additionalCost;
|
|
399
|
+
return /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-6", children: /* @__PURE__ */ jsxs("div", { className: "border border-border px-6 py-8 flex flex-col gap-4", children: [
|
|
400
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between", children: [
|
|
401
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
402
|
+
/* @__PURE__ */ jsx("p", { className: "font-bold text-lg", children: "Professional Plan" }),
|
|
403
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: "included 1 Broker" })
|
|
404
|
+
] }),
|
|
405
|
+
/* @__PURE__ */ jsxs("div", { className: "text-right", children: [
|
|
406
|
+
/* @__PURE__ */ jsxs("p", { className: "font-bold text-lg", children: [
|
|
407
|
+
"$",
|
|
408
|
+
BASE_PLAN_PRICE,
|
|
409
|
+
"/month/company"
|
|
410
|
+
] }),
|
|
411
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: "Billed monthly. Cancel anytime." })
|
|
412
|
+
] })
|
|
413
|
+
] }),
|
|
414
|
+
/* @__PURE__ */ jsx(Separator, {}),
|
|
415
|
+
/* @__PURE__ */ jsx("p", { className: "font-semibold text-base", children: "Total Staff seats" }),
|
|
416
|
+
/* @__PURE__ */ jsx(TooltipProvider, { children: ["Admin", "Broker", "Support"].map((role) => /* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between", children: [
|
|
417
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1", children: [
|
|
418
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
419
|
+
/* @__PURE__ */ jsx("span", { className: "text-base w-[60px]", children: role }),
|
|
420
|
+
/* @__PURE__ */ jsxs(Tooltip, { children: [
|
|
421
|
+
/* @__PURE__ */ jsx(TooltipTrigger, { children: /* @__PURE__ */ jsx(Button, { variant: "ghost", size: "icon-sm", "aria-label": "Info", children: /* @__PURE__ */ jsx(InfoIcon, { className: "size-4" }) }) }),
|
|
422
|
+
/* @__PURE__ */ jsx(TooltipContent, { side: "top", children: ROLE_INFO[role] })
|
|
423
|
+
] })
|
|
424
|
+
] }),
|
|
425
|
+
/* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground", children: ROLE_SUBTITLE[role] })
|
|
426
|
+
] }),
|
|
427
|
+
/* @__PURE__ */ jsx(
|
|
428
|
+
Input,
|
|
429
|
+
{
|
|
430
|
+
type: "number",
|
|
431
|
+
value: seats[role],
|
|
432
|
+
onChange: (e) => setSeats((s) => __spreadProps(__spreadValues({}, s), {
|
|
433
|
+
[role]: Math.max(0, Number(e.target.value))
|
|
434
|
+
})),
|
|
435
|
+
"aria-label": `${role} seats`,
|
|
436
|
+
className: "w-[76px] text-center"
|
|
437
|
+
}
|
|
438
|
+
)
|
|
439
|
+
] }, role)) }),
|
|
440
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: "You can add or remove seats anytime. Changes are billed monthly." }),
|
|
441
|
+
/* @__PURE__ */ jsx(Separator, {}),
|
|
442
|
+
/* @__PURE__ */ jsx(TooltipProvider, { children: /* @__PURE__ */ jsxs(Tooltip, { children: [
|
|
443
|
+
/* @__PURE__ */ jsx(TooltipTrigger, { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
444
|
+
/* @__PURE__ */ jsx("p", { className: "font-semibold text-lg", children: "Total (Est.)" }),
|
|
445
|
+
/* @__PURE__ */ jsxs("p", { className: "font-semibold text-lg", children: [
|
|
446
|
+
"$",
|
|
447
|
+
total
|
|
448
|
+
] })
|
|
449
|
+
] }) }),
|
|
450
|
+
/* @__PURE__ */ jsx(TooltipContent, { side: "top", children: "This is an estimated amount. You will be charged at the end of the billing period." })
|
|
451
|
+
] }) })
|
|
452
|
+
] }) });
|
|
453
|
+
}
|
|
454
|
+
function StripeView({
|
|
455
|
+
onPrev: _onPrev,
|
|
456
|
+
onComplete: _onComplete
|
|
457
|
+
}) {
|
|
458
|
+
return /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-6", children: /* @__PURE__ */ jsxs("div", { className: "border border-border p-6 flex flex-col gap-4", children: [
|
|
459
|
+
/* @__PURE__ */ jsx("p", { className: "font-semibold text-base text-foreground", children: "Payment Details" }),
|
|
460
|
+
/* @__PURE__ */ jsxs(Field, { children: [
|
|
461
|
+
/* @__PURE__ */ jsx(FieldLabel, { children: "Card Number" }),
|
|
462
|
+
/* @__PURE__ */ jsx("div", { className: "flex h-9 w-full border border-input bg-muted/30 px-3 py-2 text-sm text-muted-foreground items-center", children: "\u2022\u2022\u2022\u2022 \u2022\u2022\u2022\u2022 \u2022\u2022\u2022\u2022 4242" })
|
|
463
|
+
] }),
|
|
464
|
+
/* @__PURE__ */ jsxs("div", { className: "flex gap-4", children: [
|
|
465
|
+
/* @__PURE__ */ jsxs(Field, { className: "flex-1", children: [
|
|
466
|
+
/* @__PURE__ */ jsx(FieldLabel, { children: "Expiry" }),
|
|
467
|
+
/* @__PURE__ */ jsx("div", { className: "flex h-9 w-full border border-input bg-muted/30 px-3 py-2 text-sm text-muted-foreground items-center", children: "MM / YY" })
|
|
468
|
+
] }),
|
|
469
|
+
/* @__PURE__ */ jsxs(Field, { className: "flex-1", children: [
|
|
470
|
+
/* @__PURE__ */ jsx(FieldLabel, { children: "CVC" }),
|
|
471
|
+
/* @__PURE__ */ jsx("div", { className: "flex h-9 w-full border border-input bg-muted/30 px-3 py-2 text-sm text-muted-foreground items-center", children: "\u2022\u2022\u2022" })
|
|
472
|
+
] })
|
|
473
|
+
] }),
|
|
474
|
+
/* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground", children: "Powered by Stripe. Your payment information is encrypted and secure." })
|
|
475
|
+
] }) });
|
|
476
|
+
}
|
|
477
|
+
function BackofficeSuccessStep() {
|
|
478
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center justify-center min-h-full py-16 gap-6 text-center px-4", children: [
|
|
479
|
+
/* @__PURE__ */ jsx("div", { className: "size-16 bg-success/10 flex items-center justify-center", children: /* @__PURE__ */ jsx(
|
|
480
|
+
"svg",
|
|
481
|
+
{
|
|
482
|
+
viewBox: "0 0 24 24",
|
|
483
|
+
className: "size-8 text-success",
|
|
484
|
+
fill: "none",
|
|
485
|
+
stroke: "currentColor",
|
|
486
|
+
strokeWidth: 2,
|
|
487
|
+
children: /* @__PURE__ */ jsx("polyline", { points: "20 6 9 17 4 12" })
|
|
488
|
+
}
|
|
489
|
+
) }),
|
|
490
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2", children: [
|
|
491
|
+
/* @__PURE__ */ jsx("h2", { className: "text-2xl font-bold text-foreground", children: "You're all set!" }),
|
|
492
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground max-w-[400px]", children: "You will receive an email on next steps and we will contact you for final approval." })
|
|
493
|
+
] }),
|
|
494
|
+
/* @__PURE__ */ jsxs("div", { className: "border border-border p-6 flex flex-col gap-4 text-left w-full max-w-[400px]", children: [
|
|
495
|
+
/* @__PURE__ */ jsx("p", { className: "font-semibold text-base text-foreground", children: "Contact us anytime if you have any concerns." }),
|
|
496
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2.5", children: [
|
|
497
|
+
/* @__PURE__ */ jsx(PhoneIcon, { className: "size-5 text-success shrink-0" }),
|
|
498
|
+
/* @__PURE__ */ jsx("span", { className: "text-base text-foreground", children: "0416 338 438" })
|
|
499
|
+
] }),
|
|
500
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2.5", children: [
|
|
501
|
+
/* @__PURE__ */ jsx(CalendarIcon, { className: "size-5 text-success shrink-0" }),
|
|
502
|
+
/* @__PURE__ */ jsx("span", { className: "text-base text-foreground", children: "Book call back" })
|
|
503
|
+
] }),
|
|
504
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2.5", children: [
|
|
505
|
+
/* @__PURE__ */ jsx(MailIcon, { className: "size-5 text-success shrink-0" }),
|
|
506
|
+
/* @__PURE__ */ jsx("span", { className: "text-base text-foreground", children: "clint@wealthx.au" })
|
|
507
|
+
] })
|
|
508
|
+
] })
|
|
509
|
+
] });
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
export {
|
|
513
|
+
PersonalDetailsStep,
|
|
514
|
+
CompanyInfoStep,
|
|
515
|
+
BrandingInfoStep,
|
|
516
|
+
InviteStaffView,
|
|
517
|
+
PaymentView,
|
|
518
|
+
StripeView,
|
|
519
|
+
BackofficeSuccessStep
|
|
520
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Switch
|
|
3
|
-
} from "./chunk-PNSYFE3K.mjs";
|
|
4
1
|
import {
|
|
5
2
|
Select,
|
|
6
3
|
SelectContent,
|
|
7
4
|
SelectItem,
|
|
8
5
|
SelectTrigger,
|
|
9
6
|
SelectValue
|
|
10
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TAX3KL66.mjs";
|
|
8
|
+
import {
|
|
9
|
+
Switch
|
|
10
|
+
} from "./chunk-PNSYFE3K.mjs";
|
|
11
11
|
import {
|
|
12
12
|
Input
|
|
13
13
|
} from "./chunk-LBTHZSBT.mjs";
|
|
@@ -7,9 +7,6 @@ import {
|
|
|
7
7
|
FALLBACK_PRIMARY,
|
|
8
8
|
hexToRgba
|
|
9
9
|
} from "./chunk-YEWNFK5S.mjs";
|
|
10
|
-
import {
|
|
11
|
-
formatCurrencyAbbrev
|
|
12
|
-
} from "./chunk-MN5NYQCL.mjs";
|
|
13
10
|
import {
|
|
14
11
|
Empty,
|
|
15
12
|
EmptyDescription
|
|
@@ -22,7 +19,10 @@ import {
|
|
|
22
19
|
} from "./chunk-3VDET466.mjs";
|
|
23
20
|
import {
|
|
24
21
|
useThemeVars
|
|
25
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-WDTXHLYM.mjs";
|
|
23
|
+
import {
|
|
24
|
+
formatCurrencyAbbrev
|
|
25
|
+
} from "./chunk-MN5NYQCL.mjs";
|
|
26
26
|
import {
|
|
27
27
|
cn
|
|
28
28
|
} from "./chunk-AFML43VJ.mjs";
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Spinner
|
|
3
|
+
} from "./chunk-JVMXMFBB.mjs";
|
|
4
|
+
import {
|
|
5
|
+
AlertDialog,
|
|
6
|
+
AlertDialogAction,
|
|
7
|
+
AlertDialogCancel,
|
|
8
|
+
AlertDialogContent,
|
|
9
|
+
AlertDialogDescription,
|
|
10
|
+
AlertDialogFooter,
|
|
11
|
+
AlertDialogHeader,
|
|
12
|
+
AlertDialogTitle
|
|
13
|
+
} from "./chunk-BD3DWDT4.mjs";
|
|
14
|
+
|
|
15
|
+
// src/components/ui/delete-contact-component.tsx
|
|
16
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
17
|
+
function DeleteContactComponent({
|
|
18
|
+
open,
|
|
19
|
+
onOpenChange,
|
|
20
|
+
mode,
|
|
21
|
+
contactName,
|
|
22
|
+
count = 0,
|
|
23
|
+
onConfirm,
|
|
24
|
+
isLoading = false
|
|
25
|
+
}) {
|
|
26
|
+
const isSingle = mode === "single";
|
|
27
|
+
const title = isSingle ? `Delete ${contactName != null ? contactName : "this contact"}?` : `Delete ${count} contact${count !== 1 ? "s" : ""}?`;
|
|
28
|
+
const description = isSingle ? `This will permanently remove ${contactName != null ? contactName : "this contact"} and all their associated data. This action cannot be undone.` : `This will permanently remove ${count} selected contact${count !== 1 ? "s" : ""} and all their associated data. This action cannot be undone.`;
|
|
29
|
+
return /* @__PURE__ */ jsx(
|
|
30
|
+
AlertDialog,
|
|
31
|
+
{
|
|
32
|
+
open,
|
|
33
|
+
onOpenChange: isLoading ? void 0 : onOpenChange,
|
|
34
|
+
children: /* @__PURE__ */ jsxs(AlertDialogContent, { children: [
|
|
35
|
+
/* @__PURE__ */ jsxs(AlertDialogHeader, { children: [
|
|
36
|
+
/* @__PURE__ */ jsx(AlertDialogTitle, { className: "text-destructive", children: title }),
|
|
37
|
+
/* @__PURE__ */ jsx(AlertDialogDescription, { children: description })
|
|
38
|
+
] }),
|
|
39
|
+
/* @__PURE__ */ jsxs(AlertDialogFooter, { children: [
|
|
40
|
+
/* @__PURE__ */ jsx(AlertDialogCancel, { disabled: isLoading, children: "Cancel" }),
|
|
41
|
+
/* @__PURE__ */ jsx(
|
|
42
|
+
AlertDialogAction,
|
|
43
|
+
{
|
|
44
|
+
onClick: onConfirm,
|
|
45
|
+
disabled: isLoading,
|
|
46
|
+
className: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
|
|
47
|
+
children: isLoading ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
48
|
+
/* @__PURE__ */ jsx(Spinner, { className: "size-3.5" }),
|
|
49
|
+
"Deleting\u2026"
|
|
50
|
+
] }) : "Delete"
|
|
51
|
+
}
|
|
52
|
+
)
|
|
53
|
+
] })
|
|
54
|
+
] })
|
|
55
|
+
}
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export {
|
|
60
|
+
DeleteContactComponent
|
|
61
|
+
};
|