@zeniai/web-cockpit-ui 1.15.61-qa → 1.15.62-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-DKTSwNyl-LasyH8TY.js → ACHDetailsPage-iiVBlQka-F4dSOsYE.js} +1 -1
- package/dist/assets/{AIPerformancePage-BzTlSxeg-SV-nm0Pd.js → AIPerformancePage-MBAB5kgB-ww-6wbBl.js} +23 -23
- package/dist/assets/AccountInfoPage-Cz9yoVl8-DKDs9tuT.js +18 -0
- package/dist/assets/{AccountInfoPageContent-B0ZnsyrQ-D8PhZ-ma.js → AccountInfoPageContent-j85psx_A-DqIaZ4Vy.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-B6A-nGIq-4DAL1g8Q.js → AccountLockedInfoModal-B1JxHllU-BAhP8Gb3.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-BTmjrd8b-DVbo1Ix6.js → AccountReconDetailsDrawerPage-DF-X46_u-D-KiS_g1.js} +1 -1
- package/dist/assets/{AccountRow-C-Iunc36-DBvIx8jC.js → AccountRow-DEtntSrL-DJ_MEu4z.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-D6xN5A4_-D77zE5gV.js → AccountsPromoCardStack-Cvixqb_6-KCmTFl6q.js} +8 -8
- package/dist/assets/{AddAddressForCardDrawer-B6tLAOA_-BHq_zhEf.js → AddAddressForCardDrawer-B1Qfn44J-YI9W3tlt.js} +1 -1
- package/dist/assets/{AddToWalletPage-Bw1oz9Y2-DZUmC0jT.js → AddToWalletPage-BLxUsh1Y-B--vy7Pt.js} +1 -1
- package/dist/assets/{AgingReportsPage-BK3PXwnr-CASHt9xj.js → AgingReportsPage-XIzuLRE4-B5qq4tiL.js} +1 -1
- package/dist/assets/{AllUserItems-B42zEFpe-s5GiPMxT.js → AllUserItems-BGMZCYUO-CLWXjt3J.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-vzW4qF2Y-CpfWBXyj.js → ApAgingDetailPage-B-1gVAu6-B543WPQ2.js} +5 -5
- package/dist/assets/{AppBasePage-yAU5vW5D-DHFVtKUl.js → AppBasePage-CYjdUgY4-CtZYH9zU.js} +1 -1
- package/dist/assets/{AppDrawerContent-nnh5cFf7-CMjmfOr6.js → AppDrawerContent-CbF8TOjd-z1qUWSMZ.js} +22 -22
- package/dist/assets/{ApprovalRulesSettingsPage-B-Y2YjpT-C_BCvONO.js → ApprovalRulesSettingsPage-RCtygkuw-QacPkDJD.js} +1 -1
- package/dist/assets/{ArAgingChart-CCc6eh55-S_33IrKQ.js → ArAgingChart-ZwWwEBJ3-CULx_eka.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-CYXVPEzK-BU2fIbnt.js → ArAgingDetailPage-DtqyngrA-BRQqtWpW.js} +4 -4
- package/dist/assets/{AttachmentView-DqrQDEWc-DY71soIj.js → AttachmentView-UxkSFZmq-BdITYnhl.js} +1 -1
- package/dist/assets/BalancesInsightWithToolTip-Co6ZUc5x-C2axpdHs.js +38 -0
- package/dist/assets/{BankAccountSection-4vXBKCFA-DP5DNcpw.js → BankAccountSection-DnBVOkJC-DYCo1C_L.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-Dhmxhwx--5W0H89vS.js → BankAccountWarningSection-D7OuLiLz-De8vglQr.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-z52fh-wH-FPcBTItk.js → BankConnectionsSettingsPage-BDLTuNLu-2FjzaHHL.js} +1 -1
- package/dist/assets/{BillDetailPage-DRpctLxu-_BK91WYE.js → BillDetailPage-V8us93cj-BWLO9-az.js} +6 -6
- package/dist/assets/{BillPayApprovalRuleDetailPage-CJtb4oOG-BFvYLoAP.js → BillPayApprovalRuleDetailPage-C_REwEVS-CL1Og8l2.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-HG32jtX9-DjB3JsLj.js → BillPayApprovalRulesPage-C6G_eDX9-CqVHJ59J.js} +1 -1
- package/dist/assets/{BillPayPromoPage-DwxNDF0k-BM139K87.js → BillPayPromoPage-CTQSknOB-Cc4fqM8R.js} +11 -11
- package/dist/assets/{BillPaySetUpPage-B-kmDrpB-CuoxknEF.js → BillPaySetUpPage-BmgMLaf--BP6R6WVT.js} +1 -1
- package/dist/assets/{BillingSettingsPage-CNZyUOpM-CINxCzwA.js → BillingSettingsPage-IHY3ak0N-B6P3TYqS.js} +8 -8
- package/dist/assets/{BillsBulkReviewDrawerPage-DbIDTE51-DECwlI1x.js → BillsBulkReviewDrawerPage-ZoFahXYa-CiyHQp_K.js} +1 -1
- package/dist/assets/{BoxItem-CIyMdw2s-XVVJMQlQ.js → BoxItem-XoWq-tnh-DHNQhLDX.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-DQ34qLUA-Cf-QQs9t.js → BusinessVerificationPage-D9HtnNOu-DYcEBbLX.js} +1 -1
- package/dist/assets/{CardNumberSubText-CN1RN7Tf-CiDN3JCH.js → CardNumberSubText-Cn0EZrNE-CM0wrvGR.js} +1 -1
- package/dist/assets/{CashbackDetailPage-CyYkVa0H-DdxuB056.js → CashbackDetailPage-Bk5ssPnj-7XF_RaX6.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-DFUAF2OM-BgWbMksD.js → ChargeCardDetailPage-Ge9Aw7PA-DdZO2Qr7.js} +1 -1
- package/dist/assets/{ChargeCardListPage-BTHDGtJ6-CqLaa6eP.js → ChargeCardListPage-BNLOoSv3-CY8y8oiH.js} +1 -1
- package/dist/assets/{ChargeCardListTable-BiKjkqVs-eIAr7zlk.js → ChargeCardListTable-BoufojYF-CbhHfWWK.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-sPGU7qmY-CObUnJq-.js → ChargeCardPaymentHistoryPage-5lUxK8pF-B-wq9f96.js} +1 -1
- package/dist/assets/ChargeCardPromoPage-CKl6K-nr-2tZKF-Be.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-DmhPAnYT-KybZFFwG.js → ChargeCardSetupPage-Dqoel2Do-CRsLjI3N.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-DUXupPSN-qe00z1Ke.js → ChargeCardStatementsPage-Dalrj66w-Cb8sSnsR.js} +2 -2
- package/dist/assets/{CheckDepositDrawerPage-C8nbDVSz-DXXZxKXE.js → CheckDepositDrawerPage-mYjv1H0f-DCDlNmxF.js} +1 -1
- package/dist/assets/{CollapsableReportTable-C_bWRP7w-CLOc6cIe.js → CollapsableReportTable-CIaa7SIH-DUaQR6Xw.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-6LXCxWYP-BquV5qkG.js → CompanyOfficerDetailsSection-BSFNYauO-46pPRwPa.js} +1 -1
- package/dist/assets/{CompanyPassportCard-DVJS9xE7-BSwLaoJL.js → CompanyPassportCard-B-mBb9Q5-F4Uihuez.js} +2 -2
- package/dist/assets/{CompanyPassportPage-FJ30paB0-D9XmnVum.js → CompanyPassportPage-Blyl_Z-c-BZhzF_4n.js} +1 -1
- package/dist/assets/{CompleteProfile-D3Im5rsm-D0LYejQY.js → CompleteProfile-ySk9I1Ut-CKEmpmJB.js} +1 -1
- package/dist/assets/{ConfettiBurst-BJrOe5Fg-CXuimrf_.js → ConfettiBurst-CeAc4Ily-BAnAm8DT.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-D5v4YKV3.js → ConstrainedInnerElement-CgdnMeoA-AhGXZZxD.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-C8dK3_XQ-jEQ5-_KT.js → CreateOrEditVendorPage-BRkqkhfw-CvdCgKpl.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-Dp5mS2Hc-D4LFxi5f.js → CreditCardPaymentDrawerPage-oUIakAtz-JE8cob78.js} +1 -1
- package/dist/assets/{CurrencySelectField-BAQ5aoHk-CkVQ5_GJ.js → CurrencySelectField-CSPhUjwG-CbS46y4A.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-D8T1akbN-BI1M5tgs.js → CustomerOnboardingActivationPage-CoOyWe6_-AEk9zf9I.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-B4YFIOQJ-D72Ge-Bo.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DSvvHqR_--2JdeKO9.js → CustomerOnboardingDetailPageSkeleton-CWNyUuRp-SVIJR56m.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CSLO3M7E-BNa4IGai.js → CustomerOnboardingNoStepsPage-DWx46Z6R-EmrN8zyB.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-weza3x24-BfiK5ih9.js → CustomerOnboardingPage-D86Sj2KP-C6oL4-UI.js} +4 -4
- package/dist/assets/{CustomerOnboardingProductSuitePage-3YH4y1e1-BbCx2wLi.js → CustomerOnboardingProductSuitePage-Bo0LFveG-BGC02MHp.js} +5 -5
- package/dist/assets/{Dashboard-Bpuy-Pez-CizTp5bB.js → Dashboard-DQLJzr16-HrILUFxV.js} +1 -1
- package/dist/assets/{DashboardReportPage-1p79NBF9-BqMdV4yL.js → DashboardReportPage-CwfTMXY5-BCOhwNNr.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-CBg2tWHO-Crx0zdqj.js → DashboardSidebarBackgroundAnimation-CUZGIAxW-B53uUCnJ.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DlztlGZL-XrsZidaU.js → DepositAccTransactionItem-Ci-LxLsk-Cvq7Prqs.js} +3 -3
- package/dist/assets/{DepositAccTransactionListPage-BO43c3Uz-Cw733HZw.js → DepositAccTransactionListPage-RG7P8vQS-eTjkUMDy.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-SEql3I0P-CeBaBHF2.js → DomesticWireDetailsPage-DsPFUOcE-DHDl-A3z.js} +1 -1
- package/dist/assets/{DownloadOverlay-PhrwF2iZ-Dkeea_GN.js → DownloadOverlay-BjTf50Dz-D4N6QPv5.js} +1 -1
- package/dist/assets/{DrawerPage-Bf3AP3Lj-B8MbNjAI.js → DrawerPage-0OFinUxM-BeuanyPY.js} +1 -1
- package/dist/assets/{EditPeoplePage-B-rBzonN-FQ9ZFzyU.js → EditPeoplePage-BKcOmYVv-C83mv0G4.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-CUiIHNgT-DYQZqNL4.js → EditReimbursementDetailPage-BFIHhQbx-0TSmBfDM.js} +1 -1
- package/dist/assets/{EntityDetailPage-CvLzsrUE-CzLHaeCU.js → EntityDetailPage-D8FzsqNk-ueFuZcdB.js} +1 -1
- package/dist/assets/{EntitySummarySection-mXeSjiuZ-Ccz1etbN.js → EntitySummarySection-ORJ2pE_k-9kH7Rcoq.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-DQCoy1O9-DSz4hp4a.js → ExpenseAutomationOverviewPage-Dzf7j2zV-Degt2Xxd.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-BeAzQ7Qx-Dd68WVBx.js → ExpenseAutomationPage-BRsKGeoM-CKXxmgRh.js} +1 -1
- package/dist/assets/{ExpressPayPage-C-isOU1b-Bp0MiR8-.js → ExpressPayPage-DlBFtMaR-CmiuwGSV.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-Cyre9YzV-BpVnmpDE.js → FeaturePreviewPage-C31F3Gmz-ZMbkf3IJ.js} +1 -1
- package/dist/assets/{FollowStepsSection-DZNWzSvo-BlQTiphW.js → FollowStepsSection-BVT2K7mu-DA6YcZ33.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-Dp--ugNc-Ch3zlxCC.js → GlobalReviewListPage-0cZe1hh0-DpbKZr1v.js} +1 -1
- package/dist/assets/{InformationCardStack-D7naFDX0-DUG3pOIL.js → InformationCardStack-t8eELRLU-D1gSzAhm.js} +1 -1
- package/dist/assets/{InsightsCardStack-DexUl4h--Bmv32nvk.js → InsightsCardStack-CJBPZbzD-u0EJRdpQ.js} +1 -1
- package/dist/assets/{InsightsSection-D9PJ55E6-CInWlueF.js → InsightsSection-tUBzsCix-DBW2f1wX.js} +2 -2
- package/dist/assets/{IntegrationsSettingsPage-hFTe3wiP-DIib5XBc.js → IntegrationsSettingsPage-Ce0yKUWI-CwwSnMj6.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-DLkE5bXp-CMwNpo0r.js → InternationalWireSwiftDetailsPage-BzR-rKaL-BzeIw0NU.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-DYGjEqNz-C8QpV2Sa.js → InternationalWireVerificationPage-7tCXdJ3Y-PmlUvuGM.js} +1 -1
- package/dist/assets/{InviteFormPage-CGAsWQn7-D0nx3dSi.js → InviteFormPage-DePVC0CH-DW3BWRhG.js} +1 -1
- package/dist/assets/{InvitePageListView-BSPE9f03-WlB_8NDk.js → InvitePageListView-ChbvDKgQ-DFIS416y.js} +1 -1
- package/dist/assets/{InvitePeoplePage-ANvLB-mB-DJlcVLuQ.js → InvitePeoplePage-DJiEzIeY-HPUqwdfw.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-OGMswY7c-DLnr944A.js → InvoiceUploadSection-BjNMjhQR-2EpUo6uK.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-sLInqAsW-C6emXXlw.js → IssueChargeCardPage-4xbGf5Ut-I5UFuDuu.js} +1 -1
- package/dist/assets/{LabeledAddressValue-DBJ236tZ-CJLyMZ__.js → LabeledAddressValue-Czt7QvSJ-DRTTCYsl.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-CAr-IiTa-e1iFQQnR.js → LabeledAddressValueField-Dl3atH92-SHIpU7rJ.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-BdWZgcQc-DgtvJEEM.js → LabeledControlledCheckBoxField-DT_nxhPN-DBR3jY11.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-C6z1v9S1-Dj_C6QJZ.js → LabeledCountryMultiSelectField-BnljZpX0-D5BhNMnw.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-Dhi0n2ky-twJ7Y41Z.js → LabeledCreatableSingleSelectField-CiInq9yD-D3hNy9xJ.js} +1 -1
- package/dist/assets/{LabeledDocumentField-B3QSq1eM-Dq2jaVHU.js → LabeledDocumentField-Ceb8vgVH-CgSohnk4.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-B39DlufR-WS_fYjgE.js → LabeledDropDownFormattedTextField-B98gNWTE-DMA3zHmz.js} +1 -1
- package/dist/assets/{LabeledText-GEbY3-bB-0pbEaYH1.js → LabeledText-CFJSoGtK-D6rvE3Rd.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Do8fziYM-C2Y3oj9z.js → LabeledUserSingleSelectWithSubtitlesField-CDiG37rQ-AIPYwfzD.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-DJfE1qQb-CVxui0H7.js → LabeledZeniRolesDropDownField-CQiP2rEh-ITtaMcqt.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-B2ROo3VS-DT3V9G-h.js → LinkJETransactionPage-ANY7Ns42-CgS4X513.js} +1 -1
- package/dist/assets/{LockCardPage-D2dUPnNL-LpcdvRvt.js → LockCardPage-0piclOz3-CWMdRPde.js} +6 -6
- package/dist/assets/{LowBalancePopup-DTtl3SIc-C3ENYtBl.js → LowBalancePopup-CplxkRHP-B9ioveJP.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-BKh8WrCR-BCoPWD1G.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Cv19HbKi-BGSeAfT_.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DbFxpWOg-DUOH_mIM.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-Ctt1pLiv-BMw7wxwl.js → MagicLinkSuccessPage-BA1LfhVb-PIggd4uy.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-CtsQ_c44-BZPfAF-8.js → MagicLinkTitleSection-DLdaV8WG-CsPJp3ez.js} +1 -1
- package/dist/assets/MailingDetailsSection-BNVPaGFt-BMhNs8t2.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-6ltpx62E-CjS__VIN.js → MyBankConnectionsSettingsPage-BiDvyO_G-CgpCRL5S.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-CwDedcXl-Cnqt2wEr.js → MyPendingActivationChargeCardListPage-Bb4_b9o6-Dj1eM4fd.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-Bmhu2lrK-CY5J0L6N.js → MyProfileSettingsPage-nY_eDqfm-BJi1XIGT.js} +1 -1
- package/dist/assets/{NavBarWithPicker-jqJCHGvR-B-DUpoqk.js → NavBarWithPicker-Dr5XHgP5-CsxQgdbF.js} +1 -1
- package/dist/assets/{NavigationArrow-DY_BhITD-CJeZ9gHm.js → NavigationArrow-DT82hMh--DnguV2jQ.js} +1 -1
- package/dist/assets/{NavigationDots-Kh5ODrCQ-BrWxwyeb.js → NavigationDots-CwCZ9EAa-DxhHWVBc.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-BYTROFvX-By8ES4Zg.js → NewGlobalMerchantPage-D1lxnByE-z5iprt7Z.js} +1 -1
- package/dist/assets/{NoDataChart-CuiKDcAB-Dt-g0VdD.js → NoDataChart-DCTRXLc7-DvMHmBjn.js} +1 -1
- package/dist/assets/{NoDataTable-BpH8puX--D82ayCk5.js → NoDataTable-D8Xw5pAY--PbLC5X1.js} +1 -1
- package/dist/assets/{NotFoundPage-BKvCYyvc-Bu8pme7r.js → NotFoundPage-B_zPUigU-xZhz7BcW.js} +8 -8
- package/dist/assets/{NotificationSettingsPage-F2xXUCSE-DCANPxov.js → NotificationSettingsPage-aKLRiMp--DXLKo6wG.js} +1 -1
- package/dist/assets/{NotificationsListConfig-C9r-O2kH-C0uopQuv.js → NotificationsListConfig-CVEetkBc-C5H_mbWn.js} +1 -1
- package/dist/assets/{NotificationsPage-CZZ9GTVy-ByLDpBFZ.js → NotificationsPage-DEw6V83J-BcIibW0q.js} +1 -1
- package/dist/assets/{OpExByVendorPage-Crvcsx0U-DuEfkZRP.js → OpExByVendorPage-DJMov6Ux-Cr7H1ixP.js} +1 -1
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-BFIA2x2o.js → OverlayContainerPage-BG9y5C0t-RoyD8Iyg.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-CkDCt5NK-ywRcdRH4.js → PandLWithForecastPage-RBTh1bFk-kFWFwPwe.js} +26 -26
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-D1ZDh1GY-rgbn8cFB.js → PaymentAccountSetupBillingAddressSection-D-kQI4nd-Cn8Blunk.js} +1 -1
- package/dist/assets/{PeoplePage-D2CtRlrd-DEruy86F.js → PeoplePage-BEc-Oss7-srQkc6NK.js} +1 -1
- package/dist/assets/{Preview-CDSvYaru.js → Preview-CkDZyW2h.js} +1 -1
- package/dist/assets/{ProductsCarousel-sNagRI0c-DCTN-Uqw.js → ProductsCarousel-BRo0P4GW-asLJ34JL.js} +1 -1
- package/dist/assets/{PromoBaseCards-BUk-u73S-DaywPqVE.js → PromoBaseCards-BrXJEufN-DEHvY13g.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-C1rEAxUE-CRDY79T8.js → QBOConnectionDialog-BIg9Iais-DBdEZlGr.js} +1 -1
- package/dist/assets/{QBOSetupSection-iQJCHR-K-e0POzpgJ.js → QBOSetupSection-DDoUJ7L6-B4_th509.js} +3 -3
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-BPIKZ9v1-B5uVQkfJ.js → ReimbursementApprovalRuleDetailPage-CP0muUGK-Ba-kVkFS.js} +3 -3
- package/dist/assets/{ReimbursementApprovalRulesPage-AE810nQZ-d173P4Au.js → ReimbursementApprovalRulesPage-BpVWq3rk-BvBmrThe.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-CYuZJL_J-DTRC3S2Z.js → ReimbursementDetailPage-pCg86_Ty-CSBYnyV4.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-CaxjSwrz-B_eLWVVl.js → ReimbursementPromoPage-BW6icjG5-NCytxpq5.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-Bw77MBHF-CZGrCIBI.js → ReimbursementSetUpPage-B6OhWEWH-Dqc_oRRL.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-B-svIloS-LSPWPuPE.js → ReimbursementsBulkReviewDrawerPage-DmDoqEZh-DFh9Pbr2.js} +1 -1
- package/dist/assets/{ReloadCard-D5kxTfzJ-CDJS0ozy.js → ReloadCard-DIFXZM9U-DggvZzmh.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-BZU8yltx-BIfgH3G9.js → ReportTableViewSelector-BsIDwouQ-NP1BC0UQ.js} +3 -3
- package/dist/assets/{ReportsPage-CdN9MEVy-CnXCtVjc.js → ReportsPage-BFTuYQt2-SVREf_ox.js} +1 -1
- package/dist/assets/{RevenueChart-B_RMeweH-BnSGz7Oe.js → RevenueChart-BoFq3ebd-DHduN5l3.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-a73YIZSO-BebMkV1j.js → ReviewDetailsPage-6kCQzaHm-ZRQYcefP.js} +1 -1
- package/dist/assets/{ReviewOverlay-Ubmz06uP-Cs4PILXX.js → ReviewOverlay-Dhb-kL6G-MVhyZE4H.js} +1 -1
- package/dist/assets/{RoleWithToolTip-BYO1YG6N-Dxzi9cht.js → RoleWithToolTip-BfM8Ltz4-Cc0s-RSO.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-vgqilDC8-CAP4E6RH.js → ScheduleDetailsFixedAssetsPage-Ccewwmwc-BxcjXrPh.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-DdEeFryA-C4YfpL2j.js → ScheduleDetailsPage-D4LK83qQ-D1NnbeUb.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-poNEzbqS-CNJviVwx.js → ScheduleSequenceTable-BZR2cL6z-BVc6y3Kn.js} +1 -1
- package/dist/assets/{ScreenRoutes-ID7Dz2BI.js → ScreenRoutes-dVyTM_oA.js} +1 -1
- package/dist/assets/{SetUpAccountSection-BSOGwHCj-BJlChPZg.js → SetUpAccountSection-CxjYbrXu-BF4RgbrZ.js} +1 -1
- package/dist/assets/{SignIn-q4J9wRx8-DlfU9QqU.js → SignIn-CVmtPGKL-DiahzBKR.js} +6 -6
- package/dist/assets/{SignInScreen-Cky6LHf0.js → SignInScreen-19UL9ugi.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-DKRkSADM-CHLUhRLC.js → SpendManagementListViewPage-BLjP9T8h-m5Jpjb2x.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-Cd30NnXU-Cu4u_JxV.js → SpendManagementPerTabPage-Ck4brjun-lWm-ZzMC.js} +1 -1
- package/dist/assets/{SpendManagementSection-CPBOh_J5-CmYd5joU.js → SpendManagementSection-DAqR2c98-cjG-Eksr.js} +1 -1
- package/dist/assets/StatementItem-B_iG99XI-Bm4pv5Jw.js +31 -0
- package/dist/assets/{StatementsPage-Cp77wyFS-BcZgMMCN.js → StatementsPage-DcKziEfZ-C_Av9BcF.js} +1 -1
- package/dist/assets/{StatusSwitcher-DN-yYdli-DhLnSHQ8.js → StatusSwitcher-BI-dgnrK-CRZdmF_2.js} +1 -1
- package/dist/assets/{SubTabSwitcher-D1LNrhUn-C4Ypgfj1.js → SubTabSwitcher-BpNI5Wke-Cn3Qj66v.js} +1 -1
- package/dist/assets/{SummaryCard-DgIPSt4y-D5wDDqpJ.js → SummaryCard-HW-1WXN9-Bs5w4IBU.js} +1 -1
- package/dist/assets/{TaskManagementPage-BaLJR4-7-DJO7sSkH.js → TaskManagementPage-Bz1uP5hK-D66AAERV.js} +8 -8
- package/dist/assets/{TimeRangeSwitcher-CkgGEwEw-gvxDov2s.js → TimeRangeSwitcher-oORYeFzN-rqP6IKB_.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-B8fpnYS8-Bk6_66D0.js → TimeframeSwitcher-JcJSbn0--BLek9me8.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DwFo6jY4-D5xnlyuM.js → TimeframeSwitcherWithToggle-BEZU-KDj-Bm83snuW.js} +2 -2
- package/dist/assets/{TopExCard-PayAZZY--4PZ1JzhP.js → TopExCard-CF6z0JWk-Cg9s2TIf.js} +1 -1
- package/dist/assets/{TopExDetailPage-Mp2KcYf6-Ddd4KY7y.js → TopExDetailPage-DrcKlFuy-IZQmSsIG.js} +8 -8
- package/dist/assets/{TransactionActivityLogPage-CnmL_hUz-DPnOn3GV.js → TransactionActivityLogPage-BB4q0jan-By_l7Lcs.js} +1 -1
- package/dist/assets/{TransactionDetailPage-Bqlnmn8Y-Cf6tkZvV.js → TransactionDetailPage-DRG_qosz-B3U5v8b5.js} +1 -1
- package/dist/assets/{TransactionList-BOmlsfpv-BMQs9m0S.js → TransactionList-iw4pyMYF-oBN58Cyl.js} +1 -1
- package/dist/assets/{TransactionListBig-CaMT-rq_-DPqSItkt.js → TransactionListBig-BljAUwAB-DahobDEz.js} +1 -1
- package/dist/assets/{TransactionListPage-D_dgwnFp-CHHnUNAX.js → TransactionListPage-ReGTmF43-BN0H-Nt5.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-DlXuiPC5-BUZuOXUE.js → TransactionVendorDetailPage-DXuYIj-p-pZNNf5OP.js} +1 -1
- package/dist/assets/{TransferDrawerPage-C2VcssbM-C_EOW6la.js → TransferDrawerPage-C3q8h8Zy-BLpcxq0Q.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-DyyoGY23-BnlIlsyE.js → TreasuryOverviewPage-DqjFEV9B-hbL1Fcfl.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-B9Hf7oxZ-DzvwsOB8.js → TreasuryPromoPage-ByeK0W_5-CCb9TaUZ.js} +9 -9
- package/dist/assets/{TreasuryStatementsPage-DOzJzfTG-BbRhi4my.js → TreasuryStatementsPage-BjGwvMFL-CaZjKaE0.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-BcTBr9x9-DuJ1otAW.js → TreasuryTaxLetterPage-DwLyqS86-otmG6LNU.js} +2 -2
- package/dist/assets/{TrendChart-BvXDrgUJ-glrPQOWe.js → TrendChart-Dgh_21FN-728BYfDl.js} +1 -1
- package/dist/assets/{TrendWithTransactions-RCpzdPf3-dYEOquLX.js → TrendWithTransactions-BgIPapHk-ipQ--AYU.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-B1m3iXh5-DshPgphT.js → UncategorizedAccountsMappingPage-DIIJcGrj-W2lIyfKP.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-lVg_8mQ4-ZgVf3QuU.js → UnitIntegrationPage-DIOZhQOZ-Cz4svOW6.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-DrAWxBXn-BMY66quK.js → UploadAdditionalDocumentOverlay-qrcEQmkz-BCM8wkTa.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-C8m_OJEH-BEe6wLBV.js → Vendor2FAPopup-C58w6vC7-B0QOUzvY.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-BbxRwrEv-BcyCQIOi.js +1 -0
- package/dist/assets/{VendorDetailPage-Y9_hsgjs-D7SaFH14.js → VendorDetailPage-CEQFcNHr-BRxLMg2x.js} +1 -1
- package/dist/assets/VendorDomesticWireDetailsPage-C02ZhGg3-B34zJ4us.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-CPevpiim-Cg5o278h.js → VendorFiling1099EditablePage-Dl7jZYBV-Ba491yZj.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-CXftFNl_-B2M-6Mme.js → VendorFirstReviewPage-yVbtg_tG-gBJS1j-C.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-88NtGE3e-Byg7DBKS.js → VendorInternationalWireDetailsPage-DNDv_s8G-CiskNCMX.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Bdt0UR_b-u7GtUmeC.js +1 -0
- package/dist/assets/{VendorsAccountsSection-DorsKXyL-B46DfoVw.js → VendorsAccountsSection-Cscbgqrx-CYHbI-9I.js} +1 -1
- package/dist/assets/{VerifyDevice-DAym8rUN-D2hs4cQM.js → VerifyDevice-D1vsUSdJ-BIzMDHBP.js} +1 -1
- package/dist/assets/{VideoPlayer-53OvOC7l-Em2TLxp-.js → VideoPlayer-TlEy-oD0-Cje6jVjh.js} +2 -2
- package/dist/assets/{VideoPopup-v9quqdro-BGjGToA6.js → VideoPopup-3DD646kG-BgQ78vA7.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-B-1cevae-BmC6iVJQ.js → WarningsDrawerPage-Fj5zTXdi-CXc9WkYF.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-CFEGqW5l-Dy6qJU85.js → ZeniAccountDetailPage-BbsXzuHD-BMV_BlPm.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-j85TO5tM-Ql-laWfg.js → ZeniAccountListViewPage-lmuVUpKS-Baowbjpx.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-Bv34Vsqj-DWSSQwPn.js → ZeniAccountNavBarPieces-CQhwBKXD-B51UnZEa.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-DeHmh4My-D9vbGzEW.js → ZeniAccountPromoPage-CXEb9tRE-DQDL7yPo.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-ofkQR72l-DiKoGlqM.js → ZeniAccountSetupPage-DPhYQu6u-DrS7B52l.js} +1 -1
- package/dist/assets/{ZeniCopyright-CmCqmJmV-lDbp46RP.js → ZeniCopyright-pvaggW6x-BhCh9n5c.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BpfqM032-5jspOCNh.js → ZeniTransferAmountSlider-Dlyom9dD-nFfdaxnl.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-CtSV17Bf.js → add-to-wallet-DgdBD8_G-DEXYRcE2.js} +1 -1
- package/dist/assets/{analytics-DpcwQWv0.js → analytics-CsIQ-59x.js} +1 -1
- package/dist/assets/{analyticsHelper-qtejXlXH-CQODcjCy.js → analyticsHelper-AeOsAjMK-CJS3UJGT.js} +1 -1
- package/dist/assets/{analyticsHelper-h_J4STlV.js → analyticsHelper-C2czV_8Z.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-B6984SJ0.js → arrow-south-east-round-PEovUgvH-CeOVinw8.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-DOWtaLLL.js → auto-transfer-rule-mbafm5D3-Cigt_4KO.js} +1 -1
- package/dist/assets/{chartTypes-BqRsL6eJ-ChMoR8JY.js → chartTypes-BLsP7rGF-D9WB2Y1J.js} +1 -1
- package/dist/assets/{commonDimensions-CzWWgDTA-B7eugMlO.js → commonDimensions-DIm7kTtR-D2v7Ywwl.js} +1 -1
- package/dist/assets/{commonTypes-CF6UyWSv-CKAjkZfQ.js → commonTypes-B3mnx2x_-CpkcU002.js} +1 -1
- package/dist/assets/{constants-CfbDssQ5.js → constants-B3U6y--4.js} +1 -1
- package/dist/assets/{core-YvsCVRKf.js → core-BzWT0IJw.js} +1 -1
- package/dist/assets/{dash.all.min-j3axcOyD.js → dash.all.min-CgnIcVo_.js} +1 -1
- package/dist/assets/{downloadPdf-BFFM3Hea-CbeXk1W6.js → downloadPdf-B5WrL0K1-CcFZms98.js} +1 -1
- package/dist/assets/{empty-B_JCNeal.js → empty-B0GYop9a.js} +1 -1
- package/dist/assets/{empty-DLuGECpK.js → empty-Cslhy-Rq.js} +1 -1
- package/dist/assets/{epic-DbdW0-_z.js → epic-BtnWMsWU.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-CKHs8nYt.js → gift-box-Cmt9OgIZ-TLg2Cmt8.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-o_7WzGOU.js → graphic-no-data-l-DU4J8fDt-CaAYbmVV.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-Cu0qTjAU.js → graphic-no-data-net-burn-l-CzmycA0m-ukcWACRx.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-0qqcKNHL.js → handshake-BPg58FML-_LKqFBMv.js} +1 -1
- package/dist/assets/{helper-COxPEvgL-CbfWDvU1.js → helper-BVESv00--NsacEbMq.js} +1 -1
- package/dist/assets/{index-Bo11DKO-.js → index-1P9yFC0k.js} +8 -8
- package/dist/assets/{index-Df6c2b4A.js → index-2GU6ddm4.js} +1 -1
- package/dist/assets/{index-DseGil_3.js → index-AfGYI81I.js} +1 -1
- package/dist/assets/{index-B1ITi4qW.js → index-B2EUmCBu.js} +1 -1
- package/dist/assets/{index-C3OKO7Zv.js → index-BbHyi3zT.js} +1 -1
- package/dist/assets/{index-BIaSwKVT.js → index-CejKZeVc.js} +1 -1
- package/dist/assets/{index-__v_hyq2.js → index-mfrlgDvS.js} +1 -1
- package/dist/assets/{lexical-pvu9rk3d.js → lexical-CFznRm2I.js} +1 -1
- package/dist/assets/{liveblocks-CrpEALXl.js → liveblocks-BfbuekkT.js} +1 -1
- package/dist/assets/{lottie-Ca8n7ZMA.js → lottie-B5och2Z9.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DJxRl0X1-BY7wUAAY.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CcuLqf_I-Dyy8rBGE.js → mapSectionWithAcOnlyToTreeNode-BIiMj0sc-bheB0LvM.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-Bj3f2irs-KjBroRTL.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-AI17uMHa-8tVv8tK4.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CyO5pm8k-UBjf7rOq.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-NKafOEXu-DbLH5aa6.js +1 -0
- package/dist/assets/{mui-BRi75_3V.js → mui-lMF7eHp6.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-XgNZv44H.js → page-detail-CWX5S47F-DGqHDm7Y.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-CfgTRYG6.js → panelSelectedMixin-Cddsb26L-B4nQ3pP2.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-yol51RNj.js → radio-default-CiSgisfh-Cqi94KOj.js} +1 -1
- package/dist/assets/{react-BRORnD4c.js → react-C34SUzs1.js} +2 -2
- package/dist/assets/{react-DcgxdYPr.js → react-CGjnsJBo.js} +1 -1
- package/dist/assets/{react-Bm2wKXNo.js → react-CyvA7SRw.js} +1 -1
- package/dist/assets/{react-r5DdrV7B.js → react-DGJI55tm.js} +1 -1
- package/dist/assets/{react-q5bmf-7b.js → react-DLRdB_5u.js} +1 -1
- package/dist/assets/{react-DEXi2aND.js → react-DM7EG-dl.js} +1 -1
- package/dist/assets/{react-uvqj8bO5.js → react-SMRlp4Jq.js} +1 -1
- package/dist/assets/{react-uJ2nCWtW.js → react-c4MYsafP.js} +1 -1
- package/dist/assets/{recharts-CYsFsR9k.js → recharts-CatO_S9c.js} +1 -1
- package/dist/assets/{sentry-Bvx1fyUW.js → sentry-DW9sKdqh.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-AEcB91xS.js → shield-DOlUxcFf-BTlVH5ta.js} +1 -1
- package/dist/assets/toCOABalancesWithID-BWMF0py6-WEK4vUTu.js +1 -0
- package/dist/assets/{toChartData-CWgd8E5c-DEO9SR0E.js → toChartData-BkubFDq8-BbT_apFS.js} +1 -1
- package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-D-3Cwnxg.js → upload-reimbursement-receipt-O2N8vcO7-OarCxoAn.js} +1 -1
- package/dist/assets/{uploadAttachment-D1ybl0Fy-SSZJ5Pvm.js → uploadAttachment-CzgakLtr-CsvsBi3t.js} +1 -1
- package/dist/assets/{uploadReceipts-CIgkuVpu-Cye8vrCf.js → uploadReceipts-CIgkuVpu-Dz8nlOVf.js} +1 -1
- package/dist/assets/{url-Ba3R_UZ2.js → url-BYwsXne8.js} +1 -1
- package/dist/assets/{url-CD0gnvEN.js → url-Bx7ahsnf.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-Cs3eRctY.js → useLongPress-GCK2COYQ-BI3UU-Cj.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-9r72yNte.js → usp-line-BBd1wKwW-BnQRJ1kE.js} +1 -1
- package/dist/assets/{utils-DcyOBG_q.js → utils-Dbx5oKO7.js} +1 -1
- package/dist/assets/{zeni-epic-state-CMOi_tqS.js → zeni-epic-state-TSfU2WWJ.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/AccountInfoPage-CrEEthms-CcQ8KvB2.js +0 -18
- package/dist/assets/BalancesInsightWithToolTip-D1_dZg5k-BdbdotQq.js +0 -38
- package/dist/assets/ChargeCardPromoPage-6JwKgWli-CMIt1ItZ.js +0 -222
- package/dist/assets/CustomerOnboardingContainerPage-CGFQ4G4y-DabO5Dqz.js +0 -1
- package/dist/assets/MagicLinkACHDetailsPage-BC6_cyO0-5zZuOn_-.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-CdG5oCPl-D9FJdOFq.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-C046BNUz-BfZRUUoh.js +0 -1
- package/dist/assets/MailingDetailsSection-DiZwQ9QV-BaEzKYzh.js +0 -21
- package/dist/assets/StatementItem-NyOORj5f-BMOL9nui.js +0 -31
- package/dist/assets/VendorACHDetailsPage-JhO6KtMC-BRu6rtc8.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-D0RsDHxf-D_O2dqFS.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BTh-VP1b-BCsWl35w.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-COOJxneh-CnJTQ2Yx.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-Ci5bdH6P-Cc_pWfhO.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CCZ9A7A6-Bt73ZErv.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Cql9mEn3-DMllIiKO.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CIXgJHQz-SwT-yxXB.js +0 -1
- package/dist/assets/toCOABalancesWithID-B70YK7cw-C41YgUZZ.js +0 -1
package/dist/assets/{ConfettiBurst-BJrOe5Fg-CXuimrf_.js → ConfettiBurst-CeAc4Ily-BAnAm8DT.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{dh as p,ax as l,V as i,b7 as d,o as f}from"./index-
|
|
1
|
+
import{dh as p,ax as l,V as i,b7 as d,o as f}from"./index-1P9yFC0k.js";import{a as r}from"./sentry-DW9sKdqh.js";import"./liveblocks-BfbuekkT.js";import"./core-BzWT0IJw.js";import"./recharts-CatO_S9c.js";import"./zeni-epic-state-TSfU2WWJ.js";import"./mui-lMF7eHp6.js";import"./lottie-B5och2Z9.js";import"./analytics-CsIQ-59x.js";import"./lexical-CFznRm2I.js";import"./utils-Dbx5oKO7.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="863caaf8-796f-43a6-9109-a9368a0b6f8f",e._sentryDebugIdIdentifier="sentry-dbid-863caaf8-796f-43a6-9109-a9368a0b6f8f")}catch{}})();const u="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",E=({showConfetti:e})=>{const[t,o]=r.useState(e),[s,a]=p(u,e),[n]=l("ConfettiSuccess");return r.useEffect(()=>{e&&o(!0)},[e]),r.useEffect(()=>{t&&s===!1&&a(!0)},[t,s,a]),i.jsx(i.Fragment,{children:t&&s&&n!=null?i.jsx(d,{style:{position:"absolute",width:"100%",height:"100vh",top:f.sp0,left:f.sp0,zIndex:5},onComplete:()=>{a(!1),o(!1)},animationData:n,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{E as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as n}from"./index-
|
|
1
|
+
import{V as n}from"./index-1P9yFC0k.js";import{a as r}from"./sentry-DW9sKdqh.js";import{n as s}from"./mui-lMF7eHp6.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8c117742-f646-4198-bee3-9e4fd8a5d2d7",e._sentryDebugIdIdentifier="sentry-dbid-8c117742-f646-4198-bee3-9e4fd8a5d2d7")}catch{}})();const i=s.div`
|
|
2
2
|
width: auto;
|
|
3
3
|
max-width: var(--side-panel-list-width, 100%);
|
|
4
4
|
position: relative;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as He,e as v,aG as q,cT as qe,V as t,bE as Ye,ac as $,L as Je,cy as ie,cz as se,cA as le,dd as Ge,aT as Ke,x as Y,O as x,cc as Qe,o,de as Ze,c1 as S,cq as de,u as w,b9 as ce,ak as pe,an as G,bv as Xe,da as me,df as et,d as z,dg as ue,d9 as he}from"./index-
|
|
1
|
+
import{g as He,e as v,aG as q,cT as qe,V as t,bE as Ye,ac as $,L as Je,cy as ie,cz as se,cA as le,dd as Ge,aT as Ke,x as Y,O as x,cc as Qe,o,de as Ze,c1 as S,cq as de,u as w,b9 as ce,ak as pe,an as G,bv as Xe,da as me,df as et,d as z,dg as ue,d9 as he}from"./index-1P9yFC0k.js";import{a as g}from"./sentry-DW9sKdqh.js";import{n as r}from"./mui-lMF7eHp6.js";import"./liveblocks-BfbuekkT.js";import"./core-BzWT0IJw.js";import"./recharts-CatO_S9c.js";import"./zeni-epic-state-TSfU2WWJ.js";import"./lottie-B5och2Z9.js";import"./analytics-CsIQ-59x.js";import"./lexical-CFznRm2I.js";import"./utils-Dbx5oKO7.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="73a31fbf-c45c-4630-826b-98f569824ac1",e._sentryDebugIdIdentifier="sentry-dbid-73a31fbf-c45c-4630-826b-98f569824ac1")}catch{}})();const tt=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:n,accountTypeLabel:s,accountType:l,bankName:m,routingNumberOrSwiftCode:p,accountName:f,routingNumberOrSwiftCodeLabel:j,onDeleteClick:u})=>{const b=v(),h=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,C=t.jsxs(ot,{children:[t.jsxs(I,{children:[t.jsx(N,{children:j}),t.jsx(T,{children:p})]}),t.jsxs(I,{children:[t.jsx(N,{children:h.achDetails.bankName}),t.jsx(T,{children:m})]}),t.jsxs(I,{children:[t.jsx(N,{children:n}),t.jsx(T,{children:e})]}),t.jsxs(I,{children:[t.jsx(N,{children:s}),t.jsx(T,{children:typeof l=="string"&&l!==""?et(l.toLowerCase()):l??""})]})]});return t.jsxs(it,{size:b,children:[t.jsxs(nt,{children:[t.jsxs(G,{children:[`${m} ${h.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(S,{title:C,placement:"top",children:t.jsx(lt,{children:t.jsx(dt,{})})})]}),t.jsx(rt,{children:f??h.emptyPlaceholderString})]}),t.jsx(at,{children:t.jsx(S,{enterDelay:600,display:"flex",title:h.deleteAccountTooltip,placement:"top",children:t.jsx(st,{onClick:k=>{k.stopPropagation(),u()},"data-testid":$("delete-vendor-account-section",f),children:t.jsx(ct,{})})})})]})},ot=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-wrap: wrap;
|
|
4
4
|
gap: ${o.sp1};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,e as he,a9 as ge,ac as ae,hJ as ea,aQ as aa,a as ta,L as na,aT as ze,o as a,O as K,x as m,b as Me,n as oa,aj as ia,g as Be,c1 as ra,fx as _e,N as H,d as J,gC as ce,w as la,as as Oe,c as ca,aS as we,aa as sa,fO as da,cQ as ma,ae as pa,fg as ua,fS as ha,cX as ga,hX as De,hY as ya,gq as fa,u as r,cc as Ca,bb as ba,fC as xa,cq as wa,an as Ne,h9 as Da,ca as Sa,aW as $a,hZ as ka,da as Aa,ha as La,g2 as va,f_ as Ia}from"./index-
|
|
1
|
+
import{V as t,e as he,a9 as ge,ac as ae,hJ as ea,aQ as aa,a as ta,L as na,aT as ze,o as a,O as K,x as m,b as Me,n as oa,aj as ia,g as Be,c1 as ra,fx as _e,N as H,d as J,gC as ce,w as la,as as Oe,c as ca,aS as we,aa as sa,fO as da,cQ as ma,ae as pa,fg as ua,fS as ha,cX as ga,hX as De,hY as ya,gq as fa,u as r,cc as Ca,bb as ba,fC as xa,cq as wa,an as Ne,h9 as Da,ca as Sa,aW as $a,hZ as ka,da as Aa,ha as La,g2 as va,f_ as Ia}from"./index-1P9yFC0k.js";import{n as i}from"./mui-lMF7eHp6.js";import{a as p}from"./sentry-DW9sKdqh.js";import{bL as pe,bZ as Fa,bh as Se,bJ as Ra,bK as $e,bI as Ta}from"./zeni-epic-state-TSfU2WWJ.js";import{x as Pa}from"./LabeledControlledCheckBoxField-DT_nxhPN-DBR3jY11.js";import"./liveblocks-BfbuekkT.js";import"./core-BzWT0IJw.js";import"./recharts-CatO_S9c.js";import"./lottie-B5och2Z9.js";import"./analytics-CsIQ-59x.js";import"./lexical-CFznRm2I.js";import"./utils-Dbx5oKO7.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="6ff0f7bf-2900-4bda-aa22-5daa5e8b4bf7",e._sentryDebugIdIdentifier="sentry-dbid-6ff0f7bf-2900-4bda-aa22-5daa5e8b4bf7")}catch{}})();const te={largeLabelWidth:new m(120,120,160),navBarContainerPaddingXaxis:new m(10,19),containerPaddingLeft:new m(r[3],r[6],r[8]),containerPaddingRight:new m(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new m(r[5],r[8])},ue={pageTitle:new H("h6Regular","h5Regular"),integerAmountInput:new H("h5Regular","largeMedium"),decimalAmountInput:new H("largeSemiBold","largeMedium")},{dateFormat:{visual:{MMMDCommaYYYYformat:ke}},common:{edit:ja,labels:se,navBar:{back:Ea},to:za,zeniInc:Ma},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:Ba}},chargeCard:{payEarly:z}}}=K.getLocalizedStrings(),_a=({paymentDetails:e,isCashbackInfoFetchStateCompleted:o,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:f,productInformation:c,cashbackInformation:g,paymentSourceInformation:L,creditAccountInformation:C,debitAccountInformation:y,setShowReviewContent:x,onTransferClick:b})=>{const d=he(),S=Be(),v=ge().analytics,[B,I]=p.useState(!1);p.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const F=te.largeLabelWidth.value(d),R=e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount",T=R?1:3,P=pe(Fa(Se().toDate(),[0,6],T).toDateString()).format(ke),_=R?z.timeline01BusinessDay:z.timeline23BusinessDays,O=R?z.estimatedPaymentCompleteWithoutTimeline.replace("__date__",P):z.estimatedPaymentCompleteWithTimeline.replace("__date__",P).replace("__timeline__",_);return t.jsxs(t.Fragment,{children:[t.jsxs(Ga,{windowSize:d,children:[t.jsx(tt,{windowSize:d,children:t.jsx(ra,{title:Ea,enterTouchDelay:600,placement:"bottom",display:"flex",children:t.jsx(at,{"data-testid":ae("nav-bar-back-credit-card-payment-review"),onClick:()=>{o&&h&&n&&g!=null&&v.trackCardsPayEarlyFormClick(f,c,g,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,y),x(!1)}})})}),t.jsx(nt,{windowSize:d,children:Ba.reviewAndConfirm}),t.jsxs(Na,{children:[z.pay," ",t.jsx(Ae,{children:t.jsx(_e,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:ue.integerAmountInput.styleObject(d),decimalStyles:ue.decimalAmountInput.styleObject(d),style:{display:"inline-flex"}})})," ",za," ",t.jsx(Ae,{children:Ma})]}),B?t.jsx(Xa,{children:t.jsxs(Ya,{children:[t.jsxs(Ha,{children:[t.jsx(Ja,{}),t.jsxs(Va,{children:[t.jsx(Za,{children:e.error?.title}),t.jsx(qa,{children:e.error?.message})]})]}),t.jsx(Ka,{children:t.jsx(Qa,{"data-testid":ae("close-error-credit-card-payment-review"),onClick:()=>{I(!1)},style:{width:a.sp3,height:a.sp3,color:J.heroLight}})})]})}):null,t.jsx(et,{windowSize:d,children:t.jsxs(Ua,{children:[t.jsx(ce,{label:{label:se.paymentMethod,width:F},text:t.jsx(de,{windowSize:d,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"?z.bookPayment:z.sameDayACH}),style:{width:"auto"}}),t.jsx(Le,{}),t.jsx(ce,{label:{label:se.sourceAccount,width:F},text:t.jsxs(de,{windowSize:d,children:[We(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),t.jsxs(Wa,{windowSize:d,children:[e.chargeCardRepaymentDetailLocalData.transferFrom?.label,e.chargeCardRepaymentDetailLocalData.transferFrom?.maskedAccountNumber!=null?` ${e.chargeCardRepaymentDetailLocalData.transferFrom.maskedAccountNumber}`:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4!=null?` •••• ${e.chargeCardRepaymentDetailLocalData.transferFrom.accountLast4}`:null]})]}),style:{width:"auto"}}),t.jsx(Le,{}),t.jsx(ce,{label:{label:se.paymentDate,width:F},showAdditionalInfoLabel:!0,additionalInfoLabel:O,additionalInfoLabelStyles:{color:S.colors.hero,...la.smallRegular.cssObject},text:t.jsx(de,{windowSize:d,children:Se().format(ke)}),style:{width:"auto"}})]})})]}),t.jsx(ze,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp0},helperText:z.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${a.sp0} ${a.sp0} ${a.sp3} ${a.sp0}`},cancelBtn:{label:ja,onClick:()=>{o&&h&&n&&g!=null&&v.trackCardsPayEarlyFormClick(f,c,g,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,y),x(!1)},style:{minWidth:94}},primaryBtn:{label:z.payNow,onClick:b,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},We=(e,o,h)=>{if(o==="")return t.jsx(st,{});const n=e.find(c=>c.id===o),f=e.findIndex(c=>c.id===o);if(n!=null){if(n.accType==="depositAccount")return t.jsx(lt,{isOptionSelected:h,children:t.jsx(ct,{color:Da(f)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?t.jsx(ot,{src:Oa(n.logo),isOptionSelected:h,loading:"lazy"}):t.jsx(it,{isOptionSelected:h,children:t.jsx(rt,{})})}return null},Oa=e=>e.base64!==void 0?`${va}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Na=i(ba)`
|
|
2
2
|
color: ${e=>e.theme.colors.hero};
|
|
3
3
|
padding-top: ${a.sp3};
|
|
4
4
|
white-space: nowrap;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{cU as M,g as N,eJ as _,O as P,V as l,eS as H,bJ as L,o,dx as z,ac as x,cC as X,bK as b,an as B,w,fh as J,fi as Q,fj as T,ak as K,bI as U,b as W,d as m}from"./index-
|
|
1
|
+
import{cU as M,g as N,eJ as _,O as P,V as l,eS as H,bJ as L,o,dx as z,ac as x,cC as X,bK as b,an as B,w,fh as J,fi as Q,fj as T,ak as K,bI as U,b as W,d as m}from"./index-1P9yFC0k.js";import{a as v}from"./sentry-DW9sKdqh.js";import{n}from"./mui-lMF7eHp6.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="17aab05b-6e1f-48a6-85af-19bd3d4973bb",e._sentryDebugIdIdentifier="sentry-dbid-17aab05b-6e1f-48a6-85af-19bd3d4973bb")}catch{}})();const $e=({name:e,registerOptions:r,defaultValue:t,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:f,formState:{errors:y}}=M(),g=N(),[j,k]=v.useState(!1),C=_(y,e??""),I=P.getLocalizedStrings().common.currency,D=s=>{if(!(s==null||!s))return{value:s,label:t.allOptions.find(h=>h.value===s)?.label??s,countryCode:t.allOptions.find(h=>h.value===s)?.countryCode??I.countryCode}},V={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:g.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${g.colors.dropShadowHover}`,border:`1px solid ${g.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:g.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:C,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(H,{name:e,control:f,defaultValue:t,rules:r,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:E,ref:R}})=>{const S=E;return v.createElement(L,{...F,ref:R,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:D(S.selectedOption),options:t.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&S?.selectedOption===$.value?s({selectedOption:void 0,allOptions:t.allOptions}):s({selectedOption:$?.value,allOptions:t.allOptions})},onMenuClose:()=>k(!1),key:z(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:Y,Option:Z,Input:G,SingleValue:ee,ValueContainer:A,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:be,MenuList:q},hideSelectedOptions:!1,styles:V,isDisabled:a!=null})}})},Y=e=>{const{menuIsOpen:r,isFocused:t,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(te,{controlStyle:u,menuIsOpen:r,isFocused:t,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(b.Control,{...e,className:"select-control",children:e.children})})},Z=e=>{const{data:r,isSelected:t,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=r.countryCode,p=typeof r.label=="string"?r.label:r.value;return l.jsx(re,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:t,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:l.jsx(b.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:t,children:l.jsx(ne,{isSelected:t,isDisabled:a,children:r.label})}),t?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},q=e=>{const{options:r,children:t,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=r.indexOf(u)*i;return l.jsx(X,{height:t.length>7?a:t.length*i,width:"100%",itemCount:t.length,itemSize:()=>i,initialScrollOffset:p,children:({index:f,style:y})=>l.jsx(ce,{style:y,children:t[f]})})},A=e=>l.jsx(b.ValueContainer,{...e,className:"select-value-container",children:e.children}),G=e=>{const{selectProps:r}=e,{placeholder:t,value:a}=r;return l.jsx(O,{children:l.jsx(b.Input,{...e,autoComplete:"new-password",placeholder:a==null?t:void 0,children:e.children})})},ee=e=>{const{data:r}=e;return l.jsx(b.SingleValue,{...e,children:l.jsx(O,{children:r.label})})},O=n(B)`
|
|
2
2
|
color: ${e=>e.theme.colors.primary};
|
|
3
3
|
`,oe=()=>null,le=({countryCode:e})=>{if(e!=null&&J(e)===!1)return l.jsx(l.Fragment,{});{const r=Q[`${T(e??"")}`];return l.jsx(ie,{children:l.jsx(r,{width:o.sp4,height:o.sp3})})}},te=n.span`
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as u,V as t,O as c,aS as l,ac as p,L as g,o as i,ah as h,c as x,n as m}from"./index-
|
|
1
|
+
import{e as u,V as t,O as c,aS as l,ac as p,L as g,o as i,ah as h,c as x,n as m}from"./index-1P9yFC0k.js";import{a as f}from"./sentry-DW9sKdqh.js";import{n as o}from"./mui-lMF7eHp6.js";import"./liveblocks-BfbuekkT.js";import"./core-BzWT0IJw.js";import"./recharts-CatO_S9c.js";import"./zeni-epic-state-TSfU2WWJ.js";import"./lottie-B5och2Z9.js";import"./analytics-CsIQ-59x.js";import"./lexical-CFznRm2I.js";import"./utils-Dbx5oKO7.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="6241ea81-1a52-432d-9f67-58930b8f85a4",e._sentryDebugIdIdentifier="sentry-dbid-6241ea81-1a52-432d-9f67-58930b8f85a4")}catch{}})();const b=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{V as o}from"./index-1P9yFC0k.js";import i from"./CustomerOnboardingNoStepsPage-DWx46Z6R-EmrN8zyB.js";import e from"./CustomerOnboardingPage-D86Sj2KP-C6oL4-UI.js";import"./sentry-DW9sKdqh.js";import"./liveblocks-BfbuekkT.js";import"./core-BzWT0IJw.js";import"./recharts-CatO_S9c.js";import"./zeni-epic-state-TSfU2WWJ.js";import"./mui-lMF7eHp6.js";import"./lottie-B5och2Z9.js";import"./analytics-CsIQ-59x.js";import"./lexical-CFznRm2I.js";import"./utils-Dbx5oKO7.js";import"./PaymentAccountSetupBillingAddressSection-D-kQI4nd-Cn8Blunk.js";import"./commonTypes-B3mnx2x_-CpkcU002.js";import"./SetUpAccountSection-CxjYbrXu-BF4RgbrZ.js";import"./CustomerOnboardingDetailPageSkeleton-CWNyUuRp-SVIJR56m.js";import"./CompanyOfficerDetailsSection-BSFNYauO-46pPRwPa.js";import"./helper-BVESv00--NsacEbMq.js";import"./LabeledAddressValueField-Dl3atH92-SHIpU7rJ.js";import"./LabeledCountryMultiSelectField-BnljZpX0-D5BhNMnw.js";import"./LabeledCreatableSingleSelectField-CiInq9yD-D3hNy9xJ.js";import"./LabeledDocumentField-Ceb8vgVH-CgSohnk4.js";import"./QBOSetupSection-DDoUJ7L6-B4_th509.js";import"./QBOConnectionDialog-BIg9Iais-DBdEZlGr.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="30319695-3f19-4c9c-9155-8014f668e8cc",t._sentryDebugIdIdentifier="sentry-dbid-30319695-3f19-4c9c-9155-8014f668e8cc")}catch{}})();const P=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?o.jsx(i,{...t}):o.jsx(e,{...t});export{P as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as s,ac as v,bp as E,g as f,e as I,bW as b,o as t,u as T,x as $,ah as R,O as N,d as u,p as P,i3 as U,g1 as W,au as L,ao as O,i4 as _}from"./index-
|
|
1
|
+
import{V as s,ac as v,bp as E,g as f,e as I,bW as b,o as t,u as T,x as $,ah as R,O as N,d as u,p as P,i3 as U,g1 as W,au as L,ao as O,i4 as _}from"./index-1P9yFC0k.js";import{n as r}from"./mui-lMF7eHp6.js";import{P as S}from"./sentry-DW9sKdqh.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]="cc1c3514-a28c-4c9d-b7a9-26c83f4e1558",e._sentryDebugIdIdentifier="sentry-dbid-cc1c3514-a28c-4c9d-b7a9-26c83f4e1558")}catch{}})();const V=r(_)`
|
|
2
2
|
/* Size is controlled by styles.root prop */
|
|
3
3
|
`,F=r.div`
|
|
4
4
|
position: relative;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a9 as se,V as o,fL as Ce,e as be,g as Pe,aa as we,aS as xe,cQ as ke,bE as Ie,o as i,ac as Ae,ae as $e,aT as ve,bp as Oe,i1 as Ve,O as Te,fd as je,fe as oe,ah as Le,x as Q,an as Ee,u as A}from"./index-
|
|
1
|
+
import{a9 as se,V as o,fL as Ce,e as be,g as Pe,aa as we,aS as xe,cQ as ke,bE as Ie,o as i,ac as Ae,ae as $e,aT as ve,bp as Oe,i1 as Ve,O as Te,fd as je,fe as oe,ah as Le,x as Q,an as Ee,u as A}from"./index-1P9yFC0k.js";import{n as c}from"./mui-lMF7eHp6.js";import{a as $}from"./sentry-DW9sKdqh.js";import{r as Ue,t as _e}from"./PaymentAccountSetupBillingAddressSection-D-kQI4nd-Cn8Blunk.js";import{f as ze}from"./CustomerOnboardingDetailPageSkeleton-CWNyUuRp-SVIJR56m.js";import"./liveblocks-BfbuekkT.js";import"./core-BzWT0IJw.js";import"./recharts-CatO_S9c.js";import"./zeni-epic-state-TSfU2WWJ.js";import"./lottie-B5och2Z9.js";import"./analytics-CsIQ-59x.js";import"./lexical-CFznRm2I.js";import"./utils-Dbx5oKO7.js";import"./commonTypes-B3mnx2x_-CpkcU002.js";import"./SetUpAccountSection-CxjYbrXu-BF4RgbrZ.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]="477ed172-7cba-4efc-98e4-77a9747d3048",e._sentryDebugIdIdentifier="sentry-dbid-477ed172-7cba-4efc-98e4-77a9747d3048")}catch{}})();const q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",J={titleWidth:new Q(343,580,726,826),subTitlePaddingTop:new Q(A[3],A[3]),subTitlePaddingBottom:new Q(A[3],A[3])},Be=e=>`${e}_form`,De=Te.getLocalizedStrings(),Fe=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:O,googleAPIKey:V,signedInUser:b,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:E,updateCardPaymentModalState:P,handleAddCardPaymentSource:U,resetCardPaymentViewState:_,handleResetCardPaymentErrorStatuses:z,redirectToProductSuitePage:w,onUpdateCustomerView:B,...D})=>{const m=be(),F=se(),{analytics:h}=F,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:G,onZeniLogoClick:W,onAddressEditHandler:x}=D,Z=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:v(e),values:v(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(v(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"),B(me,!1,!0))};$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset(v(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(We,{children:o.jsx(Ze,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:W})})}),o.jsx($e,{...r,children:o.jsx(Ne,{id:Be(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:P,cardPaymentView:p,resetCardPaymentViewState:_,cardSetupInProgress:ae,googleAPIKey:V,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx(ve,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:m,children:o.jsx(Oe,{signedInUser:b,currentTenant:T,onLogOutClick:G})}),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:E,updateCardPaymentModalState:P,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:U,cardPaymentView:p,stripeKey:O,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:z,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,fL as tn,e as Qe,g as nn,aa as an,cQ as me,aS as We,K as
|
|
1
|
+
import{V as l,fL as tn,e as Qe,g as nn,aa as an,cQ as me,aS as We,K as yt,aG as Ke,bE as on,o as re,ae as sn,u as M,aT as rn,i1 as ln,gp as cn,fM as ft,fd as Pt,O as Ye,fe as gt,x as ye,gs as fe,cU as dn,an as pn,i2 as ht,af as St,d2 as un,gr as mn}from"./index-1P9yFC0k.js";import{a as m}from"./sentry-DW9sKdqh.js";import{n as O,k as wt}from"./mui-lMF7eHp6.js";import{bi as j,Gc as yn,Gd as fn}from"./zeni-epic-state-TSfU2WWJ.js";import{r as Ct,t as gn}from"./PaymentAccountSetupBillingAddressSection-D-kQI4nd-Cn8Blunk.js";import{b as bt,f as hn,a as It}from"./CustomerOnboardingDetailPageSkeleton-CWNyUuRp-SVIJR56m.js";import{z as Sn,r as Cn}from"./CompanyOfficerDetailsSection-BSFNYauO-46pPRwPa.js";import{t as bn}from"./QBOSetupSection-DDoUJ7L6-B4_th509.js";import"./liveblocks-BfbuekkT.js";import"./core-BzWT0IJw.js";import"./recharts-CatO_S9c.js";import"./lottie-B5och2Z9.js";import"./analytics-CsIQ-59x.js";import"./lexical-CFznRm2I.js";import"./utils-Dbx5oKO7.js";import"./commonTypes-B3mnx2x_-CpkcU002.js";import"./SetUpAccountSection-CxjYbrXu-BF4RgbrZ.js";import"./helper-BVESv00--NsacEbMq.js";import"./LabeledAddressValueField-Dl3atH92-SHIpU7rJ.js";import"./LabeledCountryMultiSelectField-BnljZpX0-D5BhNMnw.js";import"./LabeledCreatableSingleSelectField-CiInq9yD-D3hNy9xJ.js";import"./LabeledDocumentField-Ceb8vgVH-CgSohnk4.js";import"./QBOConnectionDialog-BIg9Iais-DBdEZlGr.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]="2e06a229-9b27-45f5-ac66-0f50b1943168",n._sentryDebugIdIdentifier="sentry-dbid-2e06a229-9b27-45f5-ac66-0f50b1943168")}catch{}})();const In=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:i,isVerificationPopupOpen:g,setIsVerificationPopupOpen:_,verifiedPhoneNumber:P,onPhoneVerified:h,...w})=>{const f=Qe(),V=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(On,{children:l.jsx(Cn,{companyOfficerData:C,allOfficers:V??[],allNationalityCountries:i,sectionHeader:v,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:D,showInfoTooltip:f!=="small",showCompletedIcon:f==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:P,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:_,...w})})},On=O.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
justify-content: center;
|
|
5
|
-
`,Pn=({allNationalityCountries:n,fileProps:C,companyDetails:i,companyIndustries:g,sectionId:_,isCompleted:P,isDisabled:h,style:w,onCompanyAddressClick:
|
|
5
|
+
`,Pn=({allNationalityCountries:n,fileProps:C,companyDetails:i,companyIndustries:g,sectionId:_,isCompleted:P,isDisabled:h,style:w,onCompanyAddressClick:f,onRegisteredAddressClick:V})=>{const c=Qe(),{company_details:v}=Ye.getLocalizedStrings().customerOnboardingPage.sections,{title:D}=v;return l.jsx(wn,{children:l.jsx(Sn,{fileProps:C,companyDetails:i,sectionId:_,isDisabled:h,style:w,sectionHeader:D,productType:"onboarding",showInfoTooltip:c!=="small",showCompletedIcon:c==="small",isCompleted:P,allIndustries:g,allNationalityCountries:n,optionalFields:["companyLegalName","companyDescription","companyAddress","companyIndustry","typeOfIncorporation","stateOfIncorporation","countriesOfOperations","incDate","certificateOfIncorporation","ein","companyPhone","primaryContactName"],onCompanyAddressClick:f,onRegisteredAddressClick:V})})},wn=O.div`
|
|
6
6
|
display: flex;
|
|
7
7
|
align-items: center;
|
|
8
8
|
justify-content: center;
|
|
@@ -10,7 +10,7 @@ import{V as l,fL as tn,e as Qe,g as nn,aa as an,cQ as me,aS as We,K as ft,aG as
|
|
|
10
10
|
display: flex;
|
|
11
11
|
`,kn=O.input`
|
|
12
12
|
display: none;
|
|
13
|
-
`,_n=({isValid:n,sectionId:C="onboardingQboConnection",...i})=>{const{register:g}=dn();return l.jsxs(xn,{children:[l.jsx(kn,{type:"hidden",...g(`${C}.connected`,{validate:_=>_==="true"}),value:n?"true":"false"}),l.jsx(bn,{isValid:n,...i})]})},B="companyDetails",b="companyOfficer",Z="onboardingPaymentAccountSetupSection",Ot="customerOnboardingDetailPage",f="onboardingSubscriptionBillingAddress",ge="onboardingQboConnection",he={titleWidth:new fe(343,580,726,826),topNavBarHeight:new fe(52,52,63),topNavBarLeftRightSpace:new fe(M[5],M[9],112),subTitlePaddingTop:new fe(M[3],M[3]),subTitlePaddingBottom:new fe(M[3],M[3])},Nn=n=>`${n}_form`,le=Ye.getLocalizedStrings(),vn=({fileProps:n,isRefreshingViewInBackground:C,isAdmin:i,onboardingCustomerView:g,companyTitles:_,connectedAccountProvider:P,analytics:h,cardPaymentView:w,stripeKey:y,googleAPIKey:V,handleCreateCardSetupIntent:c,handleConfirmCardSetupIntent:v,updateCardPaymentModalState:D,handleAddCardPaymentSource:I,resetCardPaymentViewState:ee,handleResetCardPaymentErrorStatuses:Ne,redirectToProductSuitePage:Se,onFormErrorsChange:T,...ve})=>{const R=Qe(),De=m.useRef(null),Ae=m.useRef(null),Q=m.useRef(null),Ve=m.useRef(null),[Ce,z]=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:Oe,onCompanyOfficerUpdated:A,onFetchLinkTokenClick:Pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionClick:pe,onEstablishConnectionSuccess:oe,onDeleteFile:N,onEditFileName:Ge,updateFilesEntity:Je,onGetOtp:xt,onSkipSetupClick:Te,onUpdateCustomerView:$e,updateStepHandler:H,onVerifyOtp:kt,onResendOtp:_t,handleOnConnectClick:Nt,updateQBOPopupState:vt,onUpdateStep:Fe,onAddressEditHandler:Dt}=ve,At=nn(),s=an({mode:"onSubmit",reValidateMode:"onChange",defaultValues:Me(g,g.allNationalityCountries),values:Me(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:r})=>{a!=null&&(r==="change"||r==="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:K,paymentAccountStatus:et,externalConnections:Le,plaidConnectionDetails:je,uiState:Be,allNationalityCountries:we,pendingSaveDetails:{companyDetails:Vt,officer:Tt},subscriptionBillingAddress:G}=g,xe=m.useRef(""),$t=e=>{xe.current=e;const t=Object.values(g.companyOfficerLocalData).findIndex(r=>r?.isSelectedForVerification===!0)??0,a=t<0?0:t;s.clearErrors(`${b}.${a}.phone`)},tt=e=>{e!=null&&!ye(e)?s.trigger(`${b}.${J}.phone`):xt(e)},J=Object.values(E).findIndex(e=>e?.isSelectedForVerification===!0)??0,$=`Officer_${J<0?1:J+1}`,Ft=se?.companyOfficers.slice(0,10).sort((e,t)=>e.user.createTime?.isAfter(t.user.createTime)===!0?1:-1),Re=E[$]?.userId!=null?Ft?.find(e=>e.user.userId===E[$]?.userId)?.address:null,nt=E[$]?.addressStatus?.addressToCreate,ke=se?.companyAddress,at=d?.addressStatus?.addressToCreate,ze=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=K?.providerVerificationStatus?.code?.includes("verified")??!1,a=w.cardsList.length>0,r=w.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return e&&t||!t&&!K&&a||!a&&!K&&r};function rt(){if(s.getFieldState(f).error)return!1;const e=s.getValues(f),t=G?.street.join("").trim(),a=G?.city,r=G?.state,u=G?.country,k=G?.postalCode!=null&&G.postalCode||e.postalCode||p.strings.empty;return!!t&&!!a&&!!r&&!!u&&!!k}const lt=We(K?.providerVerificationStatus?.code),Rt=()=>{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"}},zt=()=>{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"&&K?.providerVerificationStatus?.code==="manually_verified"&&h.trackOnboardingBankAccountVerified("manual")},[h,K?.providerVerificationStatus?.code,lt]);const Ut=async(e,t)=>{if(e.includes(B))Oe?.(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 r=t[f];if(e.includes(`${f}.street`)&&t[f].street!=null){const{addressValue:u}=t[f].street,k=Pt(u?.country);r={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&&(r={...r,country:k})}else e===`${f}.country`&&a.selectedOption!=null?r={...r,countryCode:gt(a.selectedOption)}:a.selectedOption!=null&&e.includes(`${f}.street`)===!1&&(r={...r,countryCode:gt(a.selectedOption)});Dt(r)}};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(Me(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),H(te.fromStep,te.stepDirection,!0))},[te,ie,x.fetchState,H]),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=!Ke(nt!=null?j(nt):null,Re!=null?j(Re):null),Ht=!Ke(at!=null?j(at):null,ke!=null?j(ke):null),Wt=!Ke(ot!=null?j(ot):null,ze!=null?j(ze):null),Kt=s.getFieldState(B).isDirty||Ht||Wt||Vt,qe=s.getFieldState(b).isDirty&&ct()||qt||Tt,dt=s.getFieldState(`${f}`).isDirty,_e=d?.primaryContactLocalData,Mt=()=>{H(o,"previous",!0)},Qt=()=>{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?(Qt(),$e($,!1,!0),Y({fromStep:o,shouldNavigate:!0,stepDirection:"next"})):H(o,"next",!0)},200):H(o,"next",!0);break;case"qbo_connection":H(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]?.[J<0?0:J],a=t?.phone,r=t!=null&&Object.keys(t).some(u=>u!=="phone"&&t[u]!=null);if(a!=null&&!r){Xe(e.phoneNumber);return}}e.isValid&&($e($,!1,!1),h.trackOnboardingCompanyOfficerSave(ut(),{legalName:d?.companyLegalName},zt()),Y({fromStep:o,shouldNavigate:!0,stepDirection:"next"}))}else H(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(Kt||qe||!_e?.email){const e=Jt(),t=qe?pt():{isValid:!0};me(()=>{const a=W();T?.(a)}),e&&t.isValid?(Ee&&(z(!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},Rt(),{firstName:_e?.firstName,lastName:_e?.lastName,email:_e?.email}),Y({fromStep:o,shouldNavigate:!0,stepDirection:"next"})):t.isValid||Fe("company_officer")}else Ee?Gt():H(o,"next",!0);break}},Gt=()=>{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,r=e?.ssn??p.strings.empty,u=e?.ownershipInCompany,k=J<0?0:J,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&&P==="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),r&&mn.test(r)===!1&&(s.trigger(`${b}.${k}.ssn`,{shouldFocus:o==="company_officer"}),X=!1),{isValid:X,needsOtp:mt,phoneNumber:a}},Jt=()=>{const e=d?.website?.toString()??p.strings.empty,t=d?.phone??p.strings.empty,a=d?.taxIdOrEIN??p.strings.empty,r=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),(!r||St.test(r)===!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")},[He,Zt]=m.useState(!1);return l.jsxs(Vn,{children:[l.jsxs(Tn,{windowSize:R,children:[S.indexOf(o)>=0?l.jsx(on,{title:it.sectionTitle,showBackButton:!1,backgroundColor:At.colors.grey4,style:{zIndex:4},showLeftSection:R!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:re.sp0,paddingBottom:re.sp0},source:"CustomerOnboardingDetailPage"}):l.jsx($n,{windowSize:R,children:l.jsx(En,{windowSize:R,children:l.jsx(Fn,{})})}),l.jsx(sn,{...s,children:l.jsx(jn,{id:Nn(Ot),children:S.map(e=>{let t;t=l.jsx(Ct,{connectedAccountProvider:P,paymentAccount:K,accountStatus:et,plaidConnectionDetails:je,sectionId:Z,hasError:s.getFieldState(Z).error!=null||ce&&!ue(),isValid:ue(),analytics:h,onFetchLinkTokenClick:Pe,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,cardPaymentView:w,resetCardPaymentViewState:ee,updateCardPaymentModalState:D,cardSetupInProgress:He,subscriptionBillingAddressSectionId:f});let a=De;switch(e){case"link_payment_account":t=l.jsx(Ct,{connectedAccountProvider:P,paymentAccount:K,accountStatus:et,plaidConnectionDetails:je,subscriptionBillingAddressSectionId:f,sectionId:Z,hasError:s.getFieldState(Z).error!=null||ce&&!ue(),isValid:ue(),analytics:h,onFetchLinkTokenClick:Pe,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,updateCardPaymentModalState:D,cardPaymentView:w,resetCardPaymentViewState:ee,cardSetupInProgress:He,googleAPIKey:V,subscriptionBillingAddress:G});break;case"qbo_connection":t=l.jsx(_n,{sectionId:ge,hasError:s.getFieldState(ge).error!=null,isAdmin:i,isValid:Le?.accounting[0]?.isValid??!1,companyName:se?.company.company.companyInfo.companyLegalName,saveConnectionState:Le?.saveConnectionState,isQBOPopupOpen:Be.isQBOPopupOpen,handleOnConnectClick:Nt,updateQBOPopupState:vt}),a=Ae;break;case"company_officer":t=l.jsx(In,{companyOfficerLocalData:E,allNationalityCountries:we,isCompleted:Ze.includes("company_officer"),companyView:se,sectionId:b,filesEndPoint:n.filesEndPoint,authParams:n.authParams,isRefreshingViewInBackground:C,companyTitles:_,isVerificationPopupOpen:F,setIsVerificationPopupOpen:be,onGetOtp:Xe,onVerifyOtp:kt,onResendOtp:_t,onOfficerAddressClick:r=>ne(r,Re?.addressId),updateFilesEntity:Je,onEditFileName:Ge,onDeleteFile:N,verifiedPhoneNumber:xe.current,onPhoneVerified:$t,isDisabled:x.fetchState==="In-Progress"?"readonly":void 0,triggerError:tt}),a=Ve;break;case"company_details":t=l.jsx(Pn,{fileProps:{...n,onEditFileName:Ge,onDeleteFile:N,updateFilesEntity:Je},allNationalityCountries:we,sectionId:B,companyIndustries:g.companyIndustries,companyDetails:d,isDisabled:x.fetchState==="In-Progress"?"readonly":void 0,isCompleted:Ze.includes("company_details"),onCompanyAddressClick:r=>{const u=se?.company.company.companyOnboardingInfo.subscriptionBillingAddressId;ke?.addressId==null&&u!=null?ne(r,u):ne(r,ke?.addressId)},onRegisteredAddressClick:r=>ne(r,ze?.addressId)}),a=Q;break}return l.jsxs(Ln,{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"?M[6]:M[0],stepAnimationDirection:U,children:[S.indexOf(o)>=0?l.jsx(Bn,{windowSize:R,children:it.sectionSubTitle}):null,t]},e)})})}),l.jsx(rn,{formId:`${Ot}`,style:{width:R==="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:Mt,label:st.back,isDisabled:x.fetchState==="In-Progress"||S.indexOf(o)===0},containerStyle:{width:"auto",justifyContent:"center"},showCancel:!0})]}),l.jsx(gn,{handleConfirmCardSetupIntent:v,updateCardPaymentModalState:D,handleCreateCardSetupIntent:c,handleAddCardPaymentSource:I,cardPaymentView:w,stripeKey:y,isCardPaymentOpen:Be.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:Ne,cardSetupInProgress:He,setCardSetupInProgress:Zt})]})},Dn=wt`
|
|
13
|
+
`,_n=({isValid:n,sectionId:C="onboardingQboConnection",...i})=>{const{register:g}=dn();return l.jsxs(xn,{children:[l.jsx(kn,{type:"hidden",...g(`${C}.connected`,{validate:_=>_==="true"}),value:n?"true":"false"}),l.jsx(bn,{isValid:n,...i})]})},B="companyDetails",b="companyOfficer",Z="onboardingPaymentAccountSetupSection",Ot="customerOnboardingDetailPage",y="onboardingSubscriptionBillingAddress",ge="onboardingQboConnection",he={titleWidth:new ye(343,580,726,826),topNavBarHeight:new ye(52,52,63),topNavBarLeftRightSpace:new ye(M[5],M[9],112),subTitlePaddingTop:new ye(M[3],M[3]),subTitlePaddingBottom:new ye(M[3],M[3])},Nn=n=>`${n}_form`,le=Ye.getLocalizedStrings(),vn=({fileProps:n,isRefreshingViewInBackground:C,isAdmin:i,onboardingCustomerView:g,companyTitles:_,connectedAccountProvider:P,analytics:h,cardPaymentView:w,stripeKey:f,googleAPIKey:V,handleCreateCardSetupIntent:c,handleConfirmCardSetupIntent:v,updateCardPaymentModalState:D,handleAddCardPaymentSource:I,resetCardPaymentViewState:ee,handleResetCardPaymentErrorStatuses:Ne,redirectToProductSuitePage:Se,onFormErrorsChange:T,...ve})=>{const R=Qe(),De=m.useRef(null),Ae=m.useRef(null),Q=m.useRef(null),Ve=m.useRef(null),[Ce,z]=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:Oe,onCompanyOfficerUpdated:A,onFetchLinkTokenClick:Pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionClick:pe,onEstablishConnectionSuccess:oe,onDeleteFile:N,onEditFileName:Ge,updateFilesEntity:Je,onGetOtp:xt,onSkipSetupClick:Te,onUpdateCustomerView:$e,updateStepHandler:H,onVerifyOtp:kt,onResendOtp:_t,handleOnConnectClick:Nt,updateQBOPopupState:vt,onUpdateStep:Fe,onAddressEditHandler:Dt}=ve,At=nn(),s=an({mode:"onSubmit",reValidateMode:"onChange",defaultValues:Me(g,g.allNationalityCountries),values:Me(g,g.allNationalityCountries),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),W=m.useCallback(()=>{const e=[];return(s.getFieldState(Z).error!=null||s.getFieldState(y).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:r})=>{a!=null&&(r==="change"||r==="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:K,paymentAccountStatus:et,externalConnections:Le,plaidConnectionDetails:je,uiState:Be,allNationalityCountries:we,pendingSaveDetails:{companyDetails:Vt,officer:Tt},subscriptionBillingAddress:G}=g,xe=m.useRef(""),$t=e=>{xe.current=e;const t=Object.values(g.companyOfficerLocalData).findIndex(r=>r?.isSelectedForVerification===!0)??0,a=t<0?0:t;s.clearErrors(`${b}.${a}.phone`)},tt=e=>{e!=null&&!fe(e)?s.trigger(`${b}.${J}.phone`):xt(e)},J=Object.values(E).findIndex(e=>e?.isSelectedForVerification===!0)??0,$=`Officer_${J<0?1:J+1}`,Ft=se?.companyOfficers.slice(0,10).sort((e,t)=>e.user.createTime?.isAfter(t.user.createTime)===!0?1:-1),Re=E[$]?.userId!=null?Ft?.find(e=>e.user.userId===E[$]?.userId)?.address:null,nt=E[$]?.addressStatus?.addressToCreate,ke=se?.companyAddress,at=d?.addressStatus?.addressToCreate,ze=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=K?.providerVerificationStatus?.code?.includes("verified")??!1,a=w.cardsList.length>0,r=w.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return e&&t||!t&&!K&&a||!a&&!K&&r};function rt(){if(s.getFieldState(y).error)return!1;const e=s.getValues(y),t=G?.street.join("").trim(),a=G?.city,r=G?.state,u=G?.country,k=G?.postalCode!=null&&G.postalCode||e.postalCode||p.strings.empty;return!!t&&!!a&&!!r&&!!u&&!!k}const lt=We(K?.providerVerificationStatus?.code),Rt=()=>{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"}},zt=()=>{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"&&K?.providerVerificationStatus?.code==="manually_verified"&&h.trackOnboardingBankAccountVerified("manual")},[h,K?.providerVerificationStatus?.code,lt]);const Ut=async(e,t)=>{if(e.includes(B))Oe?.(t[B]);else if(e.includes(b))A?.(t[b]);else if(e.includes(y)&&t[y]!=null){const a=s.getValues(`${y}`).country;let r=t[y];if(e.includes(`${y}.street`)&&t[y].street!=null){const{addressValue:u}=t[y].street,k=Pt(u?.country);r={street:t[y].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[y].secondaryInfo,suite:t[y].suite},a.selectedOption!==k.selectedOption&&(r={...r,country:k})}else e===`${y}.country`&&a.selectedOption!=null?r={...r,countryCode:gt(a.selectedOption)}:a.selectedOption!=null&&e.includes(`${y}.street`)===!1&&(r={...r,countryCode:gt(a.selectedOption)});Dt(r)}};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(Me(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(yt.Event.onboardingSkipAndSave))},[ie,Ce,x.fetchState,Te]),m.useEffect(()=>{te?.shouldNavigate===!0&&ie==="In-Progress"&&x.fetchState==="Completed"&&(Y(null),H(te.fromStep,te.stepDirection,!0))},[te,ie,x.fetchState,H]),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=!Ke(nt!=null?j(nt):null,Re!=null?j(Re):null),Ht=!Ke(at!=null?j(at):null,ke!=null?j(ke):null),Wt=!Ke(ot!=null?j(ot):null,ze!=null?j(ze):null),Kt=s.getFieldState(B).isDirty||Ht||Wt||Vt,qe=s.getFieldState(b).isDirty&&ct()||qt||Tt,dt=s.getFieldState(`${y}`).isDirty,_e=d?.primaryContactLocalData,Mt=()=>{H(o,"previous",!0)},Qt=()=>{const e=s.getValues(y),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?(Qt(),$e($,!1,!0),Y({fromStep:o,shouldNavigate:!0,stepDirection:"next"})):H(o,"next",!0)},200):H(o,"next",!0);break;case"qbo_connection":H(o,"next",!0);break;case"company_officer":if(qe){const e=pt();if(me(()=>{const t=W();T?.(t)}),e.needsOtp&&e.phoneNumber&&fe(e.phoneNumber)){const t=s.formState.errors[b]?.[J<0?0:J],a=t?.phone,r=t!=null&&Object.keys(t).some(u=>u!=="phone"&&t[u]!=null);if(a!=null&&!r){Xe(e.phoneNumber);return}}e.isValid&&($e($,!1,!1),h.trackOnboardingCompanyOfficerSave(ut(),{legalName:d?.companyLegalName},zt()),Y({fromStep:o,shouldNavigate:!0,stepDirection:"next"}))}else H(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(`${y}`)),t&&s.trigger(ge),me(()=>{const a=W();T?.(a)}),e?Fe("link_payment_account"):t&&Fe("qbo_connection");return}}if(Kt||qe||!_e?.email){const e=Jt(),t=qe?pt():{isValid:!0};me(()=>{const a=W();T?.(a)}),e&&t.isValid?(Ee&&(z(!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},Rt(),{firstName:_e?.firstName,lastName:_e?.lastName,email:_e?.email}),Y({fromStep:o,shouldNavigate:!0,stepDirection:"next"})):t.isValid||Fe("company_officer")}else Ee?Gt():H(o,"next",!0);break}},Gt=()=>{x.fetchState!=="In-Progress"&&(Te(),h.track(yt.Event.onboardingSkipAndSave))},pt=()=>{const e=E[$],t=e?.email??p.strings.empty,a=e?.phone??p.strings.empty,r=e?.ssn??p.strings.empty,u=e?.ownershipInCompany,k=J<0?0:J,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&&fe(a)===!1&&(s.trigger(`${b}.${k}.phone`,{shouldFocus:o==="company_officer"}),X=!1),a&&fe(a)===!0&&P==="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),r&&mn.test(r)===!1&&(s.trigger(`${b}.${k}.ssn`,{shouldFocus:o==="company_officer"}),X=!1),{isValid:X,needsOtp:mt,phoneNumber:a}},Jt=()=>{const e=d?.website?.toString()??p.strings.empty,t=d?.phone??p.strings.empty,a=d?.taxIdOrEIN??p.strings.empty,r=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&&fe(t)===!1&&(s.trigger(`${B}.companyPhone`,{shouldFocus:o==="company_details"}),u=!1),(!r||St.test(r)===!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")},[He,Zt]=m.useState(!1);return l.jsxs(Vn,{children:[l.jsxs(Tn,{windowSize:R,children:[S.indexOf(o)>=0?l.jsx(on,{title:it.sectionTitle,showBackButton:!1,backgroundColor:At.colors.grey4,style:{zIndex:4},showLeftSection:R!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:re.sp0,paddingBottom:re.sp0},source:"CustomerOnboardingDetailPage"}):l.jsx($n,{windowSize:R,children:l.jsx(En,{windowSize:R,children:l.jsx(Fn,{})})}),l.jsx(sn,{...s,children:l.jsx(jn,{id:Nn(Ot),children:S.map(e=>{let t;t=l.jsx(Ct,{connectedAccountProvider:P,paymentAccount:K,accountStatus:et,plaidConnectionDetails:je,sectionId:Z,hasError:s.getFieldState(Z).error!=null||ce&&!ue(),isValid:ue(),analytics:h,onFetchLinkTokenClick:Pe,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,cardPaymentView:w,resetCardPaymentViewState:ee,updateCardPaymentModalState:D,cardSetupInProgress:He,subscriptionBillingAddressSectionId:y});let a=De;switch(e){case"link_payment_account":t=l.jsx(Ct,{connectedAccountProvider:P,paymentAccount:K,accountStatus:et,plaidConnectionDetails:je,subscriptionBillingAddressSectionId:y,sectionId:Z,hasError:s.getFieldState(Z).error!=null||ce&&!ue(),isValid:ue(),analytics:h,onFetchLinkTokenClick:Pe,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,updateCardPaymentModalState:D,cardPaymentView:w,resetCardPaymentViewState:ee,cardSetupInProgress:He,googleAPIKey:V,subscriptionBillingAddress:G});break;case"qbo_connection":t=l.jsx(_n,{sectionId:ge,hasError:s.getFieldState(ge).error!=null,isAdmin:i,isValid:Le?.accounting[0]?.isValid??!1,companyName:se?.company.company.companyInfo.companyLegalName,saveConnectionState:Le?.saveConnectionState,isQBOPopupOpen:Be.isQBOPopupOpen,handleOnConnectClick:Nt,updateQBOPopupState:vt}),a=Ae;break;case"company_officer":t=l.jsx(In,{companyOfficerLocalData:E,allNationalityCountries:we,isCompleted:Ze.includes("company_officer"),companyView:se,sectionId:b,filesEndPoint:n.filesEndPoint,authParams:n.authParams,isRefreshingViewInBackground:C,companyTitles:_,isVerificationPopupOpen:F,setIsVerificationPopupOpen:be,onGetOtp:Xe,onVerifyOtp:kt,onResendOtp:_t,onOfficerAddressClick:r=>ne(r,Re?.addressId),updateFilesEntity:Je,onEditFileName:Ge,onDeleteFile:N,verifiedPhoneNumber:xe.current,onPhoneVerified:$t,isDisabled:x.fetchState==="In-Progress"?"readonly":void 0,triggerError:tt}),a=Ve;break;case"company_details":t=l.jsx(Pn,{fileProps:{...n,onEditFileName:Ge,onDeleteFile:N,updateFilesEntity:Je},allNationalityCountries:we,sectionId:B,companyIndustries:g.companyIndustries,companyDetails:d,isDisabled:x.fetchState==="In-Progress"?"readonly":void 0,isCompleted:Ze.includes("company_details"),onCompanyAddressClick:r=>{const u=se?.company.company.companyOnboardingInfo.subscriptionBillingAddressId;ke?.addressId==null&&u!=null?ne(r,u):ne(r,ke?.addressId)},onRegisteredAddressClick:r=>ne(r,ze?.addressId)}),a=Q;break}return l.jsxs(Ln,{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"?M[6]:M[0],stepAnimationDirection:U,children:[S.indexOf(o)>=0?l.jsx(Bn,{windowSize:R,children:it.sectionSubTitle}):null,t]},e)})})}),l.jsx(rn,{formId:`${Ot}`,style:{width:R==="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:Mt,label:st.back,isDisabled:x.fetchState==="In-Progress"||S.indexOf(o)===0},containerStyle:{width:"auto",justifyContent:"center"},showCancel:!0})]}),l.jsx(gn,{handleConfirmCardSetupIntent:v,updateCardPaymentModalState:D,handleCreateCardSetupIntent:c,handleAddCardPaymentSource:I,cardPaymentView:w,stripeKey:f,isCardPaymentOpen:Be.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:Ne,cardSetupInProgress:He,setCardSetupInProgress:Zt})]})},Dn=wt`
|
|
14
14
|
from {
|
|
15
15
|
transform: translateY(100%);
|
|
16
16
|
opacity: 0;
|
|
@@ -94,7 +94,7 @@ import{V as l,fL as tn,e as Qe,g as nn,aa as an,cQ as me,aS as We,K as ft,aG as
|
|
|
94
94
|
text-align: ${n=>n.windowSize==="small"?"initial":"center"};
|
|
95
95
|
width: 100%;
|
|
96
96
|
white-space: pre-line;
|
|
97
|
-
`,Me=(n,C)=>{const{companyDetailsLocalData:i,companyOfficerLocalData:g,companyView:_}=n,P=le.commonSetUp.businessVerification,h=le.companyPassport,w=_?.companyOfficers!=null&&_?.companyOfficers.length>0;return{[B]:{companyDescription:i?.companyDescription??le.common.strings.empty,ein:i?.companyFiles.find(
|
|
97
|
+
`,Me=(n,C)=>{const{companyDetailsLocalData:i,companyOfficerLocalData:g,companyView:_}=n,P=le.commonSetUp.businessVerification,h=le.companyPassport,w=_?.companyOfficers!=null&&_?.companyOfficers.length>0;return{[B]:{companyDescription:i?.companyDescription??le.common.strings.empty,ein:i?.companyFiles.find(f=>f.documentType==="tax_ein"),companyId:i?.companyId,syncToken:i?.syncToken,companyLegalName:i?.companyLegalName,companyWebsite:i?.website?.toString()??le.common.strings.empty,companyAddress:i?.addressStatus?.addressToCreate,registeredAddress:i?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:i?.companyIndustry,allOptions:n.companyIndustries.map(f=>f.code)},companyIndustryType:{selectedOption:i?.companyIndustryType,allOptions:[...yn]},companySubIndustry:{selectedOption:i?.companySubIndustry,allOptions:fn(i?.companyIndustryType)},companyPhone:i?.phone,companyTaxId:i?.taxIdOrEIN,primaryContactName:{firstName:i?.primaryContactLocalData?.firstName,lastName:i?.primaryContactLocalData?.lastName},primaryContactEmail:i?.primaryContactLocalData?.email,primaryContactUserId:i?.primaryContactLocalData?.userId,primaryContactSyncToken:i?.primaryContactLocalData?.syncToken,fileIds:i?.companyFiles.map(f=>f.fileId)??[],certificateOfIncorporation:i?.companyFiles.find(f=>f.documentType==="certificate_of_incorporation"),incDate:i?.incDate?.toDate(),typeOfIncorporation:{selectedOption:i?.typeOfIncorporation,allOptions:h.companyIncInfo.allTypesOfIncorporation}},[b]:Object.values(g).map((f,V)=>{const c=f,v=cn(c?.documentTypeSelectedForVerification);return{userId:c?.userId,officerType:c?.officerType??`Officer_${V+1}`,name:{firstName:c?.firstName,lastName:c?.lastName},email:c?.email,fileIds:c?.fileIds??[],dob:c?.birthday?.toDate(),nationalityCountryCode:Pt(c?.nationalityCountryCode,C.map(D=>D.countryCode)),ssn:c?.ssn,role:{selectedOption:c?.titleAtCompany,allOptions:P.allTypesOfRoles},phone:c?.phone,ownership:c?.ownershipInCompany,officerAddress:c?.addressStatus?.addressToCreate,selectDocument:{front:ft(!0,c?.userFiles??[],v),back:ft(!1,c?.userFiles??[],v),selectDocumentType:v},isSelectedForVerification:!w&&V===0?!0:c?.isSelectedForVerification??!1,userVerificationStatus:c?.userVerificationStatus,syncToken:c?.syncToken,isPhoneVerified:c?.isPhoneVerified,otpChallenge:c?.otpChallenge}}),[Z]:{account:{allOptions:[],selectedOption:void 0}},[y]:ln(y,n?.subscriptionBillingAddress)[y],[ge]:{connected:n.externalConnections?.accounting[0]?.isValid??!1}}},pa=n=>{const{onboardingCustomerView:C,cardPaymentView:i,signedInUser:g,currentTenant:_,isOnAddressPage:P,stripeKey:h,googleAPIKey:w,onUpdateStep:f,onZeniLogoClick:V,handleLogOutClick:c,handleCockpitClick:v,meetingUrl:D,analytics:I,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:Ne,handleFetchPaymentSources:Se,updateCardPaymentModalState:T,resetCardPaymentViewState:ve,handleResetCardPaymentErrorStatuses:R,redirectToProductSuitePage:De,...Ae}=n,{allSteps:Q,completedSteps:Ve,halfCompletedSteps:Ce,currentStep:z,fetchStatus:U}=C,q=m.useRef(z),F=m.useRef(Q),[be,ce]=m.useState(!1),[Ie,te]=m.useState([]),Y={allSteps:Q,isOnAddressPage:P,completedSteps:Ve,halfCompletedSteps:Ce,errorSteps:Ie,currentStep:z,fetchStatus:U,signedInUser:g,currentTenant:_,onUpdateStep:A=>{f(A)},onZeniLogoClick:V,handleLogOutClick:c,handleCockpitClick:v,setIsStepClicked:ce};m.useEffect(()=>{if(q.current!==z){const A=q.current;be===!0&&(I?.trackOnboardingCurrentStep(z,A),ce(!1)),q.current=z}},[z,be,I]),m.useEffect(()=>{Q.length!==F.current.length&&(F.current=Q)},[Q]);const ne=(A,Pe,de)=>{const ae=F.current.length,pe=F.current.indexOf(A);switch(Pe){case"next":{const oe=(pe+1)%ae,N=F.current[oe];q.current=N,f(N),de===!0?I.trackOnboardingNext(A,N):I.trackOnboardingCurrentStep(N,A);break}case"previous":{const oe=(pe+ae-1)%ae,N=F.current[oe];q.current=N,f(N),de===!0?I.trackOnboardingBack(A,N):I.trackOnboardingCurrentStep(N,A);break}}},Oe=U.fetchState==="In-Progress"||U.fetchState==="Not-Started";return l.jsx(Rn,{isOnAddressPage:P,children:P?l.jsx(bt,{...Y}):l.jsxs(zn,{children:[l.jsx(bt,{...Y}),Oe?l.jsx(hn,{isNoStepsPage:!1}):l.jsx(vn,{onboardingCustomerView:C,analytics:I,updateStepHandler:ne,onUpdateStep:f,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:Ne,updateCardPaymentModalState:T,handleFetchPaymentSources:Se,cardPaymentView:i,resetCardPaymentViewState:ve,stripeKey:h,googleAPIKey:w,handleResetCardPaymentErrorStatuses:R,redirectToProductSuitePage:De,onFormErrorsChange:te,...Ae}),Oe?null:l.jsx(tn,{isFooterRendered:!0,meetingUrl:D,analytics:I,productType:"onboarding"})]})})},Rn=O.div`
|
|
98
98
|
display: flex;
|
|
99
99
|
flex-direction: column;
|
|
100
100
|
width: ${n=>n.isOnAddressPage?"fit-content":"100%"};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as F,a9 as I,ay as M,g as U,V as e,bE as _,o as t,ac as
|
|
1
|
+
import{e as F,a9 as I,ay as M,g as U,V as e,bE as _,o as t,ac as b,bp as W,fL as V,O as A,an as H,ah as N,d as l,w as k,ai as R,n as J,c as Z,as as G,b1 as q}from"./index-1P9yFC0k.js";import{a as n}from"./sentry-DW9sKdqh.js";import{n as o}from"./mui-lMF7eHp6.js";import{GP as K}from"./zeni-epic-state-TSfU2WWJ.js";import Q from"./ConfettiBurst-CeAc4Ily-BAnAm8DT.js";import{T as X}from"./ProductsCarousel-BRo0P4GW-asLJ34JL.js";import"./liveblocks-BfbuekkT.js";import"./core-BzWT0IJw.js";import"./recharts-CatO_S9c.js";import"./lottie-B5och2Z9.js";import"./analytics-CsIQ-59x.js";import"./lexical-CFznRm2I.js";import"./utils-Dbx5oKO7.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]="d10b016c-ee3e-4bd5-996e-370ff8a96c50",i._sentryDebugIdIdentifier="sentry-dbid-d10b016c-ee3e-4bd5-996e-370ff8a96c50")}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=F(),x=I().analytics,w=M(),S=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:T,onZeniLogoClick:z,handleCockpitClick:E}=L,D=U(),{customerOnboardingPage:c}=ee,h=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:B}=s,{isPayrollEnabled:g,isCfoEnabled:u,isTaxEnabled:m}=B;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]},O=s=>{if(v(),!s)return;let r="";i?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,K(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(_,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:D.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":b("zeni-logo-customer-onboarding-product-suite"),onClick:z})}),rightSideComponent:f?e.jsxs(ke,{"data-testid":b("update-to-payment-address-details"),onClick:()=>O(a),children:[e.jsx(be,{}),e.jsx(Ce,{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(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:h(a)[0]})]}),e.jsx(C,{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(X,{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(W,{signedInUser:S,currentTenant:a,onLogOutClick:T,onCockpitClick:E})}),e.jsx(V,{isFooterRendered:!1,meetingUrl:p,analytics:x,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(Q,{showConfetti:$})]})},te=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
@@ -83,8 +83,8 @@ import{e as F,a9 as I,ay as M,g as U,V as e,bE as _,o as t,ac as k,bp as W,fL as
|
|
|
83
83
|
display: flex;
|
|
84
84
|
align-items: center;
|
|
85
85
|
justify-content: center;
|
|
86
|
-
width: ${
|
|
87
|
-
height: ${
|
|
86
|
+
width: ${k.largeRegular.lineHeight};
|
|
87
|
+
height: ${k.largeRegular.lineHeight};
|
|
88
88
|
border-radius: 50%;
|
|
89
89
|
outline: 1px solid ${l.brandColorJadeDark};
|
|
90
90
|
background-color: ${l.brandColorPearl};
|
|
@@ -173,11 +173,11 @@ import{e as F,a9 as I,ay as M,g as U,V as e,bE as _,o as t,ac as k,bp as W,fL as
|
|
|
173
173
|
cursor: pointer;
|
|
174
174
|
flex-shrink: 0;
|
|
175
175
|
margin-left: -${t.sp5};
|
|
176
|
-
`,
|
|
176
|
+
`,be=o(Y)`
|
|
177
177
|
width: ${t.sp4};
|
|
178
178
|
min-width: ${t.sp4};
|
|
179
179
|
height: ${t.sp4};
|
|
180
|
-
`,
|
|
180
|
+
`,ke=o.div`
|
|
181
181
|
display: flex;
|
|
182
182
|
flex-direction: row;
|
|
183
183
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{ax as OA,e as V,ay as Ee,V as e,az as qt,O as Q,aA as Xt,aB as Vt,o as r,aC as Zt,aD as $t,K as UA,d as m,aE as _t,aF as Ar,aG as er,aH as Ie,aI as tr,aJ as rr,aK as or,aL as ar,aM as ir,aN as gr,aO as P,aP as N,aQ as Y,aR as X,ac as D,aa as nr,aS as We,b as qe,ae as Cr,aT as sr,x as eA,aU as G,aV as tA,ao as rA,aW as Xe,aX as J,aY as U,aZ as VA,aq as Er,g as gA,a_ as dr,a$ as Br,b0 as lr,b1 as Qr,ak as F,b2 as TA,u as S,as as ZA,an as HA,b3 as Ve,b4 as Ze,b5 as $e,b6 as Ir,b7 as $A,N as cr,M as hr,b8 as pr,b9 as _e,ba as mr,bb as ur,bc as _A,bd as xr,be as fr,bf as wr,bg as kr,L as At,w as Dr,bh as yr,y as jr,bi as et,bj as tt,ap as vr,bk as br,ai as Mr,au as rt}from"./index-
|
|
1
|
+
import{ax as OA,e as V,ay as Ee,V as e,az as qt,O as Q,aA as Xt,aB as Vt,o as r,aC as Zt,aD as $t,K as UA,d as m,aE as _t,aF as Ar,aG as er,aH as Ie,aI as tr,aJ as rr,aK as or,aL as ar,aM as ir,aN as gr,aO as P,aP as N,aQ as Y,aR as X,ac as D,aa as nr,aS as We,b as qe,ae as Cr,aT as sr,x as eA,aU as G,aV as tA,ao as rA,aW as Xe,aX as J,aY as U,aZ as VA,aq as Er,g as gA,a_ as dr,a$ as Br,b0 as lr,b1 as Qr,ak as F,b2 as TA,u as S,as as ZA,an as HA,b3 as Ve,b4 as Ze,b5 as $e,b6 as Ir,b7 as $A,N as cr,M as hr,b8 as pr,b9 as _e,ba as mr,bb as ur,bc as _A,bd as xr,be as fr,bf as wr,bg as kr,L as At,w as Dr,bh as yr,y as jr,bi as et,bj as tt,ap as vr,bk as br,ai as Mr,au as rt}from"./index-1P9yFC0k.js";import{a as t,P as k}from"./sentry-DW9sKdqh.js";import{n as g,a as Sr,c as fA,k as R}from"./mui-lMF7eHp6.js";import{L as Rr}from"./lottie-B5och2Z9.js";import{bg as Lr,bh as ot,FB as at}from"./zeni-epic-state-TSfU2WWJ.js";import{v as Fr}from"./DashboardSidebarBackgroundAnimation-CUZGIAxW-B53uUCnJ.js";import{L as Jr,k as Pr}from"./ArAgingChart-ZwWwEBJ3-CULx_eka.js";import{E as Ur,T as de,I as it}from"./ReloadCard-DIFXZM9U-DggvZzmh.js";import{L as Or,O as YA,c as QA}from"./TopExCard-CF6z0JWk-Cg9s2TIf.js";import{Y as Tr,X as Hr,H as Yr,P as Kr,G as Nr}from"./RevenueChart-BoFq3ebd-DHduN5l3.js";import Gr from"./InsightsCardStack-CJBPZbzD-u0EJRdpQ.js";import{a as zr}from"./AccountsPromoCardStack-Cvixqb_6-KCmTFl6q.js";import{c as Z}from"./SummaryCard-HW-1WXN9-Bs5w4IBU.js";import{t as Wr,o as qr}from"./arrow-south-east-round-PEovUgvH-CeOVinw8.js";import{N as iA}from"./NavigationArrow-DT82hMh--DnguV2jQ.js";import{x as Ae}from"./NavigationDots-CwCZ9EAa-DxhHWVBc.js";import Xr from"./CompanyPassportCard-B-mBb9Q5-F4Uihuez.js";import{C as Vr}from"./gift-box-Cmt9OgIZ-TLg2Cmt8.js";import Zr from"./InformationCardStack-t8eELRLU-D1gSzAhm.js";import{p as gt}from"./chartTypes-BLsP7rGF-D9WB2Y1J.js";import{h as $r}from"./toCOABalancesWithID-BWMF0py6-WEK4vUTu.js";import{V as _r}from"./toChartData-BkubFDq8-BbT_apFS.js";import{r as Ao,i as eo}from"./graphic-no-data-net-burn-l-CzmycA0m-ukcWACRx.js";import{N as to,J as ro}from"./PromoBaseCards-BrXJEufN-DEHvY13g.js";import{r as oo}from"./core-BzWT0IJw.js";import{N as ao,I as io}from"./VideoPlayer-TlEy-oD0-Cje6jVjh.js";import go from"./ConfettiBurst-CeAc4Ily-BAnAm8DT.js";import{F as no,G as Co,Y as so,X as Eo,R as Bo}from"./recharts-CatO_S9c.js";import"./liveblocks-BfbuekkT.js";import"./analytics-CsIQ-59x.js";import"./lexical-CFznRm2I.js";import"./utils-Dbx5oKO7.js";import"./graphic-no-data-l-DU4J8fDt-CaAYbmVV.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new A.Error().stack;o&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[o]="ce837253-59a9-42b4-904e-0220448431c0",A._sentryDebugIdIdentifier="sentry-dbid-ce837253-59a9-42b4-904e-0220448431c0")}catch{}})();const lo=g(tA)`
|
|
2
2
|
color: ${A=>A.theme.colors.champion};
|
|
3
3
|
`,ce=g.div`
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as B,g as Z,O as _,ay as ke,V as s,bE as Xe,L as Ke,K as qe,bF as Je,o as d,x as L,aG as J,bG as Qe,bH as et,ak as oe,u as C,b5 as tt,aX as st,b as Oe,a as Be,d as T,as as Pe,aW as ot,bc as at,ap as nt,bI as it,av as rt,bJ as ct,bK as ne,bL as lt,au as dt,ao as pt,bM as ut,bN as gt}from"./index-
|
|
1
|
+
import{e as B,g as Z,O as _,ay as ke,V as s,bE as Xe,L as Ke,K as qe,bF as Je,o as d,x as L,aG as J,bG as Qe,bH as et,ak as oe,u as C,b5 as tt,aX as st,b as Oe,a as Be,d as T,as as Pe,aW as ot,bc as at,ap as nt,bI as it,av as rt,bJ as ct,bK as ne,bL as lt,au as dt,ao as pt,bM as ut,bN as gt}from"./index-1P9yFC0k.js";import{a as S,P as Q}from"./sentry-DW9sKdqh.js";import{n as u,k as Ie}from"./mui-lMF7eHp6.js";import{bg as ht,FD as mt,EZ as ft,FE as bt,FF as xt,FG as _t,FH as wt,FI as yt,FJ as St,FK as vt,FL as $t}from"./zeni-epic-state-TSfU2WWJ.js";import{m as Y,l as se}from"./analyticsHelper-AeOsAjMK-CJS3UJGT.js";import{x as jt,b as Ct}from"./ReportTableViewSelector-BsIDwouQ-NP1BC0UQ.js";import{F as kt}from"./InsightsSection-tUBzsCix-DBW2f1wX.js";import{H as ee}from"./BalancesInsightWithToolTip-Co6ZUc5x-C2axpdHs.js";import{y as Ot,$ as Bt,v as Pt,M as xe,b as pe}from"./TimeRangeSwitcher-oORYeFzN-rqP6IKB_.js";import{G as It,P as Lt,Y as _e,X as we,H as ye}from"./RevenueChart-BoFq3ebd-DHduN5l3.js";import{C as Nt}from"./NoDataChart-DCTRXLc7-DvMHmBjn.js";import{n as D}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{T as Le}from"./TimeframeSwitcher-JcJSbn0--BLek9me8.js";import{n as Rt,t as E,j as Dt,h as ue,D as Tt}from"./CollapsableReportTable-CIaa7SIH-DUaQR6Xw.js";import{S as zt,M as Ft,g as Mt,C as te,L as Ne,D as Re,T as De}from"./mapSectionWithAcOnlyToTreeNode-BIiMj0sc-bheB0LvM.js";import{d as At}from"./NoDataTable-D8Xw5pAY--PbLC5X1.js";import{d as ge,l as he}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-NKafOEXu-DbLH5aa6.js";import{d as me}from"./mapLoadingInProgressToTreeNode-DJxRl0X1-BY7wUAAY.js";import"./liveblocks-BfbuekkT.js";import"./core-BzWT0IJw.js";import"./recharts-CatO_S9c.js";import"./lottie-B5och2Z9.js";import"./analytics-CsIQ-59x.js";import"./lexical-CFznRm2I.js";import"./utils-Dbx5oKO7.js";import"./NavigationDots-CwCZ9EAa-DxhHWVBc.js";import"./chartTypes-BLsP7rGF-D9WB2Y1J.js";import"./toCOABalancesWithID-BWMF0py6-WEK4vUTu.js";import"./toChartData-BkubFDq8-BbT_apFS.js";import"./AccountRow-DEtntSrL-DJ_MEu4z.js";import"./graphic-no-data-l-DU4J8fDt-CaAYbmVV.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a09a61fe-c6ab-4b50-a222-ab00fa5ba564",e._sentryDebugIdIdentifier="sentry-dbid-a09a61fe-c6ab-4b50-a222-ab00fa5ba564")}catch{}})();const Et=e=>S.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},S.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),S.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),S.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Vt=u.div`
|
|
2
2
|
justify-content: center;
|
|
3
3
|
align-items: center;
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{ax as b,V as o,b7 as f,o as p}from"./index-
|
|
1
|
+
import{ax as b,V as o,b7 as f,o as p}from"./index-1P9yFC0k.js";import{a as s}from"./sentry-DW9sKdqh.js";import{a as h,n as m}from"./mui-lMF7eHp6.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="037aa97a-20aa-4ac5-84c4-9b2dfa9d146b",e._sentryDebugIdIdentifier="sentry-dbid-037aa97a-20aa-4ac5-84c4-9b2dfa9d146b")}catch{}})();const D=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const t=h(),r=e||n,l=n?"DashboardNewYearShow":"DashboardChristmasSnow",[i,d]=b(l,r),[a,c]=s.useState(null);i!=null&&a==null&&!d&&c(i);const u=e&&t.mode==="light"?.7:.2;return(e||n)&&a!=null?o.jsx(y,{contextWiseOpacity:u,newYearAnimationEnabled:n,children:o.jsx(f,{style:{width:"inherit",height:"inherit",display:"block"},animationData:a,play:!0,loop:n?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aQ as z,hS as T,e as _,ay as D,V as i,dN as N,o as t,an as
|
|
1
|
+
import{aQ as z,hS as T,e as _,ay as D,V as i,dN as N,o as t,an as f,ao as y,O as C}from"./index-1P9yFC0k.js";import{n}from"./mui-lMF7eHp6.js";import{g as O}from"./BoxItem-XoWq-tnh-DHNQhLDX.js";import{o as A}from"./commonDimensions-DIm7kTtR-D2v7Ywwl.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="00e0d18f-322b-4c4e-9c0a-84c809e84f1c",e._sentryDebugIdIdentifier="sentry-dbid-00e0d18f-322b-4c4e-9c0a-84c809e84f1c")}catch{}})();const{common:{strings:{empty:g}}}=C.getLocalizedStrings();function J({data:e,boxType:a,depositAccountId:l,isCheckingCommentingEnabled:x=!1}){const{counterParty:s,typeName:c,amount:h,logo:u,summary:$,direction:k,status:v}=e,j=s.length>0?s:$,p=z("0,0.00",h),r=T(v),o=_(),d=D(),S=`dashboard_${d.currentTenant?.companyId}`,m=`list.${e.id}`,w=l!=null?{application:"dashboard",companyId:d.currentTenant?.companyId,tab:"checking",entityType:`checking.${m}`,entityId:e.id,isGlobalComment:!1,groupId:l}:void 0,I=i.jsxs(H,{children:[i.jsx(L,{src:u?.toString(),loading:"lazy"}),i.jsx(K,{children:i.jsxs(V,{windowSize:o,children:[i.jsx(M,{children:j}),r!=null?i.jsxs(q,{windowSize:o,children:[i.jsx(G,{windowSize:o}),i.jsx(B,{color:r?.color,children:r?.value})]}):null]})}),i.jsxs(E,{windowSize:o,children:[c!=null?i.jsx(P,{children:i.jsx(W,{className:"tag",children:c})}):null,i.jsx(Q,{windowSize:o,children:k==="debit"?`-${p}`:p})]})]}),b=i.jsx(O,{content:I,boxType:a,isDisabled:!1,isNotClickable:!0});return!x||w==null||l==null?b:i.jsx(N,{isThreadAllowed:!0,entityId:e.id,dashboardTabKey:m,roomId:S,companyId:d.currentTenant?.companyId??g,companyName:d.currentTenant?.companyName??g,dashboardOptionType:"checking",filterMetaData:w,groupId:l,style:{width:"100%",minWidth:0,alignSelf:"stretch"},children:b})}const E=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
|
|
4
4
|
align-items: ${e=>e.windowSize==="small"?"flex-end":"center"};
|
|
@@ -29,7 +29,7 @@ import{aQ as z,hS as T,e as _,ay as D,V as i,dN as N,o as t,an as g,ao as y,O as
|
|
|
29
29
|
display: flex;
|
|
30
30
|
width: ${t.sp4};
|
|
31
31
|
height: ${t.sp4};
|
|
32
|
-
`,M=n(
|
|
32
|
+
`,M=n(f)`
|
|
33
33
|
display: -webkit-box;
|
|
34
34
|
-webkit-box-orient: vertical;
|
|
35
35
|
-webkit-line-clamp: 1;
|
|
@@ -66,7 +66,7 @@ import{aQ as z,hS as T,e as _,ay as D,V as i,dN as N,o as t,an as g,ao as y,O as
|
|
|
66
66
|
background-color: ${e=>e.theme.colors.grey1};
|
|
67
67
|
margin-left: ${t.sp2};
|
|
68
68
|
margin-right: ${t.sp2};
|
|
69
|
-
`,Q=n(
|
|
69
|
+
`,Q=n(f)`
|
|
70
70
|
display: -webkit-box;
|
|
71
71
|
-webkit-box-orient: vertical;
|
|
72
72
|
-webkit-line-clamp: 1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as S,e as I,V as t,bE as E,b5 as Y,h$ as z,o,O as F,d as u,cC as _,dr as A,ds as L,dl as T,dt as B,x as R,ak as N,an as P,u as x}from"./index-
|
|
1
|
+
import{g as S,e as I,V as t,bE as E,b5 as Y,h$ as z,o,O as F,d as u,cC as _,dr as A,ds as L,dl as T,dt as B,x as R,ak as N,an as P,u as x}from"./index-1P9yFC0k.js";import{a as w}from"./sentry-DW9sKdqh.js";import{n as r}from"./mui-lMF7eHp6.js";import{bh as V}from"./zeni-epic-state-TSfU2WWJ.js";import{$ as O}from"./BoxItem-XoWq-tnh-DHNQhLDX.js";import{o as X}from"./commonDimensions-DIm7kTtR-D2v7Ywwl.js";import{Y as G}from"./DepositAccTransactionItem-Ci-LxLsk-Cvq7Prqs.js";import"./liveblocks-BfbuekkT.js";import"./core-BzWT0IJw.js";import"./recharts-CatO_S9c.js";import"./lottie-B5och2Z9.js";import"./analytics-CsIQ-59x.js";import"./lexical-CFznRm2I.js";import"./utils-Dbx5oKO7.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b7b7b45c-df6e-48cc-912f-4327ecf4f963",e._sentryDebugIdIdentifier="sentry-dbid-b7b7b45c-df6e-48cc-912f-4327ecf4f963")}catch{}})();const l=F.getLocalizedStrings(),H={listItemMargin:new R(x[3],x[8])};function J(e){const n=A(e,a=>a.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),c=L(n,a=>a.length>0);return T(c,a=>({date:a[0].transactionDate,transactions:B(a,m=>m.transactionDate,"desc")}))}const K=z(J),be=({transactionListView:e,onBackClick:n,depositAccountId:c,isCheckingCommentingEnabled:a=!1})=>{const m=S(),p=I(),j=w.createRef(),f=w.useRef(null),d=K(e.transactions),v=e.depositAccountName,b=d.length===0,C=i=>b===!1?d[i].transactions.length*X.transactionItemHeightResponsive.value(p)+45:24,D=({index:i,style:h})=>{if(b===!1){const s=d[i];return t.jsx(y,{style:{...h},children:t.jsx($,{windowSize:p,children:t.jsxs(k,{children:[t.jsx(q,{children:V().year()===s.date.year()?s.date.format(l.dateFormat.visual.MMMDFormat):s.date.format(l.dateFormat.visual.MMMDCommaYYYYformat)}),t.jsx(W,{children:s.transactions.map((M,g)=>t.jsx(G,{data:M,boxType:O(g,s.transactions.length),depositAccountId:c,isCheckingCommentingEnabled:a},g))})]})})})}else return t.jsx(y,{style:{...h},children:t.jsx(Q,{children:t.jsx($,{windowSize:p,children:t.jsx(Z,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return t.jsxs(U,{children:[t.jsx(E,{title:`${v} ${l.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:m.colors.grey4,style:{zIndex:3},onBackClick:n,scrollableContent:f.current!=null?f:void 0,source:"DepositAccTransactionListPage"}),t.jsx(k,{children:t.jsx(Y,{children:({height:i,width:h})=>t.jsx(ee,{ref:j,height:i,width:h,outerRef:f,itemKey:s=>s,itemCount:d.length,itemSize:C,initialScrollOffset:0,children:D})})})]})},y=r.div``,$=r.div`
|
|
2
2
|
margin: ${e=>`${o.sp0} ${H.listItemMargin.valuePx(e.windowSize)}`};
|
|
3
3
|
`,Q=r.div`
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as O,aa as J,O as T,cQ as U,aG as G,V as n,cy as H,cz as Q,cA as q,ae as K,aT as X,x as b,fa as Y,o as Z,bb as ee,u as o}from"./index-
|
|
1
|
+
import{e as O,aa as J,O as T,cQ as U,aG as G,V as n,cy as H,cz as Q,cA as q,ae as K,aT as X,x as b,fa as Y,o as Z,bb as ee,u as o}from"./index-1P9yFC0k.js";import{a as C}from"./sentry-DW9sKdqh.js";import{n as h}from"./mui-lMF7eHp6.js";import{bi as S}from"./zeni-epic-state-TSfU2WWJ.js";import{e as ne}from"./BankAccountSection-DnBVOkJC-DYCo1C_L.js";import{M as te}from"./MagicLinkTitleSection-DLdaV8WG-CsPJp3ez.js";import{W as ae,A as oe}from"./BankAccountWarningSection-D7OuLiLz-De8vglQr.js";import{T as ie}from"./MailingDetailsSection-BNVPaGFt-BMhNs8t2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5b7c6747-5bcc-436a-8ddc-0279f8f8f678",e._sentryDebugIdIdentifier="sentry-dbid-5b7c6747-5bcc-436a-8ddc-0279f8f8f678")}catch{}})();const i={paddingTopBottom:new b(o[3],o[3]),paddingRight:new b(o[3],o[8]),paddingLeft:new b(o[3],o[6]),buttonWidth:new b(140,140),marginLeft:new b(o[4],o[6])},B="domesticWireDetailsPage",k="bankAccountSection",D="mailingAddressSection",$=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:t,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:j,isMagicLink:f,currencySymbol:v,amount:P,onSaveHandler:z,onWireDetailsUpdated:I,onFetchBankName:R,onAddressClick:L,onBackClick:w}=e,u=O(),c=J({mode:"onBlur",reValidateMode:"onChange",defaultValues:C.useMemo(()=>se(s,r),[s,r])}),[W,g]=C.useState(!1),a=T.getLocalizedStrings().spendManagement.billPay.vendorCreation,E=T.getLocalizedStrings().common.footer,M=a.wireDetails.domestic,_={onOkClick:()=>{g(!1),c.reset(),w?.()},onCancelClick:()=>{g(!1)}},V=async(p,m)=>{const d=m[k].bankRoutingNumber;I(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&Y.test(d)===!0&&R?.(d)};C.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&U(()=>V(d,m))});return()=>{p.unsubscribe()}});const F=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&z("wire")}),N=!G(x!=null?S(x):x,r!=null?S(r):r)||re(s)||c.formState.isDirty;return n.jsxs(ue,{children:[n.jsxs(le,{size:u,children:[W===!0?n.jsx(H,{titleComponent:n.jsx(q,{children:a.discardTitle}),descriptionComponent:n.jsx(Q,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:_}):null,n.jsx(ae,{header:f?n.jsx(te,{companyName:j??"",currencySymbol:v??"",amount:P??0}):M.addWireDetails,isMagicLink:f,isDirty:N,onBackClick:w,setShowConfirmationPopup:g}),t?.fetchState==="Error"&&t.error?.code===409?n.jsx(oe,{warningText:a.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:u,children:a.bankAccountCommon.accountDetailsTitle}),n.jsx(K,{...c,children:n.jsxs("form",{id:$(B),onSubmit:F,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:D,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(X,{formId:$(B),primaryBtn:{label:f?a.bankAccountCommon.submitDetails:a.bankAccountCommon.saveAccount,isLoading:t.fetchState==="In-Progress",style:{width:i.buttonWidth.value(u)},isDisabled:A!=null},showCancel:!f,cancelBtn:{label:E.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{N?g(!0):(c.reset(),w?.())}}})]})},se=(e,t)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[D]:{mailingAddress:t}}),re=e=>{if(e==null)return!1;const{bankAccountName:t,bankAccountNumber:l,bankName:y,bankRoutingNumber:s}=e;return!!t||!!l||!!y||!!s},ce=h.div`
|
|
2
2
|
padding-left: ${e=>i.paddingLeft.valuePx(e.size)};
|
|
3
3
|
padding-right: ${e=>i.paddingRight.valuePx(e.size)};
|
|
4
4
|
padding-top: ${e=>i.paddingTopBottom.valuePx(e.size)};
|