@zeniai/web-cockpit-ui 1.15.16-dev → 1.15.17-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ACHDetailsPage-BOZmOJHO-CwAQrPpG.js → ACHDetailsPage-cAgIhKJs-bGTsqigs.js} +1 -1
- package/dist/assets/{AIPerformancePage-ZVCJizP9-BEYLvxG6.js → AIPerformancePage-BPwI4kZG-BTP4khzH.js} +12 -12
- package/dist/assets/AccountInfoPage-jlXCF7Gn-p294yilG.js +18 -0
- package/dist/assets/{AccountInfoPageContent-D0wuuzMd-fpNJ2YsG.js → AccountInfoPageContent-CIjrqt8Z-xcHih_xf.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-Cfx-lPAZ-BkStU3hi.js → AccountLockedInfoModal-b0SYt4cr-DyDb_wyO.js} +2 -2
- package/dist/assets/{AccountReconDetailsDrawerPage-DbHX6rPG-DTTeCxce.js → AccountReconDetailsDrawerPage-CEjWEa01-aoYQi4ku.js} +5 -5
- package/dist/assets/{AccountRow-Bk_25FCy-BSk-hvqy.js → AccountRow-C9lnDVNf-86hTjbuw.js} +8 -8
- package/dist/assets/{AccountsPromoCardStack-DAXRwY1f-BvuQll0f.js → AccountsPromoCardStack-hzApdgeN-DUJB0-p0.js} +1 -1
- package/dist/assets/AddAddressForCardDrawer-BIjROWAw-BSYp9XYN.js +6 -0
- package/dist/assets/{AddToWalletPage-CzziHgi7-BQwLxI1X.js → AddToWalletPage-CgCHdO6c-CiVYqd0C.js} +5 -5
- package/dist/assets/{AgingReportsPage-Bdi3krKK-CTkT1Zm8.js → AgingReportsPage-B0NKfFq5-Bk4x7HpE.js} +4 -4
- package/dist/assets/{AllUserItems-XWDuiug6-DLAl8Xcx.js → AllUserItems-D6uMCcjF-CS_wO3mh.js} +4 -4
- package/dist/assets/{ApAgingDetailPage-CaM_AzrU-DPf2WuMd.js → ApAgingDetailPage-CxS9o2Dj-B1fPZ2rF.js} +2 -2
- package/dist/assets/{AppBasePage-B7_L4R6d-BHqVR5DP.js → AppBasePage-BnfCjFJA-CQeMBbMI.js} +1 -1
- package/dist/assets/{AppDrawerContent-DSX1364T-pcNTv-EE.js → AppDrawerContent-CwBFjBnr-CKjzuecx.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-DrjPOeyp-C5ILQVYd.js → ApprovalRulesSettingsPage-91Tg_EpH-BzKB_HwN.js} +2 -2
- package/dist/assets/{ArAgingChart-M7KUNA4G-DBWSBarK.js → ArAgingChart-6qcRcKoz-MYhKnyKG.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-7lby5mXn-G9J2gxqo.js → ArAgingDetailPage-DmUWtQsX-KXzejd7L.js} +2 -2
- package/dist/assets/{AttachmentView-Bsa0u92o-CQtMxB6c.js → AttachmentView-B0oZITps-CNLEqH0L.js} +2 -2
- package/dist/assets/{BankAccountSection-BkOlwayA-gKroDONq.js → BankAccountSection-C8G2PrLh-OgTv2VaB.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-uMOXLH0B-Dmm_2ZeO.js → BankAccountWarningSection--DkXEMWU-jfcY3ZKV.js} +8 -8
- package/dist/assets/{BankConnectionsSettingsPage-C_YytTke-BLDqC2se.js → BankConnectionsSettingsPage-DmzolLyN-BNSTT_VR.js} +1 -1
- package/dist/assets/{BillDetailPage-DvU5_Rsp-QONja72z.js → BillDetailPage-BuCOe4eB-DBZDvMBw.js} +4 -4
- package/dist/assets/BillPayApprovalRuleDetailPage-y3qBdiwE-CP9uLqPK.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-CA9eufjt-DhCNQwaz.js → BillPayApprovalRulesPage-DpN3O_Q1-ILVegrck.js} +9 -9
- package/dist/assets/{BillPayPromoPage-DsXPWKAf-CH-kAnh9.js → BillPayPromoPage-Dcly8epm-DNaDxuq-.js} +3 -3
- package/dist/assets/{BillPaySetUpPage-CeMhzZ_3-BAILYdpq.js → BillPaySetUpPage-zxd0WLUm-CL6S_QEz.js} +2 -2
- package/dist/assets/{BillingSettingsPage-BygJjDSp-ZMuXzR1y.js → BillingSettingsPage-Djx3EUQO-2EyCLMZp.js} +11 -11
- package/dist/assets/{BillsBulkReviewDrawerPage-WrR46NRa-Cq3ZfsO5.js → BillsBulkReviewDrawerPage-gK7xRoiE-B9WwX7Kq.js} +1 -1
- package/dist/assets/{BoxItem-C0M4PSXY-Dz-uzrl9.js → BoxItem-ClRdlCWM-B_aqSV-L.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-C63pUk4d-CY7SQzHf.js → BusinessVerificationPage-Dzp7gFwH-iwUmX4wV.js} +2 -2
- package/dist/assets/{CardNumberSubText-B4dAoYDE-S0p2Dvhi.js → CardNumberSubText-CHr49_cJ-9Ya6XjXp.js} +2 -2
- package/dist/assets/{CashbackDetailPage-B6xvn-y3-C2QB22yP.js → CashbackDetailPage-BNHzTYwa-BdAtNCNi.js} +16 -16
- package/dist/assets/{ChargeCardDetailPage-eJJ4MEE6-Cbmrl3gL.js → ChargeCardDetailPage-DWyRrPSy-BvyyNVxe.js} +34 -34
- package/dist/assets/{ChargeCardListPage-BYI2HIjA-DQe2h7t9.js → ChargeCardListPage-D3nBV6Fu-DfN7aWAo.js} +1 -1
- package/dist/assets/{ChargeCardListTable-DAVYmKCK-CXpYrtrT.js → ChargeCardListTable-DBYEXr_N-7b006WJ7.js} +28 -28
- package/dist/assets/{ChargeCardPaymentHistoryPage-BX5HtOxd-CtFjNufh.js → ChargeCardPaymentHistoryPage-BEvuS2te-BxwCFTIZ.js} +18 -18
- package/dist/assets/ChargeCardPromoPage-DxNPvbeh-CTzLEbbH.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-DG1eKhYR-DW3nMBQs.js → ChargeCardSetupPage-BgBF1U8E-DnPnCE_j.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-CvtZtuVC-D3csdiBJ.js → ChargeCardStatementsPage-UttZjyIb-CinG3Yr4.js} +6 -6
- package/dist/assets/{CheckDepositDrawerPage-BdacGDpy-B_co6EhK.js → CheckDepositDrawerPage-sXY6MJoX-BBStJHqh.js} +9 -9
- package/dist/assets/{CollapsableReportTable-UADp1m_8-CTcsoqje.js → CollapsableReportTable-3luMEAJg-BroWF-FL.js} +60 -60
- package/dist/assets/{CompanyOfficerDetailsSection-CaAR0Wvk-CBJ-_ogf.js → CompanyOfficerDetailsSection-wa4YnlL--Bvat7gA-.js} +1 -1
- package/dist/assets/{CompanyPassportCard-BJN2GEVm-gEElvrvK.js → CompanyPassportCard-FgYHweiL-B5gr1lJ_.js} +6 -6
- package/dist/assets/{CompanyPassportPage-D2ALJDF_-B6f-pO9X.js → CompanyPassportPage-B8LoE1o9-B6zE-V-E.js} +1 -1
- package/dist/assets/{CompleteProfile-C8X8Z3C2-1FrtaPxU.js → CompleteProfile-6pDQ6JjU-C7odNMQ5.js} +2 -2
- package/dist/assets/{ConfettiBurst-DxHzdDPp-Be75-rA7.js → ConfettiBurst-BAIozwVU-BMA4g7cW.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-DePlTE9o.js → ConstrainedInnerElement-BeIpAPjB-CbQ77GJr.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-y-COpdhs-Cw0_CLuv.js → CreateOrEditVendorPage-DMWtQ3qU-Bg7OoiTt.js} +11 -11
- package/dist/assets/{CreditCardPaymentDrawerPage-CntYJJ8v-CprMPTAM.js → CreditCardPaymentDrawerPage-OzD38_F8-B8JNfyMQ.js} +5 -5
- package/dist/assets/{CurrencySelectField-Dn-hE2az-XRHzVtOt.js → CurrencySelectField-DL4q5vKR-DqpW0Wz5.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-B9MZHJVc-CzGOfqlu.js → CustomerOnboardingActivationPage-C8mciX-r-B9Cshw5r.js} +3 -3
- package/dist/assets/CustomerOnboardingContainerPage-Btl2A6Cw-CdJnPywR.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BCe8BvQF-BsLS_Cn1.js → CustomerOnboardingDetailPageSkeleton-Nl6SOtES-B3qnBN4d.js} +4 -4
- package/dist/assets/{CustomerOnboardingNoStepsPage-BHk7rDAg-C5ajOfPI.js → CustomerOnboardingNoStepsPage-CQN8EEU--ChBu6uTX.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-1LvpVpHC-BrVAkLSK.js → CustomerOnboardingPage-B77cjZbE-Do4tQjfo.js} +7 -7
- package/dist/assets/CustomerOnboardingProductSuitePage-BYC_Sp__-B35TL-cQ.js +202 -0
- package/dist/assets/{Dashboard-CCV0_aCP-BXhr1WNF.js → Dashboard-DAP7UzjW-DBsJoK5k.js} +1 -1
- package/dist/assets/{DashboardReportPage-CmoH9Vrc-DJMMkkGF.js → DashboardReportPage-iAA_QiN2-BfmuWrMe.js} +10 -10
- package/dist/assets/{DashboardSidebarBackgroundAnimation-hw3einS7-BAKkeTFg.js → DashboardSidebarBackgroundAnimation-CIKwGufL-B4WWY8cX.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DgdkYGjP-cYRUSlBG.js → DepositAccTransactionItem-D3x1jhKt-DssCTMB7.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-CF0WJn9M-C_3AVCeF.js → DepositAccTransactionListPage-W9xt6kxv-BUhaUskS.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-B12tNa6e-uEIGVaj9.js → DomesticWireDetailsPage-DHUzdqCs-CeJMtDxo.js} +1 -1
- package/dist/assets/{DownloadOverlay-Dt9yt4Fz-BLty8T-n.js → DownloadOverlay-C8byijvE-DCI_09Q4.js} +1 -1
- package/dist/assets/{DrawerPage-Clki97FA-BA9PorYC.js → DrawerPage-DMQ5MoIw-BlXGV-xV.js} +12 -12
- package/dist/assets/{EditPeoplePage-CKS_aEZm-D119ukKN.js → EditPeoplePage-D7TQFFBG-Djz1uJLh.js} +3 -3
- package/dist/assets/{EditReimbursementDetailPage-CXy2ZWfZ-DpLpJWez.js → EditReimbursementDetailPage-STVvYnku-Dyx2Oikb.js} +1 -1
- package/dist/assets/EntityDetailPage-20BKV_TK-B5sqJOYK.js +18 -0
- package/dist/assets/{EntitySummarySection-D_YLsP_P-t3_MJbgk.js → EntitySummarySection-6JSSyIPA-K01fPehF.js} +24 -24
- package/dist/assets/{ExpenseAutomationOverviewPage-4z3yzHEA-CJviw0EF.js → ExpenseAutomationOverviewPage-DpoYnwJh-DSAhakn4.js} +8 -8
- package/dist/assets/{ExpenseAutomationPage-BJ4H_c2z-DDA_nGZx.js → ExpenseAutomationPage--kONBcsX-DlY4RThk.js} +1 -1
- package/dist/assets/{ExpressPayPage-CTBD4y1v-BPs_d41G.js → ExpressPayPage-a31-5Bgz-B-4aw0li.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-CYuTQWpP-BflQGHBv.js → FeaturePreviewPage-z8BJQeL--ChibcOOA.js} +2 -2
- package/dist/assets/{FollowStepsSection-BrpI2HyW-CiBKuMZv.js → FollowStepsSection-Bl933px0-DXKlKasr.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-BcvxLqIL-2_WHm0aW.js → GlobalReviewListPage-BLPF3T4t-0m0mv8R4.js} +7 -7
- package/dist/assets/{InformationCardStack-CU4Moqky--vtJfmXM.js → InformationCardStack-BTWe4X6t-DdN7cWvp.js} +2 -2
- package/dist/assets/{InsightsCardStack-D8UQiuXZ--_fLkoGW.js → InsightsCardStack-CoSz_FKI-xRb_a3yi.js} +8 -8
- package/dist/assets/{InsightsSection-C3X6ZNEt-NjJemZo-.js → InsightsSection-DEnkGYD8-BV7sZQsr.js} +4 -4
- package/dist/assets/{IntegrationsSettingsPage-CsLv00HW-BeC7UsBa.js → IntegrationsSettingsPage-CEaBjt99-Do0dnq5V.js} +3 -3
- package/dist/assets/{InternationalWireSwiftDetailsPage-DgrN5Xg7-C4XmzhP5.js → InternationalWireSwiftDetailsPage-C1i-ujyZ-DIPsBga8.js} +6 -6
- package/dist/assets/{InternationalWireVerificationPage-CvysJNBQ-Ca744cyt.js → InternationalWireVerificationPage-CWBpTNA9-9aWL0J3i.js} +2 -2
- package/dist/assets/{InviteFormPage-B3KmRWXd-C2ITeVTl.js → InviteFormPage-B2Rl23Qb-D49rnAc4.js} +17 -17
- package/dist/assets/{InvitePageListView-DfpJBZru-tcIB_WKy.js → InvitePageListView-E_2j_tF7-BsS6FATD.js} +1 -1
- package/dist/assets/{InvitePeoplePage-C5Qgk24s-WY8vJMhk.js → InvitePeoplePage-CljSsdaM-DHNLTMCH.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-BO1i-e_D-BEHL-1J7.js → InvoiceUploadSection-drGgAU5w-CP2A3IhR.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-mPsxt52d-x--Yc1yG.js → IssueChargeCardPage-Cj6pmQbt-DDVdjZ4v.js} +17 -17
- package/dist/assets/{LabeledAddressValue-C4fnQSyi-C-QRaLS5.js → LabeledAddressValue-BjCojNni-CsHQb5xA.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-D6dEaI69-Chc-QlAF.js → LabeledAddressValueField-DyHTdGlm-CErilABA.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-B1QdZmvd-IUa4evUP.js → LabeledControlledCheckBoxField-B5Csu2og-C5h8CQSb.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-XeBih_-f-DKxnjH2w.js → LabeledCountryMultiSelectField-Ds0vvyNd-ypZKY9co.js} +12 -12
- package/dist/assets/{LabeledCreatableSingleSelectField-BPX2Nrlf-ZlY5YONf.js → LabeledCreatableSingleSelectField-C-dLOvWU-28KwULO3.js} +5 -5
- package/dist/assets/LabeledDocumentField-b5xujqjK-HTjOeiZT.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-A-rgip1E-B17ex07S.js → LabeledDropDownFormattedTextField-DHx90GON-Rl0wOSQX.js} +2 -2
- package/dist/assets/{LabeledMultiSelectField-Di9Wnifv-ByxiVL3j.js → LabeledMultiSelectField-CEoszkBN-B4_Me-4T.js} +1 -1
- package/dist/assets/{LabeledText-38fqkkE--Cee_T29J.js → LabeledText-CRJr2zA8-DRZ423PA.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BbF25dUP-BHp0iG9D.js → LabeledUserSingleSelectWithSubtitlesField-CM0HeG1R-pTmkakCa.js} +7 -7
- package/dist/assets/{LabeledZeniRolesDropDownField-Dg9_Ww-A-Dic3e3FJ.js → LabeledZeniRolesDropDownField-CR8M-X5s-DPGEl74a.js} +7 -7
- package/dist/assets/{LinkJETransactionPage-66mQ4nrK-Bsoo2mEs.js → LinkJETransactionPage-DfY5sKBg-BKNhXIRx.js} +1 -1
- package/dist/assets/{LockCardPage-BCqN4K17-Cjzeji2k.js → LockCardPage-CgCv-EKl-CipF6lcu.js} +9 -9
- package/dist/assets/{LowBalancePopup-BPk1-eAb-DFTxz9st.js → LowBalancePopup-OUWtUPdo-DRkjFCjE.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-DJEu5rMd-BJeKMJK9.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage--0yYTzva-BnphHyQr.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-B9u7g87s-YokU7IH5.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-BwN3dPJM-CQeiTIkx.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-77rxhjLm-BjRMFjlF.js → MagicLinkTitleSection-C_Xng7ad-D4iutPsA.js} +1 -1
- package/dist/assets/MailingDetailsSection-Dmq45H_s-CjyySHTi.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-z0tHaSl1-CfQVHlUR.js → MyBankConnectionsSettingsPage-CNUaVzw3-CZkaA3pm.js} +5 -5
- package/dist/assets/{MyPendingActivationChargeCardListPage-CwGYwufd-CT3LLyZc.js → MyPendingActivationChargeCardListPage-Dz1U6l9--DwLxZlPN.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-8yBXAre6-DacQsI6-.js → MyProfileSettingsPage-DdlCBRiN-BYlOj9no.js} +4 -4
- package/dist/assets/{NavBarWithPicker-C3LVyiC9-etzEx9wd.js → NavBarWithPicker-Cx9v8jpk-DJ52ZXJM.js} +4 -4
- package/dist/assets/{NavigationArrow-NuJEpE7O-D8kY8llG.js → NavigationArrow-CNO4O4XS-DUm9WGAp.js} +1 -1
- package/dist/assets/{NavigationDots-C7Na64B9-CVWaz9qo.js → NavigationDots-BX9DbCj7-RHGokei7.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-Cus6zYV_-FAQYGhqe.js → NewGlobalMerchantPage-Bo_ZeDQH-CgpotWIt.js} +29 -29
- package/dist/assets/NoDataChart-JfED3unL-jJumSwoX.js +26 -0
- package/dist/assets/NoDataTable-BFpO3ZtS-ubjUd8M_.js +8 -0
- package/dist/assets/{NotFoundPage-RjXioqc8-DtIGcQuh.js → NotFoundPage-D_HhIdYv-DyNtigHQ.js} +6 -6
- package/dist/assets/{NotificationSettingsPage-DrDW_LU_-CrTfhQjB.js → NotificationSettingsPage-B2d-vPIZ-WS4EaJDB.js} +4 -4
- package/dist/assets/{NotificationsListConfig-C6_ap0JT-D8w6YoUC.js → NotificationsListConfig-C4LF_8h1-ojY4Mfu-.js} +1 -1
- package/dist/assets/{NotificationsPage-DOM-Gf5P-DnumyiFl.js → NotificationsPage-7HqRmokr-0AvCCTrK.js} +1 -1
- package/dist/assets/{OpExByVendorPage-CTuBB827-C0LLpOUj.js → OpExByVendorPage-CwD1U9q_-idpf-eH0.js} +1 -1
- package/dist/assets/OverlayContainerPage-D4QU0p4o-D2c2jURk.js +11 -0
- package/dist/assets/{PandLWithForecastPage-BXaENYdR-D65iSrrB.js → PandLWithForecastPage-CRkDr0QK-D1powlVT.js} +4 -4
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-DSnQX90O-DFq5LHyH.js → PaymentAccountSetupBillingAddressSection-B6nTWyOD-gY1zpkFD.js} +6 -6
- package/dist/assets/{PeoplePage-BlyVVthI-D_1cj1g5.js → PeoplePage-D5eQETB2-DZx25X-Y.js} +1 -1
- package/dist/assets/{Preview-DYusR3hO.js → Preview-Bfns_dDG.js} +1 -1
- package/dist/assets/{ProductsCarousel-CAcPH--E-Bb_qjCmp.js → ProductsCarousel-BXPXaIWg-Av-oVPlG.js} +1 -1
- package/dist/assets/{PromoBaseCards-BVwZMVeE-B84_P5r4.js → PromoBaseCards-C-S0ckZq-DcP7gArA.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-C3OYyhYO-CMjuhlXs.js → QBOConnectionDialog-qqbamtpL-BeJJQ440.js} +1 -1
- package/dist/assets/{QBOSetupSection-DQjol-D0-eqxvZA5D.js → QBOSetupSection-CZu_mtMP-CZBINdYC.js} +4 -4
- package/dist/assets/ReimbursementApprovalRuleDetailPage-BE-QC1b0-CvaYArLZ.js +32 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-Cx0gs7sS-CYC590wb.js → ReimbursementApprovalRulesPage-CXbYB3Y5-Cbew60RV.js} +4 -4
- package/dist/assets/{ReimbursementDetailPage-Cs_rmkS8-wwjwvRb9.js → ReimbursementDetailPage-DXMDyCop-DlZGIADX.js} +4 -4
- package/dist/assets/{ReimbursementPromoPage-CCFl0kQK-LLEMYe4d.js → ReimbursementPromoPage-DGXHkiBN-DLifue2f.js} +7 -7
- package/dist/assets/{ReimbursementSetUpPage-lf3xTVFh-DDKfdVM2.js → ReimbursementSetUpPage-Dd1iGv5X-C_E7fz-A.js} +4 -4
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-C5MTFJLG-CF6p2IJ7.js → ReimbursementsBulkReviewDrawerPage-D46qP31Q-DT9YskKf.js} +1 -1
- package/dist/assets/{ReloadCard-V_tv6YLR-B4Af3G_4.js → ReloadCard-BJke_yPt-D_L8D7X-.js} +6 -6
- package/dist/assets/{ReportTableViewSelector-CWEvGn8L-Dlv8mUdn.js → ReportTableViewSelector-DiYnlME4-BJ1-sTjo.js} +3 -3
- package/dist/assets/{ReportsPage-BJOH1wgv-CO7zRrKg.js → ReportsPage-bmKftmYF-NgXuxPpu.js} +1 -1
- package/dist/assets/{RevenueChart-C_tSBw_N-BD0DJwPU.js → RevenueChart-DjTdsbym-CUUEbo6t.js} +14 -14
- package/dist/assets/{ReviewDetailsPage-CScPf4w3-ByB3b1ie.js → ReviewDetailsPage-NFOdusAU-CVH2L4to.js} +6 -6
- package/dist/assets/{ReviewOverlay-BQVwPzKa-ddzk5bgf.js → ReviewOverlay-Q8tlLMbm-BLu76gBy.js} +20 -20
- package/dist/assets/{RoleWithToolTip-GCV_l8Ly-C2pYTZmo.js → RoleWithToolTip-BWdD1HmA-BCpJ5d2U.js} +3 -3
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-Cgqgn7nk-O0hb5LF0.js → ScheduleDetailsFixedAssetsPage-CpjdnINH-Dzwzq8FX.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-D1EJbzxN-DOCtWqTf.js → ScheduleDetailsPage-DVnetdnH-DhMiGzx8.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-DDhoyPGX-zvxwe9e1.js → ScheduleSequenceTable-rJ0jC94w-DDWgbE_4.js} +14 -14
- package/dist/assets/{ScreenRoutes-YzeouUfS.js → ScreenRoutes-0NyWgCAY.js} +1 -1
- package/dist/assets/{SetUpAccountSection-AVL_16HQ-j-o6nNSY.js → SetUpAccountSection-BCoHzvyG-CzNKWW7X.js} +1 -1
- package/dist/assets/{SignIn-BLUwTp1l-BTGTjmO9.js → SignIn-k3DDmpFU-BAnREigf.js} +14 -14
- package/dist/assets/SignInScreen-BOrZAIYm.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-DJbNFHvP-QKyzE-ot.js → SpendManagementListViewPage-DCfMKXfi-BWeN8ijV.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-J5pIRm-Q-CND_3E3i.js → SpendManagementPerTabPage-Hv3QMqv0-CTD5vH6J.js} +16 -16
- package/dist/assets/{SpendManagementSection-DZaP5ai6-C9tEMxFA.js → SpendManagementSection-BRp2eDfv-DVKGvM7g.js} +8 -8
- package/dist/assets/{StatementItem-D2Fx65LN-CJdCyRP1.js → StatementItem-9DHoMBjx-DlzvIjc2.js} +2 -2
- package/dist/assets/StatementsPage-CdOlg2R0-CFHx0zSi.js +58 -0
- package/dist/assets/{StatusSwitcher-C5ZrzI8Y-Dj5TyEni.js → StatusSwitcher-B5nSXHv6-DTMRsMtw.js} +1 -1
- package/dist/assets/{SubTabSwitcher-BXZxKeq9-B2Zwj5g3.js → SubTabSwitcher-BPSCR7GS-CQQ30d6t.js} +3 -3
- package/dist/assets/{SummaryCard-194UToy6-UI_LM1oG.js → SummaryCard-DdYMAiws-C4w7QxN_.js} +1 -1
- package/dist/assets/{TaskManagementPage-zcxDUo0t-Do3_cxqD.js → TaskManagementPage-9OEooDk9-BnhlYqUu.js} +21 -21
- package/dist/assets/{TimeRangeSwitcher-Bsv7zQmN-uGCucrEy.js → TimeRangeSwitcher-BG9h3Mws-BXPl7KzE.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-DtxsNy1Z-Dby2t82a.js → TimeframeSwitcher-BlkN2ln5-CbPVM8iC.js} +6 -6
- package/dist/assets/{TimeframeSwitcherWithToggle-B5bFhbvL-Ba9NENkn.js → TimeframeSwitcherWithToggle-r8YzbhCn-DALUFB9M.js} +2 -2
- package/dist/assets/{TopExCard-CBua66Cj-iZDx6oGD.js → TopExCard-CDAkgH2B-DQW-zWxw.js} +4 -4
- package/dist/assets/{TopExDetailPage-DtMA-XMp-BkiYCTbM.js → TopExDetailPage-BN9IdTkO-DE8PmHT3.js} +11 -11
- package/dist/assets/{TransactionActivityLogPage-C3BPL8hi-B6EDUUtr.js → TransactionActivityLogPage-CTl6Lo3h-Dr0PqgiK.js} +5 -5
- package/dist/assets/{TransactionDetailPage-CeKaduBe-w8WXAz1Q.js → TransactionDetailPage-DSR3itvE-B47s770o.js} +1 -1
- package/dist/assets/{TransactionList-CSx8ZCZ--fRx-iJTn.js → TransactionList-wLBz-A1j-R5pqCBUj.js} +7 -7
- package/dist/assets/{TransactionListBig-B4cNQY2d-jRs-SXs3.js → TransactionListBig-BA00B8Vn-B52eXfHk.js} +4 -4
- package/dist/assets/{TransactionListPage-DHr64V-b-Bgsdc044.js → TransactionListPage-Dyi4SMpD-Bm97EAJv.js} +2 -2
- package/dist/assets/{TransactionVendorDetailPage-DsxI8U5b-fUCL3Z3e.js → TransactionVendorDetailPage-6HbXn17w-COo-5ffY.js} +3 -3
- package/dist/assets/{TransferDrawerPage-C91TQwZi-CLRJKfIG.js → TransferDrawerPage-GnqDJJ7x-u45NHhBy.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-BoBn_gtF-BBlPDTVn.js → TreasuryOverviewPage-7s3XhxYc-CoT8RYIQ.js} +14 -14
- package/dist/assets/{TreasuryPromoPage-CQ-VYEQC-DJZXY5PM.js → TreasuryPromoPage-DFnHMTJ--CP3RuQCD.js} +9 -9
- package/dist/assets/{TreasuryStatementsPage-taTRE54D-BRQPl-FH.js → TreasuryStatementsPage-BdUYirAC-Duwk2wsH.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-Cxhr51TD-BVmTKq55.js → TreasuryTaxLetterPage-fX08Nflm-B-GslDLQ.js} +2 -2
- package/dist/assets/{TrendChart-DATgAEKG-D5uXuHxg.js → TrendChart-mamZxFEf-DPlJCKYL.js} +2 -2
- package/dist/assets/{TrendWithTransactions-DqPFuOvC-4qpshT4h.js → TrendWithTransactions-fGuXIDf7-HyuIbA66.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-BQjXazj4-B0137uG5.js → UncategorizedAccountsMappingPage-FPf4YpN2-Cp3ASbXZ.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-BiRGRtpI-Da_V8y5a.js → UnitIntegrationPage-BcIYQ6E_-B6tBJIS1.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-DCldWCol-DXBSIbWE.js → UploadAdditionalDocumentOverlay-CFiPe--u-DrxhGkyT.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-BpkAiYTA-52BaGnWz.js → Vendor2FAPopup-BreN6fS3-FjXbhU9D.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-CP2mHGE7-CG1YPLHx.js +1 -0
- package/dist/assets/{VendorDetailPage-DY4iaLtz-BtWSn42W.js → VendorDetailPage-DXKn3qSR-Di8ThCGh.js} +1 -1
- package/dist/assets/{VendorDomesticWireDetailsPage-B5Nym5J9-BePP9h_p.js → VendorDomesticWireDetailsPage-7m-21BIT-BVTn5C6b.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-Dep7O8Uz-BwVZUQk9.js → VendorFiling1099EditablePage-D5jPoLoj-DhLrefqh.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-CJQIZn8g-Bbp8yC5s.js → VendorFirstReviewPage-Bxj_Far6-DOA9lu2j.js} +21 -21
- package/dist/assets/{VendorInternationalWireDetailsPage-CJG5RIa2-CRCBgtxB.js → VendorInternationalWireDetailsPage-DCdiiuBR-D9OAEuuJ.js} +4 -4
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-JzRuqiHJ-DYQH4bJe.js +1 -0
- package/dist/assets/{VendorsAccountsSection-D65ewlO6-C249PD4b.js → VendorsAccountsSection-BYkKSsB8-BmGLfX_G.js} +3 -3
- package/dist/assets/{VerifyDevice-B1_jgwgY-CLr_hT2k.js → VerifyDevice-DxoL8hYf-Cowpahhc.js} +1 -1
- package/dist/assets/{VideoPlayer-vWSXteQ6-fekEOFO-.js → VideoPlayer-ByXKIag5-BZsoWnFe.js} +2 -2
- package/dist/assets/{VideoPopup-CdsmU6H4-BPO5jUC8.js → VideoPopup-DybLGmZL-CNsVI5bc.js} +3 -3
- package/dist/assets/{WarningsDrawerPage-CjgOsD00-De28p6M4.js → WarningsDrawerPage-Ddp3wpvG-CdbbY6NF.js} +3 -3
- package/dist/assets/{ZeniAccountDetailPage-DiLnoonB-COe08RHM.js → ZeniAccountDetailPage-C-B9h3wI-CKYwhajY.js} +17 -17
- package/dist/assets/{ZeniAccountListViewPage-YfPsO8ls-Ds9pwvuL.js → ZeniAccountListViewPage-CWvKejM--BPGukJA_.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-CHStBvRa-BqDqY_na.js → ZeniAccountNavBarPieces-xyI5r3gJ-CbIslzwK.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-cEfW88p8-BhWQ-XmY.js → ZeniAccountPromoPage-ClU5aJ3_-4ixwSQil.js} +5 -5
- package/dist/assets/{ZeniAccountSetupPage-B20DHYex-D-hB-cgI.js → ZeniAccountSetupPage-BF6_J9le-DCR58vNJ.js} +1 -1
- package/dist/assets/{ZeniCopyright-BROHmszx-BFJ7fRMA.js → ZeniCopyright-CyBZnbZa-D5SmAZYL.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DZZrrFXf-Cq4B23lv.js → ZeniTransferAmountSlider-QODQj6J3-nB7ivh3S.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-AfkxTSja.js → add-to-wallet-DgdBD8_G-l6e6C-pa.js} +1 -1
- package/dist/assets/{analytics-Dz3HJTKp.js → analytics-DGcxWyl6.js} +1 -1
- package/dist/assets/analyticsHelper-BcBQi1qY.js +1 -0
- package/dist/assets/{analyticsHelper-FJ-cS8qS-D_9plNYH.js → analyticsHelper-HEUQhbuJ-Cq2Mtjgc.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-DDEpjXQ7.js → arrow-south-east-round-PEovUgvH-C0A9x354.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-CB2yKaeg.js → auto-transfer-rule-mbafm5D3-CC0rbz99.js} +1 -1
- package/dist/assets/chartTypes-CnipzTeX-DGSU_TZ0.js +1 -0
- package/dist/assets/{commonDimensions-BpYNnQtf-GFURsh40.js → commonDimensions-DmFc7WqO-CxyyXmLy.js} +1 -1
- package/dist/assets/{commonTypes-BVbA7QjV-C2OAdMb3.js → commonTypes-CU0qY6Px-ZdnVolMx.js} +1 -1
- package/dist/assets/{constants-D8qNj5Es.js → constants-jbgzJYdx.js} +1 -1
- package/dist/assets/{core-xud19niX.js → core-BMaLzXUJ.js} +1 -1
- package/dist/assets/{dash.all.min-Dmsiq7DL.js → dash.all.min-DmpFQIVa.js} +1 -1
- package/dist/assets/{detailCommon-BRja9H93-CS4qaApq.js → detailCommon-x-UFksNz-DKaz3zHe.js} +1 -1
- package/dist/assets/{downloadPdf-WDHjFv79-CGfEvBvA.js → downloadPdf-D1grj9oX-Bei5Wpqc.js} +1 -1
- package/dist/assets/{empty-BU3-uTyA.js → empty-CxyNypVD.js} +1 -1
- package/dist/assets/{empty-ClP26WFk.js → empty-DJguQx7A.js} +1 -1
- package/dist/assets/{epic-ff9tSPeN.js → epic-DJmh-RNR.js} +2 -2
- package/dist/assets/{gift-box-Cmt9OgIZ-Ba1CSAo6.js → gift-box-Cmt9OgIZ-ZuOwWA2g.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-CATaPbQ1.js → graphic-no-data-l-DU4J8fDt-CR5EZc8Z.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-B_yV26zM.js → graphic-no-data-net-burn-l-CzmycA0m-BhBXhGOx.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-CxOrxIUO.js → handshake-BPg58FML-DiPOUMao.js} +1 -1
- package/dist/assets/{index-CT3iqTha.js → index-C3zM8gb6.js} +1 -1
- package/dist/assets/{index-2wNtQNIE.js → index-CQmr12-Z.js} +1 -1
- package/dist/assets/{index-_dimXoCh.js → index-DKka6liW.js} +1 -1
- package/dist/assets/{index-DJjwW14X.js → index-DPwk4vO3.js} +1 -1
- package/dist/assets/{index-D6iLD7c3.js → index-Dw_2FdYw.js} +1 -1
- package/dist/assets/{index-6sX8sCRU.js → index-rJQoaAfw.js} +669 -669
- package/dist/assets/{index-ovnKg3OB.js → index-tuFs6sMC.js} +1 -1
- package/dist/assets/{lexical-CFjIG720.js → lexical-CyZM9SwL.js} +1 -1
- package/dist/assets/{liveblocks-BAOmiMpj.js → liveblocks-CohL7dW6.js} +1 -1
- package/dist/assets/{lottie-cQKxXDSP.js → lottie-XKgYVRq1.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-C_5Bb47i-DD_ATbZD.js → mapLoadingInProgressToTreeNode-gyu3qs1Z-SebMrCb0.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BlrJTKah-hwelD0Z1.js → mapSectionWithAcOnlyToTreeNode-SPabSQrM-Cf3ilJGA.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-DvdWKHfX-BsRKsR7W.js → mapSpacerToTreeNode-D_rRYkys-BvhCp_uR.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-8JwIYBnd-DXtmYfY7.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-BwS2KbWd-CAuCdcVv.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CCAWuSrJ-B5KhCzdx.js +1 -0
- package/dist/assets/{mui-BKJrVh4W.js → mui-KNfEk2A1.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-D1XFg97i.js → page-detail-CWX5S47F-BLbwsJjf.js} +1 -1
- package/dist/assets/{panelSelectedMixin-CzfD5-Zs-BLfsH1I8.js → panelSelectedMixin-CzfD5-Zs-PdsDXPWw.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-CU3HgAhI.js → radio-default-CiSgisfh-_DAtDxCX.js} +1 -1
- package/dist/assets/{react-CN5Npsqf.js → react-CPz-xjGo.js} +2 -2
- package/dist/assets/{react-CrEDpago.js → react-CX71OnYA.js} +1 -1
- package/dist/assets/{react-DsYqgnFz.js → react-Cbh1mkS2.js} +1 -1
- package/dist/assets/{react-B_dpn2x_.js → react-CfuDRhRn.js} +1 -1
- package/dist/assets/{react-CPPpMWlr.js → react-DOhUJ6O2.js} +1 -1
- package/dist/assets/{react-CLJLIrqx.js → react-H0CMmi2N.js} +1 -1
- package/dist/assets/{react-B_IkKKOF.js → react-KKmCM6TX.js} +1 -1
- package/dist/assets/{react-4VjXw9yg.js → react-wx6Np1L0.js} +1 -1
- package/dist/assets/{recharts-07URl5uF.js → recharts-D8Mh9GJw.js} +1 -1
- package/dist/assets/{sentry-BsWDfhY_.js → sentry-CGE1ab0x.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-DW8TK-Jl.js → shield-DOlUxcFf-BeHXxYmi.js} +1 -1
- package/dist/assets/toCOABalancesWithID-BcVCEfwr-D-kim1rY.js +1 -0
- package/dist/assets/{toChartData-B3ouXKAd-DqPDcbms.js → toChartData-VTidOIL7-CTZNeqK0.js} +1 -1
- package/dist/assets/{uploadAttachment-DNNG-CMy-C0-pn6r-.js → uploadAttachment-CwSRD9la-Dwn2_OC8.js} +1 -1
- package/dist/assets/{uploadReceipts-Dge0cNF1-DDO6BRYH.js → uploadReceipts-Dge0cNF1-COPT6pnG.js} +1 -1
- package/dist/assets/{url-B-qq-bwJ.js → url-CxS4k21H.js} +1 -1
- package/dist/assets/{url-CPnr4zl0.js → url-D3fzoRiq.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-DDMxNeC6.js → useLongPress-GCK2COYQ-YmFx62lI.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-CIbBacHX.js → usp-line-BBd1wKwW-lvUUHuIi.js} +1 -1
- package/dist/assets/{utils-lvnYc7Lx.js → utils-Co3Y654K.js} +1 -1
- package/dist/assets/{zeni-epic-state-DEUUJaZy.js → zeni-epic-state-CiJSQQSe.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/AccountInfoPage-DF6IU0EG-CpTk1WUV.js +0 -18
- package/dist/assets/AddAddressForCardDrawer-DNGQGGYg-Bf67FiSu.js +0 -6
- package/dist/assets/BillPayApprovalRuleDetailPage-UeVxIxfF-dC_CchwE.js +0 -27
- package/dist/assets/ChargeCardPromoPage-DuQe7BpX-C5KRheHX.js +0 -222
- package/dist/assets/CustomerOnboardingContainerPage-eR0yY2uX-BoA9sGdB.js +0 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-DMYHMJXg-BO7BCZyk.js +0 -202
- package/dist/assets/EntityDetailPage-B3TQ5hCP-uPk3J70w.js +0 -18
- package/dist/assets/LabeledDocumentField-Bjg8sNsg-Da4_7xZ7.js +0 -41
- package/dist/assets/MagicLinkACHDetailsPage-DM7EUUU7-8dRO9py4.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-DKrGgFTu-86-Eks-y.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-B3OpSWB3-B8JXsL7N.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-CphaJa4k-D3EkcDWm.js +0 -31
- package/dist/assets/MailingDetailsSection-BJfZvT0b-Dh4yo_Lj.js +0 -21
- package/dist/assets/NoDataChart-B3s_7m2n-CAPJcqJ5.js +0 -26
- package/dist/assets/NoDataTable-CMpypnTw-DT8ESeaQ.js +0 -8
- package/dist/assets/OverlayContainerPage-D4QU0p4o-bJWKRuRf.js +0 -11
- package/dist/assets/ReimbursementApprovalRuleDetailPage-llw4ONPo-DU98N3RU.js +0 -32
- package/dist/assets/SignInScreen-DEP1cN19.js +0 -1
- package/dist/assets/StatementsPage-BCh51lDW-CdawgjO3.js +0 -58
- package/dist/assets/VendorACHDetailsPage-tUuZzJnN-BytxtWo8.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DZabfieM-CGwU72CX.js +0 -1
- package/dist/assets/analyticsHelper-C5JtTAtK.js +0 -1
- package/dist/assets/chartTypes-DJdbX13L-CYrZAg19.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-88qIN3FA-DT4qEBfo.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-AkxvYRty-Btx7Wg6i.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B5MDTbLz-KZ9-cjv6.js +0 -1
- package/dist/assets/toCOABalancesWithID-Bq4Xe7az-C9YUCLvJ.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as s,aP as v,bn as E,
|
|
1
|
+
import{V as s,aP as v,bn as E,e as f,J as I,bP as b,o as t,u as T,y as $,af as R,F as N,p as u,Y as P,hQ as U,fR as L,as as O,am as W,hR as _}from"./index-rJQoaAfw.js";import{n as r}from"./mui-KNfEk2A1.js";import{P as S}from"./sentry-CGE1ab0x.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="e83c47a0-fbdb-4ff0-857a-35d57ad98897",e._sentryDebugIdIdentifier="sentry-dbid-e83c47a0-fbdb-4ff0-857a-35d57ad98897")}catch{}})();const J=r(_)`
|
|
2
2
|
/* Size is controlled by styles.root prop */
|
|
3
3
|
`,B=r.div`
|
|
4
4
|
position: relative;
|
|
@@ -22,7 +22,7 @@ import{V as s,aP as v,bn as E,d as f,J as I,bP as b,o as t,u as T,y as $,af as R
|
|
|
22
22
|
pointer-events: none;
|
|
23
23
|
z-index: 1;
|
|
24
24
|
}
|
|
25
|
-
`,F=({valueEnd:e,valueStart:i,children:o})=>{const[l,d]=S.useState(i);return S.useEffect(()=>{const n=setTimeout(()=>{d(e)},100);return()=>clearTimeout(n)},[e]),s.jsx(s.Fragment,{children:o(l)})},V=({valueEnd:e=50})=>{const i=f();return s.jsx(F,{valueStart:0,valueEnd:e,children:o=>s.jsx(B,{theme:i,children:s.jsx(
|
|
25
|
+
`,F=({valueEnd:e,valueStart:i,children:o})=>{const[l,d]=S.useState(i);return S.useEffect(()=>{const n=setTimeout(()=>{d(e)},100);return()=>clearTimeout(n)},[e]),s.jsx(s.Fragment,{children:o(l)})},V=({valueEnd:e=50})=>{const i=f();return s.jsx(F,{valueStart:0,valueEnd:e,children:o=>s.jsx(B,{theme:i,children:s.jsx(J,{value:o,strokeWidth:50,circleRatio:1,styles:{...U({pathColor:u.success,trailColor:"transparent",pathTransitionDuration:1.5,rotation:1,strokeLinecap:"butt"}),root:{width:t.sp3,height:t.sp3,position:"relative",zIndex:2,display:"flex",alignItems:"center",justifyContent:"center"}}})})})},w=({isActive:e,isCompleted:i,isDisabled:o,isError:l,isHalfCompleted:d,theme:n})=>e||i||d||l?l?u.runwayRed:n.colors.primary:o?n.colors.grey1:n.colors.hero,k=({isActive:e,isCompleted:i,isDisabled:o,isHalfCompleted:l,theme:d})=>e||i||l?d.colors.primary:o?d.colors.grey1:d.colors.hero,Y=r.div`
|
|
26
26
|
width: 100%;
|
|
27
27
|
display: flex;
|
|
28
28
|
background: ${e=>e.isActive?e.theme.colors.grey5:null};
|
|
@@ -61,9 +61,9 @@ import{V as s,aP as v,bn as E,d as f,J as I,bP as b,o as t,u as T,y as $,af as R
|
|
|
61
61
|
`,K=r.div`
|
|
62
62
|
display: flex;
|
|
63
63
|
flex-direction: column;
|
|
64
|
-
`,M=r(
|
|
64
|
+
`,M=r(O)`
|
|
65
65
|
color: ${e=>w({isActive:e.isActive,isCompleted:e.isCompleted,isDisabled:e.disabledStep,isError:e.isError,isHalfCompleted:e.isHalfCompleted,theme:e.theme})};
|
|
66
|
-
`,X=r(
|
|
66
|
+
`,X=r(W)`
|
|
67
67
|
color: ${e=>k({isActive:e.isActive,isCompleted:e.isCompleted,isDisabled:e.disabledStep,isHalfCompleted:e.isHalfCompleted,theme:e.theme})};
|
|
68
68
|
`;function ee({onboardingStep:e,isActive:i,isCompleted:o,isHalfCompleted:l,isDisabled:d,isError:n,stepText:h,stepSubText:m,onUpdateStep:g,setIsStepClicked:p,disabledSteps:a}){const c=d||a.includes(e)&&i===!1;return s.jsxs(Y,{isActive:i,isDisabled:c,isCompleted:o,isHalfCompleted:l,isError:n,onClick:d===!1?()=>{a.includes(e)&&i===!1||(p(!0),g(e))}:void 0,"data-testid":v("step-box",e),children:[s.jsx(Q,{children:n?s.jsx(q,{}):l?s.jsx(V,{}):o?s.jsx(Z,{}):s.jsx(G,{isActive:i,disabledStep:c})}),s.jsxs(K,{children:[s.jsx(M,{className:"step-content-title",isActive:i,isCompleted:o,isHalfCompleted:l,disabledStep:c,isError:n,children:h}),s.jsx(X,{className:"step-content-subtitle",isActive:i,isCompleted:o,isHalfCompleted:l,disabledStep:c,children:m})]})]})}const te=r.div`
|
|
69
69
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a8 as se,V as o,fz as Ce,J as Pe,
|
|
1
|
+
import{a8 as se,V as o,fz as Ce,J as Pe,e as be,a9 as we,aQ as xe,cF as ke,bC as Ie,o as i,aP as Ae,ac as $e,aR as Oe,bn as ve,hO as Ve,F as Te,e$ as je,f0 as oe,af as ze,y as J,al as Le,u as A}from"./index-rJQoaAfw.js";import{n as c}from"./mui-KNfEk2A1.js";import{a as $}from"./sentry-CGE1ab0x.js";import{r as Ue,t as _e}from"./PaymentAccountSetupBillingAddressSection-B6nTWyOD-gY1zpkFD.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-Nl6SOtES-B3qnBN4d.js";import"./liveblocks-CohL7dW6.js";import"./core-BMaLzXUJ.js";import"./recharts-D8Mh9GJw.js";import"./zeni-epic-state-CiJSQQSe.js";import"./lottie-XKgYVRq1.js";import"./analytics-DGcxWyl6.js";import"./lexical-CyZM9SwL.js";import"./utils-Co3Y654K.js";import"./commonTypes-CU0qY6Px-ZdnVolMx.js";import"./SetUpAccountSection-BCoHzvyG-CzNKWW7X.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="15306a1a-6d12-44a7-9f7d-86a49ea9a77f",e._sentryDebugIdIdentifier="sentry-dbid-15306a1a-6d12-44a7-9f7d-86a49ea9a77f")}catch{}})();const q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",Q={titleWidth:new J(343,580,726,826),subTitlePaddingTop:new J(A[3],A[3]),subTitlePaddingBottom:new J(A[3],A[3])},Ee=e=>`${e}_form`,De=Te.getLocalizedStrings(),Fe=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:v,googleAPIKey:V,signedInUser:P,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:z,handleConfirmCardSetupIntent:L,updateCardPaymentModalState:b,handleAddCardPaymentSource:U,resetCardPaymentViewState:_,handleResetCardPaymentErrorStatuses:B,redirectToProductSuitePage:w,onUpdateCustomerView:E,...D})=>{const m=Pe(),F=se(),{analytics:h}=F,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:W,onZeniLogoClick:G,onAddressEditHandler:x}=D,Z=be(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:O(e),values:O(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:g,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:y}=e,{customerOnboardingPage:ce,common:f}=De,{footer:ue,steps:pe}=ce,{buttons:H}=ue,ee=pe.link_payment_account,I=xe(g.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,C=je(l?.country);d={street:a[n].street??f.strings.empty,city:l?.locality??f.strings.empty,state:l?.administrativeAreaLevel1??f.strings.empty,country:C,countryCode:l?.countryCode??f.strings.empty,postalCode:l?.postalCode??f.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==C.selectedOption&&(d={...d,country:C})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};$.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&ke(()=>ge(s,a))});return()=>{t.unsubscribe()}}),$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset(O(e),{keepDirtyValues:!1})},[r,e,I,g.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??f.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=p.cardsList.length>0,d=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function fe(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=y?.street.join("").trim(),s=y?.city,d=y?.state,l=y?.country,C=y?.postalCode!=null&&y.postalCode||t.postalCode||f.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!C}const he=async()=>{const t=await r.trigger(n),a=await r.trigger(q);t&&a&&(ye(),j("link_payment_account"),E(me,!1,!0))};$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset(O(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,Y,w]);const[ae,Se]=$.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Me,{windowSize:m,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:m!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(Ge,{children:o.jsx(Ze,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:G})})}),o.jsx($e,{...r,children:o.jsx(Ne,{id:Ee(ie),children:o.jsxs(Re,{children:[o.jsx(He,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(Ue,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:q,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:N,updateCardPaymentModalState:b,cardPaymentView:p,resetCardPaymentViewState:_,cardSetupInProgress:ae,googleAPIKey:V,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx(Oe,{formId:`${ie}`,leftSideComponent:o.jsx(We,{windowSize:m,children:o.jsx(ve,{signedInUser:P,currentTenant:T,onLogOutClick:W})}),style:{width:m==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:he,label:H.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:H.submitText.replace("__action__",H.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(_e,{handleConfirmCardSetupIntent:L,updateCardPaymentModalState:b,handleCreateCardSetupIntent:z,handleAddCardPaymentSource:U,cardPaymentView:p,stripeKey:v,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:B,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Ke=c.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{V as l,fz as tn,J as Ke,
|
|
1
|
+
import{V as l,fz as tn,J as Ke,e as nn,a9 as an,cF as me,aQ as We,D as ft,aD as He,bC as on,o as re,ac as sn,u as Q,aR as rn,hO as ln,gd as cn,fA as yt,e$ as Ot,F as Ye,f0 as gt,y as fe,gh as ye,cJ as dn,al as pn,hP as ht,ad as St,cT as un,gf as mn}from"./index-rJQoaAfw.js";import{a as m}from"./sentry-CGE1ab0x.js";import{n as P,k as wt}from"./mui-KNfEk2A1.js";import{bi as j}from"./zeni-epic-state-CiJSQQSe.js";import{r as Ct,t as fn}from"./PaymentAccountSetupBillingAddressSection-B6nTWyOD-gY1zpkFD.js";import{b as bt,f as yn,a as It}from"./CustomerOnboardingDetailPageSkeleton-Nl6SOtES-B3qnBN4d.js";import{z as gn,n as hn}from"./CompanyOfficerDetailsSection-wa4YnlL--Bvat7gA-.js";import{t as Sn}from"./QBOSetupSection-CZu_mtMP-CZBINdYC.js";import"./liveblocks-CohL7dW6.js";import"./core-BMaLzXUJ.js";import"./recharts-D8Mh9GJw.js";import"./lottie-XKgYVRq1.js";import"./analytics-DGcxWyl6.js";import"./lexical-CyZM9SwL.js";import"./utils-Co3Y654K.js";import"./commonTypes-CU0qY6Px-ZdnVolMx.js";import"./SetUpAccountSection-BCoHzvyG-CzNKWW7X.js";import"./LabeledAddressValueField-DyHTdGlm-CErilABA.js";import"./LabeledCountryMultiSelectField-Ds0vvyNd-ypZKY9co.js";import"./LabeledCreatableSingleSelectField-C-dLOvWU-28KwULO3.js";import"./LabeledDocumentField-b5xujqjK-HTjOeiZT.js";import"./LabeledMultiSelectField-CEoszkBN-B4_Me-4T.js";import"./QBOConnectionDialog-qqbamtpL-BeJJQ440.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new n.Error().stack;C&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[C]="c32ee4ab-e90a-44d8-866d-c698830a89c4",n._sentryDebugIdIdentifier="sentry-dbid-c32ee4ab-e90a-44d8-866d-c698830a89c4")}catch{}})();const Cn=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:r,isVerificationPopupOpen:g,setIsVerificationPopupOpen:N,verifiedPhoneNumber:O,onPhoneVerified:h,...w})=>{const y=Ke(),A=n?.companyOfficers.slice(0,10).sort((I,ee)=>I.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:c}=Ye.getLocalizedStrings().customerOnboardingPage.sections,{title:v}=c,D=n?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(bn,{children:l.jsx(hn,{companyOfficerData:C,allOfficers:A??[],allNationalityCountries:r,sectionHeader:v,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:D,showInfoTooltip:y!=="small",showCompletedIcon:y==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:O,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:N,...w})})},bn=P.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
justify-content: center;
|
|
5
|
-
`,In=({allNationalityCountries:n,fileProps:C,companyDetails:r,companyIndustries:g,sectionId:N,isCompleted:O,isDisabled:h,style:w,onCompanyAddressClick:y,onRegisteredAddressClick:
|
|
5
|
+
`,In=({allNationalityCountries:n,fileProps:C,companyDetails:r,companyIndustries:g,sectionId:N,isCompleted:O,isDisabled:h,style:w,onCompanyAddressClick:y,onRegisteredAddressClick:A})=>{const c=Ke(),{company_details:v}=Ye.getLocalizedStrings().customerOnboardingPage.sections,{title:D}=v;return l.jsx(Pn,{children:l.jsx(gn,{fileProps:C,companyDetails:r,sectionId:N,isDisabled:h,style:w,sectionHeader:D,productType:"onboarding",showInfoTooltip:c!=="small",showCompletedIcon:c==="small",isCompleted:O,allIndustries:g,allNationalityCountries:n,optionalFields:["companyLegalName","companyDescription","companyAddress","companyIndustry","typeOfIncorporation","stateOfIncorporation","countriesOfOperations","incDate","certificateOfIncorporation","ein","companyPhone","primaryContactName"],onCompanyAddressClick:y,onRegisteredAddressClick:A})})},Pn=P.div`
|
|
6
6
|
display: flex;
|
|
7
7
|
align-items: center;
|
|
8
8
|
justify-content: center;
|
|
@@ -10,7 +10,7 @@ import{V as l,fz as tn,J as Ke,d as nn,a9 as an,cF as me,aQ as We,C as ft,aD as
|
|
|
10
10
|
display: flex;
|
|
11
11
|
`,wn=P.input`
|
|
12
12
|
display: none;
|
|
13
|
-
`,xn=({isValid:n,sectionId:C="onboardingQboConnection",...r})=>{const{register:g}=dn();return l.jsxs(On,{children:[l.jsx(wn,{type:"hidden",...g(`${C}.connected`,{validate:N=>N==="true"}),value:n?"true":"false"}),l.jsx(Sn,{isValid:n,...r})]})},B="companyDetails",b="companyOfficer",Z="onboardingPaymentAccountSetupSection",Pt="customerOnboardingDetailPage",f="onboardingSubscriptionBillingAddress",ge="onboardingQboConnection",he={titleWidth:new fe(343,580,726,826),topNavBarHeight:new fe(52,52,63),topNavBarLeftRightSpace:new fe(Q[5],Q[9],112),subTitlePaddingTop:new fe(Q[3],Q[3]),subTitlePaddingBottom:new fe(Q[3],Q[3])},kn=n=>`${n}_form`,le=Ye.getLocalizedStrings(),Nn=({fileProps:n,isRefreshingViewInBackground:C,isAdmin:r,onboardingCustomerView:g,companyTitles:N,connectedAccountProvider:O,analytics:h,cardPaymentView:w,stripeKey:y,googleAPIKey:D,handleCreateCardSetupIntent:c,handleConfirmCardSetupIntent:v,updateCardPaymentModalState:V,handleAddCardPaymentSource:I,resetCardPaymentViewState:ee,handleResetCardPaymentErrorStatuses:_e,redirectToProductSuitePage:Se,onFormErrorsChange:T,...ve})=>{const z=Ke(),Ve=m.useRef(null),Ae=m.useRef(null),K=m.useRef(null),De=m.useRef(null),[Ce,R]=m.useState(!1),[U,q]=m.useState("next"),[F,be]=m.useState(!1),[ce,Ie]=m.useState(!1),[te,Y]=m.useState(null),{onAddressClick:ne,onCompanyDetailsChanged:Pe,onCompanyOfficerUpdated:A,onFetchLinkTokenClick:Oe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionClick:pe,onEstablishConnectionSuccess:oe,onDeleteFile:_,onEditFileName:Je,updateFilesEntity:Ge,onGetOtp:xt,onSkipSetupClick:Te,onUpdateCustomerView:$e,updateStepHandler:M,onVerifyOtp:kt,onResendOtp:Nt,handleOnConnectClick:_t,updateQBOPopupState:vt,onUpdateStep:Fe,onAddressEditHandler:Vt}=ve,At=nn(),s=an({mode:"onSubmit",reValidateMode:"onChange",defaultValues:Qe(g,g.allNationalityCountries),values:Qe(g,g.allNationalityCountries),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),W=m.useCallback(()=>{const e=[];return(s.getFieldState(Z).error!=null||s.getFieldState(f).error!=null)&&e.push("link_payment_account"),s.getFieldState(ge).error!=null&&e.push("qbo_connection"),e},[s]);m.useEffect(()=>{const e=W();T?.(e)},[W,T]),m.useEffect(()=>{const e=s.watch((t,{name:a,type:i})=>{a!=null&&(i==="change"||i==="blur")&&me(()=>{const u=W();T?.(u)})});return()=>e.unsubscribe()},[s,W,T]);const Xe=e=>{tt(e)},{companyView:se,companyDetailsLocalData:d,companyOfficerLocalData:E,currentStep:o,completedSteps:Ze,saveStatus:x,allSteps:S,allRequiredStepsCompleted:Ee,paymentAccount:H,paymentAccountStatus:et,externalConnections:Le,plaidConnectionDetails:je,uiState:Be,allNationalityCountries:we,pendingSaveDetails:{companyDetails:Dt,officer:Tt},subscriptionBillingAddress:J}=g,xe=m.useRef(""),$t=e=>{xe.current=e;const t=Object.values(g.companyOfficerLocalData).findIndex(i=>i?.isSelectedForVerification===!0)??0,a=t<0?0:t;s.clearErrors(`${b}.${a}.phone`)},tt=e=>{e!=null&&!ye(e)?s.trigger(`${b}.${G}.phone`):xt(e)},G=Object.values(E).findIndex(e=>e?.isSelectedForVerification===!0)??0,$=`Officer_${G<0?1:G+1}`,Ft=se?.companyOfficers.slice(0,10).sort((e,t)=>e.user.createTime?.isAfter(t.user.createTime)===!0?1:-1),ze=E[$]?.userId!=null?Ft?.find(e=>e.user.userId===E[$]?.userId)?.address:null,nt=E[$]?.addressStatus?.addressToCreate,ke=se?.companyAddress,at=d?.addressStatus?.addressToCreate,Re=se?.registeredAddress,ot=d?.registeredAddressStatus?.addressToCreate,{customerOnboardingPage:Et,common:p}=le,{footer:Lt,steps:jt}=Et,{buttons:st}=Lt,it=jt[o],Ue=S.length,ie=We(x.fetchState),L=We(o);function Bt(){return Le?.accounting[0]?.isValid??!1}const ue=()=>{const e=Object.values(je).some(u=>u.fetchStatus.fetchState==="Completed"),t=H?.providerVerificationStatus?.code?.includes("verified")??!1,a=w.cardsList.length>0,i=w.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return e&&t||!t&&!H&&a||!a&&!H&&i};function rt(){if(s.getFieldState(f).error)return!1;const e=s.getValues(f),t=J?.street.join("").trim(),a=J?.city,i=J?.state,u=J?.country,k=J?.postalCode!=null&&J.postalCode||e.postalCode||p.strings.empty;return!!t&&!!a&&!!i&&!!u&&!!k}const lt=We(H?.providerVerificationStatus?.code),zt=()=>{const e=d,t=[];return e?.companyLegalName!=null&&t.push("legal_name"),e?.companyDescription!=null&&e?.companyDescription!==p.strings.empty&&t.push("company_description"),e?.addressStatus?.addressToCreate!=null&&t.push("company_address"),e?.registeredAddressStatus?.addressToCreate!=null&&t.push("registered_address"),e?.website!=null&&t.push("website"),e?.companyIndustry!=null&&e?.companyIndustry!==p.strings.empty&&t.push("industry"),e?.typeOfIncorporation!=null&&e?.typeOfIncorporation!==p.strings.empty&&t.push("type_of_incorporation"),e?.incDate!=null&&t.push("inc_date"),e?.phone!=null&&t.push("phone"),e?.primaryContactLocalData?.firstName!=null&&e?.primaryContactLocalData?.lastName!=null&&t.push("primary_contact_name"),e?.primaryContactLocalData?.email!=null&&t.push("primary_contact_email"),e?.taxIdOrEIN!=null&&t.push("tax_id_or_ein"),e?.companyFiles.find(a=>a.documentType==="certificate_of_incorporation")!=null&&t.push("certificate_of_incorporation"),e?.companyFiles.find(a=>a.documentType==="tax_ein")!=null&&t.push("ein"),{completedFields:t,status:t.length===14?"complete":t.length>0?"partially_complete":"incomplete"}},Rt=()=>{const e=E[$],t=[];return e?.firstName!=null&&e.firstName!==p.strings.empty&&t.push("first_name"),e?.lastName!=null&&e.lastName!==p.strings.empty&&t.push("last_name"),e?.birthday!=null&&t.push("dob"),e?.nationalityCountryCode!=null&&t.push("nationality"),e?.addressStatus?.addressToCreate!=null&&t.push("address"),e?.phone!=null&&e.phone!==p.strings.empty&&e.isPhoneVerified===!0&&t.push("phone"),e?.titleAtCompany!=null&&e.titleAtCompany!==p.strings.empty&&t.push("company_role"),e?.ownershipInCompany!=null&&t.push("ownership"),e?.ssn!=null&&e.ssn!==p.strings.empty&&t.push("ssn"),e?.documentTypeSelectedForVerification!=null&&t.push("document_type"),e?.fileIds!=null&&e.fileIds.length>0&&t.push("document_uploaded"),{completedFields:t,status:t.length===11?"complete":t.length>0?"partially_complete":"incomplete"}};m.useEffect(()=>{lt==="pending_manual_verification"&&H?.providerVerificationStatus?.code==="manually_verified"&&h.trackOnboardingBankAccountVerified("manual")},[h,H?.providerVerificationStatus?.code,lt]);const Ut=async(e,t)=>{if(e.includes(B))Pe?.(t[B]);else if(e.includes(b))A?.(t[b]);else if(e.includes(f)&&t[f]!=null){const a=s.getValues(`${f}`).country;let i=t[f];if(e.includes(`${f}.street`)&&t[f].street!=null){const{addressValue:u}=t[f].street,k=Ot(u?.country);i={street:t[f].street??p.strings.empty,city:u?.locality??p.strings.empty,state:u?.administrativeAreaLevel1??p.strings.empty,country:k,countryCode:u?.countryCode??p.strings.empty,postalCode:u?.postalCode??p.strings.empty,secondaryInfo:t[f].secondaryInfo,suite:t[f].suite},a.selectedOption!==k.selectedOption&&(i={...i,country:k})}else e===`${f}.country`&&a.selectedOption!=null?i={...i,countryCode:gt(a.selectedOption)}:a.selectedOption!=null&&e.includes(`${f}.street`)===!1&&(i={...i,countryCode:gt(a.selectedOption)});Vt(i)}};m.useEffect(()=>{const e=s.watch((t,{name:a})=>{a!=null&&t!=null&&me(()=>Ut(a,t))});return()=>{e.unsubscribe()}}),m.useEffect(()=>{ie==="In-Progress"&&x.fetchState==="Completed"&&(s.reset(Qe(g,we),{keepDirtyValues:!1}),L==="company_details"&&o==="link_payment_account"&&!S.includes("qbo_connection")&&!g.qboConnected&&Se())},[s,g,ie,x.fetchState,we,L,o,S,Se]),m.useEffect(()=>{Ce&&ie==="In-Progress"&&x.fetchState==="Completed"&&(Te(),h.track(ft.Event.onboardingSkipAndSave))},[ie,Ce,x.fetchState,Te]),m.useEffect(()=>{te?.shouldNavigate===!0&&ie==="In-Progress"&&x.fetchState==="Completed"&&(Y(null),M(te.fromStep,te.stepDirection,!0))},[te,ie,x.fetchState,M]),m.useLayoutEffect(()=>{L!=null&&L!==o&&(S.indexOf(L)===S.indexOf(o)-1||S.indexOf(L)===Ue-1&&S.indexOf(o)===0?U!=="next"&&q("next"):(S.indexOf(L)-1===S.indexOf(o)||S.indexOf(L)===0&&S.indexOf(o)===Ue-1)&&U!=="previous"&&q("previous"))},[S,o,L,U,Ue]);const ct=()=>{const e=E[$];return!!e?.firstName||!!e?.lastName||!!e?.email||!!e?.nationalityCountryCode||!!e?.birthday||!!e?.ownershipInCompany||!!e?.phone||!!e?.ssn||!!e?.titleAtCompany||!!e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0},qt=!He(nt!=null?j(nt):null,ze!=null?j(ze):null),Mt=!He(at!=null?j(at):null,ke!=null?j(ke):null),Wt=!He(ot!=null?j(ot):null,Re!=null?j(Re):null),Ht=s.getFieldState(B).isDirty||Mt||Wt||Dt,qe=s.getFieldState(b).isDirty&&ct()||qt||Tt,dt=s.getFieldState(`${f}`).isDirty,Ne=d?.primaryContactLocalData,Qt=()=>{M(o,"previous",!0)},Kt=()=>{const e=s.getValues(f),t={street:e.street.addressString,suite:e.suite,city:e.city,state:e.state,postalCode:e.postalCode,country:e.country.selectedOption??p.strings.empty,secondaryInfo:e.secondaryInfo};h.trackOnboardingBillingAddressSave(t)},Yt=()=>{switch(Ie(!1),o){case"link_payment_account":dt?setTimeout(()=>{const e=W();T?.(e),rt()&&dt?(Kt(),$e($,!1,!0),Y({fromStep:o,shouldNavigate:!0,stepDirection:"next"})):M(o,"next",!0)},200):M(o,"next",!0);break;case"qbo_connection":M(o,"next",!0);break;case"company_officer":if(qe){const e=pt();if(me(()=>{const t=W();T?.(t)}),e.needsOtp&&e.phoneNumber&&ye(e.phoneNumber)){const t=s.formState.errors[b]?.[G<0?0:G],a=t?.phone,i=t!=null&&Object.keys(t).some(u=>u!=="phone"&&t[u]!=null);if(a!=null&&!i){Xe(e.phoneNumber);return}}e.isValid&&($e($,!1,!1),h.trackOnboardingCompanyOfficerSave(ut(),{legalName:d?.companyLegalName},Rt()),Y({fromStep:o,shouldNavigate:!0,stepDirection:"next"}))}else M(o,"next",!0);break;case"company_details":Ie(!0);{const e=!(rt()&&ue()),t=!Bt()&&S.includes("qbo_connection");if(e||t){e&&(s.trigger(`${Z}`),s.trigger(`${f}`)),t&&s.trigger(ge),me(()=>{const a=W();T?.(a)}),e?Fe("link_payment_account"):t&&Fe("qbo_connection");return}}if(Ht||qe||!Ne?.email){const e=Gt(),t=qe?pt():{isValid:!0};me(()=>{const a=W();T?.(a)}),e&&t.isValid?(Ee&&(R(!0),Xt()),$e($,!Ee,!1),h.trackOnboardingCompanyDetailsSave({companyDescription:d?.companyDescription,legalName:d?.companyLegalName,industry:d?.companyIndustry??p.strings.empty,incDate:d?.incDate?.toString(),phone:d?.phone,website:d?.website?.toString(),formattedAddress:d?.addressStatus?.addressToCreate!=null?j(d?.addressStatus?.addressToCreate):void 0},zt(),{firstName:Ne?.firstName,lastName:Ne?.lastName,email:Ne?.email}),Y({fromStep:o,shouldNavigate:!0,stepDirection:"next"})):t.isValid||Fe("company_officer")}else Ee?Jt():M(o,"next",!0);break}},Jt=()=>{x.fetchState!=="In-Progress"&&(Te(),h.track(ft.Event.onboardingSkipAndSave))},pt=()=>{const e=E[$],t=e?.email??p.strings.empty,a=e?.phone??p.strings.empty,i=e?.ssn??p.strings.empty,u=e?.ownershipInCompany,k=G<0?0:G,en=!!e?.firstName&&!!e?.lastName;let X=!0,mt=!1;return t&&!en&&(s.trigger([`${b}.${k}.name.firstName`,`${b}.${k}.name.lastName`],{shouldFocus:o==="company_officer"}),X=!1),(!t&&ct()||St.test(t)===!1)&&(s.trigger(`${b}.${k}.email`,{shouldFocus:o==="company_officer"}),X=!1),a&&ye(a)===!1&&(s.trigger(`${b}.${k}.phone`,{shouldFocus:o==="company_officer"}),X=!1),a&&ye(a)===!0&&O==="unit"&&(xe.current!==""&&a===xe.current||(mt=!0,s.setError(`${b}.${k}.phone`,{type:"custom",message:le.commonSetUp.businessVerification.phoneValidationError},{shouldFocus:o==="company_officer"}),X=!1)),u!=null&&u>100&&(s.trigger(`${b}.${k}.ownership`,{shouldFocus:o==="company_officer"}),X=!1),i&&mn.test(i)===!1&&(s.trigger(`${b}.${k}.ssn`,{shouldFocus:o==="company_officer"}),X=!1),{isValid:X,needsOtp:mt,phoneNumber:a}},Gt=()=>{const e=d?.website?.toString()??p.strings.empty,t=d?.phone??p.strings.empty,a=d?.taxIdOrEIN??p.strings.empty,i=d?.primaryContactLocalData?.email??p.strings.empty;let u=!0;return e&&ht.test(e)===!1&&(s.trigger(`${B}.companyWebsite`,{shouldFocus:o==="company_details"}),u=!1),ht.lastIndex=0,t&&ye(t)===!1&&(s.trigger(`${B}.companyPhone`,{shouldFocus:o==="company_details"}),u=!1),(!i||St.test(i)===!1)&&(s.trigger(`${B}.primaryContactEmail`,{shouldFocus:o==="company_details"}),u=!1),a&&un.test(a)===!1&&(s.trigger(`${B}.companyTaxId`,{shouldFocus:o==="company_details"}),u=!1),u},ut=()=>{const e=E[$];return{email:e?.email??p.strings.empty,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?j(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification}},Xt=()=>{const e=d?.primaryContactLocalData;h.trackBusinessVerificationSave(ut(),{companyDescription:d?.companyDescription,legalName:d?.companyLegalName,phone:d?.phone,website:d?.website?.toString(),industry:d?.companyIndustry??p.strings.empty,formattedAddress:d?.addressStatus?.addressToCreate!=null?j(d?.addressStatus?.addressToCreate):void 0},{firstName:e?.firstName,lastName:e?.lastName,email:e?.email},"onboarding")},[Me,Zt]=m.useState(!1);return l.jsxs(Vn,{children:[l.jsxs(An,{windowSize:z,children:[S.indexOf(o)>=0?l.jsx(on,{title:it.sectionTitle,showBackButton:!1,backgroundColor:At.colors.grey4,style:{zIndex:4},showLeftSection:z!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:re.sp0,paddingBottom:re.sp0},source:"CustomerOnboardingDetailPage"}):l.jsx(Dn,{windowSize:z,children:l.jsx($n,{windowSize:z,children:l.jsx(Tn,{})})}),l.jsx(sn,{...s,children:l.jsx(En,{id:kn(Pt),children:S.map(e=>{let t;t=l.jsx(Ct,{connectedAccountProvider:O,paymentAccount:H,accountStatus:et,plaidConnectionDetails:je,sectionId:Z,hasError:s.getFieldState(Z).error!=null||ce&&!ue(),isValid:ue(),analytics:h,onFetchLinkTokenClick:Oe,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,cardPaymentView:w,resetCardPaymentViewState:ee,updateCardPaymentModalState:V,cardSetupInProgress:Me,subscriptionBillingAddressSectionId:f});let a=Ve;switch(e){case"link_payment_account":t=l.jsx(Ct,{connectedAccountProvider:O,paymentAccount:H,accountStatus:et,plaidConnectionDetails:je,subscriptionBillingAddressSectionId:f,sectionId:Z,hasError:s.getFieldState(Z).error!=null||ce&&!ue(),isValid:ue(),analytics:h,onFetchLinkTokenClick:Oe,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,updateCardPaymentModalState:V,cardPaymentView:w,resetCardPaymentViewState:ee,cardSetupInProgress:Me,googleAPIKey:D,subscriptionBillingAddress:J});break;case"qbo_connection":t=l.jsx(xn,{sectionId:ge,hasError:s.getFieldState(ge).error!=null,isAdmin:r,isValid:Le?.accounting[0]?.isValid??!1,companyName:se?.company.company.companyInfo.companyLegalName,saveConnectionState:Le?.saveConnectionState,isQBOPopupOpen:Be.isQBOPopupOpen,handleOnConnectClick:_t,updateQBOPopupState:vt}),a=Ae;break;case"company_officer":t=l.jsx(Cn,{companyOfficerLocalData:E,allNationalityCountries:we,isCompleted:Ze.includes("company_officer"),companyView:se,sectionId:b,filesEndPoint:n.filesEndPoint,authParams:n.authParams,isRefreshingViewInBackground:C,companyTitles:N,isVerificationPopupOpen:F,setIsVerificationPopupOpen:be,onGetOtp:Xe,onVerifyOtp:kt,onResendOtp:Nt,onOfficerAddressClick:i=>ne(i,ze?.addressId),updateFilesEntity:Ge,onEditFileName:Je,onDeleteFile:_,verifiedPhoneNumber:xe.current,onPhoneVerified:$t,isDisabled:x.fetchState==="In-Progress"?"readonly":void 0,triggerError:tt}),a=De;break;case"company_details":t=l.jsx(In,{fileProps:{...n,onEditFileName:Je,onDeleteFile:_,updateFilesEntity:Ge},allNationalityCountries:we,sectionId:B,companyIndustries:g.companyIndustries,companyDetails:d,isDisabled:x.fetchState==="In-Progress"?"readonly":void 0,isCompleted:Ze.includes("company_details"),onCompanyAddressClick:i=>{const u=se?.company.company.companyOnboardingInfo.subscriptionBillingAddressId;ke?.addressId==null&&u!=null?ne(i,u):ne(i,ke?.addressId)},onRegisteredAddressClick:i=>ne(i,Re?.addressId)}),a=K;break}return l.jsxs(Fn,{ref:a,isVisible:o===e,includeAnimation:o==="link_payment_account"||o==="qbo_connection"?!Be.isQBOPopupOpen:o==="company_officer"?!F:!0,paddingBottom:e==="company_details"||e==="company_officer"?Q[6]:Q[0],stepAnimationDirection:U,children:[S.indexOf(o)>=0?l.jsx(Ln,{windowSize:z,children:it.sectionSubTitle}):null,t]},e)})})}),l.jsx(rn,{formId:`${Pt}`,style:{width:z==="small"?"auto":"100%",paddingTop:re.sp2,paddingBottom:re.sp2},primaryBtn:{onClick:Yt,label:o==="company_details"?p.footer.submit:st.next,isLoading:x.fetchState==="In-Progress",isDisabled:x.fetchState==="In-Progress"},cancelBtn:{onClick:Qt,label:st.back,isDisabled:x.fetchState==="In-Progress"||S.indexOf(o)===0},containerStyle:{width:"auto",justifyContent:"center"},showCancel:!0})]}),l.jsx(fn,{handleConfirmCardSetupIntent:v,updateCardPaymentModalState:V,handleCreateCardSetupIntent:c,handleAddCardPaymentSource:I,cardPaymentView:w,stripeKey:y,isCardPaymentOpen:Be.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:_e,cardSetupInProgress:Me,setCardSetupInProgress:Zt})]})},_n=wt`
|
|
13
|
+
`,xn=({isValid:n,sectionId:C="onboardingQboConnection",...r})=>{const{register:g}=dn();return l.jsxs(On,{children:[l.jsx(wn,{type:"hidden",...g(`${C}.connected`,{validate:N=>N==="true"}),value:n?"true":"false"}),l.jsx(Sn,{isValid:n,...r})]})},B="companyDetails",b="companyOfficer",Z="onboardingPaymentAccountSetupSection",Pt="customerOnboardingDetailPage",f="onboardingSubscriptionBillingAddress",ge="onboardingQboConnection",he={titleWidth:new fe(343,580,726,826),topNavBarHeight:new fe(52,52,63),topNavBarLeftRightSpace:new fe(Q[5],Q[9],112),subTitlePaddingTop:new fe(Q[3],Q[3]),subTitlePaddingBottom:new fe(Q[3],Q[3])},kn=n=>`${n}_form`,le=Ye.getLocalizedStrings(),Nn=({fileProps:n,isRefreshingViewInBackground:C,isAdmin:r,onboardingCustomerView:g,companyTitles:N,connectedAccountProvider:O,analytics:h,cardPaymentView:w,stripeKey:y,googleAPIKey:A,handleCreateCardSetupIntent:c,handleConfirmCardSetupIntent:v,updateCardPaymentModalState:D,handleAddCardPaymentSource:I,resetCardPaymentViewState:ee,handleResetCardPaymentErrorStatuses:_e,redirectToProductSuitePage:Se,onFormErrorsChange:T,...ve})=>{const z=Ke(),De=m.useRef(null),Ve=m.useRef(null),K=m.useRef(null),Ae=m.useRef(null),[Ce,R]=m.useState(!1),[U,q]=m.useState("next"),[F,be]=m.useState(!1),[ce,Ie]=m.useState(!1),[te,Y]=m.useState(null),{onAddressClick:ne,onCompanyDetailsChanged:Pe,onCompanyOfficerUpdated:V,onFetchLinkTokenClick:Oe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionClick:pe,onEstablishConnectionSuccess:oe,onDeleteFile:_,onEditFileName:Je,updateFilesEntity:Ge,onGetOtp:xt,onSkipSetupClick:Te,onUpdateCustomerView:$e,updateStepHandler:M,onVerifyOtp:kt,onResendOtp:Nt,handleOnConnectClick:_t,updateQBOPopupState:vt,onUpdateStep:Fe,onAddressEditHandler:Dt}=ve,Vt=nn(),s=an({mode:"onSubmit",reValidateMode:"onChange",defaultValues:Qe(g,g.allNationalityCountries),values:Qe(g,g.allNationalityCountries),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),W=m.useCallback(()=>{const e=[];return(s.getFieldState(Z).error!=null||s.getFieldState(f).error!=null)&&e.push("link_payment_account"),s.getFieldState(ge).error!=null&&e.push("qbo_connection"),e},[s]);m.useEffect(()=>{const e=W();T?.(e)},[W,T]),m.useEffect(()=>{const e=s.watch((t,{name:a,type:i})=>{a!=null&&(i==="change"||i==="blur")&&me(()=>{const u=W();T?.(u)})});return()=>e.unsubscribe()},[s,W,T]);const Xe=e=>{tt(e)},{companyView:se,companyDetailsLocalData:d,companyOfficerLocalData:E,currentStep:o,completedSteps:Ze,saveStatus:x,allSteps:S,allRequiredStepsCompleted:Ee,paymentAccount:H,paymentAccountStatus:et,externalConnections:Le,plaidConnectionDetails:je,uiState:Be,allNationalityCountries:we,pendingSaveDetails:{companyDetails:At,officer:Tt},subscriptionBillingAddress:J}=g,xe=m.useRef(""),$t=e=>{xe.current=e;const t=Object.values(g.companyOfficerLocalData).findIndex(i=>i?.isSelectedForVerification===!0)??0,a=t<0?0:t;s.clearErrors(`${b}.${a}.phone`)},tt=e=>{e!=null&&!ye(e)?s.trigger(`${b}.${G}.phone`):xt(e)},G=Object.values(E).findIndex(e=>e?.isSelectedForVerification===!0)??0,$=`Officer_${G<0?1:G+1}`,Ft=se?.companyOfficers.slice(0,10).sort((e,t)=>e.user.createTime?.isAfter(t.user.createTime)===!0?1:-1),ze=E[$]?.userId!=null?Ft?.find(e=>e.user.userId===E[$]?.userId)?.address:null,nt=E[$]?.addressStatus?.addressToCreate,ke=se?.companyAddress,at=d?.addressStatus?.addressToCreate,Re=se?.registeredAddress,ot=d?.registeredAddressStatus?.addressToCreate,{customerOnboardingPage:Et,common:p}=le,{footer:Lt,steps:jt}=Et,{buttons:st}=Lt,it=jt[o],Ue=S.length,ie=We(x.fetchState),L=We(o);function Bt(){return Le?.accounting[0]?.isValid??!1}const ue=()=>{const e=Object.values(je).some(u=>u.fetchStatus.fetchState==="Completed"),t=H?.providerVerificationStatus?.code?.includes("verified")??!1,a=w.cardsList.length>0,i=w.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return e&&t||!t&&!H&&a||!a&&!H&&i};function rt(){if(s.getFieldState(f).error)return!1;const e=s.getValues(f),t=J?.street.join("").trim(),a=J?.city,i=J?.state,u=J?.country,k=J?.postalCode!=null&&J.postalCode||e.postalCode||p.strings.empty;return!!t&&!!a&&!!i&&!!u&&!!k}const lt=We(H?.providerVerificationStatus?.code),zt=()=>{const e=d,t=[];return e?.companyLegalName!=null&&t.push("legal_name"),e?.companyDescription!=null&&e?.companyDescription!==p.strings.empty&&t.push("company_description"),e?.addressStatus?.addressToCreate!=null&&t.push("company_address"),e?.registeredAddressStatus?.addressToCreate!=null&&t.push("registered_address"),e?.website!=null&&t.push("website"),e?.companyIndustry!=null&&e?.companyIndustry!==p.strings.empty&&t.push("industry"),e?.typeOfIncorporation!=null&&e?.typeOfIncorporation!==p.strings.empty&&t.push("type_of_incorporation"),e?.incDate!=null&&t.push("inc_date"),e?.phone!=null&&t.push("phone"),e?.primaryContactLocalData?.firstName!=null&&e?.primaryContactLocalData?.lastName!=null&&t.push("primary_contact_name"),e?.primaryContactLocalData?.email!=null&&t.push("primary_contact_email"),e?.taxIdOrEIN!=null&&t.push("tax_id_or_ein"),e?.companyFiles.find(a=>a.documentType==="certificate_of_incorporation")!=null&&t.push("certificate_of_incorporation"),e?.companyFiles.find(a=>a.documentType==="tax_ein")!=null&&t.push("ein"),{completedFields:t,status:t.length===14?"complete":t.length>0?"partially_complete":"incomplete"}},Rt=()=>{const e=E[$],t=[];return e?.firstName!=null&&e.firstName!==p.strings.empty&&t.push("first_name"),e?.lastName!=null&&e.lastName!==p.strings.empty&&t.push("last_name"),e?.birthday!=null&&t.push("dob"),e?.nationalityCountryCode!=null&&t.push("nationality"),e?.addressStatus?.addressToCreate!=null&&t.push("address"),e?.phone!=null&&e.phone!==p.strings.empty&&e.isPhoneVerified===!0&&t.push("phone"),e?.titleAtCompany!=null&&e.titleAtCompany!==p.strings.empty&&t.push("company_role"),e?.ownershipInCompany!=null&&t.push("ownership"),e?.ssn!=null&&e.ssn!==p.strings.empty&&t.push("ssn"),e?.documentTypeSelectedForVerification!=null&&t.push("document_type"),e?.fileIds!=null&&e.fileIds.length>0&&t.push("document_uploaded"),{completedFields:t,status:t.length===11?"complete":t.length>0?"partially_complete":"incomplete"}};m.useEffect(()=>{lt==="pending_manual_verification"&&H?.providerVerificationStatus?.code==="manually_verified"&&h.trackOnboardingBankAccountVerified("manual")},[h,H?.providerVerificationStatus?.code,lt]);const Ut=async(e,t)=>{if(e.includes(B))Pe?.(t[B]);else if(e.includes(b))V?.(t[b]);else if(e.includes(f)&&t[f]!=null){const a=s.getValues(`${f}`).country;let i=t[f];if(e.includes(`${f}.street`)&&t[f].street!=null){const{addressValue:u}=t[f].street,k=Ot(u?.country);i={street:t[f].street??p.strings.empty,city:u?.locality??p.strings.empty,state:u?.administrativeAreaLevel1??p.strings.empty,country:k,countryCode:u?.countryCode??p.strings.empty,postalCode:u?.postalCode??p.strings.empty,secondaryInfo:t[f].secondaryInfo,suite:t[f].suite},a.selectedOption!==k.selectedOption&&(i={...i,country:k})}else e===`${f}.country`&&a.selectedOption!=null?i={...i,countryCode:gt(a.selectedOption)}:a.selectedOption!=null&&e.includes(`${f}.street`)===!1&&(i={...i,countryCode:gt(a.selectedOption)});Dt(i)}};m.useEffect(()=>{const e=s.watch((t,{name:a})=>{a!=null&&t!=null&&me(()=>Ut(a,t))});return()=>{e.unsubscribe()}}),m.useEffect(()=>{ie==="In-Progress"&&x.fetchState==="Completed"&&(s.reset(Qe(g,we),{keepDirtyValues:!1}),L==="company_details"&&o==="link_payment_account"&&!S.includes("qbo_connection")&&!g.qboConnected&&Se())},[s,g,ie,x.fetchState,we,L,o,S,Se]),m.useEffect(()=>{Ce&&ie==="In-Progress"&&x.fetchState==="Completed"&&(Te(),h.track(ft.Event.onboardingSkipAndSave))},[ie,Ce,x.fetchState,Te]),m.useEffect(()=>{te?.shouldNavigate===!0&&ie==="In-Progress"&&x.fetchState==="Completed"&&(Y(null),M(te.fromStep,te.stepDirection,!0))},[te,ie,x.fetchState,M]),m.useLayoutEffect(()=>{L!=null&&L!==o&&(S.indexOf(L)===S.indexOf(o)-1||S.indexOf(L)===Ue-1&&S.indexOf(o)===0?U!=="next"&&q("next"):(S.indexOf(L)-1===S.indexOf(o)||S.indexOf(L)===0&&S.indexOf(o)===Ue-1)&&U!=="previous"&&q("previous"))},[S,o,L,U,Ue]);const ct=()=>{const e=E[$];return!!e?.firstName||!!e?.lastName||!!e?.email||!!e?.nationalityCountryCode||!!e?.birthday||!!e?.ownershipInCompany||!!e?.phone||!!e?.ssn||!!e?.titleAtCompany||!!e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0},qt=!He(nt!=null?j(nt):null,ze!=null?j(ze):null),Mt=!He(at!=null?j(at):null,ke!=null?j(ke):null),Wt=!He(ot!=null?j(ot):null,Re!=null?j(Re):null),Ht=s.getFieldState(B).isDirty||Mt||Wt||At,qe=s.getFieldState(b).isDirty&&ct()||qt||Tt,dt=s.getFieldState(`${f}`).isDirty,Ne=d?.primaryContactLocalData,Qt=()=>{M(o,"previous",!0)},Kt=()=>{const e=s.getValues(f),t={street:e.street.addressString,suite:e.suite,city:e.city,state:e.state,postalCode:e.postalCode,country:e.country.selectedOption??p.strings.empty,secondaryInfo:e.secondaryInfo};h.trackOnboardingBillingAddressSave(t)},Yt=()=>{switch(Ie(!1),o){case"link_payment_account":dt?setTimeout(()=>{const e=W();T?.(e),rt()&&dt?(Kt(),$e($,!1,!0),Y({fromStep:o,shouldNavigate:!0,stepDirection:"next"})):M(o,"next",!0)},200):M(o,"next",!0);break;case"qbo_connection":M(o,"next",!0);break;case"company_officer":if(qe){const e=pt();if(me(()=>{const t=W();T?.(t)}),e.needsOtp&&e.phoneNumber&&ye(e.phoneNumber)){const t=s.formState.errors[b]?.[G<0?0:G],a=t?.phone,i=t!=null&&Object.keys(t).some(u=>u!=="phone"&&t[u]!=null);if(a!=null&&!i){Xe(e.phoneNumber);return}}e.isValid&&($e($,!1,!1),h.trackOnboardingCompanyOfficerSave(ut(),{legalName:d?.companyLegalName},Rt()),Y({fromStep:o,shouldNavigate:!0,stepDirection:"next"}))}else M(o,"next",!0);break;case"company_details":Ie(!0);{const e=!(rt()&&ue()),t=!Bt()&&S.includes("qbo_connection");if(e||t){e&&(s.trigger(`${Z}`),s.trigger(`${f}`)),t&&s.trigger(ge),me(()=>{const a=W();T?.(a)}),e?Fe("link_payment_account"):t&&Fe("qbo_connection");return}}if(Ht||qe||!Ne?.email){const e=Gt(),t=qe?pt():{isValid:!0};me(()=>{const a=W();T?.(a)}),e&&t.isValid?(Ee&&(R(!0),Xt()),$e($,!Ee,!1),h.trackOnboardingCompanyDetailsSave({companyDescription:d?.companyDescription,legalName:d?.companyLegalName,industry:d?.companyIndustry??p.strings.empty,incDate:d?.incDate?.toString(),phone:d?.phone,website:d?.website?.toString(),formattedAddress:d?.addressStatus?.addressToCreate!=null?j(d?.addressStatus?.addressToCreate):void 0},zt(),{firstName:Ne?.firstName,lastName:Ne?.lastName,email:Ne?.email}),Y({fromStep:o,shouldNavigate:!0,stepDirection:"next"})):t.isValid||Fe("company_officer")}else Ee?Jt():M(o,"next",!0);break}},Jt=()=>{x.fetchState!=="In-Progress"&&(Te(),h.track(ft.Event.onboardingSkipAndSave))},pt=()=>{const e=E[$],t=e?.email??p.strings.empty,a=e?.phone??p.strings.empty,i=e?.ssn??p.strings.empty,u=e?.ownershipInCompany,k=G<0?0:G,en=!!e?.firstName&&!!e?.lastName;let X=!0,mt=!1;return t&&!en&&(s.trigger([`${b}.${k}.name.firstName`,`${b}.${k}.name.lastName`],{shouldFocus:o==="company_officer"}),X=!1),(!t&&ct()||St.test(t)===!1)&&(s.trigger(`${b}.${k}.email`,{shouldFocus:o==="company_officer"}),X=!1),a&&ye(a)===!1&&(s.trigger(`${b}.${k}.phone`,{shouldFocus:o==="company_officer"}),X=!1),a&&ye(a)===!0&&O==="unit"&&(xe.current!==""&&a===xe.current||(mt=!0,s.setError(`${b}.${k}.phone`,{type:"custom",message:le.commonSetUp.businessVerification.phoneValidationError},{shouldFocus:o==="company_officer"}),X=!1)),u!=null&&u>100&&(s.trigger(`${b}.${k}.ownership`,{shouldFocus:o==="company_officer"}),X=!1),i&&mn.test(i)===!1&&(s.trigger(`${b}.${k}.ssn`,{shouldFocus:o==="company_officer"}),X=!1),{isValid:X,needsOtp:mt,phoneNumber:a}},Gt=()=>{const e=d?.website?.toString()??p.strings.empty,t=d?.phone??p.strings.empty,a=d?.taxIdOrEIN??p.strings.empty,i=d?.primaryContactLocalData?.email??p.strings.empty;let u=!0;return e&&ht.test(e)===!1&&(s.trigger(`${B}.companyWebsite`,{shouldFocus:o==="company_details"}),u=!1),ht.lastIndex=0,t&&ye(t)===!1&&(s.trigger(`${B}.companyPhone`,{shouldFocus:o==="company_details"}),u=!1),(!i||St.test(i)===!1)&&(s.trigger(`${B}.primaryContactEmail`,{shouldFocus:o==="company_details"}),u=!1),a&&un.test(a)===!1&&(s.trigger(`${B}.companyTaxId`,{shouldFocus:o==="company_details"}),u=!1),u},ut=()=>{const e=E[$];return{email:e?.email??p.strings.empty,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?j(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification}},Xt=()=>{const e=d?.primaryContactLocalData;h.trackBusinessVerificationSave(ut(),{companyDescription:d?.companyDescription,legalName:d?.companyLegalName,phone:d?.phone,website:d?.website?.toString(),industry:d?.companyIndustry??p.strings.empty,formattedAddress:d?.addressStatus?.addressToCreate!=null?j(d?.addressStatus?.addressToCreate):void 0},{firstName:e?.firstName,lastName:e?.lastName,email:e?.email},"onboarding")},[Me,Zt]=m.useState(!1);return l.jsxs(Dn,{children:[l.jsxs(Vn,{windowSize:z,children:[S.indexOf(o)>=0?l.jsx(on,{title:it.sectionTitle,showBackButton:!1,backgroundColor:Vt.colors.grey4,style:{zIndex:4},showLeftSection:z!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:re.sp0,paddingBottom:re.sp0},source:"CustomerOnboardingDetailPage"}):l.jsx(An,{windowSize:z,children:l.jsx($n,{windowSize:z,children:l.jsx(Tn,{})})}),l.jsx(sn,{...s,children:l.jsx(En,{id:kn(Pt),children:S.map(e=>{let t;t=l.jsx(Ct,{connectedAccountProvider:O,paymentAccount:H,accountStatus:et,plaidConnectionDetails:je,sectionId:Z,hasError:s.getFieldState(Z).error!=null||ce&&!ue(),isValid:ue(),analytics:h,onFetchLinkTokenClick:Oe,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,cardPaymentView:w,resetCardPaymentViewState:ee,updateCardPaymentModalState:D,cardSetupInProgress:Me,subscriptionBillingAddressSectionId:f});let a=De;switch(e){case"link_payment_account":t=l.jsx(Ct,{connectedAccountProvider:O,paymentAccount:H,accountStatus:et,plaidConnectionDetails:je,subscriptionBillingAddressSectionId:f,sectionId:Z,hasError:s.getFieldState(Z).error!=null||ce&&!ue(),isValid:ue(),analytics:h,onFetchLinkTokenClick:Oe,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,updateCardPaymentModalState:D,cardPaymentView:w,resetCardPaymentViewState:ee,cardSetupInProgress:Me,googleAPIKey:A,subscriptionBillingAddress:J});break;case"qbo_connection":t=l.jsx(xn,{sectionId:ge,hasError:s.getFieldState(ge).error!=null,isAdmin:r,isValid:Le?.accounting[0]?.isValid??!1,companyName:se?.company.company.companyInfo.companyLegalName,saveConnectionState:Le?.saveConnectionState,isQBOPopupOpen:Be.isQBOPopupOpen,handleOnConnectClick:_t,updateQBOPopupState:vt}),a=Ve;break;case"company_officer":t=l.jsx(Cn,{companyOfficerLocalData:E,allNationalityCountries:we,isCompleted:Ze.includes("company_officer"),companyView:se,sectionId:b,filesEndPoint:n.filesEndPoint,authParams:n.authParams,isRefreshingViewInBackground:C,companyTitles:N,isVerificationPopupOpen:F,setIsVerificationPopupOpen:be,onGetOtp:Xe,onVerifyOtp:kt,onResendOtp:Nt,onOfficerAddressClick:i=>ne(i,ze?.addressId),updateFilesEntity:Ge,onEditFileName:Je,onDeleteFile:_,verifiedPhoneNumber:xe.current,onPhoneVerified:$t,isDisabled:x.fetchState==="In-Progress"?"readonly":void 0,triggerError:tt}),a=Ae;break;case"company_details":t=l.jsx(In,{fileProps:{...n,onEditFileName:Je,onDeleteFile:_,updateFilesEntity:Ge},allNationalityCountries:we,sectionId:B,companyIndustries:g.companyIndustries,companyDetails:d,isDisabled:x.fetchState==="In-Progress"?"readonly":void 0,isCompleted:Ze.includes("company_details"),onCompanyAddressClick:i=>{const u=se?.company.company.companyOnboardingInfo.subscriptionBillingAddressId;ke?.addressId==null&&u!=null?ne(i,u):ne(i,ke?.addressId)},onRegisteredAddressClick:i=>ne(i,Re?.addressId)}),a=K;break}return l.jsxs(Fn,{ref:a,isVisible:o===e,includeAnimation:o==="link_payment_account"||o==="qbo_connection"?!Be.isQBOPopupOpen:o==="company_officer"?!F:!0,paddingBottom:e==="company_details"||e==="company_officer"?Q[6]:Q[0],stepAnimationDirection:U,children:[S.indexOf(o)>=0?l.jsx(Ln,{windowSize:z,children:it.sectionSubTitle}):null,t]},e)})})}),l.jsx(rn,{formId:`${Pt}`,style:{width:z==="small"?"auto":"100%",paddingTop:re.sp2,paddingBottom:re.sp2},primaryBtn:{onClick:Yt,label:o==="company_details"?p.footer.submit:st.next,isLoading:x.fetchState==="In-Progress",isDisabled:x.fetchState==="In-Progress"},cancelBtn:{onClick:Qt,label:st.back,isDisabled:x.fetchState==="In-Progress"||S.indexOf(o)===0},containerStyle:{width:"auto",justifyContent:"center"},showCancel:!0})]}),l.jsx(fn,{handleConfirmCardSetupIntent:v,updateCardPaymentModalState:D,handleCreateCardSetupIntent:c,handleAddCardPaymentSource:I,cardPaymentView:w,stripeKey:y,isCardPaymentOpen:Be.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:_e,cardSetupInProgress:Me,setCardSetupInProgress:Zt})]})},_n=wt`
|
|
14
14
|
from {
|
|
15
15
|
transform: translateY(100%);
|
|
16
16
|
opacity: 0;
|
|
@@ -28,7 +28,7 @@ import{V as l,fz as tn,J as Ke,d as nn,a9 as an,cF as me,aQ as We,C as ft,aD as
|
|
|
28
28
|
transform: translateY(0);
|
|
29
29
|
opacity: 1;
|
|
30
30
|
}
|
|
31
|
-
`,
|
|
31
|
+
`,Dn=P.div`
|
|
32
32
|
display: flex;
|
|
33
33
|
flex-direction: column;
|
|
34
34
|
align-items: center;
|
|
@@ -40,7 +40,7 @@ import{V as l,fz as tn,J as Ke,d as nn,a9 as an,cF as me,aQ as We,C as ft,aD as
|
|
|
40
40
|
width: 100%;
|
|
41
41
|
padding-left: ${re.sp0};
|
|
42
42
|
}
|
|
43
|
-
`,
|
|
43
|
+
`,Vn=P.div`
|
|
44
44
|
display: flex;
|
|
45
45
|
flex-direction: column;
|
|
46
46
|
align-items: center;
|
|
@@ -57,7 +57,7 @@ import{V as l,fz as tn,J as Ke,d as nn,a9 as an,cF as me,aQ as We,C as ft,aD as
|
|
|
57
57
|
${n=>n.theme.breakpoints.down("lg")} {
|
|
58
58
|
background-size: cover;
|
|
59
59
|
}
|
|
60
|
-
`,
|
|
60
|
+
`,An=P.div`
|
|
61
61
|
display: flex;
|
|
62
62
|
flex-direction: column;
|
|
63
63
|
align-items: center;
|
|
@@ -94,7 +94,7 @@ import{V as l,fz as tn,J as Ke,d as nn,a9 as an,cF as me,aQ as We,C as ft,aD as
|
|
|
94
94
|
text-align: ${n=>n.windowSize==="small"?"initial":"center"};
|
|
95
95
|
width: 100%;
|
|
96
96
|
white-space: pre-line;
|
|
97
|
-
`,Qe=(n,C)=>{const{companyDetailsLocalData:r,companyOfficerLocalData:g,companyView:N}=n,O=le.commonSetUp.businessVerification,h=le.companyPassport,w=N?.companyOfficers!=null&&N?.companyOfficers.length>0;return{[B]:{companyDescription:r?.companyDescription??le.common.strings.empty,ein:r?.companyFiles.find(y=>y.documentType==="tax_ein"),companyId:r?.companyId,syncToken:r?.syncToken,companyLegalName:r?.companyLegalName,companyWebsite:r?.website?.toString()??le.common.strings.empty,companyAddress:r?.addressStatus?.addressToCreate,registeredAddress:r?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:r?.companyIndustry,allOptions:n.companyIndustries.map(y=>y.code)},companyPhone:r?.phone,companyTaxId:r?.taxIdOrEIN,primaryContactName:{firstName:r?.primaryContactLocalData?.firstName,lastName:r?.primaryContactLocalData?.lastName},primaryContactEmail:r?.primaryContactLocalData?.email,primaryContactUserId:r?.primaryContactLocalData?.userId,primaryContactSyncToken:r?.primaryContactLocalData?.syncToken,fileIds:r?.companyFiles.map(y=>y.fileId)??[],certificateOfIncorporation:r?.companyFiles.find(y=>y.documentType==="certificate_of_incorporation"),incDate:r?.incDate?.toDate(),typeOfIncorporation:{selectedOption:r?.typeOfIncorporation,allOptions:h.companyIncInfo.allTypesOfIncorporation}},[b]:Object.values(g).map((y,
|
|
97
|
+
`,Qe=(n,C)=>{const{companyDetailsLocalData:r,companyOfficerLocalData:g,companyView:N}=n,O=le.commonSetUp.businessVerification,h=le.companyPassport,w=N?.companyOfficers!=null&&N?.companyOfficers.length>0;return{[B]:{companyDescription:r?.companyDescription??le.common.strings.empty,ein:r?.companyFiles.find(y=>y.documentType==="tax_ein"),companyId:r?.companyId,syncToken:r?.syncToken,companyLegalName:r?.companyLegalName,companyWebsite:r?.website?.toString()??le.common.strings.empty,companyAddress:r?.addressStatus?.addressToCreate,registeredAddress:r?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:r?.companyIndustry,allOptions:n.companyIndustries.map(y=>y.code)},companyPhone:r?.phone,companyTaxId:r?.taxIdOrEIN,primaryContactName:{firstName:r?.primaryContactLocalData?.firstName,lastName:r?.primaryContactLocalData?.lastName},primaryContactEmail:r?.primaryContactLocalData?.email,primaryContactUserId:r?.primaryContactLocalData?.userId,primaryContactSyncToken:r?.primaryContactLocalData?.syncToken,fileIds:r?.companyFiles.map(y=>y.fileId)??[],certificateOfIncorporation:r?.companyFiles.find(y=>y.documentType==="certificate_of_incorporation"),incDate:r?.incDate?.toDate(),typeOfIncorporation:{selectedOption:r?.typeOfIncorporation,allOptions:h.companyIncInfo.allTypesOfIncorporation}},[b]:Object.values(g).map((y,A)=>{const c=y,v=cn(c?.documentTypeSelectedForVerification);return{userId:c?.userId,officerType:c?.officerType??`Officer_${A+1}`,name:{firstName:c?.firstName,lastName:c?.lastName},email:c?.email,fileIds:c?.fileIds??[],dob:c?.birthday?.toDate(),nationalityCountryCode:Ot(c?.nationalityCountryCode,C.map(D=>D.countryCode)),ssn:c?.ssn,role:{selectedOption:c?.titleAtCompany,allOptions:O.allTypesOfRoles},phone:c?.phone,ownership:c?.ownershipInCompany,officerAddress:c?.addressStatus?.addressToCreate,selectDocument:{front:yt(!0,c?.userFiles??[],v),back:yt(!1,c?.userFiles??[],v),selectDocumentType:v},isSelectedForVerification:!w&&A===0?!0:c?.isSelectedForVerification??!1,userVerificationStatus:c?.userVerificationStatus,syncToken:c?.syncToken,isPhoneVerified:c?.isPhoneVerified,otpChallenge:c?.otpChallenge}}),[Z]:{account:{allOptions:[],selectedOption:void 0}},[f]:ln(f,n?.subscriptionBillingAddress)[f],[ge]:{connected:n.externalConnections?.accounting[0]?.isValid??!1}}},ca=n=>{const{onboardingCustomerView:C,cardPaymentView:r,signedInUser:g,currentTenant:N,isOnAddressPage:O,stripeKey:h,googleAPIKey:w,onUpdateStep:y,onZeniLogoClick:A,handleLogOutClick:c,handleCockpitClick:v,meetingUrl:D,analytics:I,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:_e,handleFetchPaymentSources:Se,updateCardPaymentModalState:T,resetCardPaymentViewState:ve,handleResetCardPaymentErrorStatuses:z,redirectToProductSuitePage:De,...Ve}=n,{allSteps:K,completedSteps:Ae,halfCompletedSteps:Ce,currentStep:R,fetchStatus:U}=C,q=m.useRef(R),F=m.useRef(K),[be,ce]=m.useState(!1),[Ie,te]=m.useState([]),Y={allSteps:K,isOnAddressPage:O,completedSteps:Ae,halfCompletedSteps:Ce,errorSteps:Ie,currentStep:R,fetchStatus:U,signedInUser:g,currentTenant:N,onUpdateStep:V=>{y(V)},onZeniLogoClick:A,handleLogOutClick:c,handleCockpitClick:v,setIsStepClicked:ce};m.useEffect(()=>{if(q.current!==R){const V=q.current;be===!0&&(I?.trackOnboardingCurrentStep(R,V),ce(!1)),q.current=R}},[R,be,I]),m.useEffect(()=>{K.length!==F.current.length&&(F.current=K)},[K]);const ne=(V,Oe,de)=>{const ae=F.current.length,pe=F.current.indexOf(V);switch(Oe){case"next":{const oe=(pe+1)%ae,_=F.current[oe];q.current=_,y(_),de===!0?I.trackOnboardingNext(V,_):I.trackOnboardingCurrentStep(_,V);break}case"previous":{const oe=(pe+ae-1)%ae,_=F.current[oe];q.current=_,y(_),de===!0?I.trackOnboardingBack(V,_):I.trackOnboardingCurrentStep(_,V);break}}},Pe=U.fetchState==="In-Progress"||U.fetchState==="Not-Started";return l.jsx(jn,{isOnAddressPage:O,children:O?l.jsx(bt,{...Y}):l.jsxs(Bn,{children:[l.jsx(bt,{...Y}),Pe?l.jsx(yn,{isNoStepsPage:!1}):l.jsx(Nn,{onboardingCustomerView:C,analytics:I,updateStepHandler:ne,onUpdateStep:y,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:_e,updateCardPaymentModalState:T,handleFetchPaymentSources:Se,cardPaymentView:r,resetCardPaymentViewState:ve,stripeKey:h,googleAPIKey:w,handleResetCardPaymentErrorStatuses:z,redirectToProductSuitePage:De,onFormErrorsChange:te,...Ve}),Pe?null:l.jsx(tn,{isFooterRendered:!0,meetingUrl:D,analytics:I,productType:"onboarding"})]})})},jn=P.div`
|
|
98
98
|
display: flex;
|
|
99
99
|
flex-direction: column;
|
|
100
100
|
width: ${n=>n.isOnAddressPage?"fit-content":"100%"};
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import{J as D,a8 as I,aw as M,e as U,V as e,bC as W,o as t,aP as k,bn as _,fz as V,F as A,al as R,af as H,p as l,b as C,ag as N,d as J,R as Z,aq as q,a$ as X}from"./index-rJQoaAfw.js";import{a as n}from"./sentry-CGE1ab0x.js";import{n as o}from"./mui-KNfEk2A1.js";import{FX as G}from"./zeni-epic-state-CiJSQQSe.js";import K from"./ConfettiBurst-BAIozwVU-BMA4g7cW.js";import{T as Q}from"./ProductsCarousel-BXPXaIWg-Av-oVPlG.js";import"./liveblocks-CohL7dW6.js";import"./core-BMaLzXUJ.js";import"./recharts-D8Mh9GJw.js";import"./lottie-XKgYVRq1.js";import"./analytics-DGcxWyl6.js";import"./lexical-CyZM9SwL.js";import"./utils-Co3Y654K.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new i.Error().stack;p&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[p]="5f36c794-8d01-401d-a024-7012feded086",i._sentryDebugIdIdentifier="sentry-dbid-5f36c794-8d01-401d-a024-7012feded086")}catch{}})();const Y=i=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=A.getLocalizedStrings(),Me=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:f=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...L})=>{const d=D(),x=I().analytics,w=M(),S=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=L,O=U(),{customerOnboardingPage:c}=ee,h=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:F}=s,{isPayrollEnabled:g,isCfoEnabled:u,isTaxEnabled:m}=F;return g&&u&&m?[r.withTaxAndPayroll,r.withCFO]:g&&u?[r.withPayroll,r.withCFO]:g&&m?[r.taxAndPayroll]:u&&m?[r.withTax,r.withCFO]:g?[r.onlyPayroll]:u?[r.onlyCFO]:m?[r.onlyTax]:[r.default]},B=s=>{if(v(),!s)return;let r="";i?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,G(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(W,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:O.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ye,{"data-testid":k("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:f?e.jsxs(Ce,{"data-testid":k("update-to-payment-address-details"),onClick:()=>B(a),children:[e.jsx(ke,{}),e.jsx(be,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(je,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:h(a).length>1?t.sp2:t.sp1,padding:h(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(b,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:h(a)[0]})]}),e.jsx(b,{children:h(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(Q,{scale:1,showUpdatePaymentDetailButton:f,stopCarousel:y})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(ue,{className:"discover-class"})]})]}),e.jsx(me,{children:e.jsxs(fe,{children:[e.jsx(xe,{windowSize:d,children:e.jsx(_,{signedInUser:S,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(V,{isFooterRendered:!1,meetingUrl:p,analytics:x,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(K,{showConfetti:$})]})},te=o.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-items: center;
|
|
5
|
+
min-width: 100%;
|
|
6
|
+
overflow: visible;
|
|
7
|
+
`,ie=o.div`
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
align-items: center;
|
|
11
|
+
flex: 1;
|
|
12
|
+
width: 100%;
|
|
13
|
+
height: 100%;
|
|
14
|
+
min-height: 100vh;
|
|
15
|
+
background-image: ${i=>`url(https://storage.googleapis.com/zeni-apis.appspot.com/images/signin-background-${i.windowSize==="small"?"m":"w"}-${i.theme.mode==="dark"?"d":"l"}.svg)`};
|
|
16
|
+
background-color: ${i=>i.theme.colors.grey4};
|
|
17
|
+
background-size: inherit;
|
|
18
|
+
background-attachment: fixed;
|
|
19
|
+
background-position: ${i=>i.windowSize==="small"?"center center":"right center"};
|
|
20
|
+
background-repeat: no-repeat;
|
|
21
|
+
|
|
22
|
+
${i=>i.theme.breakpoints.down("lg")} {
|
|
23
|
+
background-size: cover;
|
|
24
|
+
}
|
|
25
|
+
`,oe=o.div`
|
|
26
|
+
position: fixed;
|
|
27
|
+
width: 100%;
|
|
28
|
+
top: ${t.sp0};
|
|
29
|
+
left: 0;
|
|
30
|
+
right: 0;
|
|
31
|
+
height: 62px;
|
|
32
|
+
padding: 0 ${t.sp2};
|
|
33
|
+
display: flex;
|
|
34
|
+
align-items: center;
|
|
35
|
+
justify-content: space-between;
|
|
36
|
+
z-index: 3;
|
|
37
|
+
`,re=o.div`
|
|
38
|
+
display: flex;
|
|
39
|
+
position: relative;
|
|
40
|
+
flex-direction: column;
|
|
41
|
+
align-items: center;
|
|
42
|
+
justify-content: center;
|
|
43
|
+
width: 100%;
|
|
44
|
+
margin: 86px 0 0 0;
|
|
45
|
+
`,ne=o.div`
|
|
46
|
+
position: relative;
|
|
47
|
+
display: flex;
|
|
48
|
+
align-items: center;
|
|
49
|
+
justify-content: center;
|
|
50
|
+
width: fit-content;
|
|
51
|
+
border-radius: 50px;
|
|
52
|
+
margin-bottom: ${t.sp7};
|
|
53
|
+
cursor: default;
|
|
54
|
+
overflow: hidden;
|
|
55
|
+
|
|
56
|
+
&::before {
|
|
57
|
+
content: "";
|
|
58
|
+
position: absolute;
|
|
59
|
+
top: 0;
|
|
60
|
+
right: 0;
|
|
61
|
+
bottom: 0;
|
|
62
|
+
left: 0;
|
|
63
|
+
background-color: ${l.brandColorJadeLight};
|
|
64
|
+
opacity: 0.5;
|
|
65
|
+
z-index: 0;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
> * {
|
|
69
|
+
position: relative;
|
|
70
|
+
z-index: 1;
|
|
71
|
+
}
|
|
72
|
+
`,se=o.div`
|
|
73
|
+
display: flex;
|
|
74
|
+
flex-direction: column;
|
|
75
|
+
justify-content: center;
|
|
76
|
+
width: 100%;
|
|
77
|
+
height: 100%;
|
|
78
|
+
`,b=o.div`
|
|
79
|
+
display: flex;
|
|
80
|
+
align-items: flex-start;
|
|
81
|
+
justify-content: center;
|
|
82
|
+
`,ae=o.div`
|
|
83
|
+
display: flex;
|
|
84
|
+
align-items: center;
|
|
85
|
+
justify-content: center;
|
|
86
|
+
width: ${C.largeRegular.lineHeight};
|
|
87
|
+
height: ${C.largeRegular.lineHeight};
|
|
88
|
+
border-radius: 50%;
|
|
89
|
+
outline: 1px solid ${l.brandColorJadeDark};
|
|
90
|
+
background-color: ${l.brandColorPearl};
|
|
91
|
+
`,le=o(N)`
|
|
92
|
+
width: ${t.sp3};
|
|
93
|
+
height: ${t.sp3};
|
|
94
|
+
color: ${l.brandColorSapphire};
|
|
95
|
+
`,j=o(J)`
|
|
96
|
+
color: ${l.brandColorSapphire};
|
|
97
|
+
text-align: center;
|
|
98
|
+
margin-left: ${t.sp2};
|
|
99
|
+
`,de=o.div`
|
|
100
|
+
display: flex;
|
|
101
|
+
align-items: center;
|
|
102
|
+
justify-content: center;
|
|
103
|
+
width: 100%;
|
|
104
|
+
margin-bottom: ${t.sp4};
|
|
105
|
+
cursor: default;
|
|
106
|
+
`,ce=o(Z)`
|
|
107
|
+
color: ${i=>i.theme.colors.primary};
|
|
108
|
+
text-align: center;
|
|
109
|
+
margin-left: ${t.sp2};
|
|
110
|
+
margin-right: ${t.sp2};
|
|
111
|
+
`,pe=o.div`
|
|
112
|
+
width: 1328px;
|
|
113
|
+
height: 512px;
|
|
114
|
+
display: flex;
|
|
115
|
+
align-items: center;
|
|
116
|
+
justify-content: center;
|
|
117
|
+
overflow: visible;
|
|
118
|
+
margin-bottom: ${t.sp4};
|
|
119
|
+
`,he=o.a`
|
|
120
|
+
display: flex;
|
|
121
|
+
align-items: center;
|
|
122
|
+
justify-content: center;
|
|
123
|
+
text-decoration: none;
|
|
124
|
+
width: 100%;
|
|
125
|
+
cursor: pointer;
|
|
126
|
+
color: ${l.brandColorSapphire};
|
|
127
|
+
&:hover {
|
|
128
|
+
.discover-class {
|
|
129
|
+
color: ${i=>i.theme.colors.primary};
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
`,ge=o(q)`
|
|
133
|
+
color: inherit;
|
|
134
|
+
text-align: center;
|
|
135
|
+
`,ue=o(X)`
|
|
136
|
+
width: ${t.sp3};
|
|
137
|
+
height: ${t.sp3};
|
|
138
|
+
color: inherit;
|
|
139
|
+
margin-left: 6px;
|
|
140
|
+
margin-top: ${t.sp1};
|
|
141
|
+
`,me=o.div`
|
|
142
|
+
width: 100%;
|
|
143
|
+
padding: 10px ${t.sp3};
|
|
144
|
+
position: sticky;
|
|
145
|
+
bottom: 0;
|
|
146
|
+
left: 0;
|
|
147
|
+
right: 0;
|
|
148
|
+
z-index: 3;
|
|
149
|
+
display: flex;
|
|
150
|
+
justify-content: space-between;
|
|
151
|
+
align-items: center;
|
|
152
|
+
flex-direction: column;
|
|
153
|
+
`,fe=o.div`
|
|
154
|
+
display: flex;
|
|
155
|
+
position: relative;
|
|
156
|
+
justify-content: space-between;
|
|
157
|
+
width: 100%;
|
|
158
|
+
align-items: center;
|
|
159
|
+
`,xe=o.div`
|
|
160
|
+
display: flex;
|
|
161
|
+
left: ${t.sp4};
|
|
162
|
+
bottom: ${t.sp3};
|
|
163
|
+
position: fixed;
|
|
164
|
+
justify-content: center;
|
|
165
|
+
align-items: center;
|
|
166
|
+
cursor: default;
|
|
167
|
+
`,we=o.div`
|
|
168
|
+
display: flex;
|
|
169
|
+
`,ye=o(H)`
|
|
170
|
+
height: ${t.sp4};
|
|
171
|
+
width: 102px;
|
|
172
|
+
color: ${i=>i.theme.colors.primary};
|
|
173
|
+
cursor: pointer;
|
|
174
|
+
flex-shrink: 0;
|
|
175
|
+
margin-left: -${t.sp5};
|
|
176
|
+
`,ke=o(Y)`
|
|
177
|
+
width: ${t.sp4};
|
|
178
|
+
min-width: ${t.sp4};
|
|
179
|
+
height: ${t.sp4};
|
|
180
|
+
`,Ce=o.div`
|
|
181
|
+
display: flex;
|
|
182
|
+
flex-direction: row;
|
|
183
|
+
align-items: center;
|
|
184
|
+
width: fit-content;
|
|
185
|
+
white-space: nowrap;
|
|
186
|
+
cursor: pointer;
|
|
187
|
+
color: ${i=>i.theme.colors.hero};
|
|
188
|
+
&:hover {
|
|
189
|
+
.btnText {
|
|
190
|
+
color: ${i=>i.theme.colors.primary};
|
|
191
|
+
}
|
|
192
|
+
svg {
|
|
193
|
+
color: ${i=>i.theme.colors.primary};
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
margin-right: ${t.sp2};
|
|
197
|
+
`,be=o(R)`
|
|
198
|
+
margin-left: ${t.sp2};
|
|
199
|
+
`,je=o.div`
|
|
200
|
+
width: 200px;
|
|
201
|
+
height: ${t.sp4};
|
|
202
|
+
`;export{Me as CustomerOnboardingProductSuitePage,Me as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{av as FA,aw as Ee,V as e,ax as Yt,F as Q,ay as Ht,az as Kt,o,aA as Nt,
|
|
1
|
+
import{av as FA,aw as Ee,V as e,ax as Yt,F as Q,ay as Ht,az as Kt,o,aA as Nt,D as LA,p as u,aB as Gt,aC as zt,aD as Wt,aE as Be,aF as qt,aG as Xt,aH as Vt,aI as Zt,aJ as $t,aK as _t,aL as P,J as eA,aM as N,aN as Y,aO as X,aP as D,a9 as Ar,aQ as Ke,x as Ne,ac as er,aR as tr,y as AA,aS as G,aT as tA,am as rA,aU as Ge,aV as J,aW as U,aX as qA,ao as rr,e as nA,aY as or,aZ as ar,a_ as ir,a$ as gr,ai as F,b0 as JA,u as S,aq as XA,al as PA,b1 as ze,b2 as We,b3 as qe,b4 as nr,b5 as VA,a as Cr,c as sr,b6 as Er,b7 as Xe,b8 as dr,b9 as Br,ba as ZA,bb as lr,bc as Qr,bd as Ir,be as cr,T as Ve,b as hr,bf as pr,h as mr,bg as Ze,bh as $e,an as ur,bi as xr,ag as fr,as as _e}from"./index-rJQoaAfw.js";import{a as t,P as k}from"./sentry-CGE1ab0x.js";import{n as g,a as wr,c as xA,k as R}from"./mui-KNfEk2A1.js";import{L as kr}from"./lottie-XKgYVRq1.js";import{bg as Dr,bh as At,EP as et}from"./zeni-epic-state-CiJSQQSe.js";import{v as yr}from"./DashboardSidebarBackgroundAnimation-CIKwGufL-B4WWY8cX.js";import{L as jr,k as vr}from"./ArAgingChart-6qcRcKoz-MYhKnyKG.js";import{E as br,T as de,I as tt}from"./ReloadCard-BJke_yPt-D_L8D7X-.js";import{L as Mr,O as UA,c as lA}from"./TopExCard-CDAkgH2B-DQW-zWxw.js";import{Y as Sr,X as Rr,H as Lr,P as Fr,G as Jr}from"./RevenueChart-DjTdsbym-CUUEbo6t.js";import Pr from"./InsightsCardStack-CoSz_FKI-xRb_a3yi.js";import{a as Ur}from"./AccountsPromoCardStack-hzApdgeN-DUJB0-p0.js";import{c as V}from"./SummaryCard-DdYMAiws-C4w7QxN_.js";import{t as Or,o as Tr}from"./arrow-south-east-round-PEovUgvH-C0A9x354.js";import{N as gA}from"./NavigationArrow-CNO4O4XS-DUm9WGAp.js";import{k as $A}from"./NavigationDots-BX9DbCj7-RHGokei7.js";import Yr from"./CompanyPassportCard-FgYHweiL-B5gr1lJ_.js";import{C as Hr}from"./gift-box-Cmt9OgIZ-ZuOwWA2g.js";import Kr from"./InformationCardStack-BTWe4X6t-DdN7cWvp.js";import{p as rt}from"./chartTypes-CnipzTeX-DGSU_TZ0.js";import{h as Nr}from"./toCOABalancesWithID-BcVCEfwr-D-kim1rY.js";import{V as Gr}from"./toChartData-VTidOIL7-CTZNeqK0.js";import{r as zr,i as Wr}from"./graphic-no-data-net-burn-l-CzmycA0m-BhBXhGOx.js";import{N as qr,J as Xr}from"./PromoBaseCards-C-S0ckZq-DcP7gArA.js";import{r as Vr}from"./core-BMaLzXUJ.js";import{N as Zr,I as $r}from"./VideoPlayer-ByXKIag5-BZsoWnFe.js";import _r from"./ConfettiBurst-BAIozwVU-BMA4g7cW.js";import{F as Ao,G as eo,Y as to,X as ro,R as oo}from"./recharts-D8Mh9GJw.js";import"./liveblocks-CohL7dW6.js";import"./analytics-DGcxWyl6.js";import"./lexical-CyZM9SwL.js";import"./utils-Co3Y654K.js";import"./graphic-no-data-l-DU4J8fDt-CR5EZc8Z.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new A.Error().stack;a&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[a]="a91022ad-985a-4618-b4ac-84ab3bcaffc2",A._sentryDebugIdIdentifier="sentry-dbid-a91022ad-985a-4618-b4ac-84ab3bcaffc2")}catch{}})();const ao=g(tA)`
|
|
2
2
|
color: ${A=>A.theme.colors.champion};
|
|
3
3
|
`,le=g.div`
|
|
4
4
|
display: flex;
|