@zeniai/web-app-ui 4.14.29-dev → 4.14.30-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-CQdbfxHV-BW88pIYa.js +21 -0
- package/dist/assets/{AIPerformancePage-BCxF5hNI-DwsSzcsx.js → AIPerformancePage-jyNXVGMj-Bs4Wcfnt.js} +13 -13
- package/dist/assets/AccountInfoPage-CiPtog_o-B4btRIXv.js +18 -0
- package/dist/assets/AccountInfoPageContent-Bj0kaRHv-CjMeZGo_.js +149 -0
- package/dist/assets/{AccountLockedInfoModal-CKODwo_y-D1V0TVL_.js → AccountLockedInfoModal-EbQpyRJx-DeA2eRRt.js} +3 -3
- package/dist/assets/{AccountReconDetailsDrawerPage-B2m7w0mL-C5Y15orT.js → AccountReconDetailsDrawerPage-CK1QV13E-BSUxm7rf.js} +3 -3
- package/dist/assets/{AccountRow-G9Hw9KCo-CT1w9ZhF.js → AccountRow-B3Sz6a-V-GlNhkavB.js} +7 -7
- package/dist/assets/{AccountsPromoCardStack-C1-hQWvB-BQ8MpMFD.js → AccountsPromoCardStack-DJtz56-u-D5uyYQuY.js} +6 -6
- package/dist/assets/AddAddressForCardDrawer-BDtxj9h6-Xx-rQDHp.js +6 -0
- package/dist/assets/{AddToWalletPage-BLdfTvYw-1DCwK82d.js → AddToWalletPage-Czepun8f-MGSdB8OM.js} +4 -4
- package/dist/assets/{AddressRoutes-BQkJFfvp.js → AddressRoutes-CmvRhhab.js} +1 -1
- package/dist/assets/{AddressScreen-Dl895CZ9.js → AddressScreen-Cb00RwYZ.js} +2 -2
- package/dist/assets/{AgingReportsPage-C6aasTzQ-C63SyJmI.js → AgingReportsPage-DzAVDq_i-BP-WG6Wy.js} +5 -5
- package/dist/assets/{AiCfoScreen-IdwAAJXG.js → AiCfoScreen-CZVtCrsQ.js} +2 -2
- package/dist/assets/{AllUserItems-CjeF5SWi-CeRsiH4z.js → AllUserItems-BEoRQT-v-9OnCgvS-.js} +4 -4
- package/dist/assets/{ApAgingDetailPage-BWtvu1dO-Br56Wlkb.js → ApAgingDetailPage-55JdoIHh-kk28-9yG.js} +8 -8
- package/dist/assets/{AppBasePage-MKRsDpmx-DMLcxkrr.js → AppBasePage-CLye29uw-B08L49eb.js} +2 -2
- package/dist/assets/{AppDrawerContent-DN2hf6ff-5NhbUBos.js → AppDrawerContent-CDawrmfz-DqagnYqP.js} +6 -6
- package/dist/assets/{ApprovalRulesSettingsPage-0XbPzs2a-C8UoHZRv.js → ApprovalRulesSettingsPage-BHUZdWCO-tMTnXaFd.js} +1 -1
- package/dist/assets/{ArAgingChart-DSx_E9ZM-RnIrRkZm.js → ArAgingChart-DeL9nNI7-Bj8y0fT6.js} +2 -2
- package/dist/assets/{ArAgingDetailPage-C8h1id5v-HwBRgj9f.js → ArAgingDetailPage-CuG65EQs-CXt16x8B.js} +3 -3
- package/dist/assets/{AttachmentView-CqKnI6Xt-AOGCu7iZ.js → AttachmentView-C5anq6-B-BkQi2I92.js} +1 -1
- package/dist/assets/{BalancesInsightWithToolTip-CSaW4oJh-DywAYbnn.js → BalancesInsightWithToolTip-1PK_fwhP-BOcx7wZs.js} +6 -6
- package/dist/assets/{BankAccountSection-Dhp7GLZA-FNVqovjK.js → BankAccountSection-BUJoSOk8-BG4ByPDH.js} +2 -2
- package/dist/assets/BankAccountWarningSection-BQaoV2yQ-BLOJsai8.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-CDPUFu2k-BBx4P7dZ.js → BankConnectionsSettingsPage-DRDS5xzS-CGYqJS-4.js} +14 -14
- package/dist/assets/{BillDetailPage-BWBGE0pg-CYoOWtCP.js → BillDetailPage-CtVVaqTN-BwEQZwAf.js} +4 -4
- package/dist/assets/{BillPayApprovalRoutes-BvnC9SqN.js → BillPayApprovalRoutes-DwRul1Fq.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-B_XoB7xi-CXJBKdTH.js → BillPayApprovalRuleDetailPage-6GHCsDkX-ClsaXk5H.js} +4 -4
- package/dist/assets/{BillPayApprovalRulesPage-5okdFn01-D6fpe4cT.js → BillPayApprovalRulesPage-QKjq-qVP-DTJcefrH.js} +6 -6
- package/dist/assets/{BillPayPromoPage-GoR4wxn7-Cd3jtttJ.js → BillPayPromoPage-_n9uoXTN-DW34nsnh.js} +1 -1
- package/dist/assets/{BillPayRoutes-DqZf2rOO.js → BillPayRoutes-D22Q6pQL.js} +8 -8
- package/dist/assets/{BillPaySetUpPage-CKWIFJ92-Dr75QuFi.js → BillPaySetUpPage-DNYX24VA-DLV9gKNt.js} +6 -6
- package/dist/assets/{BillingSettingsPage-AjSQYumd-GqgYiFI4.js → BillingSettingsPage-Btv3yiNs-M_OusRvc.js} +6 -6
- package/dist/assets/{BillsBulkReviewDrawerPage-DsNKfhkT-CXzE-Qir.js → BillsBulkReviewDrawerPage-BiLLeGke-Bs5f4SMl.js} +1 -1
- package/dist/assets/{BoxItem-BWNurtfc-J9WJ61G4.js → BoxItem-Dqp4SNlI-EUjyx5Zm.js} +1 -1
- package/dist/assets/BusinessVerificationPage-_8Wg_S5G-ChiNdD4I.js +138 -0
- package/dist/assets/{BusinessVerificationPageScreen-CJ17INUy.js → BusinessVerificationPageScreen-B_00ICvM.js} +2 -2
- package/dist/assets/{BusyIndication-H_iNZOWd-BNmJKxof.js → BusyIndication-BZLVwIo8-6s8wSi7T.js} +1 -1
- package/dist/assets/{CardNumberSubText-BAWc12F9-CekGLfjU.js → CardNumberSubText-12zyW5qQ-c22fv1fM.js} +8 -8
- package/dist/assets/{CashbackDetailPage-BhCHvGxj-nllESilf.js → CashbackDetailPage-B8-TDuv8-Dd6aEuJQ.js} +11 -11
- package/dist/assets/{ChargeCardDetailPage-D9-V0pjZ-CTp6LwRI.js → ChargeCardDetailPage-Bdz5L2ko-CaBbXfBZ.js} +44 -44
- package/dist/assets/{ChargeCardListPage-CZFi8l0_-CO-jS4Wx.js → ChargeCardListPage-EuJ1VXck-BU5r2hWM.js} +19 -19
- package/dist/assets/{ChargeCardListTable-DiJUp9-c-hw3gHlrw.js → ChargeCardListTable-SgjwYd8W-EVdaCbR4.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-CW9gtO0w-oF9Kbl5Z.js → ChargeCardPaymentHistoryPage-BC2DkmZT--xdPwk1t.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-CiZDV925-B7JK6cJL.js → ChargeCardPromoPage-C-z0xtuN-qFHF_adM.js} +6 -6
- package/dist/assets/{ChargeCardRoutes-BumOjc7r.js → ChargeCardRoutes-DV8TKacG.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-C5jXY5P--Da4gT9DT.js → ChargeCardSetupPage-ByLoLZE_-DIekUpHc.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-CetLgQ8l-CHHBhChm.js → ChargeCardStatementsPage-C4XdqPO1-BSM3bO35.js} +2 -2
- package/dist/assets/{CheckDepositDrawerPage-BYfqgSGk-58W0gPrS.js → CheckDepositDrawerPage-D5X61CKc-CyEf-jUu.js} +8 -8
- package/dist/assets/{CollapsableReportTable-BhbPzkAB-C83Y_pXv.js → CollapsableReportTable-D7zD4-h0-CdsTnLhf.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-CMcuDe-X-CNo7Ot8a.js → CompanyOfficerDetailsSection-w86_5FXJ-CDmgqN3N.js} +93 -93
- package/dist/assets/{CompanyPassportCard-DImW2Dm8-pP6x_qCR.js → CompanyPassportCard-tpE1lXug-CLl-IbcU.js} +9 -9
- package/dist/assets/{CompanyPassportPage-DT2W9QE1-DJLwOOR3.js → CompanyPassportPage-bND99CJN-D7hjvVvQ.js} +23 -23
- package/dist/assets/{CompanyPassportScreen-Ckk3Aa0n.js → CompanyPassportScreen-DR-zdvAJ.js} +1 -1
- package/dist/assets/{CompleteProfile-BOabRQRQ-Cdf3T9vg.js → CompleteProfile-B5W07hcs-mOeGRg8M.js} +1 -1
- package/dist/assets/ConfettiBurst-C0DFgWJj-DC0n_rE6.js +1 -0
- package/dist/assets/{ConnectionAuthScreen-CJIuvxwT.js → ConnectionAuthScreen-D4VaoAIy.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-CUV-Iost.js → ConstrainedInnerElement-CgdnMeoA-bMF_z_bc.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-D86akQ-H-a9byVQeU.js → CreateOrEditVendorPage-CrQh8JCh-BX5wTD-m.js} +6 -6
- package/dist/assets/{CreditCardPaymentDrawerPage-MS34Pxyw-S-FNpO-K.js → CreditCardPaymentDrawerPage-BoVmLCHh-Blea7AvV.js} +1 -1
- package/dist/assets/{CurrencySelectField-BsuzTGXR-DG4V_Nis.js → CurrencySelectField-D2azwi1T-CSrQI1j0.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-BP-GIrmI-cXKCGBAv.js → CustomerOnboardingActivationPage-DxuEGe6X-BPuiwcIL.js} +5 -5
- package/dist/assets/CustomerOnboardingAuthScreen-DLH-rYdF.js +1 -0
- package/dist/assets/CustomerOnboardingContainerPage-DS0-65s7-CeH0I7wN.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CISAUodZ-DSVMFFq4.js → CustomerOnboardingDetailPageSkeleton-DRGKainD-Y7JaILNu.js} +7 -7
- package/dist/assets/{CustomerOnboardingNoStepsPage-DgMQ5prq-DEUVMq4v.js → CustomerOnboardingNoStepsPage-C--jDBQq-BgvTeh9S.js} +10 -10
- package/dist/assets/{CustomerOnboardingPage-QvCZDMFw-pwPfUUii.js → CustomerOnboardingPage-BXZSl2im-DDrc-wX_.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-Bt1cV23--C-IqxjRL.js → CustomerOnboardingProductSuitePage-BJmYX0kI-C3qX-GBN.js} +1 -1
- package/dist/assets/{CustomerOnboardingRoutes-GPk7JXLd.js → CustomerOnboardingRoutes-DqfIHwc7.js} +4 -4
- package/dist/assets/{Dashboard-DdAePVSx-CyfCOyra.js → Dashboard-yhqyXPbZ-CPcltsfF.js} +1 -1
- package/dist/assets/{DashboardReportPage-ccn0JYfk-DfPZgIh7.js → DashboardReportPage-BG4StCjY-CzFGaujV.js} +8 -8
- package/dist/assets/{DashboardRoutes-DbCVxvoA.js → DashboardRoutes-Bawz4pw0.js} +3 -3
- package/dist/assets/DashboardSidebarBackgroundAnimation-DsWKmIXY-BuOmk2Nk.js +12 -0
- package/dist/assets/{DefaultTenantHome-DnjlKX8o.js → DefaultTenantHome-B10KVon4.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-BijpyBiZ-CNN7AUw4.js → DepositAccTransactionItem-5ZEPnNxa-3AfijWCl.js} +6 -6
- package/dist/assets/DepositAccTransactionListPage-BR8d0Kun-DVyGTLJU.js +66 -0
- package/dist/assets/{DomesticWireDetailScreen-CMHXbUdU.js → DomesticWireDetailScreen-CMEoUywc.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-B10Vx6K5-BgPOj6ev.js → DomesticWireDetailsPage-wGIWvhgQ-CmjPpsLr.js} +4 -4
- package/dist/assets/{DownloadOverlay-BiIbEvq6-DkggD5hU.js → DownloadOverlay-SLvxfa6B-CQ7BxjF9.js} +16 -16
- package/dist/assets/{DrawerPage-4aE01eRo-CbGkLlgW.js → DrawerPage-CFdTV10k-BenpSUGv.js} +4 -4
- package/dist/assets/{DrawerScreen-Bqlol_ka.js → DrawerScreen-B7BWNi51.js} +1 -1
- package/dist/assets/{EditPeoplePage-BWjOJqch-DMjcjWgK.js → EditPeoplePage-C-Y62PJ0-BgijqRCf.js} +7 -7
- package/dist/assets/{EditReimbursementDetailPage-Dcw8QlH6-CKpHH0Rb.js → EditReimbursementDetailPage-BYpXof8e-CdyZTm2g.js} +14 -14
- package/dist/assets/{EntityDetailPage-DseDMalq-D030AWbJ.js → EntityDetailPage-CgDHg6g5-B_vQblwz.js} +2 -2
- package/dist/assets/{EntityDetailRoutes-DKPg6KvF.js → EntityDetailRoutes-nFrPna9t.js} +1 -1
- package/dist/assets/{EntitySummarySection-D1o-WKT9-B4D8PhFo.js → EntitySummarySection-B2uG3-Zh-DoF2hAYB.js} +4 -4
- package/dist/assets/{ExpenseAutomationOverviewPage-BIGlSzsy-DDeWTiVS.js → ExpenseAutomationOverviewPage-CrtNuarm-C8tGkYQU.js} +7 -7
- package/dist/assets/{ExpenseAutomationPage-BUARFwSx-BgUO5pJv.js → ExpenseAutomationPage-CWPnIMSu-BUnHNcGe.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-CFAuM0iq.js → ExpenseAutomationRoutes-DxRmXEnL.js} +1 -1
- package/dist/assets/{ExpressPayPage-BKpxo5VW-BeZ2tWeR.js → ExpressPayPage-CsI_DUc6-BKAOKKa9.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-CfqYjofS-Dw_fXJXh.js → FeaturePreviewPage-B67a68N9-BPSn99tM.js} +1 -1
- package/dist/assets/{FeaturePreviewScreen-Ctx49exK.js → FeaturePreviewScreen-D_cOMPjM.js} +1 -1
- package/dist/assets/{FollowStepsSection-CJzIGe2N-q0pn7uac.js → FollowStepsSection-CgjzMm02-DPMc3VYJ.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-B4qWm75N-BekP71Yj.js → GlobalReviewListPage-CIfK-0rd-F3X4MQ4k.js} +5 -5
- package/dist/assets/{InformationCardStack-BXWxFJnm-DZneOpmz.js → InformationCardStack-qKld10kr-IVC5wYc5.js} +1 -1
- package/dist/assets/{InsightsCardStack-iUppdWya-IGcayZ6m.js → InsightsCardStack-Bbh77o6f-Dr_8r9pW.js} +8 -8
- package/dist/assets/InsightsSection-DgfCOO4F-rd7xZxVI.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-DthkTtT9-BfWjdmm5.js → IntegrationsSettingsPage-BRQFeOLt-2BecY83T.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-hYeFGjj4-De4TNLmU.js → InternationalWireSwiftDetailsPage-DPemNncS-Datvi8oR.js} +4 -4
- package/dist/assets/{InternationalWireVerificationPage-0TZuCAzZ-DstpGM2q.js → InternationalWireVerificationPage-BOxXfIY5-D1lMmBlP.js} +3 -3
- package/dist/assets/{InviteFormPage-BC1PH63r-DAB3gVVK.js → InviteFormPage-BbbPCdh--Cb0-_CQ6.js} +1 -1
- package/dist/assets/{InvitePageListView-BJDfCvno-Sk3rc3V-.js → InvitePageListView-DqfrAulo-BtCqgsIl.js} +13 -13
- package/dist/assets/{InvitePeoplePage-Bl-WUfXO-DagADS45.js → InvitePeoplePage-CgTpZp4M-CYe0nmg8.js} +3 -3
- package/dist/assets/{InvoiceUploadSection-BgVvYytR-DjoTneQr.js → InvoiceUploadSection-DZOzTShz-BFwyUvOT.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-0JEZpfCu-DLK0riSj.js → IssueChargeCardPage-x6dLcd-P-D7R8buXv.js} +17 -17
- package/dist/assets/{LabeledAddressValue-BCsadhSu-lscFDQOa.js → LabeledAddressValue-CY4Fn72d-VdKSkT_l.js} +1 -1
- package/dist/assets/LabeledAddressValueField-D47ofJFV-CGqdgTnp.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-Do7rlK6F-CTyXPdV4.js → LabeledControlledCheckBoxField-C_c8Rs-i-Cz1fNsx_.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-BHwXHYPO-CYnRn6eD.js → LabeledCountryMultiSelectField-vRw9drBe-Bw1loTny.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-gMUp1tXY-y1kl4nd-.js → LabeledCreatableSingleSelectField-CdF97ljM-DTrzefeb.js} +3 -3
- package/dist/assets/{LabeledDocumentField-DxUq-7nr-DAyGmAsR.js → LabeledDocumentField-Dn25Ru1C-CLM-i9xW.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-D51ly333-CZ2VlJWO.js → LabeledDropDownFormattedTextField-C2sZjA-q-Bkuc_5w_.js} +6 -6
- package/dist/assets/{LabeledEmailInputField-Cd9p7Kj0-DZf49c8n.js → LabeledEmailInputField-DzAdekQn-BkQ7kdJx.js} +3 -3
- package/dist/assets/{LabeledNameField-364jsrFK-CaN5hIDf.js → LabeledNameField-Dxx0xwMv-DBRkdNqp.js} +1 -1
- package/dist/assets/{LabeledSingleSelectField-B3pMIEfZ-C8i8zlDG.js → LabeledSingleSelectField-EO8TA_z_-C26qdLJU.js} +6 -6
- package/dist/assets/{LabeledText-uFTi1qOo-Dh31QRqg.js → LabeledText-Bo7B-LrF-DECCi3EJ.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-XD6D3r0Y-Ce4jb_BF.js → LabeledUserSingleSelectWithSubtitlesField-DD11_Map-ZtH1v-68.js} +8 -8
- package/dist/assets/{LabeledZeniRolesDropDownField-CbJ3OtWK-CN-nwhu5.js → LabeledZeniRolesDropDownField-BJ99uBt1-DGvakh0f.js} +18 -18
- package/dist/assets/{LinkJETransactionPage-B5M6Ojt--C7jEEQdH.js → LinkJETransactionPage-BiDoUKQW-xgKDBdnj.js} +9 -9
- package/dist/assets/{LockCardPage-DN2dvQA9-ptj6YCPt.js → LockCardPage-B1QOSByp-BfsUhZIZ.js} +25 -25
- package/dist/assets/{LowBalancePopup-CXTWwEyb-DHi-7FjF.js → LowBalancePopup-Bl_PaIUx-yOClgIGf.js} +2 -2
- package/dist/assets/MagicLinkACHDetailsPage-l76_Y3sO-DBz5GRKZ.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-D_z_Q-jz-DriIOIxl.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-D276lsq_-ColrMYZA.js +1 -0
- package/dist/assets/MagicLinkRoutes-B-WHuq25.js +72 -0
- package/dist/assets/{MagicLinkSignInScreen-hqZFIhM7.js → MagicLinkSignInScreen-BBwmXYDm.js} +1 -1
- package/dist/assets/MagicLinkSuccessPage-CuL-7CWN-C2vVBJ4S.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-BnzImXCX-DsNqMADc.js → MagicLinkTitleSection-RYhrN820-BbeWYlVu.js} +10 -10
- package/dist/assets/{MailingDetailsSection-aNMVpaF0-Mi3ceriD.js → MailingDetailsSection-D9_I-DTk-Cdb1WRS_.js} +1 -1
- package/dist/assets/{MobileAppDrawer-CXepfp6e.js → MobileAppDrawer-CTcTm5tx.js} +1 -1
- package/dist/assets/{MoreMenuButton-C_jqM-Ix-D5fFt93A.js → MoreMenuButton-5MZl4h9B-BympoCwa.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-CdW-lOqB-CQAYDmx1.js → MyBankConnectionsSettingsPage-CBw6kNsm-DlddyW1w.js} +4 -4
- package/dist/assets/MyPendingActivationChargeCardListPage-BC4YjZtP-DfpXnRCt.js +6 -0
- package/dist/assets/{MyProfileSettingsPage-ZmPfSk3b-CekXUU4A.js → MyProfileSettingsPage-DZ5M2BUN-CQ7zk2gg.js} +4 -4
- package/dist/assets/{NavBarWithPicker-BYosIzfk-CHzZbup1.js → NavBarWithPicker-C6FiaLu5-BVvTIBUE.js} +5 -5
- package/dist/assets/{NavigationArrow-CMLkPq47-BPg7he64.js → NavigationArrow-BnAgR0wH-BYYktF7B.js} +1 -1
- package/dist/assets/{NavigationDots-maxhYltq-IyF42HyI.js → NavigationDots-WUDG_g8M-CSwlLBTM.js} +3 -3
- package/dist/assets/{NewGlobalMerchantPage-BkDFFysB-BMj84SI3.js → NewGlobalMerchantPage-gAsCusVw-CA6lhup4.js} +1 -1
- package/dist/assets/{NoDataChart-CKqR_T30-DZpYrIq4.js → NoDataChart-BBYUjdKn-CaszePO0.js} +3 -3
- package/dist/assets/{NoDataTable-BQLSA76V-CA1kwcWh.js → NoDataTable-D3750d25-CC_2gGkK.js} +1 -1
- package/dist/assets/{NotFoundPage-rtS33FV3-CW80Ae7U.js → NotFoundPage-C4D8Rn9E--AJk-xer.js} +6 -6
- package/dist/assets/{NotFoundScreen-86VjMapP.js → NotFoundScreen-SRDW4_mE.js} +1 -1
- package/dist/assets/{NotificationRoutes-WpVyAd3n.js → NotificationRoutes-BSrkx0LD.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-JJ5a6f1u-Dg5nWtfu.js → NotificationSettingsPage-CD-t91ia-DJoX_UtT.js} +4 -4
- package/dist/assets/NotificationsListConfig-C7JSE-eQ-DyT-ZhYk.js +1 -0
- package/dist/assets/{NotificationsPage-9vgLoVxJ-CqhoB5mC.js → NotificationsPage-Be1v8niA-BlgDo9nE.js} +14 -14
- package/dist/assets/{OpExByVendorPage-Dy7Ll1zE-CncYLP1q.js → OpExByVendorPage-D1f1lQbs-BnyzfFJz.js} +7 -7
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-o9B6MYdd.js → OverlayContainerPage-BG9y5C0t-DTorHW75.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-D-V3dD71-2GY3G9_S.js → PandLWithForecastPage-DIYb7BWp-B3vKwRhN.js} +11 -11
- package/dist/assets/{PandLWithForecastRoutes-NKWly9at.js → PandLWithForecastRoutes-CsL0r0I3.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-B_4cMrVT-DX0VhwXR.js → PaymentAccountSetupBillingAddressSection-tGkjxbjY-CHrQD7Oe.js} +6 -6
- package/dist/assets/{PeoplePage-B9bxxtaC-BUc8a2C6.js → PeoplePage-xwAOX4Jk-BnzId5aB.js} +1 -1
- package/dist/assets/{PeopleRoutes-LIAWa-ry.js → PeopleRoutes-D-yY-A49.js} +3 -3
- package/dist/assets/PerformanceRoutes-DUxeAB_T.js +1 -0
- package/dist/assets/{Preview-C63MOKlS.js → Preview-k4ohm46R.js} +1 -1
- package/dist/assets/{ProductsCarousel-BnezAuLA-CWNs-1wI.js → ProductsCarousel-OHbYasaa-Bps9QCYO.js} +1 -1
- package/dist/assets/{PromoBaseCards-B5vRjrOp-DZnXvun2.js → PromoBaseCards-B_0dccCZ-BeKRkhdX.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-mVAyONiQ-BFw_Aijs.js → QBOConnectionDialog-5ItNvdCA-D1LNYclF.js} +13 -13
- package/dist/assets/{QBOConnectionScreen-DPXluGT3.js → QBOConnectionScreen-BDwso3KZ.js} +1 -1
- package/dist/assets/{QBOSetupSection-Co4tc3sO-UEf5y5yj.js → QBOSetupSection-CHZgQppe-Fu_QXCEh.js} +14 -14
- package/dist/assets/ReferralListScreen-DPkRtA1r.js +5 -0
- package/dist/assets/{ReimbursementApprovalRoutes-DBPigEkQ.js → ReimbursementApprovalRoutes-DyX9YlA9.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-t48xfVQ_-DSouPzhL.js → ReimbursementApprovalRuleDetailPage-CqZT111l-Th1QLQg3.js} +5 -5
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-iL2FRiSL.js → ReimbursementApprovalRuleDetailScreen-BR6Wdj2J.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BuOE0xKm-CyQAGb5D.js → ReimbursementApprovalRulesPage-BzTe2nqd-DFHyb7gY.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-oD88KyGk-Z26luXjw.js → ReimbursementDetailPage-DM650uCR-BZojPp4W.js} +7 -7
- package/dist/assets/{ReimbursementPromoPage-DC6vQNFr-Df-JQbVt.js → ReimbursementPromoPage-CitTg9s4-C6Ht-4dW.js} +7 -7
- package/dist/assets/{ReimbursementRoutes-DP3Zyw9z.js → ReimbursementRoutes-C4Yz_jbS.js} +3 -3
- package/dist/assets/{ReimbursementSetUpPage-ClkPQCRt-3XXwJA8a.js → ReimbursementSetUpPage-qphyaCoX-CvNz9jXQ.js} +5 -5
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DiWW85PW-CdKgZHg6.js → ReimbursementsBulkReviewDrawerPage-CCJvQKip-BQLPbz53.js} +1 -1
- package/dist/assets/{ReloadCard-DcyZqZO5-CwUMwJXU.js → ReloadCard-DMNbI6QE-C1j_tgy-.js} +4 -4
- package/dist/assets/{ReportTableViewSelector-Be_385i6-D1d1hisQ.js → ReportTableViewSelector-CUG4hVI9-Bjuyu4DH.js} +5 -5
- package/dist/assets/{ReportsPage-Dp_uEJ2H-DsQqyldd.js → ReportsPage-nuM-ub1p-CKOT47VZ.js} +8 -8
- package/dist/assets/{ReportsRoutes-CQDTEzwi.js → ReportsRoutes-DohAZqsL.js} +1 -1
- package/dist/assets/{RevenueChart-B-iMe_PD-Bi6Ok69j.js → RevenueChart-BL5Wb2UT-JQVA4c7e.js} +1 -1
- package/dist/assets/{ReviewDetailsPage--0ZUpEVp-CQmlT2je.js → ReviewDetailsPage-CUolLJ6s-I5bNk9-1.js} +21 -21
- package/dist/assets/{ReviewOverlay-D_JI48L0-CyNlOwFh.js → ReviewOverlay-A1OYNSqG-DCeKL3J7.js} +6 -6
- package/dist/assets/RewardsRoutes-BjB7FD9l.js +1 -0
- package/dist/assets/{RoleWithToolTip-Bqdsc31P-CNmkPW05.js → RoleWithToolTip-VOllzDDB-BXr_ucO6.js} +2 -2
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-vFbciuuA-Diyke3YU.js → ScheduleDetailsFixedAssetsPage-By3U1RYU-Dut2stb8.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-BUxgvyKT-Xmkq7RcC.js → ScheduleDetailsPage-ButJHPUw-XhuUVDsI.js} +3 -3
- package/dist/assets/ScheduleSequenceTable-Dv831gVJ-OIQZXWKl.js +326 -0
- package/dist/assets/{ScreenRoutes-IYIFGbR5.js → ScreenRoutes-B6WQ9uqs.js} +2 -2
- package/dist/assets/{SetUpAccountSection-Bk3RGJCY-2x7H96z3.js → SetUpAccountSection-BcNG0nDh-C2x0keC_.js} +1 -1
- package/dist/assets/{SettingsRoutes-CEWrZV9M.js → SettingsRoutes-U8aLQkxi.js} +5 -5
- package/dist/assets/{SetupPagesScreen-BFZeWYvZ.js → SetupPagesScreen-KLzrKq5d.js} +1 -1
- package/dist/assets/{SignIn-DbvYG8OW-DIGSru0r.js → SignIn-D80UITQm-CVsAto0V.js} +22 -22
- package/dist/assets/{SignInScreen-B27QEE_5.js → SignInScreen-g1CD9jiJ.js} +1 -1
- package/dist/assets/SignOutScreen-Cclrjb6Y.js +9 -0
- package/dist/assets/{SpendManagementListViewPage-CSGYJyZu-BweWpc_X.js → SpendManagementListViewPage-DSG6Son_-3Woa8ZKL.js} +6 -6
- package/dist/assets/{SpendManagementPerTabPage-DuGeuTYQ-DataZT66.js → SpendManagementPerTabPage-DiSu0RS1-Dj2U_5YO.js} +13 -13
- package/dist/assets/{SpendManagementSection-CZ_i360S-BWGL8ndc.js → SpendManagementSection-BXU3RGG8-BwEQ7fN8.js} +12 -12
- package/dist/assets/StatementItem-B1M65xN--D_j2q7nS.js +31 -0
- package/dist/assets/{StatementsPage-BMFYpAPA-D3BvQu9P.js → StatementsPage-Ck1xzA0w-CdWUN6DK.js} +2 -2
- package/dist/assets/{StatusSwitcher-CDnarHSf-meshGWkH.js → StatusSwitcher-_Cs3CzJl-D1XlTHt5.js} +6 -6
- package/dist/assets/{SubTabSwitcher-DhIXVTVI-Dm-A1aML.js → SubTabSwitcher-D3ltE_yc-Ry1ed6uf.js} +3 -3
- package/dist/assets/SuccessAnimation-RuQd1S4B-C9QgxngQ.js +13 -0
- package/dist/assets/SummaryCard-buadhnmc-COTvxgGf.js +1 -0
- package/dist/assets/{TaskDetailPage-rWt-QUEv-DH6XgxNN.js → TaskDetailPage-CJKga1vr-ciDskCCR.js} +1 -1
- package/dist/assets/{TaskListScreen-CWIPHTTl.js → TaskListScreen-ksTObC06.js} +2 -2
- package/dist/assets/{TaskManagementPage-D3YvKWVJ-DM0xoyo4.js → TaskManagementPage-BMwMSG1j-D-VvypFm.js} +27 -27
- package/dist/assets/TaskRoutes-C_cjp_9o.js +9 -0
- package/dist/assets/{TimeRangeSwitcher-CFJrPhfZ-Bh0bakQI.js → TimeRangeSwitcher-B1Wx03tG-Br6TSwpo.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-DS6zgSjT-D1R0FMKh.js → TimeframeSwitcher-Dmtsdwi9-Ce3iuH6w.js} +6 -6
- package/dist/assets/{TimeframeSwitcherWithToggle-Did8-Dj7-CGwKh4M0.js → TimeframeSwitcherWithToggle-P5CfgTUd-DXOPf3Bj.js} +3 -3
- package/dist/assets/{TopExCard-ByF-svYM-Ctw9EYS9.js → TopExCard-DQkr9Xhh-CEMSG53J.js} +3 -3
- package/dist/assets/{TopExDetailPage-ABVezwCx-DzhDJZA8.js → TopExDetailPage-5Di6WUfV-hilBOr7-.js} +9 -9
- package/dist/assets/{TransactionActivityLogPage-B8ytNODX-DVytAoU9.js → TransactionActivityLogPage-R9LoW4DL-C_Mhlr8m.js} +1 -1
- package/dist/assets/{TransactionDetailPage-CunkyIXB-CNc17TsU.js → TransactionDetailPage-B-blHtkn-CbeGtCIa.js} +34 -34
- package/dist/assets/{TransactionDetailRoutes-CK-34SUt.js → TransactionDetailRoutes-CG9Ya3UI.js} +1 -1
- package/dist/assets/{TransactionDetailScreen-DDeYMLmN.js → TransactionDetailScreen-DG1rRYuu.js} +1 -1
- package/dist/assets/{TransactionList-CEPVnfZD-ClBHZqTs.js → TransactionList-FQvTXSzy-oI0UZGJM.js} +13 -13
- package/dist/assets/{TransactionListBig-BYFv0irc-pAbEVbC_.js → TransactionListBig-CNDw7zRw-DTLpPxaS.js} +6 -6
- package/dist/assets/TransactionListPage-BkZLtwmQ-DzH0F7Wk.js +35 -0
- package/dist/assets/{TransactionListRoutes-DCJ5Lweu.js → TransactionListRoutes-BbWNwfVS.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-DYvgQFQS-DSlx2b8r.js → TransactionVendorDetailPage-Ch2UUF1f-DGdjSa3g.js} +3 -3
- package/dist/assets/{TransferDrawerPage-gDUiIE-g-Bvvjaklx.js → TransferDrawerPage-C1Ly_xKj-DX3atlS9.js} +21 -21
- package/dist/assets/{TreasuryOverviewPage-DXIqVBWp-B9pyuKCe.js → TreasuryOverviewPage-Zt5w8zfp-CedvlZd9.js} +21 -21
- package/dist/assets/{TreasuryPromoPage-oERSujnm-ClN1OTf6.js → TreasuryPromoPage-BsP73kf7-etf9xlFS.js} +14 -14
- package/dist/assets/{TreasuryRoutes-BjolvDGd.js → TreasuryRoutes-CuQ3uJ15.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-GWCCDPvf-_h3417p3.js → TreasuryStatementsPage-DhXESeOi-uJElEPeD.js} +4 -4
- package/dist/assets/{TreasuryTaxLetterPage-pTRWyNYH-BQ_qi0uM.js → TreasuryTaxLetterPage-tHkQvX2V-pYxXn6xj.js} +4 -4
- package/dist/assets/{TrendChart-B2oLQN05-BkrG4BVH.js → TrendChart-B7Pox_TQ-7BkibFBY.js} +4 -4
- package/dist/assets/{TrendWithTransactions-Bx63fv0P-BQ8GiA8P.js → TrendWithTransactions-DP1jZL1i-2bOe0VtV.js} +6 -6
- package/dist/assets/{UncategorizedAccountsMappingPage-D_QwlpkW-CEr8coR8.js → UncategorizedAccountsMappingPage-4mHyt2P6-BwcucbSK.js} +7 -7
- package/dist/assets/{UnitIntegrationPage-EeIQyR4L-D0Uey0gi.js → UnitIntegrationPage-BymmWe1G-DFsBuiFb.js} +3 -3
- package/dist/assets/{UploadAdditionalDocumentOverlay-B8_7dtgO-BVpFWtFr.js → UploadAdditionalDocumentOverlay-DUO2ZoU--ozi0LNFT.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-DwTNfggI-QO3FNLHc.js → Vendor2FAPopup-8kpMx5RI-CGazITGN.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-BODHiiUQ-DmAQiimf.js +1 -0
- package/dist/assets/{VendorDetailPage-k42A_Pv1-C-eMTgO6.js → VendorDetailPage-C-JJfR0u-DCJ_f7dN.js} +12 -12
- package/dist/assets/VendorDomesticWireDetailsPage-CVfEcUFJ-8ddL7pEj.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-BUuhWv_U-D-yHNm5T.js → VendorFiling1099EditablePage-B4vFgSwb-DDTykyPn.js} +6 -6
- package/dist/assets/{VendorFirstReviewPage-bN7DO44j-DzTJUqvm.js → VendorFirstReviewPage-CUwdrbjH-DPvTVvHI.js} +7 -7
- package/dist/assets/{VendorInternationalWireDetailsPage-DjkOrgs7-CUIWISK5.js → VendorInternationalWireDetailsPage-BzP1zqhw-CAXXQP5N.js} +4 -4
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Dgz0TPoZ-CYv9JR1l.js +1 -0
- package/dist/assets/{VendorsAccountsSection-D-7K4aZA-BPnUt7kZ.js → VendorsAccountsSection-Drue-Lvz-DQRReXtk.js} +4 -4
- package/dist/assets/{VendorsRoutes-Dh458IQK.js → VendorsRoutes-Buw6G1yr.js} +1 -1
- package/dist/assets/{VerifyDevice-VPfuXUzH-AU1zuQlS.js → VerifyDevice-B_NNzkjT-BkggAu3P.js} +9 -9
- package/dist/assets/VideoPlayer-Bc4tAd79-Crbsq9LQ.js +77 -0
- package/dist/assets/VideoPopup-BYo5bzpU-BthyvsgQ.js +31 -0
- package/dist/assets/WiseConfirmationScreen-CEIT9jMF.js +12 -0
- package/dist/assets/{ZeniAccountDetailPage-CJrpkcjr-CBwTak_Y.js → ZeniAccountDetailPage-BW6G2voE-DBU5fQds.js} +19 -19
- package/dist/assets/{ZeniAccountListViewPage-DvJI3LGF-CKLfdqdE.js → ZeniAccountListViewPage-gNszI2XV-BLZmP_oZ.js} +30 -30
- package/dist/assets/{ZeniAccountNavBarPieces-UCydmVe7-CXtDBFLP.js → ZeniAccountNavBarPieces-BP1IxZ18-ABeEpX-y.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-DiGsabvm-C_SqwLVl.js → ZeniAccountPromoPage-LsZxIdX9-D62PvtLZ.js} +5 -5
- package/dist/assets/{ZeniAccountRoutes-CAAxW9JY.js → ZeniAccountRoutes-Bp_1In61.js} +5 -5
- package/dist/assets/{ZeniAccountSetupPage-hVmIT6tO-tFtJgQAT.js → ZeniAccountSetupPage-BExQA9Cz-D04LOVK1.js} +1 -1
- package/dist/assets/{ZeniAccountStatementScreen-BaoiJX5h.js → ZeniAccountStatementScreen-6LzJoR1o.js} +1 -1
- package/dist/assets/{ZeniAvatar-C2LxBTZ4-YOmVMm4j.js → ZeniAvatar-5wP6sb3W-CKgtWCng.js} +1 -1
- package/dist/assets/{ZeniCopyright-BTIaEGE9-Di2RxJTA.js → ZeniCopyright-CMjFbDBQ-So_Gi_8l.js} +1 -1
- package/dist/assets/{ZeniDatePicker-9JxwH7J5-CcV9D7gC.js → ZeniDatePicker-C_YQpGe--CXBBhIwN.js} +4 -4
- package/dist/assets/{ZeniTransferAmountSlider-BlEFrC-Z-rEEslC0z.js → ZeniTransferAmountSlider-CIu35Xz9-BCHS6-b-.js} +1 -1
- package/dist/assets/{accountMappingHelper-CZHlLVR_.js → accountMappingHelper-Ctd7yuH3.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-BgQLRlhS.js → add-to-wallet-DgdBD8_G-q_ZatOIu.js} +1 -1
- package/dist/assets/{analytics-CDQ7tGpV.js → analytics-Ci5SIN4_.js} +1 -1
- package/dist/assets/{analyticsHelper-jTnRtCKB.js → analyticsHelper-CBcY8lmv.js} +1 -1
- package/dist/assets/{analyticsHelper-CYp9h-KW-6KJErEZC.js → analyticsHelper-CG-L3dO7-WIHh4rd-.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-CvfiHTRY.js → arrow-south-east-round-PEovUgvH-BXAmISmi.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-8rMpx5do.js → auto-transfer-rule-mbafm5D3-Qtr813uy.js} +1 -1
- package/dist/assets/{avatar-Dz7aEm3d-BdKWS97a.js → avatar-Dz7aEm3d-lVrrjTFE.js} +1 -1
- package/dist/assets/{bank-letter-BOcVjN6J-ydWr7ZOI.js → bank-letter-BOcVjN6J-a5lcVCZG.js} +1 -1
- package/dist/assets/{calculateSize-DecSvt-d-CIfCbqel.js → calculateSize-CAxK0dN_-6AyeRPo8.js} +1 -1
- package/dist/assets/{chartTypes-D2s_Hwo9-BbhqSw8p.js → chartTypes-_AEkJ5Cg-CVupoc41.js} +1 -1
- package/dist/assets/{clock-CJkylEKt-CjcyjUt4.js → clock-CJkylEKt-CBVPxBka.js} +1 -1
- package/dist/assets/common-B74Sb4iG-Ba1Dna3Q.js +1 -0
- package/dist/assets/{commonDimensions-u85vL09f-D9VH5FSj.js → commonDimensions-_Dpm4Anv-BHT-EeW2.js} +1 -1
- package/dist/assets/{commonTypes-DKKiPW4t-BlYaUk1n.js → commonTypes-C64XobC6-BTobasZR.js} +1 -1
- package/dist/assets/{core-B0nKoasK.js → core-oEkj6b51.js} +1 -1
- package/dist/assets/{dash.all.min-CXMi5GlA.js → dash.all.min-DZu0W7MW.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-CHDtTf3Z.js → decodeURIComponentSafe-AFO0vA4L.js} +1 -1
- package/dist/assets/{dnd-NNN-4w0O.js → dnd-DwLm2ZWc.js} +1 -1
- package/dist/assets/{dollar-round-D18u7nlm-CQw1tD8J.js → dollar-round-D18u7nlm-BxzwYsJa.js} +1 -1
- package/dist/assets/{downloadPdf-CnXPMbwm-BjEW_jtg.js → downloadPdf-BAZhe2iR-C4ju3Lqh.js} +1 -1
- package/dist/assets/{empty-DA-JSLu3.js → empty-CpgB6ACX.js} +1 -1
- package/dist/assets/{empty-CVZTZ-q9.js → empty-fwRWXj2G.js} +1 -1
- package/dist/assets/{epic-D0yDPv8O.js → epic-qeTSmk29.js} +1 -1
- package/dist/assets/{filter-cZIFUNvj-DAakc3sS.js → filter-cZIFUNvj-Cn5LR_-W.js} +1 -1
- package/dist/assets/{getLocaleForTenant-DGG0tVFT.js → getLocaleForTenant-DZi5Q22y.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-C6pLHK0s.js → gift-box-Cmt9OgIZ-CByaMYJG.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-Dn4I-rOX.js → graphic-no-data-l-DU4J8fDt-bzI3_a8w.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DO0fHtUP.js → graphic-no-data-net-burn-l-CzmycA0m-CaA33M1d.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-C47iPdmd.js → handshake-BPg58FML-BxWewJRH.js} +1 -1
- package/dist/assets/{helper-C7sZs2qJ-DE63clA9.js → helper-D3UIpXq7-DCH1HBMI.js} +1 -1
- package/dist/assets/{hyperlink-DQyCeXx2-BOSMM7uX.js → hyperlink-DQyCeXx2-Dt5l5kWs.js} +1 -1
- package/dist/assets/{index-CEBFS-eA.js → index-B5c5iTId.js} +1 -1
- package/dist/assets/{index-DrsMeyfs.js → index-BE_133so.js} +1 -1
- package/dist/assets/{index-ByxsQZNo.js → index-BHAcVHeH.js} +643 -641
- package/dist/assets/{index-CQJQXzZY.js → index-CjBlNHKF.js} +1 -1
- package/dist/assets/{index-BIjZljJR.js → index-Cpbn6-TN.js} +1 -1
- package/dist/assets/{index-zhMcpxMF.js → index-DRNExedw.js} +1 -1
- package/dist/assets/{lexical-Fl-AogKa.js → lexical-BLFyyXBr.js} +1 -1
- package/dist/assets/{liveblocks-DskTqGyX.js → liveblocks-Ia5FU_Xu.js} +1 -1
- package/dist/assets/{lottie-BzV8yd9z.js → lottie-DEK510sX.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-C_DjhqLk-Ct7OsbEi.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Okgefznu-CJAMwNIO.js → mapSectionWithAcOnlyToTreeNode-BLsSfpaF-B_J7hTEH.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-Dq4CasLR-BKZfs44u.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode--FHVcIix-D7muHBWz.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-sCX2cRnL-BfAjp3to.js → mapTimeframeBalancesToTreeNode-BP0iF3Of-BZXMdjjY.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-ww9DgKFP-Cu0SrzZe.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D45Dn747-DMQQGP6s.js} +1 -1
- package/dist/assets/{media-player-eLGyvMHZ.js → media-player-uto_Jl5G.js} +2 -2
- package/dist/assets/{money-2cg1MuG4-rv31fLm6.js → money-2cg1MuG4-BmcWx6In.js} +1 -1
- package/dist/assets/{mui-40xepic5.js → mui-Cni6P-fz.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-BrbO3gtI.js → page-detail-CWX5S47F-B9qcUnuN.js} +1 -1
- package/dist/assets/{page-summary-D7_VQHwN-bNTaLAow.js → page-summary-D7_VQHwN-ZSqDN0WI.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-DgahycaC.js → panelSelectedMixin-Cddsb26L-BCo5ICo2.js} +1 -1
- package/dist/assets/{pathToGoBack-D0UTUGlT.js → pathToGoBack-BpMzEQ5A.js} +1 -1
- package/dist/assets/{pdf-A8jRKyoC.js → pdf-CTJ16aEe.js} +3 -3
- package/dist/assets/{pdf-lib-mQnebn-k.js → pdf-lib-BZoHbIry.js} +1 -1
- package/dist/assets/{plaid-cfgjTkr8.js → plaid-B2vW8NaN.js} +1 -1
- package/dist/assets/{pusher-1O2fsDZq.js → pusher-DFtcQaPW.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-Cy5-Jl8l.js → radio-default-CiSgisfh--JwnmKdf.js} +1 -1
- package/dist/assets/{react-BEctO-ia.js → react-B0u9lmTz.js} +1 -1
- package/dist/assets/{react-D8s_m7Vn.js → react-BxE_BeY2.js} +1 -1
- package/dist/assets/{react-QF7HiPHo.js → react-C70tWLg5.js} +1 -1
- package/dist/assets/{react-CidUU4N9.js → react-Cohr3oKl.js} +1 -1
- package/dist/assets/{react-DcRcFJEU.js → react-DKkpOD3_.js} +3 -3
- package/dist/assets/{react-C6o6ScF5.js → react-DZ1_qQub.js} +1 -1
- package/dist/assets/{react-BEcUyG01.js → react-cn6O__9s.js} +1 -1
- package/dist/assets/{react-CQm7lU_-.js → react-jjkPSe6Z.js} +1 -1
- package/dist/assets/{recharts-Bbdho9Pi.js → recharts-LlOU9oLm.js} +1 -1
- package/dist/assets/{routePaths-CpPoI1xs.js → routePaths-WWdcktge.js} +1 -1
- package/dist/assets/{sentry-COYnhuxW.js → sentry-CY6wsJT-.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-wVomU2ew.js → shield-DOlUxcFf-CGZqPLdL.js} +1 -1
- package/dist/assets/{spend-limit-D6SyboD4-BruIkKZj.js → spend-limit-D6SyboD4-DAZsY_K2.js} +1 -1
- package/dist/assets/toCOABalancesWithID-CuxwOBs0-D4IOrabU.js +1 -0
- package/dist/assets/{toChartData-DrYGpr_j-D2GR-55Z.js → toChartData-BODe4y2V-CHAJ4Jnp.js} +1 -1
- package/dist/assets/{transaction-placeholder-CpOwZAMG-C-J0dsgn.js → transaction-placeholder-CpOwZAMG-B7lzeBRq.js} +1 -1
- package/dist/assets/{undo-b_3XZ5CX-Chu3klyO.js → undo-b_3XZ5CX-okXLDguZ.js} +1 -1
- package/dist/assets/{unlock-BPWn2I5L-BGatCFPm.js → unlock-BPWn2I5L-BcwMx3a4.js} +1 -1
- package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-GfUJ6f_w.js → upload-reimbursement-receipt-O2N8vcO7-BLqHMVJK.js} +1 -1
- package/dist/assets/{uploadAttachment-DPYv4udq-CXZc-rXm.js → uploadAttachment-Dbumcc_g-LXlwbhth.js} +5 -5
- package/dist/assets/{uploadReceipts-CIgkuVpu-Mr0MhYx1.js → uploadReceipts-CIgkuVpu-FU2oOS1s.js} +1 -1
- package/dist/assets/{url-XCmE-JaB.js → url-B5kkbwRv.js} +1 -1
- package/dist/assets/{url-C27bOf0k.js → url-Cv3aJ--T.js} +1 -1
- package/dist/assets/{useDeviceId-UXlBHXyB.js → useDeviceId-BWAR3Wtl.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-BIFRjZze.js → useInitialThreadRequest-DTIHWJqF.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-CqE4OIEm.js → useLongPress-GCK2COYQ-BX_5sahW.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-vz296XX2.js → usp-line-BBd1wKwW-CuU9mWQv.js} +1 -1
- package/dist/assets/{utils-DMEPgX6w.js → utils-ChLimP28.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-BDgDxNYJ.js → withTransactionSidePanel-X05Jc0ej.js} +1 -1
- package/dist/assets/{zeni-epic-state-DCforPdM.js → zeni-epic-state-cFF_NqwA.js} +3 -3
- package/dist/assets/{zeni-icon-only-BkUYNged.js → zeni-icon-only-jOM3nMPU.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/ACHDetailsPage-DdI8Zlpr-DP3Ijrzf.js +0 -21
- package/dist/assets/AccountInfoPage-D_PrQwlp-DcHjYUET.js +0 -18
- package/dist/assets/AccountInfoPageContent-jLGn4-UA-BlSpfvCV.js +0 -149
- package/dist/assets/AddAddressForCardDrawer-Dd-0o1b--B4hUfY9b.js +0 -6
- package/dist/assets/BankAccountWarningSection-C_OfdR1O-BMVJxE-j.js +0 -51
- package/dist/assets/BusinessVerificationPage-DN88j0Rn-DzH0PVhP.js +0 -138
- package/dist/assets/ConfettiBurst-Ix0vYpu--B-yjeAz3.js +0 -1
- package/dist/assets/CustomerOnboardingAuthScreen-C_Q_XIl1.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-D4BMPshV-BEJOCQX6.js +0 -1
- package/dist/assets/DashboardSidebarBackgroundAnimation-DPDd6e7b-ClZHrJ6l.js +0 -12
- package/dist/assets/DepositAccTransactionListPage-DOuU7gGT-CxNst2Ko.js +0 -66
- package/dist/assets/InsightsSection-CPg_uo3H-DaY57Nkj.js +0 -27
- package/dist/assets/LabeledAddressValueField-D-AO8-Me-DR8Qyzx1.js +0 -45
- package/dist/assets/MagicLinkACHDetailsPage-6iW79Hsc-BuBCCqa7.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-KPRoVnEc-9k2m3ge7.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DjB2bi8k-BA612N6w.js +0 -1
- package/dist/assets/MagicLinkRoutes-0gOcNpgv.js +0 -72
- package/dist/assets/MagicLinkSuccessPage-JRpuY47p-CZGcRvVV.js +0 -31
- package/dist/assets/MyPendingActivationChargeCardListPage-DKvDUyn7-Cn7MG0Rp.js +0 -6
- package/dist/assets/NotificationsListConfig-CWWrsRBB-BQkEfnwX.js +0 -1
- package/dist/assets/PerformanceRoutes-647LNvtJ.js +0 -1
- package/dist/assets/ReferralListScreen-C9t9-uma.js +0 -5
- package/dist/assets/RewardsRoutes-BiuOGirU.js +0 -1
- package/dist/assets/ScheduleSequenceTable-CPf50z9S-CLdzdoca.js +0 -324
- package/dist/assets/SignOutScreen-DfH6txYx.js +0 -9
- package/dist/assets/StatementItem-CDx2knrL-D3uOvDYp.js +0 -31
- package/dist/assets/SuccessAnimation-C-AHWH-M-DYko07lj.js +0 -13
- package/dist/assets/SummaryCard-4S9PQQ5W-B2YKQ_55.js +0 -1
- package/dist/assets/TaskRoutes-CgARLANx.js +0 -9
- package/dist/assets/TransactionListPage-CEVs8CRQ-DxaQpOMD.js +0 -35
- package/dist/assets/VendorACHDetailsPage-KDUuJi9g-SMC7hwJD.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-Dotx5CDo-B6fOSB2X.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BRtCcxHm-BL32YiVm.js +0 -1
- package/dist/assets/VideoPlayer-2MQyZqi6-DqklpbYT.js +0 -77
- package/dist/assets/VideoPopup-ZFwt4A81-Ch4C2tup.js +0 -31
- package/dist/assets/WiseConfirmationScreen-Bat277PD.js +0 -12
- package/dist/assets/common-BGuhvMjF-Ry4gfI81.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-CG-v5g2M-DTh9tKjd.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-Cehw-jOG-pPZFbPSE.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-yMo9FeMO-BQEyuzFH.js +0 -1
- package/dist/assets/toCOABalancesWithID-DinJUeg4-DkE5puj7.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as We,e as v,S as W,cb as _e,V as t,a_ as He,
|
|
1
|
+
import{y as We,e as v,S as W,cb as _e,V as t,a_ as He,b as $,L as Ye,bR as re,bS as ne,bT as ae,ct as qe,a9 as Ge,x as _,O as x,bw as Je,o,cu as Ke,bn as S,bH as ie,m as w,ar as se,C as le,l as Y,aR as Qe,cq as de,cv as Xe,f as z,cw as ce,cp as pe}from"./index-BHAcVHeH.js";import{a as g}from"./sentry-CY6wsJT-.js";import{n as r}from"./mui-Cni6P-fz.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.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]="a984a6e7-d4d1-4d6a-bf23-6775f0ac01ac",e._sentryDebugIdIdentifier="sentry-dbid-a984a6e7-d4d1-4d6a-bf23-6775f0ac01ac")}catch{}})();const Ze=({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(et,{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!==""?Xe(l.toLowerCase()):l??""})]})]});return t.jsxs(nt,{size:b,children:[t.jsxs(ot,{children:[t.jsxs(Y,{children:[`${m} ${h.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(S,{title:C,placement:"top",children:t.jsx(it,{children:t.jsx(st,{})})})]}),t.jsx(tt,{children:f??h.emptyPlaceholderString})]}),t.jsx(rt,{children:t.jsx(S,{enterDelay:600,display:"flex",title:h.deleteAccountTooltip,placement:"top",children:t.jsx(at,{onClick:k=>{k.stopPropagation(),u()},"data-testid":$("delete-vendor-account-section",f),children:t.jsx(lt,{})})})})]})},et=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-wrap: wrap;
|
|
4
4
|
gap: ${o.sp1};
|
|
@@ -70,7 +70,7 @@ import{y as We,e as v,S as W,cb as _e,V as t,a_ as He,P as $,L as Ye,bR as re,bS
|
|
|
70
70
|
&:hover {
|
|
71
71
|
color: ${z.important};
|
|
72
72
|
}
|
|
73
|
-
`,dt=({paymentInstrument:e,onDeleteClick:n})=>{const s=v(),l=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,m=t.jsx(ct,{children:e.piLabels.map(p=>t.jsxs(pt,{children:[t.jsxs(mt,{children:[p.name,l.colon]}),t.jsx(ut,{children:p.value})]},p.name))});return t.jsxs(
|
|
73
|
+
`,dt=({paymentInstrument:e,onDeleteClick:n})=>{const s=v(),l=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,m=t.jsx(ct,{children:e.piLabels.map(p=>t.jsxs(pt,{children:[t.jsxs(mt,{children:[p.name,l.colon]}),t.jsx(ut,{children:p.value})]},p.name))});return t.jsxs(gt,{size:s,children:[t.jsx(ht,{children:t.jsxs(Y,{children:[e.displayText,t.jsx(S,{title:m,placement:"top",children:t.jsx(yt,{children:t.jsx($t,{})})})]})}),t.jsx(xt,{children:t.jsx(S,{enterDelay:600,display:"flex",title:l.deleteAccountTooltip,placement:"top",children:t.jsx(bt,{onClick:p=>{p.stopPropagation(),n()},"data-testid":$("delete-vendor-international-account-section",e.paymentInstrumentId),children:t.jsx(ft,{})})})})]})},ct=r.div`
|
|
74
74
|
display: flex;
|
|
75
75
|
flex-wrap: wrap;
|
|
76
76
|
gap: ${o.sp1};
|
|
@@ -96,7 +96,7 @@ import{y as We,e as v,S as W,cb as _e,V as t,a_ as He,P as $,L as Ye,bR as re,bS
|
|
|
96
96
|
display: flex;
|
|
97
97
|
flex-direction: row;
|
|
98
98
|
gap: ${o.sp5};
|
|
99
|
-
`,
|
|
99
|
+
`,gt=r.div`
|
|
100
100
|
display: flex;
|
|
101
101
|
flex-direction: row;
|
|
102
102
|
align-items: flex-start;
|
|
@@ -117,7 +117,7 @@ import{y as We,e as v,S as W,cb as _e,V as t,a_ as He,P as $,L as Ye,bR as re,bS
|
|
|
117
117
|
padding: ${o.sp3} ${o.sp4};
|
|
118
118
|
color: ${e=>e.theme.colors.primary};
|
|
119
119
|
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
120
|
-
`,
|
|
120
|
+
`,bt=r.div`
|
|
121
121
|
width: ${o.sp3};
|
|
122
122
|
`,yt=r.div`
|
|
123
123
|
display: flex;
|
|
@@ -140,7 +140,7 @@ import{y as We,e as v,S as W,cb as _e,V as t,a_ as He,P as $,L as Ye,bR as re,bS
|
|
|
140
140
|
&:hover {
|
|
141
141
|
color: ${z.important};
|
|
142
142
|
}
|
|
143
|
-
`,me=(e,n)=>{const s=x.getLocalizedStrings().spendManagement.billPay.vendorCreation;switch(e){case"ach":return s.achDetails.ach;case"wire":switch(n){case"us-domestic":return s.wireDetails.domestic.domestic;case"international":return s.wireDetails.international.international;default:return""}default:return""}},H=({type:e,subType:n,vendorAccountDetails:s,vendorAccountDetailsInternational:l,onRemoveBankAccount:m,onAddNewAccountDetailClick:p})=>{const f=v(),[j,u]=
|
|
143
|
+
`,me=(e,n)=>{const s=x.getLocalizedStrings().spendManagement.billPay.vendorCreation;switch(e){case"ach":return s.achDetails.ach;case"wire":switch(n){case"us-domestic":return s.wireDetails.domestic.domestic;case"international":return s.wireDetails.international.international;default:return""}default:return""}},H=({type:e,subType:n,vendorAccountDetails:s,vendorAccountDetailsInternational:l,onRemoveBankAccount:m,onAddNewAccountDetailClick:p})=>{const f=v(),[j,u]=g.useState(!1),[b,h]=g.useState(""),[C,k]=g.useState(!1),c=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,A=i=>{h(i),u(!0)},B={onOkClick:()=>{u(!1),m(b,C)},onCancelClick:()=>{u(!1),h("")}},V=i=>e==="ach"||e==="wire"&&n==="us-domestic"?i.bankAccountNumber:e==="wire"&&n==="international"?i.bankAccountIban??"":"",R=i=>e==="ach"?i.bankRoutingNumberAch:e==="wire"&&n==="us-domestic"?i.bankRoutingNumberWireTransfer:e==="wire"&&n==="international"?i.bankSwiftCode??"":"";return t.jsxs(kt,{children:[j===!0?t.jsx(re,{titleComponent:t.jsx(ae,{children:c.areYOuSure}),descriptionComponent:t.jsx(ne,{children:c.ifYouSubmit}),primaryButtonText:c.delete,secondaryButtonText:c.cancel,action:B,isEditPopup:!0,proceedButtonVariant:"danger"}):null,t.jsx(Ct,{windowSize:f,children:`${me(e,n)} ${c.accountsLabel}`}),s?.map(i=>t.jsx(Z,{children:t.jsx(Ze,{bankName:i.bankName,accountType:i.bankAccountType??"",bankAccountNumberOrIban:V(i),routingNumberOrSwiftCode:R(i),routingNumberOrSwiftCodeLabel:e==="ach"?c.achDetails.bankRoutingNumber:e==="wire"&&n==="us-domestic"?c.wireDetails.bankRoutingNumber:e==="wire"&&n==="international"?c.wireDetails.international.swiftCode:"",accountNumberOrIbanLabel:e==="ach"?c.achDetails.bankAccountNumber:e==="wire"&&n==="us-domestic"?c.wireDetails.accountNumber:e==="wire"&&n==="international"?c.wireDetails.international.iban:"",accountTypeLabel:e==="ach"||e==="wire"&&n==="us-domestic"?c.achDetails.accountTypeLabel:"",accountName:i.bankAccountName,onDeleteClick:()=>A(i.bankAccountId)})},i.bankAccountId)),l?.map(i=>t.jsx(Z,{children:t.jsx(dt,{paymentInstrument:i,onDeleteClick:()=>{k(!0),A(i.paymentInstrumentId)}})},i.paymentInstrumentId)),t.jsx(wt,{onAddAccountDetailsSection:p,type:e,subType:n})]})},wt=({onAddAccountDetailsSection:e,type:n,subType:s})=>{const l=v(),m=x.getLocalizedStrings().spendManagement.billPay;return t.jsx(t.Fragment,{children:t.jsxs(jt,{windowSize:l,onClick:e,"data-testid":$("add-vendor-account",n),children:[t.jsx(vt,{}),t.jsx(ie,{children:`${m.vendorCreation.addPrefix} ${me(n,s)}`})]})})},vt=r(de)`
|
|
144
144
|
margin-right: ${o.sp2};
|
|
145
145
|
width: ${o.sp3};
|
|
146
146
|
height: ${o.sp3};
|
|
@@ -278,4 +278,4 @@ import{y as We,e as v,S as W,cb as _e,V as t,a_ as He,P as $,L as Ye,bR as re,bS
|
|
|
278
278
|
display: flex;
|
|
279
279
|
flex-direction: column;
|
|
280
280
|
padding-top: ${o.sp11};
|
|
281
|
-
`,y=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,Ut=x.getLocalizedStrings().common.footer,oe=x.getLocalizedStrings().common.currency,oo=({vendorViewDetails:e,vendorId:n,screenType:s,analytics:l,filesEndPoint:m,authParams:p,vendorSearchAutoCompleteData:f,vendorSearchAutoCompleteActions:j,isLocalCurrencyEnabled:u,onBackClick:
|
|
281
|
+
`,y=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,Ut=x.getLocalizedStrings().common.footer,oe=x.getLocalizedStrings().common.currency,oo=({vendorViewDetails:e,vendorId:n,screenType:s,analytics:l,filesEndPoint:m,authParams:p,vendorSearchAutoCompleteData:f,vendorSearchAutoCompleteActions:j,isLocalCurrencyEnabled:u,onBackClick:b,onVendorSelected:h,navigateToBankDetailPage:C,updateSelectedVendorForCreate:k,onRemoveBankAccount:c,updateSaveFetchState:A,onSaveVendor:B,navigateToMailingAddressPage:V,saveVendorDetailLocalData:R,resetVendorDetailLocalData:i,saveContactsInVendorDetailLocalData:ue,updateFilesEntity:he,onEditFileName:xe,onFetchAndUpdateVendorRecommendations:ge})=>{const{accountList:{accounts:be},classList:{classes:ye},vendorTypeList:$e,ownerList:fe,editVendorState:q,newVendorState:G,fetchState:we,hasWireTransfer:J,hasInternationalWireTransfer:F,deleteFileStatusById:ve,updateFileStatusById:je,accountsHierarchyList:Ce,classHierarchyList:ke}=e,L=n!=null?q?.vendorDetailLocalData:G?.vendorDetailLocalData,d=Object.assign({},q??G),De=We(),D=v(),[Se,O]=g.useState(!1),[Ae,E]=g.useState(!1),K=s==="create"?y.newVendorTitle:y.editVendor,Le=(d.bankAccountsUpdated??[]).map(a=>a.bankAccountId).sort(),Ie=(d.vendorBasic?.bankAccounts??[]).map(a=>a.bankAccountId).sort(),Ne=!W(Le,Ie),Te=(d.paymentInstrumentsUpdated??[]).map(a=>a.paymentInstrumentId).sort(),Pe=(d.vendorBasic?.paymentInstruments??[]).map(a=>a.paymentInstrumentId).sort(),ze=!W(Te,Pe),Be=(L?.contacts??[]).filter(a=>a.email!==""||a.fullName!==""||a.phone!=="").map(a=>_e(a,"contactInfoType")),Ve=d.vendorBasic?.contacts??[],Re=!W(Be,Ve),Fe=d.bankAccountsUpdated.filter(a=>!!a.bankRoutingNumberAch),Oe=d.bankAccountsUpdated.filter(a=>!!a.bankRoutingNumberWireTransfer),Ee=d.paymentInstrumentsUpdated.filter(a=>!!a.piNumber),Q=()=>{E(!0)},Me={onOkClick:()=>{E(!1),O(!1),i?.(),b()},onCancelClick:()=>{E(!1),O(!1)}},M=g.useRef(null),U=(a,Ue)=>{M.current?.syncFormData(),C(a,Ue)};g.useEffect(()=>{d?.saveStatus?.fetchState==="Completed"&&(A(),b())},[d]);const X=g.useRef(null);return t.jsxs(Vt,{windowSize:D,children:[t.jsx(He,{"data-testid":$("vendor-detail-container-nav-bar"),title:K,backgroundColor:De.colors.grey4,leftSideComponent:t.jsx(Et,{onClick:Q,"data-testid":$("create-edit-vendor-nav-bar-back")}),enableTitleOnScroll:!0,scrollableContent:X,source:"CreateOrEditVendorPage"}),t.jsxs(Rt,{windowSize:D,ref:X,children:[we==="In-Progress"?t.jsx(Ft,{children:t.jsx(Ye,{size:"ExtraLarge",start:!0})}):t.jsxs(t.Fragment,{children:[Se===!0?t.jsx(re,{titleComponent:t.jsx(ae,{children:y.discardTitle}),descriptionComponent:t.jsx(ne,{children:y.discardDescription}),primaryButtonText:y.discard,secondaryButtonText:y.cancel,action:Me}):null,D!=="small"?t.jsx(Ot,{children:K}):null,t.jsx(qe,{ref:M,id:te(ee),allAccounts:be,allClasses:ye,accountsHierarchyList:Ce,classHierarchyList:ke,vendorTypeList:$e,allOwners:fe,vendorSearchAutoCompleteData:f,vendorSearchAutoCompleteActions:j,onVendorSelected:h,screenType:s,hasInternationalWireTransfer:F,selectedVendor:d,formLocalData:L,isBankAccountChanged:Ne,isContactListChanged:Re,isPaymentInstrumentChanged:ze,analytics:l,pageBackBtnClicked:Ae,onBackClick:b,onSaveVendor:B,saveContactsInVendorDetailLocalData:ue,updateSelectedVendorForCreate:k,saveVendorDetailLocalData:R,updateFilesEntity:he,toggleConfirmationPopup:a=>{O(a)},filesEndPoint:m,authParams:p,onEditFileName:xe,deleteFileStatusById:ve,updateFileStatusById:je,onFetchAndUpdateVendorRecommendations:ge,isLocalCurrencyEnabled:u}),J||F?t.jsx(Dt,{addressState:d.vendorNewAddressStatus?.addressToCreate,onUpdateMailingAddress:a=>{M.current?.syncFormData(),V(a)}}):null,d.vendorDetailLocalData?.currencyCode==null||d.vendorDetailLocalData?.currencyCode===oe.currencyCode?t.jsx(H,{type:"ach",vendorAccountDetails:Fe,onAddNewAccountDetailClick:()=>U("ach","standard"),onRemoveBankAccount:c}):null,!J||d.vendorDetailLocalData?.currencyCode!=null&&d.vendorDetailLocalData?.currencyCode!==oe.currencyCode?null:t.jsx(H,{type:"wire",subType:"us-domestic",vendorAccountDetails:Oe,onAddNewAccountDetailClick:()=>U("wire","us-domestic"),onRemoveBankAccount:c}),F&&(L?.countryCode!=null&&L.countryCode!=="US"||u)?t.jsx(H,{type:"wire",subType:"international",vendorAccountDetailsInternational:Ee,isLocalCurrencyEnabled:u,onAddNewAccountDetailClick:()=>U("wire","international"),onRemoveBankAccount:c}):null]}),t.jsx(Mt,{})]}),t.jsx(Ge,{formId:te(ee),primaryBtn:{label:y.saveDetails,isLoading:d.saveStatus?.fetchState==="In-Progress",style:{width:P.buttonWidth.value(D)},isDisabled:!1},cancelBtn:{label:Ut.cancel,style:{width:P.buttonWidth.value(D)},shouldResetOnCancel:!1,onClick:Q}})]})};export{oo as default,te as formUniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,e as ge,h as ye,
|
|
1
|
+
import{V as t,e as ge,h as ye,b as ae,gT as ea,a5 as aa,a as ta,L as na,a9 as Me,o as a,O as K,x as m,a8 as Be,n as oa,R as ia,y as _e,bn as ra,eO as Oe,d as Z,f as J,fP as se,w as la,D as Ne,c2 as ca,a7 as De,T as sa,c8 as da,A as ma,ex as pa,f6 as ua,cf as ha,h4 as Se,h5 as ga,fD as ya,m as r,bw as fa,at as Ca,eT as ba,bH as xa,l as We,gk as wa,bu as Da,ac as Sa,h6 as $a,cq as ka,gl as Aa,fi as La,fe as va}from"./index-BHAcVHeH.js";import{n as i}from"./mui-Cni6P-fz.js";import{a as p}from"./sentry-CY6wsJT-.js";import{u as Ia}from"./plaid-B2vW8NaN.js";import{bG as ue,c6 as Ra,bs as $e,cg as Fa,ch as ke,bY as Ta}from"./zeni-epic-state-cFF_NqwA.js";import{x as Pa}from"./LabeledControlledCheckBoxField-C_c8Rs-i-Cz1fNsx_.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./utils-ChLimP28.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]="1309240b-f591-4098-a5de-5f45dd428d99",e._sentryDebugIdIdentifier="sentry-dbid-1309240b-f591-4098-a5de-5f45dd428d99")}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])},he={pageTitle:new Z("h6Regular","h5Regular"),integerAmountInput:new Z("h5Regular","largeMedium"),decimalAmountInput:new Z("largeSemiBold","largeMedium")},{dateFormat:{visual:{MMMDCommaYYYYformat:Ae}},common:{edit:ja,labels:de,navBar:{back:za},to:Ea,zeniInc:Ma},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:Ba}},chargeCard:{payEarly:z}}}=K.getLocalizedStrings(),_a=({paymentDetails:e,isCashbackInfoFetchStateCompleted:o,isCreditCardInfoFetchStateCompleted:u,isDebitCardInfoFetchStateCompleted:n,controllerEmails:f,productInformation:l,cashbackInformation:h,paymentSourceInformation:L,creditAccountInformation:C,debitAccountInformation:g,setShowReviewContent:x,onTransferClick:b})=>{const d=ge(),S=_e(),v=ye().analytics,[M,I]=p.useState(!1);p.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const R=te.largeLabelWidth.value(d),F=e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount",T=F?1:3,P=ue(Ra($e().toDate(),[0,6],T).toDateString()).format(Ae),B=F?z.timeline01BusinessDay:z.timeline23BusinessDays,_=F?z.estimatedPaymentCompleteWithoutTimeline.replace("__date__",P):z.estimatedPaymentCompleteWithTimeline.replace("__date__",P).replace("__timeline__",B);return t.jsxs(t.Fragment,{children:[t.jsxs(Xa,{windowSize:d,children:[t.jsx(tt,{windowSize:d,children:t.jsx(ra,{title:za,enterTouchDelay:600,placement:"bottom",display:"flex",children:t.jsx(at,{"data-testid":ae("nav-bar-back-credit-card-payment-review"),onClick:()=>{o&&u&&n&&h!=null&&v.trackCardsPayEarlyFormClick(f,l,h,"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,g),x(!1)}})})}),t.jsx(nt,{windowSize:d,children:Ba.reviewAndConfirm}),t.jsxs(Na,{children:[z.pay," ",t.jsx(Le,{children:t.jsx(Oe,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:he.integerAmountInput.styleObject(d),decimalStyles:he.decimalAmountInput.styleObject(d),style:{display:"inline-flex"}})})," ",Ea," ",t.jsx(Le,{children:Ma})]}),M?t.jsx(Ga,{children:t.jsxs(Ya,{children:[t.jsxs(Za,{children:[t.jsx(Ja,{}),t.jsxs(Va,{children:[t.jsx(Ha,{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(se,{label:{label:de.paymentMethod,width:R},text:t.jsx(me,{windowSize:d,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"?z.bookPayment:z.sameDayACH}),style:{width:"auto"}}),t.jsx(ve,{}),t.jsx(se,{label:{label:de.sourceAccount,width:R},text:t.jsxs(me,{windowSize:d,children:[Ue(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(ve,{}),t.jsx(se,{label:{label:de.paymentDate,width:R},showAdditionalInfoLabel:!0,additionalInfoLabel:_,additionalInfoLabelStyles:{color:S.colors.hero,...la.smallRegular.cssObject},text:t.jsx(me,{windowSize:d,children:$e().format(Ae)}),style:{width:"auto"}})]})})]}),t.jsx(Me,{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&&u&&n&&h!=null&&v.trackCardsPayEarlyFormClick(f,l,h,"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,g),x(!1)},style:{minWidth:94}},primaryBtn:{label:z.payNow,onClick:b,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},Ue=(e,o,u)=>{if(o==="")return t.jsx(st,{});const n=e.find(l=>l.id===o),f=e.findIndex(l=>l.id===o);if(n!=null){if(n.accType==="depositAccount")return t.jsx(lt,{isOptionSelected:u,children:t.jsx(ct,{color:wa(f)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?t.jsx(ot,{src:Oa(n.logo),isOptionSelected:u,loading:"lazy"}):t.jsx(it,{isOptionSelected:u,children:t.jsx(rt,{})})}return null},Oa=e=>e.base64!==void 0?`${La}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Na=i(Ca)`
|
|
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{cc as M,y as
|
|
1
|
+
import{cc as M,y as N,dX as P,O as _,V as l,e4 as H,b3 as L,o,cM as z,b as x,bV as B,b4 as g,l as A,w,ey as T,ez as X,eA as q,C as G,b2 as J,a8 as K,f as m}from"./index-BHAcVHeH.js";import{a as S}from"./sentry-CY6wsJT-.js";import{n}from"./mui-Cni6P-fz.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]="dad3b012-6129-47dc-834d-4fbc0a7a3761",e._sentryDebugIdIdentifier="sentry-dbid-dad3b012-6129-47dc-834d-4fbc0a7a3761")}catch{}})();const $e=({name:e,registerOptions:t,defaultValue:r,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:y,formState:{errors:f}}=M(),b=N(),[j,C]=S.useState(!1),k=P(f,e??""),I=_.getLocalizedStrings().common.currency,D=s=>{if(s!=null&&s)return{value:s,label:r.allOptions.find(h=>h.value===s)?.label??s,countryCode:r.allOptions.find(h=>h.value===s)?.countryCode??I.countryCode}},V={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:b.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${b.colors.dropShadowHover}`,border:`1px solid ${b.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:b.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:k,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(H,{name:e,control:y,defaultValue:r,rules:t,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const v=R;return S.createElement(L,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:D(v.selectedOption),options:r.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&v?.selectedOption===$.value?s({selectedOption:void 0,allOptions:r.allOptions}):s({selectedOption:$?.value,allOptions:r.allOptions})},onMenuClose:()=>C(!1),key:z(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:Q,Option:U,Input:Z,SingleValue:ee,ValueContainer:Y,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:ge,MenuList:W},hideSelectedOptions:!1,styles:V,isDisabled:a!=null})}})},Q=e=>{const{menuIsOpen:t,isFocused:r,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(re,{controlStyle:u,menuIsOpen:t,isFocused:r,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(g.Control,{...e,className:"select-control",children:e.children})})},U=e=>{const{data:t,isSelected:r,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=t.countryCode,p=typeof t.label=="string"?t.label:t.value;return l.jsx(te,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:r,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:l.jsx(g.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:r,children:l.jsx(ne,{isSelected:r,isDisabled:a,children:t.label})}),r?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},W=e=>{const{options:t,children:r,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=t.indexOf(u)*i;return l.jsx(B,{height:r.length>7?a:r.length*i,width:"100%",itemCount:r.length,itemSize:()=>i,initialScrollOffset:p,children:({index:y,style:f})=>l.jsx(ce,{style:f,children:r[y]})})},Y=e=>l.jsx(g.ValueContainer,{...e,className:"select-value-container",children:e.children}),Z=e=>{const{selectProps:t}=e,{placeholder:r,value:a}=t;return l.jsx(O,{children:l.jsx(g.Input,{...e,autoComplete:"new-password",placeholder:a==null?r:void 0,children:e.children})})},ee=e=>{const{data:t}=e;return l.jsx(g.SingleValue,{...e,children:l.jsx(O,{children:t.label})})},O=n(A)`
|
|
2
2
|
color: ${e=>e.theme.colors.primary};
|
|
3
3
|
`,oe=()=>null,le=({countryCode:e})=>{if(e!=null&&T(e)===!1)return l.jsx(l.Fragment,{});{const t=X[`${q(e??"")}`];return l.jsx(ie,{children:l.jsx(t,{width:o.sp4,height:o.sp3})})}},re=n.span`
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as
|
|
1
|
+
import{e as b,V as i,O as c,a7 as l,b as p,L as g,o,c as h,c2 as x,n as m}from"./index-BHAcVHeH.js";import{a as f}from"./sentry-CY6wsJT-.js";import{n as t}from"./mui-Cni6P-fz.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.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]="333d2eda-3b0d-4fd1-964d-c8c6a76601f9",e._sentryDebugIdIdentifier="sentry-dbid-333d2eda-3b0d-4fd1-964d-c8c6a76601f9")}catch{}})();const u=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -38,13 +38,13 @@ import{e as f,V as i,O as c,a7 as l,P as p,L as g,o,c as h,c2 as x,n as b}from".
|
|
|
38
38
|
margin-bottom: ${o.sp1};
|
|
39
39
|
padding: ${o.sp0} ${o.sp3};
|
|
40
40
|
text-align: center;
|
|
41
|
-
`,w=t(
|
|
41
|
+
`,w=t(m)`
|
|
42
42
|
color: ${e=>e.theme.colors.hero};
|
|
43
43
|
padding: ${o.sp0} ${o.sp3};
|
|
44
44
|
text-align: center;
|
|
45
45
|
`,k=t.div`
|
|
46
46
|
margin-top: ${o.sp3};
|
|
47
|
-
`,z=({dashboardFetchState:e,onZeniLogoClick:r,onDashboardFetchDone:n})=>{const{title:d,subTitle:a}=c.getLocalizedStrings().customerOnboardingPage.thankYou,s=l(e);return
|
|
47
|
+
`,z=({dashboardFetchState:e,onZeniLogoClick:r,onDashboardFetchDone:n})=>{const{title:d,subTitle:a}=c.getLocalizedStrings().customerOnboardingPage.thankYou,s=l(e);return f.useEffect(()=>{s==="In-Progress"&&e!=="In-Progress"&&n()},[e,s,n]),i.jsxs(u,{children:[i.jsx($,{children:i.jsx(y,{"data-testid":p("zeni-logo-customer-onboarding-activation-page"),onClick:r})}),i.jsxs(j,{children:[i.jsx(v,{children:d}),i.jsx(w,{children:a}),i.jsx(k,{children:i.jsx(g,{size:"Large",start:!0})})]})]})},D=t.div`
|
|
48
48
|
display: flex;
|
|
49
49
|
flex-direction: column;
|
|
50
50
|
height: 100vh;
|
|
@@ -79,10 +79,10 @@ import{e as f,V as i,O as c,a7 as l,P as p,L as g,o,c as h,c2 as x,n as b}from".
|
|
|
79
79
|
margin-bottom: ${o.sp1};
|
|
80
80
|
text-align: center;
|
|
81
81
|
width: 100%;
|
|
82
|
-
`,S=t(
|
|
82
|
+
`,S=t(m)`
|
|
83
83
|
color: ${e=>e.theme.colors.hero};
|
|
84
84
|
text-align: center;
|
|
85
85
|
width: 100%;
|
|
86
86
|
`,T=t.div`
|
|
87
87
|
margin-top: ${o.sp3};
|
|
88
|
-
`,_=({dashboardFetchState:e,onZeniLogoClick:r,onDashboardFetchDone:n})=>{const{title:d,subTitle:a}=c.getLocalizedStrings().customerOnboardingPage.thankYou,s=l(e);return
|
|
88
|
+
`,_=({dashboardFetchState:e,onZeniLogoClick:r,onDashboardFetchDone:n})=>{const{title:d,subTitle:a}=c.getLocalizedStrings().customerOnboardingPage.thankYou,s=l(e);return f.useEffect(()=>{s==="In-Progress"&&e!=="In-Progress"&&n()},[e,s,n]),i.jsxs(D,{children:[i.jsx(I,{children:i.jsx(L,{children:i.jsx(P,{"data-testid":p("zeni-logo-customer-onboarding-activation-page"),onClick:r})})}),i.jsxs(C,{children:[i.jsx(F,{children:d}),i.jsx(S,{children:a}),i.jsx(T,{children:i.jsx(g,{size:"Large",start:!0})})]})]})},N=e=>b()==="small"?i.jsx(_,{...e}):i.jsx(z,{...e});export{N as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as i}from"./pdf-CTJ16aEe.js";import{js as n}from"./index-BHAcVHeH.js";import{g as m}from"./QBOConnectionScreen-BDwso3KZ.js";import"./sentry-CY6wsJT-.js";import{h as p,N as s}from"./core-oEkj6b51.js";import"./zeni-epic-state-cFF_NqwA.js";import"./mui-Cni6P-fz.js";import"./recharts-LlOU9oLm.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./empty-CpgB6ACX.js";import"./pdf-lib-BZoHbIry.js";import"./index-B5c5iTId.js";import"./url-B5kkbwRv.js";import"./index-DRNExedw.js";import"./decodeURIComponentSafe-AFO0vA4L.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="7ac95620-f74d-498f-94d1-f3c260499359",t._sentryDebugIdIdentifier="sentry-dbid-7ac95620-f74d-498f-94d1-f3c260499359")}catch{}})();const S=()=>{const t=p(),{code:o,realmId:r,state:e}=m(t.search),d=n.getSignedInUser()?.userId??"";if(f(o,r,e,d)===!0){const a=`../../${e}/onboarding?code=${o}&realmId=${r}&state=auth_flow`;return i.jsx(s,{to:a})}return i.jsx(s,{to:"../../"})},f=(t,o,r,e)=>t!=""&&o!=""&&r!=""&&e!=null&&e!="";export{S as default,f as hasValidParams};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{V as o}from"./index-BHAcVHeH.js";import i from"./CustomerOnboardingNoStepsPage-C--jDBQq-BgvTeh9S.js";import p from"./CustomerOnboardingPage-BXZSl2im-DDrc-wX_.js";import"./sentry-CY6wsJT-.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./mui-Cni6P-fz.js";import"./recharts-LlOU9oLm.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./PaymentAccountSetupBillingAddressSection-tGkjxbjY-CHrQD7Oe.js";import"./stripe-DMRn4zHo.js";import"./commonTypes-C64XobC6-BTobasZR.js";import"./SetUpAccountSection-BcNG0nDh-C2x0keC_.js";import"./CustomerOnboardingDetailPageSkeleton-DRGKainD-Y7JaILNu.js";import"./CompanyOfficerDetailsSection-w86_5FXJ-CDmgqN3N.js";import"./helper-D3UIpXq7-DCH1HBMI.js";import"./LabeledAddressValueField-D47ofJFV-CGqdgTnp.js";import"./LabeledCountryMultiSelectField-vRw9drBe-Bw1loTny.js";import"./LabeledCreatableSingleSelectField-CdF97ljM-DTrzefeb.js";import"./LabeledDocumentField-Dn25Ru1C-CLM-i9xW.js";import"./LabeledNameField-Dxx0xwMv-DBRkdNqp.js";import"./avatar-Dz7aEm3d-lVrrjTFE.js";import"./QBOSetupSection-CHZgQppe-Fu_QXCEh.js";import"./QBOConnectionDialog-5ItNvdCA-D1LNYclF.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]="3efffa19-ce34-42d0-86f1-428d4609c669",t._sentryDebugIdIdentifier="sentry-dbid-3efffa19-ce34-42d0-86f1-428d4609c669")}catch{}})();const B=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?o.jsx(i,{...t}):o.jsx(p,{...t});export{B as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as x,e as H,V as s,bg as u,o as t,
|
|
1
|
+
import{y as x,e as H,V as s,bg as u,o as t,m as z,x as f,b as y,aL as I,c as T,O as E,f as b,er as N,hc as R,fh as L,r as P,H as U,hd as O}from"./index-BHAcVHeH.js";import{n as r}from"./mui-Cni6P-fz.js";import{b as S}from"./sentry-CY6wsJT-.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]="f4188373-36eb-4be3-b5f1-63528a984e02",e._sentryDebugIdIdentifier="sentry-dbid-f4188373-36eb-4be3-b5f1-63528a984e02")}catch{}})();const W=r(O)`
|
|
2
2
|
/* Size is controlled by styles.root prop */
|
|
3
3
|
`,_=r.div`
|
|
4
4
|
position: relative;
|
|
@@ -22,7 +22,7 @@ import{y as x,e as H,V as s,bg as u,o as t,k as z,x as f,P as y,aL as I,c as T,O
|
|
|
22
22
|
pointer-events: none;
|
|
23
23
|
z-index: 1;
|
|
24
24
|
}
|
|
25
|
-
`,F=({valueEnd:e,valueStart:i,children:o})=>{const[d,l]=S.useState(i);return S.useEffect(()=>{const n=setTimeout(()=>{l(e)},100);return()=>clearTimeout(n)},[e]),s.jsx(s.Fragment,{children:o(d)})},
|
|
25
|
+
`,F=({valueEnd:e,valueStart:i,children:o})=>{const[d,l]=S.useState(i);return S.useEffect(()=>{const n=setTimeout(()=>{l(e)},100);return()=>clearTimeout(n)},[e]),s.jsx(s.Fragment,{children:o(d)})},B=({valueEnd:e=50})=>{const i=x();return s.jsx(F,{valueStart:0,valueEnd:e,children:o=>s.jsx(_,{theme:i,children:s.jsx(W,{value:o,strokeWidth:50,circleRatio:1,styles:{...R({pathColor:b.success,trailColor:"transparent",pathTransitionDuration:1.5,rotation:1,strokeLinecap:"butt"}),root:{width:t.sp3,height:t.sp3,position:"relative",zIndex:2,display:"flex",alignItems:"center",justifyContent:"center"}}})})})},v=({isActive:e,isCompleted:i,isDisabled:o,isError:d,isHalfCompleted:l,theme:n})=>e||i||l||d?d?b.runwayRed:n.colors.primary:o?n.colors.grey1:n.colors.hero,w=({isActive:e,isCompleted:i,isDisabled:o,isHalfCompleted:d,theme:l})=>e||i||d?l.colors.primary:o?l.colors.grey1:l.colors.hero,J=r.div`
|
|
26
26
|
width: 100%;
|
|
27
27
|
display: flex;
|
|
28
28
|
background: ${e=>e.isActive?e.theme.colors.grey5:null};
|
|
@@ -41,14 +41,14 @@ import{y as x,e as H,V as s,bg as u,o as t,k as z,x as f,P as y,aL as I,c as T,O
|
|
|
41
41
|
color: ${e=>w({isActive:e.isActive,isCompleted:e.isCompleted,isDisabled:e.isDisabled,isHalfCompleted:e.isHalfCompleted,theme:e.theme})};
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
`,
|
|
44
|
+
`,V=r.div`
|
|
45
45
|
margin-right: ${t.sp2};
|
|
46
46
|
margin-top: 2px;
|
|
47
|
-
`,
|
|
47
|
+
`,Z=r(L)`
|
|
48
48
|
width: ${t.sp3};
|
|
49
49
|
height: ${t.sp3};
|
|
50
50
|
color: ${b.success};
|
|
51
|
-
`,
|
|
51
|
+
`,q=r(N)`
|
|
52
52
|
width: ${t.sp3};
|
|
53
53
|
height: ${t.sp3};
|
|
54
54
|
color: ${b.runwayRed};
|
|
@@ -61,11 +61,11 @@ import{y as x,e as H,V as s,bg as u,o as t,k as z,x as f,P as y,aL as I,c as T,O
|
|
|
61
61
|
`,K=r.div`
|
|
62
62
|
display: flex;
|
|
63
63
|
flex-direction: column;
|
|
64
|
-
`,M=r(
|
|
64
|
+
`,M=r(P)`
|
|
65
65
|
color: ${e=>v({isActive:e.isActive,isCompleted:e.isCompleted,isDisabled:e.disabledStep,isError:e.isError,isHalfCompleted:e.isHalfCompleted,theme:e.theme})};
|
|
66
66
|
`,Q=r(U)`
|
|
67
67
|
color: ${e=>w({isActive:e.isActive,isCompleted:e.isCompleted,isDisabled:e.disabledStep,isHalfCompleted:e.isHalfCompleted,theme:e.theme})};
|
|
68
|
-
`;function X({onboardingStep:e,isActive:i,isCompleted:o,isHalfCompleted:d,isDisabled:l,isError:n,stepText:h,stepSubText:m,onUpdateStep:g,setIsStepClicked:p,disabledSteps:a}){const c=l||a.includes(e)&&i===!1;return s.jsxs(
|
|
68
|
+
`;function X({onboardingStep:e,isActive:i,isCompleted:o,isHalfCompleted:d,isDisabled:l,isError:n,stepText:h,stepSubText:m,onUpdateStep:g,setIsStepClicked:p,disabledSteps:a}){const c=l||a.includes(e)&&i===!1;return s.jsxs(J,{isActive:i,isDisabled:c,isCompleted:o,isHalfCompleted:d,isError:n,onClick:l===!1?()=>{a.includes(e)&&i===!1||(p(!0),g(e))}:void 0,"data-testid":y("step-box",e),children:[s.jsx(V,{children:n?s.jsx(q,{}):d?s.jsx(B,{}):o?s.jsx(Z,{}):s.jsx(G,{isActive:i,disabledStep:c})}),s.jsxs(K,{children:[s.jsx(M,{className:"step-content-title",isActive:i,isCompleted:o,isHalfCompleted:d,disabledStep:c,isError:n,children:h}),s.jsx(Q,{className:"step-content-subtitle",isActive:i,isCompleted:o,isHalfCompleted:d,disabledStep:c,children:m})]})]})}const Y=r.div`
|
|
69
69
|
display: flex;
|
|
70
70
|
flex: 1 1 auto;
|
|
71
71
|
margin-top: 84px;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import{h as de,V as n,f0 as
|
|
1
|
+
import{h as de,V as n,f0 as Se,e as fe,y as Ce,T as be,a7 as Pe,c8 as we,a_ as xe,o as i,b as ke,A as Ie,a9 as Ae,aL as ve,ha as $e,O as Oe,eu as Ve,ev as je,c as Te,x as X,l as Le,m as $}from"./index-BHAcVHeH.js";import{n as l}from"./mui-Cni6P-fz.js";import{a as O}from"./sentry-CY6wsJT-.js";import{r as _e,t as ze}from"./PaymentAccountSetupBillingAddressSection-tGkjxbjY-CHrQD7Oe.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-DRGKainD-Y7JaILNu.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./stripe-DMRn4zHo.js";import"./commonTypes-C64XobC6-BTobasZR.js";import"./SetUpAccountSection-BcNG0nDh-C2x0keC_.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]="5d95dc25-c40f-495b-b6ee-d6eb34b31811",e._sentryDebugIdIdentifier="sentry-dbid-5d95dc25-c40f-495b-b6ee-d6eb34b31811")}catch{}})();const ee="onboardingPaymentAccountSetupSection",re="customerOnboardingNoStepsDetailPage",t="onboardingSubscriptionBillingAddress",Y={titleWidth:new X(343,580,726,826),subTitlePaddingTop:new X($[3],$[3]),subTitlePaddingBottom:new X($[3],$[3])},Ee=e=>`${e}_form`,Ue=Oe.getLocalizedStrings(),De=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:j,googleAPIKey:T,signedInUser:w,currentTenant:L,onUpdateStep:_,handleCreateCardSetupIntent:z,handleConfirmCardSetupIntent:B,updateCardPaymentModalState:x,handleAddCardPaymentSource:E,resetCardPaymentViewState:U,handleResetCardPaymentErrorStatuses:D,redirectToProductSuitePage:k,onUpdateCustomerView:F,...K})=>{const m=fe(),M=de(),{analytics:C}=M,{onFetchLinkTokenClick:R,onUpdatePaymentAccountStatus:G,onUpdatePaymentAccountLoginStatus:N,onEstablishConnectionClick:b,onEstablishConnectionSuccess:W,handleLogOutClick:Z,onZeniLogoClick:q,onAddressEditHandler:I}=K,H=Ce(),o=be({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:V(e),values:V(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:ce,saveStatus:g,paymentAccount:A,paymentAccountStatus:le,plaidConnectionDetails:te,uiState:ue,allNationalityCountries:ne,subscriptionBillingAddress:y}=e,{customerOnboardingPage:pe,common:h}=Ue,{footer:me,steps:ge}=pe,{buttons:J}=me,ie=ge.link_payment_account,v=Pe(g.fetchState),ae=Object.values(ce).findIndex(d=>d?.isSelectedForVerification===!0)??0,ye=`Officer_${ae<0?1:ae+1}`;O.useEffect(()=>{const d=o.watch((c,{name:a})=>{a!=null&&c!=null&&we(()=>(async(r,s)=>{if(r.includes(t)&&s[t]!=null){const S=o.getValues(`${t}`).country;let f=s[t];if(r.includes(`${t}.street`)&&s[t].street!=null){const{addressValue:P}=s[t].street,Q=Ve(P?.country);f={street:s[t].street??h.strings.empty,city:P?.locality??h.strings.empty,state:P?.administrativeAreaLevel1??h.strings.empty,country:Q,countryCode:P?.countryCode??h.strings.empty,postalCode:P?.postalCode??h.strings.empty,secondaryInfo:s[t].secondaryInfo,suite:s[t].suite},S.selectedOption!==Q.selectedOption&&(f={...f,country:Q})}else(r===`${t}.country`&&S.selectedOption!=null||S.selectedOption!=null&&r.includes(`${t}.street`)===!1)&&(f={...f,countryCode:je(S.selectedOption)});I(f)}})(a,c))});return()=>{d.unsubscribe()}}),O.useEffect(()=>{v==="In-Progress"&&g.fetchState==="Completed"&&o.reset(V(e),{keepDirtyValues:!1})},[o,e,v,g.fetchState,ne]);const oe=()=>{const d=Object.values(te).some(s=>s.fetchStatus.fetchState==="Completed"),c=A?.providerVerificationStatus?.code?.includes("verified")??!1,a=p.cardsList.length>0,r=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return d&&c||!c&&!A&&a||!a&&!A&&r};O.useEffect(()=>{v==="In-Progress"&&g.fetchState==="Completed"&&(o.reset(V(e),{keepDirtyValues:!1}),k())},[o,e,v,g.fetchState,ne,k]);const[se,he]=O.useState(!1);return n.jsxs(Fe,{children:[n.jsxs(Ke,{windowSize:m,children:[n.jsx(xe,{title:ie.sectionTitle,showBackButton:!1,backgroundColor:H.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:m!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:n.jsx(Ne,{children:n.jsx(We,{"data-testid":ke("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:q})})}),n.jsx(Ie,{...o,children:n.jsx(Re,{id:Ee(re),children:n.jsxs(Me,{children:[n.jsx(Ze,{windowSize:m,children:ie.sectionSubTitle}),n.jsx(_e,{connectedAccountProvider:u,paymentAccount:A,accountStatus:le,plaidConnectionDetails:te,subscriptionBillingAddressSectionId:t,sectionId:ee,analytics:C,isValid:oe(),onFetchLinkTokenClick:R,onEstablishConnectionClick:b,onUpdatePaymentAccountStatus:G,onUpdatePaymentAccountLoginStatus:N,onEstablishConnectionSuccess:W,updateCardPaymentModalState:x,cardPaymentView:p,resetCardPaymentViewState:U,cardSetupInProgress:se,googleAPIKey:T,subscriptionBillingAddress:y})]},"link_payment_account")})}),n.jsx(Ae,{formId:`${re}`,leftSideComponent:n.jsx(Ge,{windowSize:m,children:n.jsx(ve,{signedInUser:w,currentTenant:L,onLogOutClick:Z})}),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:async()=>{const d=await o.trigger(t),c=await o.trigger(ee);d&&c&&((()=>{const a=o.getValues(t),r={street:a.street.addressString,suite:a.suite,city:a.city,state:a.state,postalCode:a.postalCode,country:a.country.selectedOption??h.strings.empty,secondaryInfo:a.secondaryInfo};C.trackOnboardingBillingAddressSave(r)})(),_("link_payment_account"),F(ye,!1,!0))},label:J.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(function(){if(o.getFieldState(t).error)return!1;const d=o.getValues(t),c=y?.street.join("").trim(),a=y?.city,r=y?.state,s=y?.country,S=y?.postalCode!=null&&y.postalCode||d.postalCode||h.strings.empty;return!!(c&&a&&r&&s&&S)}()&&oe())},containerStyle:{width:"auto",justifyContent:"center"},helperText:J.submitText.replace("__action__",J.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),n.jsx(ze,{handleConfirmCardSetupIntent:B,updateCardPaymentModalState:x,handleCreateCardSetupIntent:z,handleAddCardPaymentSource:E,cardPaymentView:p,stripeKey:j,isCardPaymentOpen:ue.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:D,cardSetupInProgress:se,setCardSetupInProgress:he})]})},Fe=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
5
5
|
min-width: 100% ${e=>e.theme.breakpoints.down("md")} {
|
|
6
6
|
width: 100%;
|
|
7
|
-
padding-left: ${
|
|
7
|
+
padding-left: ${i.sp0};
|
|
8
8
|
}
|
|
9
9
|
`,Ke=l.div`
|
|
10
10
|
display: flex;
|
|
@@ -27,15 +27,15 @@ import{h as de,V as n,f0 as he,e as Se,y as Ce,T as Pe,a7 as be,c8 as we,a_ as x
|
|
|
27
27
|
display: flex;
|
|
28
28
|
height: 100%;
|
|
29
29
|
flex-direction: column;
|
|
30
|
-
padding-bottom: ${
|
|
30
|
+
padding-bottom: ${i.sp0};
|
|
31
31
|
`,Re=l.form`
|
|
32
|
-
padding-top: ${
|
|
32
|
+
padding-top: ${i.sp0};
|
|
33
33
|
flex: 1;
|
|
34
34
|
`,Ge=l.div`
|
|
35
35
|
display: flex;
|
|
36
|
-
height: ${
|
|
37
|
-
left: ${
|
|
38
|
-
bottom: ${
|
|
36
|
+
height: ${i.sp7};
|
|
37
|
+
left: ${i.sp4};
|
|
38
|
+
bottom: ${i.sp3};
|
|
39
39
|
position: fixed;
|
|
40
40
|
justify-content: center;
|
|
41
41
|
align-items: center;
|
|
@@ -43,12 +43,12 @@ import{h as de,V as n,f0 as he,e as Se,y as Ce,T as Pe,a7 as be,c8 as we,a_ as x
|
|
|
43
43
|
`,Ne=l.div`
|
|
44
44
|
display: flex;
|
|
45
45
|
`,We=l(Te)`
|
|
46
|
-
height: ${
|
|
46
|
+
height: ${i.sp4};
|
|
47
47
|
width: 102px;
|
|
48
48
|
color: ${e=>e.theme.colors.primary};
|
|
49
49
|
cursor: pointer;
|
|
50
50
|
flex-shrink: 0;
|
|
51
|
-
margin-left: -${
|
|
51
|
+
margin-left: -${i.sp4};
|
|
52
52
|
`,Ze=l(Le)`
|
|
53
53
|
color: ${e=>e.theme.colors.hero};
|
|
54
54
|
display: flex;
|
|
@@ -58,7 +58,7 @@ import{h as de,V as n,f0 as he,e as Se,y as Ce,T as Pe,a7 as be,c8 as we,a_ as x
|
|
|
58
58
|
padding-bottom: ${e=>Y.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
59
59
|
text-align: ${e=>e.windowSize==="small"?"initial":"center"};
|
|
60
60
|
width: 100%;
|
|
61
|
-
`,V=e=>({[ee]:{account:{allOptions:[],selectedOption:void 0}},[t]:$e(t,e?.subscriptionBillingAddress)[t]}),mt=e=>{const{onboardingCustomerView:u,cardPaymentView:p,signedInUser:j,currentTenant:T,isOnAddressPage:w,stripeKey:L,googleAPIKey:_,meetingUrl:z,onUpdateStep:B,onZeniLogoClick:x,handleLogOutClick:E,handleCockpitClick:U,handleCreateCardSetupIntent:D,handleConfirmCardSetupIntent:k,handleFetchPaymentSources:F,updateCardPaymentModalState:K,resetCardPaymentViewState:m,handleResetCardPaymentErrorStatuses:M,redirectToProductSuitePage:C,...R}=e,{allSteps:G,currentStep:N,fetchStatus:
|
|
61
|
+
`,V=e=>({[ee]:{account:{allOptions:[],selectedOption:void 0}},[t]:$e(t,e?.subscriptionBillingAddress)[t]}),mt=e=>{const{onboardingCustomerView:u,cardPaymentView:p,signedInUser:j,currentTenant:T,isOnAddressPage:w,stripeKey:L,googleAPIKey:_,meetingUrl:z,onUpdateStep:B,onZeniLogoClick:x,handleLogOutClick:E,handleCockpitClick:U,handleCreateCardSetupIntent:D,handleConfirmCardSetupIntent:k,handleFetchPaymentSources:F,updateCardPaymentModalState:K,resetCardPaymentViewState:m,handleResetCardPaymentErrorStatuses:M,redirectToProductSuitePage:C,...R}=e,{allSteps:G,currentStep:N,fetchStatus:b}=u,W=de(),{analytics:Z}=W,q={allSteps:G,isOnAddressPage:w,currentStep:N,fetchStatus:b,signedInUser:j,currentTenant:T,onUpdateStep:H=>{B(H)},onZeniLogoClick:x,handleLogOutClick:E,handleCockpitClick:U,redirectToProductSuitePage:C},I=b.fetchState==="In-Progress"||b.fetchState==="Not-Started";return n.jsxs(qe,{isOnAddressPage:w,children:[I?n.jsx(Be,{isNoStepsPage:!0}):n.jsx(De,{...q,onboardingCustomerView:u,handleCreateCardSetupIntent:D,handleConfirmCardSetupIntent:k,updateCardPaymentModalState:K,handleFetchPaymentSources:F,cardPaymentView:p,resetCardPaymentViewState:m,stripeKey:L,googleAPIKey:_,handleResetCardPaymentErrorStatuses:M,redirectToProductSuitePage:C,...R}),I?null:n.jsx(Se,{isFooterRendered:!0,meetingUrl:z,analytics:Z,productType:"onboarding"})]})},qe=l.div`
|
|
62
62
|
display: flex;
|
|
63
63
|
flex-direction: column;
|
|
64
64
|
width: ${e=>e.isOnAddressPage?"fit-content":"100%"};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{V as l,f0 as
|
|
1
|
+
import{V as l,f0 as Qt,e as Ye,y as Wt,T as Yt,c8 as ye,a7 as Me,J as ft,S as Qe,a_ as Gt,o as ce,A as Zt,m as Y,a9 as Jt,ha as Xt,fC as en,f1 as gt,eu as Ot,O as Ge,ev as tn,x as fe,fF as ge,cc as nn,l as an,hb as ht,W as St,ck as on,fE as sn}from"./index-BHAcVHeH.js";import{a as m}from"./sentry-CY6wsJT-.js";import{n as x,k as xt}from"./mui-Cni6P-fz.js";import{bQ as B,FH as rn,FI as cn}from"./zeni-epic-state-cFF_NqwA.js";import{r as Ct,t as ln}from"./PaymentAccountSetupBillingAddressSection-tGkjxbjY-CHrQD7Oe.js";import{b as bt,f as dn,a as It}from"./CustomerOnboardingDetailPageSkeleton-DRGKainD-Y7JaILNu.js";import{z as pn,r as un}from"./CompanyOfficerDetailsSection-w86_5FXJ-CDmgqN3N.js";import{t as mn}from"./QBOSetupSection-CHZgQppe-Fu_QXCEh.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./stripe-DMRn4zHo.js";import"./commonTypes-C64XobC6-BTobasZR.js";import"./SetUpAccountSection-BcNG0nDh-C2x0keC_.js";import"./helper-D3UIpXq7-DCH1HBMI.js";import"./LabeledAddressValueField-D47ofJFV-CGqdgTnp.js";import"./LabeledCountryMultiSelectField-vRw9drBe-Bw1loTny.js";import"./LabeledCreatableSingleSelectField-CdF97ljM-DTrzefeb.js";import"./LabeledDocumentField-Dn25Ru1C-CLM-i9xW.js";import"./LabeledNameField-Dxx0xwMv-DBRkdNqp.js";import"./avatar-Dz7aEm3d-lVrrjTFE.js";import"./QBOConnectionDialog-5ItNvdCA-D1LNYclF.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new a.Error().stack;C&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[C]="a391c0c3-8743-451f-84fe-db14c11fca28",a._sentryDebugIdIdentifier="sentry-dbid-a391c0c3-8743-451f-84fe-db14c11fca28")}catch{}})();const yn=({companyView:a,companyOfficerLocalData:C,allNationalityCountries:r,isVerificationPopupOpen:g,setIsVerificationPopupOpen:_,verifiedPhoneNumber:w,onPhoneVerified:h,...k})=>{const f=Ye(),T=a?.companyOfficers.slice(0,10).sort((I,te)=>I.user.createTime?.isAfter(te.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:d}=Ge.getLocalizedStrings().customerOnboardingPage.sections,{title:V}=d,D=a?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(fn,{children:l.jsx(un,{companyOfficerData:C,allOfficers:T??[],allNationalityCountries:r,sectionHeader:V,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:D,showInfoTooltip:f!=="small",showCompletedIcon:f==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:w,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:_,...k})})},fn=x.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
justify-content: center;
|
|
5
|
-
`,gn=({allNationalityCountries:a,fileProps:C,companyDetails:r,companyIndustries:g,sectionId:_,isCompleted:w,isDisabled:h,style:k,onCompanyAddressClick:f,onRegisteredAddressClick:T})=>{const d=Ye(),{company_details:
|
|
5
|
+
`,gn=({allNationalityCountries:a,fileProps:C,companyDetails:r,companyIndustries:g,sectionId:_,isCompleted:w,isDisabled:h,style:k,onCompanyAddressClick:f,onRegisteredAddressClick:T})=>{const d=Ye(),{company_details:V}=Ge.getLocalizedStrings().customerOnboardingPage.sections,{title:D}=V;return l.jsx(hn,{children:l.jsx(pn,{fileProps:C,companyDetails:r,sectionId:_,isDisabled:h,style:k,sectionHeader:D,productType:"onboarding",showInfoTooltip:d!=="small",showCompletedIcon:d==="small",isCompleted:w,allIndustries:g,allNationalityCountries:a,optionalFields:["companyLegalName","companyDescription","companyAddress","companyIndustry","typeOfIncorporation","stateOfIncorporation","countriesOfOperations","incDate","certificateOfIncorporation","ein","companyPhone","primaryContactName"],onCompanyAddressClick:f,onRegisteredAddressClick:T})})},hn=x.div`
|
|
6
6
|
display: flex;
|
|
7
7
|
align-items: center;
|
|
8
8
|
justify-content: center;
|
|
@@ -10,7 +10,7 @@ import{V as l,f0 as Mt,e as Ye,y as Wt,T as Yt,c8 as ye,a7 as Qe,I as ft,S as Me
|
|
|
10
10
|
display: flex;
|
|
11
11
|
`,Cn=x.input`
|
|
12
12
|
display: none;
|
|
13
|
-
`,bn=({isValid:a,sectionId:C="onboardingQboConnection",...r})=>{const{register:g}=nn();return l.jsxs(Sn,{children:[l.jsx(Cn,{type:"hidden",...g(`${C}.connected`,{validate:_=>_==="true"}),value:a?"true":"false"}),l.jsx(mn,{isValid:a,...r})]})},R="companyDetails",b="companyOfficer",ee="onboardingPaymentAccountSetupSection",Pt="customerOnboardingDetailPage",y="onboardingSubscriptionBillingAddress",he="onboardingQboConnection",Se={titleWidth:new fe(343,580,726,826),topNavBarHeight:new fe(52,52,63),topNavBarLeftRightSpace:new fe(Y[5],Y[9],112),subTitlePaddingTop:new fe(Y[3],Y[3]),subTitlePaddingBottom:new fe(Y[3],Y[3])},In=a=>`${a}_form`,le=Ge.getLocalizedStrings(),Pn=({fileProps:a,isRefreshingViewInBackground:C,isAdmin:r,onboardingCustomerView:g,companyTitles:_,connectedAccountProvider:w,analytics:h,cardPaymentView:k,stripeKey:f,googleAPIKey:T,handleCreateCardSetupIntent:d,handleConfirmCardSetupIntent:D,updateCardPaymentModalState:V,handleAddCardPaymentSource:I,resetCardPaymentViewState:te,handleResetCardPaymentErrorStatuses:ve,redirectToProductSuitePage:Ce,onFormErrorsChange:F,..._e})=>{const U=Ye(),Ne=m.useRef(null),De=m.useRef(null),G=m.useRef(null),Ve=m.useRef(null),[be,z]=m.useState(!1),[q,H]=m.useState("next"),[E,Ie]=m.useState(!1),[de,Pe]=m.useState(!1),[ne,Z]=m.useState(null),{onAddressClick:ae,onCompanyDetailsChanged:A,onCompanyOfficerUpdated:Ae,onFetchLinkTokenClick:pe,onUpdatePaymentAccountStatus:oe,onUpdatePaymentAccountLoginStatus:ue,onEstablishConnectionClick:ie,onEstablishConnectionSuccess:N,onDeleteFile:Ze,onEditFileName:Je,updateFilesEntity:Xe,onGetOtp:wt,onSkipSetupClick:Te,onUpdateCustomerView:Fe,updateStepHandler:K,onVerifyOtp:kt,onResendOtp:vt,handleOnConnectClick:_t,updateQBOPopupState:Nt,onUpdateStep:$e,onAddressEditHandler:Dt}=_e,Vt=Wt(),s=Yt({mode:"onSubmit",reValidateMode:"onChange",defaultValues:We(g,g.allNationalityCountries),values:We(g,g.allNationalityCountries),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),Q=m.useCallback(()=>{const e=[];return(s.getFieldState(ee).error!=null||s.getFieldState(y).error!=null)&&e.push("link_payment_account"),s.getFieldState(he).error!=null&&e.push("qbo_connection"),e},[s]);m.useEffect(()=>{const e=Q();F?.(e)},[Q,F]),m.useEffect(()=>{const e=s.watch((t,{name:n,type:o})=>{n!=null&&(o==="change"||o==="blur")&&ye(()=>{const c=Q();F?.(c)})});return()=>e.unsubscribe()},[s,Q,F]);const et=e=>{at(e)},{companyView:se,companyDetailsLocalData:p,companyOfficerLocalData:L,currentStep:i,completedSteps:tt,saveStatus:v,allSteps:S,allRequiredStepsCompleted:Ee,paymentAccount:M,paymentAccountStatus:nt,externalConnections:Le,plaidConnectionDetails:je,uiState:Be,allNationalityCountries:Oe,pendingSaveDetails:{companyDetails:At,officer:Tt},subscriptionBillingAddress:J}=g,xe=m.useRef(""),Ft=e=>{xe.current=e;const t=Object.values(g.companyOfficerLocalData).findIndex(o=>o?.isSelectedForVerification===!0)??0,n=t<0?0:t;s.clearErrors(`${b}.${n}.phone`)},at=e=>{e==null||ge(e)?wt(e):s.trigger(`${b}.${X}.phone`)},X=Object.values(L).findIndex(e=>e?.isSelectedForVerification===!0)??0,$=`Officer_${X<0?1:X+1}`,$t=se?.companyOfficers.slice(0,10).sort((e,t)=>e.user.createTime?.isAfter(t.user.createTime)===!0?1:-1),Re=L[$]?.userId!=null?$t?.find(e=>e.user.userId===L[$]?.userId)?.address:null,ot=L[$]?.addressStatus?.addressToCreate,we=se?.companyAddress,it=p?.addressStatus?.addressToCreate,Ue=se?.registeredAddress,st=p?.registeredAddressStatus?.addressToCreate,{customerOnboardingPage:Et,common:u}=le,{footer:Lt,steps:jt}=Et,{buttons:rt}=Lt,ct=jt[i],ze=S.length,re=Qe(v.fetchState),j=Qe(i),me=()=>{const e=Object.values(je).some(c=>c.fetchStatus.fetchState==="Completed"),t=M?.providerVerificationStatus?.code?.includes("verified")??!1,n=k.cardsList.length>0,o=k.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return e&&t||!t&&!M&&n||!n&&!M&&o};function lt(){if(s.getFieldState(y).error)return!1;const e=s.getValues(y),t=J?.street.join("").trim(),n=J?.city,o=J?.state,c=J?.country,P=J?.postalCode!=null&&J.postalCode||e.postalCode||u.strings.empty;return!!(t&&n&&o&&c&&P)}const dt=Qe(M?.providerVerificationStatus?.code);m.useEffect(()=>{dt==="pending_manual_verification"&&M?.providerVerificationStatus?.code==="manually_verified"&&h.trackOnboardingBankAccountVerified("manual")},[h,M?.providerVerificationStatus?.code,dt]),m.useEffect(()=>{const e=s.watch((t,{name:n})=>{n!=null&&t!=null&&ye(()=>(async(o,c)=>{if(o.includes(R))A?.(c[R]);else if(o.includes(b))Ae?.(c[b]);else if(o.includes(y)&&c[y]!=null){const P=s.getValues(`${y}`).country;let O=c[y];if(o.includes(`${y}.street`)&&c[y].street!=null){const{addressValue:W}=c[y].street,Ke=Ot(W?.country);O={street:c[y].street??u.strings.empty,city:W?.locality??u.strings.empty,state:W?.administrativeAreaLevel1??u.strings.empty,country:Ke,countryCode:W?.countryCode??u.strings.empty,postalCode:W?.postalCode??u.strings.empty,secondaryInfo:c[y].secondaryInfo,suite:c[y].suite},P.selectedOption!==Ke.selectedOption&&(O={...O,country:Ke})}else(o===`${y}.country`&&P.selectedOption!=null||P.selectedOption!=null&&o.includes(`${y}.street`)===!1)&&(O={...O,countryCode:tn(P.selectedOption)});Dt(O)}})(n,t))});return()=>{e.unsubscribe()}}),m.useEffect(()=>{re==="In-Progress"&&v.fetchState==="Completed"&&(s.reset(We(g,Oe),{keepDirtyValues:!1}),j==="company_details"&&i==="link_payment_account"&&!S.includes("qbo_connection")&&!g.qboConnected&&Ce())},[s,g,re,v.fetchState,Oe,j,i,S,Ce]),m.useEffect(()=>{be&&re==="In-Progress"&&v.fetchState==="Completed"&&(Te(),h.track(ft.Event.onboardingSkipAndSave))},[re,be,v.fetchState,Te]),m.useEffect(()=>{ne?.shouldNavigate===!0&&re==="In-Progress"&&v.fetchState==="Completed"&&(Z(null),K(ne.fromStep,ne.stepDirection,!0))},[ne,re,v.fetchState,K]),m.useLayoutEffect(()=>{j!=null&&j!==i&&(S.indexOf(j)===S.indexOf(i)-1||S.indexOf(j)===ze-1&&S.indexOf(i)===0?q!=="next"&&H("next"):(S.indexOf(j)-1===S.indexOf(i)||S.indexOf(j)===0&&S.indexOf(i)===ze-1)&&q!=="previous"&&H("previous"))},[S,i,j,q,ze]);const pt=()=>{const e=L[$];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)},Bt=!Me(ot!=null?B(ot):null,Re!=null?B(Re):null),Rt=!Me(it!=null?B(it):null,we!=null?B(we):null),Ut=!Me(st!=null?B(st):null,Ue!=null?B(Ue):null),zt=s.getFieldState(R).isDirty||Rt||Ut||At,qe=s.getFieldState(b).isDirty&&pt()||Bt||Tt,ut=s.getFieldState(`${y}`).isDirty,ke=p?.primaryContactLocalData,qt=()=>{v.fetchState!=="In-Progress"&&(Te(),h.track(ft.Event.onboardingSkipAndSave))},mt=()=>{const e=L[$],t=e?.email??u.strings.empty,n=e?.phone??u.strings.empty,o=e?.ssn??u.strings.empty,c=e?.ownershipInCompany,P=X<0?0:X;let O=!0,W=!1;return t&&!(e?.firstName&&e?.lastName)&&(s.trigger([`${b}.${P}.name.firstName`,`${b}.${P}.name.lastName`],{shouldFocus:i==="company_officer"}),O=!1),(!t&&pt()||St.test(t)===!1)&&(s.trigger(`${b}.${P}.email`,{shouldFocus:i==="company_officer"}),O=!1),n&&ge(n)===!1&&(s.trigger(`${b}.${P}.phone`,{shouldFocus:i==="company_officer"}),O=!1),n&&ge(n)===!0&&w==="unit"&&(xe.current!==""&&n===xe.current||(W=!0,s.setError(`${b}.${P}.phone`,{type:"custom",message:le.commonSetUp.businessVerification.phoneValidationError},{shouldFocus:i==="company_officer"}),O=!1)),c!=null&&c>100&&(s.trigger(`${b}.${P}.ownership`,{shouldFocus:i==="company_officer"}),O=!1),o&&sn.test(o)===!1&&(s.trigger(`${b}.${P}.ssn`,{shouldFocus:i==="company_officer"}),O=!1),{isValid:O,needsOtp:W,phoneNumber:n}},Ht=()=>{const e=p?.website?.toString()??u.strings.empty,t=p?.phone??u.strings.empty,n=p?.taxIdOrEIN??u.strings.empty,o=p?.primaryContactLocalData?.email??u.strings.empty;let c=!0;return e&&ht.test(e)===!1&&(s.trigger(`${R}.companyWebsite`,{shouldFocus:i==="company_details"}),c=!1),ht.lastIndex=0,t&&ge(t)===!1&&(s.trigger(`${R}.companyPhone`,{shouldFocus:i==="company_details"}),c=!1),(!o||St.test(o)===!1)&&(s.trigger(`${R}.primaryContactEmail`,{shouldFocus:i==="company_details"}),c=!1),n&&on.test(n)===!1&&(s.trigger(`${R}.companyTaxId`,{shouldFocus:i==="company_details"}),c=!1),c},yt=()=>{const e=L[$];return{email:e?.email??u.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?B(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification}},Kt=()=>{const e=p?.primaryContactLocalData;h.trackBusinessVerificationSave(yt(),{companyDescription:p?.companyDescription,legalName:p?.companyLegalName,phone:p?.phone,website:p?.website?.toString(),industry:p?.companyIndustry??u.strings.empty,formattedAddress:p?.addressStatus?.addressToCreate!=null?B(p?.addressStatus?.addressToCreate):void 0},{firstName:e?.firstName,lastName:e?.lastName,email:e?.email},"onboarding")},[He,Qt]=m.useState(!1);return l.jsxs(wn,{children:[l.jsxs(kn,{windowSize:U,children:[S.indexOf(i)>=0?l.jsx(Gt,{title:ct.sectionTitle,showBackButton:!1,backgroundColor:Vt.colors.grey4,style:{zIndex:4},showLeftSection:U!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:ce.sp0,paddingBottom:ce.sp0},source:"CustomerOnboardingDetailPage"}):l.jsx(vn,{windowSize:U,children:l.jsx(Nn,{windowSize:U,children:l.jsx(_n,{})})}),l.jsx(Zt,{...s,children:l.jsx(Vn,{id:In(Pt),children:S.map(e=>{let t;t=l.jsx(Ct,{connectedAccountProvider:w,paymentAccount:M,accountStatus:nt,plaidConnectionDetails:je,sectionId:ee,hasError:s.getFieldState(ee).error!=null||de&&!me(),isValid:me(),analytics:h,onFetchLinkTokenClick:pe,onEstablishConnectionClick:ie,onUpdatePaymentAccountStatus:oe,onUpdatePaymentAccountLoginStatus:ue,onEstablishConnectionSuccess:N,cardPaymentView:k,resetCardPaymentViewState:te,updateCardPaymentModalState:V,cardSetupInProgress:He,subscriptionBillingAddressSectionId:y});let n=Ne;switch(e){case"link_payment_account":t=l.jsx(Ct,{connectedAccountProvider:w,paymentAccount:M,accountStatus:nt,plaidConnectionDetails:je,subscriptionBillingAddressSectionId:y,sectionId:ee,hasError:s.getFieldState(ee).error!=null||de&&!me(),isValid:me(),analytics:h,onFetchLinkTokenClick:pe,onEstablishConnectionClick:ie,onUpdatePaymentAccountStatus:oe,onUpdatePaymentAccountLoginStatus:ue,onEstablishConnectionSuccess:N,updateCardPaymentModalState:V,cardPaymentView:k,resetCardPaymentViewState:te,cardSetupInProgress:He,googleAPIKey:T,subscriptionBillingAddress:J});break;case"qbo_connection":t=l.jsx(bn,{sectionId:he,hasError:s.getFieldState(he).error!=null,isAdmin:r,isValid:Le?.accounting[0]?.isValid??!1,companyName:se?.company.company.companyInfo.companyLegalName,saveConnectionState:Le?.saveConnectionState,isQBOPopupOpen:Be.isQBOPopupOpen,handleOnConnectClick:_t,updateQBOPopupState:Nt}),n=De;break;case"company_officer":t=l.jsx(yn,{companyOfficerLocalData:L,allNationalityCountries:Oe,isCompleted:tt.includes("company_officer"),companyView:se,sectionId:b,filesEndPoint:a.filesEndPoint,authParams:a.authParams,isRefreshingViewInBackground:C,companyTitles:_,isVerificationPopupOpen:E,setIsVerificationPopupOpen:Ie,onGetOtp:et,onVerifyOtp:kt,onResendOtp:vt,onOfficerAddressClick:o=>ae(o,Re?.addressId),updateFilesEntity:Xe,onEditFileName:Je,onDeleteFile:Ze,verifiedPhoneNumber:xe.current,onPhoneVerified:Ft,isDisabled:v.fetchState==="In-Progress"?"readonly":void 0,triggerError:at}),n=Ve;break;case"company_details":t=l.jsx(gn,{fileProps:{...a,onEditFileName:Je,onDeleteFile:Ze,updateFilesEntity:Xe},allNationalityCountries:Oe,sectionId:R,companyIndustries:g.companyIndustries,companyDetails:p,isDisabled:v.fetchState==="In-Progress"?"readonly":void 0,isCompleted:tt.includes("company_details"),onCompanyAddressClick:o=>{const c=se?.company.company.companyOnboardingInfo.subscriptionBillingAddressId;ae(o,we?.addressId==null&&c!=null?c:we?.addressId)},onRegisteredAddressClick:o=>ae(o,Ue?.addressId)}),n=G}return l.jsxs(Dn,{ref:n,isVisible:i===e,includeAnimation:i==="link_payment_account"||i==="qbo_connection"?!Be.isQBOPopupOpen:i!=="company_officer"||!E,paddingBottom:e==="company_details"||e==="company_officer"?Y[6]:Y[0],stepAnimationDirection:q,children:[S.indexOf(i)>=0?l.jsx(An,{windowSize:U,children:ct.sectionSubTitle}):null,t]},e)})})}),l.jsx(Jt,{formId:`${Pt}`,style:{width:U==="small"?"auto":"100%",paddingTop:ce.sp2,paddingBottom:ce.sp2},primaryBtn:{onClick:()=>{switch(Pe(!1),i){case"link_payment_account":ut?setTimeout(()=>{const e=Q();F?.(e),lt()&&ut?((()=>{const t=s.getValues(y),n={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??u.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(n)})(),Fe($,!1,!0),Z({fromStep:i,shouldNavigate:!0,stepDirection:"next"})):K(i,"next",!0)},200):K(i,"next",!0);break;case"qbo_connection":K(i,"next",!0);break;case"company_officer":if(qe){const e=mt();if(ye(()=>{const t=Q();F?.(t)}),e.needsOtp&&e.phoneNumber&&ge(e.phoneNumber)){const t=s.formState.errors[b]?.[X<0?0:X],n=t?.phone,o=t!=null&&Object.keys(t).some(c=>c!=="phone"&&t[c]!=null);if(n!=null&&!o)return void et(e.phoneNumber)}e.isValid&&(Fe($,!1,!1),h.trackOnboardingCompanyOfficerSave(yt(),{legalName:p?.companyLegalName},(()=>{const t=L[$],n=[];return t?.firstName!=null&&t.firstName!==u.strings.empty&&n.push("first_name"),t?.lastName!=null&&t.lastName!==u.strings.empty&&n.push("last_name"),t?.birthday!=null&&n.push("dob"),t?.nationalityCountryCode!=null&&n.push("nationality"),t?.addressStatus?.addressToCreate!=null&&n.push("address"),t?.phone!=null&&t.phone!==u.strings.empty&&t.isPhoneVerified===!0&&n.push("phone"),t?.titleAtCompany!=null&&t.titleAtCompany!==u.strings.empty&&n.push("company_role"),t?.ownershipInCompany!=null&&n.push("ownership"),t?.ssn!=null&&t.ssn!==u.strings.empty&&n.push("ssn"),t?.documentTypeSelectedForVerification!=null&&n.push("document_type"),t?.fileIds!=null&&t.fileIds.length>0&&n.push("document_uploaded"),{completedFields:n,status:n.length===11?"complete":n.length>0?"partially_complete":"incomplete"}})()),Z({fromStep:i,shouldNavigate:!0,stepDirection:"next"}))}else K(i,"next",!0);break;case"company_details":Pe(!0);{const e=!(lt()&&me()),t=!Le?.accounting[0]?.isValid&&S.includes("qbo_connection");if(e||t)return e&&(s.trigger(`${ee}`),s.trigger(`${y}`)),t&&s.trigger(he),ye(()=>{const n=Q();F?.(n)}),void(e?$e("link_payment_account"):t&&$e("qbo_connection"))}if(zt||qe||!ke?.email){const e=Ht(),t=qe?mt():{isValid:!0};ye(()=>{const n=Q();F?.(n)}),e&&t.isValid?(Ee&&(z(!0),Kt()),Fe($,!Ee,!1),h.trackOnboardingCompanyDetailsSave({companyDescription:p?.companyDescription,legalName:p?.companyLegalName,industry:p?.companyIndustry??u.strings.empty,incDate:p?.incDate?.toString(),phone:p?.phone,website:p?.website?.toString(),formattedAddress:p?.addressStatus?.addressToCreate!=null?B(p?.addressStatus?.addressToCreate):void 0},(()=>{const n=p,o=[];return n?.companyLegalName!=null&&o.push("legal_name"),n?.companyDescription!=null&&n?.companyDescription!==u.strings.empty&&o.push("company_description"),n?.addressStatus?.addressToCreate!=null&&o.push("company_address"),n?.registeredAddressStatus?.addressToCreate!=null&&o.push("registered_address"),n?.website!=null&&o.push("website"),n?.companyIndustry!=null&&n?.companyIndustry!==u.strings.empty&&o.push("industry"),n?.typeOfIncorporation!=null&&n?.typeOfIncorporation!==u.strings.empty&&o.push("type_of_incorporation"),n?.incDate!=null&&o.push("inc_date"),n?.phone!=null&&o.push("phone"),n?.primaryContactLocalData?.firstName!=null&&n?.primaryContactLocalData?.lastName!=null&&o.push("primary_contact_name"),n?.primaryContactLocalData?.email!=null&&o.push("primary_contact_email"),n?.taxIdOrEIN!=null&&o.push("tax_id_or_ein"),n?.companyFiles.find(c=>c.documentType==="certificate_of_incorporation")!=null&&o.push("certificate_of_incorporation"),n?.companyFiles.find(c=>c.documentType==="tax_ein")!=null&&o.push("ein"),{completedFields:o,status:o.length===14?"complete":o.length>0?"partially_complete":"incomplete"}})(),{firstName:ke?.firstName,lastName:ke?.lastName,email:ke?.email}),Z({fromStep:i,shouldNavigate:!0,stepDirection:"next"})):t.isValid||$e("company_officer")}else Ee?qt():K(i,"next",!0)}},label:i==="company_details"?u.footer.submit:rt.next,isLoading:v.fetchState==="In-Progress",isDisabled:v.fetchState==="In-Progress"},cancelBtn:{onClick:()=>{K(i,"previous",!0)},label:rt.back,isDisabled:v.fetchState==="In-Progress"||S.indexOf(i)===0},containerStyle:{width:"auto",justifyContent:"center"},showCancel:!0})]}),l.jsx(ln,{handleConfirmCardSetupIntent:D,updateCardPaymentModalState:V,handleCreateCardSetupIntent:d,handleAddCardPaymentSource:I,cardPaymentView:k,stripeKey:f,isCardPaymentOpen:Be.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ve,cardSetupInProgress:He,setCardSetupInProgress:Qt})]})},On=xt`
|
|
13
|
+
`,bn=({isValid:a,sectionId:C="onboardingQboConnection",...r})=>{const{register:g}=nn();return l.jsxs(Sn,{children:[l.jsx(Cn,{type:"hidden",...g(`${C}.connected`,{validate:_=>_==="true"}),value:a?"true":"false"}),l.jsx(mn,{isValid:a,...r})]})},R="companyDetails",b="companyOfficer",ee="onboardingPaymentAccountSetupSection",Pt="customerOnboardingDetailPage",y="onboardingSubscriptionBillingAddress",he="onboardingQboConnection",Se={titleWidth:new fe(343,580,726,826),topNavBarHeight:new fe(52,52,63),topNavBarLeftRightSpace:new fe(Y[5],Y[9],112),subTitlePaddingTop:new fe(Y[3],Y[3]),subTitlePaddingBottom:new fe(Y[3],Y[3])},In=a=>`${a}_form`,le=Ge.getLocalizedStrings(),Pn=({fileProps:a,isRefreshingViewInBackground:C,isAdmin:r,onboardingCustomerView:g,companyTitles:_,connectedAccountProvider:w,analytics:h,cardPaymentView:k,stripeKey:f,googleAPIKey:T,handleCreateCardSetupIntent:d,handleConfirmCardSetupIntent:V,updateCardPaymentModalState:D,handleAddCardPaymentSource:I,resetCardPaymentViewState:te,handleResetCardPaymentErrorStatuses:ve,redirectToProductSuitePage:Ce,onFormErrorsChange:F,..._e})=>{const U=Ye(),Ne=m.useRef(null),Ve=m.useRef(null),G=m.useRef(null),De=m.useRef(null),[be,z]=m.useState(!1),[q,H]=m.useState("next"),[E,Ie]=m.useState(!1),[de,Pe]=m.useState(!1),[ne,Z]=m.useState(null),{onAddressClick:ae,onCompanyDetailsChanged:A,onCompanyOfficerUpdated:Ae,onFetchLinkTokenClick:pe,onUpdatePaymentAccountStatus:oe,onUpdatePaymentAccountLoginStatus:ue,onEstablishConnectionClick:ie,onEstablishConnectionSuccess:N,onDeleteFile:Ze,onEditFileName:Je,updateFilesEntity:Xe,onGetOtp:wt,onSkipSetupClick:Te,onUpdateCustomerView:Fe,updateStepHandler:K,onVerifyOtp:kt,onResendOtp:vt,handleOnConnectClick:_t,updateQBOPopupState:Nt,onUpdateStep:$e,onAddressEditHandler:Vt}=_e,Dt=Wt(),s=Yt({mode:"onSubmit",reValidateMode:"onChange",defaultValues:We(g,g.allNationalityCountries),values:We(g,g.allNationalityCountries),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),M=m.useCallback(()=>{const e=[];return(s.getFieldState(ee).error!=null||s.getFieldState(y).error!=null)&&e.push("link_payment_account"),s.getFieldState(he).error!=null&&e.push("qbo_connection"),e},[s]);m.useEffect(()=>{const e=M();F?.(e)},[M,F]),m.useEffect(()=>{const e=s.watch((t,{name:n,type:o})=>{n!=null&&(o==="change"||o==="blur")&&ye(()=>{const c=M();F?.(c)})});return()=>e.unsubscribe()},[s,M,F]);const et=e=>{at(e)},{companyView:se,companyDetailsLocalData:p,companyOfficerLocalData:L,currentStep:i,completedSteps:tt,saveStatus:v,allSteps:S,allRequiredStepsCompleted:Ee,paymentAccount:Q,paymentAccountStatus:nt,externalConnections:Le,plaidConnectionDetails:je,uiState:Be,allNationalityCountries:Oe,pendingSaveDetails:{companyDetails:At,officer:Tt},subscriptionBillingAddress:J}=g,xe=m.useRef(""),Ft=e=>{xe.current=e;const t=Object.values(g.companyOfficerLocalData).findIndex(o=>o?.isSelectedForVerification===!0)??0,n=t<0?0:t;s.clearErrors(`${b}.${n}.phone`)},at=e=>{e==null||ge(e)?wt(e):s.trigger(`${b}.${X}.phone`)},X=Object.values(L).findIndex(e=>e?.isSelectedForVerification===!0)??0,$=`Officer_${X<0?1:X+1}`,$t=se?.companyOfficers.slice(0,10).sort((e,t)=>e.user.createTime?.isAfter(t.user.createTime)===!0?1:-1),Re=L[$]?.userId!=null?$t?.find(e=>e.user.userId===L[$]?.userId)?.address:null,ot=L[$]?.addressStatus?.addressToCreate,we=se?.companyAddress,it=p?.addressStatus?.addressToCreate,Ue=se?.registeredAddress,st=p?.registeredAddressStatus?.addressToCreate,{customerOnboardingPage:Et,common:u}=le,{footer:Lt,steps:jt}=Et,{buttons:rt}=Lt,ct=jt[i],ze=S.length,re=Me(v.fetchState),j=Me(i),me=()=>{const e=Object.values(je).some(c=>c.fetchStatus.fetchState==="Completed"),t=Q?.providerVerificationStatus?.code?.includes("verified")??!1,n=k.cardsList.length>0,o=k.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return e&&t||!t&&!Q&&n||!n&&!Q&&o};function lt(){if(s.getFieldState(y).error)return!1;const e=s.getValues(y),t=J?.street.join("").trim(),n=J?.city,o=J?.state,c=J?.country,P=J?.postalCode!=null&&J.postalCode||e.postalCode||u.strings.empty;return!!(t&&n&&o&&c&&P)}const dt=Me(Q?.providerVerificationStatus?.code);m.useEffect(()=>{dt==="pending_manual_verification"&&Q?.providerVerificationStatus?.code==="manually_verified"&&h.trackOnboardingBankAccountVerified("manual")},[h,Q?.providerVerificationStatus?.code,dt]),m.useEffect(()=>{const e=s.watch((t,{name:n})=>{n!=null&&t!=null&&ye(()=>(async(o,c)=>{if(o.includes(R))A?.(c[R]);else if(o.includes(b))Ae?.(c[b]);else if(o.includes(y)&&c[y]!=null){const P=s.getValues(`${y}`).country;let O=c[y];if(o.includes(`${y}.street`)&&c[y].street!=null){const{addressValue:W}=c[y].street,Ke=Ot(W?.country);O={street:c[y].street??u.strings.empty,city:W?.locality??u.strings.empty,state:W?.administrativeAreaLevel1??u.strings.empty,country:Ke,countryCode:W?.countryCode??u.strings.empty,postalCode:W?.postalCode??u.strings.empty,secondaryInfo:c[y].secondaryInfo,suite:c[y].suite},P.selectedOption!==Ke.selectedOption&&(O={...O,country:Ke})}else(o===`${y}.country`&&P.selectedOption!=null||P.selectedOption!=null&&o.includes(`${y}.street`)===!1)&&(O={...O,countryCode:tn(P.selectedOption)});Vt(O)}})(n,t))});return()=>{e.unsubscribe()}}),m.useEffect(()=>{re==="In-Progress"&&v.fetchState==="Completed"&&(s.reset(We(g,Oe),{keepDirtyValues:!1}),j==="company_details"&&i==="link_payment_account"&&!S.includes("qbo_connection")&&!g.qboConnected&&Ce())},[s,g,re,v.fetchState,Oe,j,i,S,Ce]),m.useEffect(()=>{be&&re==="In-Progress"&&v.fetchState==="Completed"&&(Te(),h.track(ft.Event.onboardingSkipAndSave))},[re,be,v.fetchState,Te]),m.useEffect(()=>{ne?.shouldNavigate===!0&&re==="In-Progress"&&v.fetchState==="Completed"&&(Z(null),K(ne.fromStep,ne.stepDirection,!0))},[ne,re,v.fetchState,K]),m.useLayoutEffect(()=>{j!=null&&j!==i&&(S.indexOf(j)===S.indexOf(i)-1||S.indexOf(j)===ze-1&&S.indexOf(i)===0?q!=="next"&&H("next"):(S.indexOf(j)-1===S.indexOf(i)||S.indexOf(j)===0&&S.indexOf(i)===ze-1)&&q!=="previous"&&H("previous"))},[S,i,j,q,ze]);const pt=()=>{const e=L[$];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)},Bt=!Qe(ot!=null?B(ot):null,Re!=null?B(Re):null),Rt=!Qe(it!=null?B(it):null,we!=null?B(we):null),Ut=!Qe(st!=null?B(st):null,Ue!=null?B(Ue):null),zt=s.getFieldState(R).isDirty||Rt||Ut||At,qe=s.getFieldState(b).isDirty&&pt()||Bt||Tt,ut=s.getFieldState(`${y}`).isDirty,ke=p?.primaryContactLocalData,qt=()=>{v.fetchState!=="In-Progress"&&(Te(),h.track(ft.Event.onboardingSkipAndSave))},mt=()=>{const e=L[$],t=e?.email??u.strings.empty,n=e?.phone??u.strings.empty,o=e?.ssn??u.strings.empty,c=e?.ownershipInCompany,P=X<0?0:X;let O=!0,W=!1;return t&&!(e?.firstName&&e?.lastName)&&(s.trigger([`${b}.${P}.name.firstName`,`${b}.${P}.name.lastName`],{shouldFocus:i==="company_officer"}),O=!1),(!t&&pt()||St.test(t)===!1)&&(s.trigger(`${b}.${P}.email`,{shouldFocus:i==="company_officer"}),O=!1),n&&ge(n)===!1&&(s.trigger(`${b}.${P}.phone`,{shouldFocus:i==="company_officer"}),O=!1),n&&ge(n)===!0&&w==="unit"&&(xe.current!==""&&n===xe.current||(W=!0,s.setError(`${b}.${P}.phone`,{type:"custom",message:le.commonSetUp.businessVerification.phoneValidationError},{shouldFocus:i==="company_officer"}),O=!1)),c!=null&&c>100&&(s.trigger(`${b}.${P}.ownership`,{shouldFocus:i==="company_officer"}),O=!1),o&&sn.test(o)===!1&&(s.trigger(`${b}.${P}.ssn`,{shouldFocus:i==="company_officer"}),O=!1),{isValid:O,needsOtp:W,phoneNumber:n}},Ht=()=>{const e=p?.website?.toString()??u.strings.empty,t=p?.phone??u.strings.empty,n=p?.taxIdOrEIN??u.strings.empty,o=p?.primaryContactLocalData?.email??u.strings.empty;let c=!0;return e&&ht.test(e)===!1&&(s.trigger(`${R}.companyWebsite`,{shouldFocus:i==="company_details"}),c=!1),ht.lastIndex=0,t&&ge(t)===!1&&(s.trigger(`${R}.companyPhone`,{shouldFocus:i==="company_details"}),c=!1),(!o||St.test(o)===!1)&&(s.trigger(`${R}.primaryContactEmail`,{shouldFocus:i==="company_details"}),c=!1),n&&on.test(n)===!1&&(s.trigger(`${R}.companyTaxId`,{shouldFocus:i==="company_details"}),c=!1),c},yt=()=>{const e=L[$];return{email:e?.email??u.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?B(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification}},Kt=()=>{const e=p?.primaryContactLocalData;h.trackBusinessVerificationSave(yt(),{companyDescription:p?.companyDescription,legalName:p?.companyLegalName,phone:p?.phone,website:p?.website?.toString(),industry:p?.companyIndustry??u.strings.empty,formattedAddress:p?.addressStatus?.addressToCreate!=null?B(p?.addressStatus?.addressToCreate):void 0},{firstName:e?.firstName,lastName:e?.lastName,email:e?.email},"onboarding")},[He,Mt]=m.useState(!1);return l.jsxs(wn,{children:[l.jsxs(kn,{windowSize:U,children:[S.indexOf(i)>=0?l.jsx(Gt,{title:ct.sectionTitle,showBackButton:!1,backgroundColor:Dt.colors.grey4,style:{zIndex:4},showLeftSection:U!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:ce.sp0,paddingBottom:ce.sp0},source:"CustomerOnboardingDetailPage"}):l.jsx(vn,{windowSize:U,children:l.jsx(Nn,{windowSize:U,children:l.jsx(_n,{})})}),l.jsx(Zt,{...s,children:l.jsx(Dn,{id:In(Pt),children:S.map(e=>{let t;t=l.jsx(Ct,{connectedAccountProvider:w,paymentAccount:Q,accountStatus:nt,plaidConnectionDetails:je,sectionId:ee,hasError:s.getFieldState(ee).error!=null||de&&!me(),isValid:me(),analytics:h,onFetchLinkTokenClick:pe,onEstablishConnectionClick:ie,onUpdatePaymentAccountStatus:oe,onUpdatePaymentAccountLoginStatus:ue,onEstablishConnectionSuccess:N,cardPaymentView:k,resetCardPaymentViewState:te,updateCardPaymentModalState:D,cardSetupInProgress:He,subscriptionBillingAddressSectionId:y});let n=Ne;switch(e){case"link_payment_account":t=l.jsx(Ct,{connectedAccountProvider:w,paymentAccount:Q,accountStatus:nt,plaidConnectionDetails:je,subscriptionBillingAddressSectionId:y,sectionId:ee,hasError:s.getFieldState(ee).error!=null||de&&!me(),isValid:me(),analytics:h,onFetchLinkTokenClick:pe,onEstablishConnectionClick:ie,onUpdatePaymentAccountStatus:oe,onUpdatePaymentAccountLoginStatus:ue,onEstablishConnectionSuccess:N,updateCardPaymentModalState:D,cardPaymentView:k,resetCardPaymentViewState:te,cardSetupInProgress:He,googleAPIKey:T,subscriptionBillingAddress:J});break;case"qbo_connection":t=l.jsx(bn,{sectionId:he,hasError:s.getFieldState(he).error!=null,isAdmin:r,isValid:Le?.accounting[0]?.isValid??!1,companyName:se?.company.company.companyInfo.companyLegalName,saveConnectionState:Le?.saveConnectionState,isQBOPopupOpen:Be.isQBOPopupOpen,handleOnConnectClick:_t,updateQBOPopupState:Nt}),n=Ve;break;case"company_officer":t=l.jsx(yn,{companyOfficerLocalData:L,allNationalityCountries:Oe,isCompleted:tt.includes("company_officer"),companyView:se,sectionId:b,filesEndPoint:a.filesEndPoint,authParams:a.authParams,isRefreshingViewInBackground:C,companyTitles:_,isVerificationPopupOpen:E,setIsVerificationPopupOpen:Ie,onGetOtp:et,onVerifyOtp:kt,onResendOtp:vt,onOfficerAddressClick:o=>ae(o,Re?.addressId),updateFilesEntity:Xe,onEditFileName:Je,onDeleteFile:Ze,verifiedPhoneNumber:xe.current,onPhoneVerified:Ft,isDisabled:v.fetchState==="In-Progress"?"readonly":void 0,triggerError:at}),n=De;break;case"company_details":t=l.jsx(gn,{fileProps:{...a,onEditFileName:Je,onDeleteFile:Ze,updateFilesEntity:Xe},allNationalityCountries:Oe,sectionId:R,companyIndustries:g.companyIndustries,companyDetails:p,isDisabled:v.fetchState==="In-Progress"?"readonly":void 0,isCompleted:tt.includes("company_details"),onCompanyAddressClick:o=>{const c=se?.company.company.companyOnboardingInfo.subscriptionBillingAddressId;ae(o,we?.addressId==null&&c!=null?c:we?.addressId)},onRegisteredAddressClick:o=>ae(o,Ue?.addressId)}),n=G}return l.jsxs(Vn,{ref:n,isVisible:i===e,includeAnimation:i==="link_payment_account"||i==="qbo_connection"?!Be.isQBOPopupOpen:i!=="company_officer"||!E,paddingBottom:e==="company_details"||e==="company_officer"?Y[6]:Y[0],stepAnimationDirection:q,children:[S.indexOf(i)>=0?l.jsx(An,{windowSize:U,children:ct.sectionSubTitle}):null,t]},e)})})}),l.jsx(Jt,{formId:`${Pt}`,style:{width:U==="small"?"auto":"100%",paddingTop:ce.sp2,paddingBottom:ce.sp2},primaryBtn:{onClick:()=>{switch(Pe(!1),i){case"link_payment_account":ut?setTimeout(()=>{const e=M();F?.(e),lt()&&ut?((()=>{const t=s.getValues(y),n={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??u.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(n)})(),Fe($,!1,!0),Z({fromStep:i,shouldNavigate:!0,stepDirection:"next"})):K(i,"next",!0)},200):K(i,"next",!0);break;case"qbo_connection":K(i,"next",!0);break;case"company_officer":if(qe){const e=mt();if(ye(()=>{const t=M();F?.(t)}),e.needsOtp&&e.phoneNumber&&ge(e.phoneNumber)){const t=s.formState.errors[b]?.[X<0?0:X],n=t?.phone,o=t!=null&&Object.keys(t).some(c=>c!=="phone"&&t[c]!=null);if(n!=null&&!o)return void et(e.phoneNumber)}e.isValid&&(Fe($,!1,!1),h.trackOnboardingCompanyOfficerSave(yt(),{legalName:p?.companyLegalName},(()=>{const t=L[$],n=[];return t?.firstName!=null&&t.firstName!==u.strings.empty&&n.push("first_name"),t?.lastName!=null&&t.lastName!==u.strings.empty&&n.push("last_name"),t?.birthday!=null&&n.push("dob"),t?.nationalityCountryCode!=null&&n.push("nationality"),t?.addressStatus?.addressToCreate!=null&&n.push("address"),t?.phone!=null&&t.phone!==u.strings.empty&&t.isPhoneVerified===!0&&n.push("phone"),t?.titleAtCompany!=null&&t.titleAtCompany!==u.strings.empty&&n.push("company_role"),t?.ownershipInCompany!=null&&n.push("ownership"),t?.ssn!=null&&t.ssn!==u.strings.empty&&n.push("ssn"),t?.documentTypeSelectedForVerification!=null&&n.push("document_type"),t?.fileIds!=null&&t.fileIds.length>0&&n.push("document_uploaded"),{completedFields:n,status:n.length===11?"complete":n.length>0?"partially_complete":"incomplete"}})()),Z({fromStep:i,shouldNavigate:!0,stepDirection:"next"}))}else K(i,"next",!0);break;case"company_details":Pe(!0);{const e=!(lt()&&me()),t=!Le?.accounting[0]?.isValid&&S.includes("qbo_connection");if(e||t)return e&&(s.trigger(`${ee}`),s.trigger(`${y}`)),t&&s.trigger(he),ye(()=>{const n=M();F?.(n)}),void(e?$e("link_payment_account"):t&&$e("qbo_connection"))}if(zt||qe||!ke?.email){const e=Ht(),t=qe?mt():{isValid:!0};ye(()=>{const n=M();F?.(n)}),e&&t.isValid?(Ee&&(z(!0),Kt()),Fe($,!Ee,!1),h.trackOnboardingCompanyDetailsSave({companyDescription:p?.companyDescription,legalName:p?.companyLegalName,industry:p?.companyIndustry??u.strings.empty,incDate:p?.incDate?.toString(),phone:p?.phone,website:p?.website?.toString(),formattedAddress:p?.addressStatus?.addressToCreate!=null?B(p?.addressStatus?.addressToCreate):void 0},(()=>{const n=p,o=[];return n?.companyLegalName!=null&&o.push("legal_name"),n?.companyDescription!=null&&n?.companyDescription!==u.strings.empty&&o.push("company_description"),n?.addressStatus?.addressToCreate!=null&&o.push("company_address"),n?.registeredAddressStatus?.addressToCreate!=null&&o.push("registered_address"),n?.website!=null&&o.push("website"),n?.companyIndustry!=null&&n?.companyIndustry!==u.strings.empty&&o.push("industry"),n?.typeOfIncorporation!=null&&n?.typeOfIncorporation!==u.strings.empty&&o.push("type_of_incorporation"),n?.incDate!=null&&o.push("inc_date"),n?.phone!=null&&o.push("phone"),n?.primaryContactLocalData?.firstName!=null&&n?.primaryContactLocalData?.lastName!=null&&o.push("primary_contact_name"),n?.primaryContactLocalData?.email!=null&&o.push("primary_contact_email"),n?.taxIdOrEIN!=null&&o.push("tax_id_or_ein"),n?.companyFiles.find(c=>c.documentType==="certificate_of_incorporation")!=null&&o.push("certificate_of_incorporation"),n?.companyFiles.find(c=>c.documentType==="tax_ein")!=null&&o.push("ein"),{completedFields:o,status:o.length===14?"complete":o.length>0?"partially_complete":"incomplete"}})(),{firstName:ke?.firstName,lastName:ke?.lastName,email:ke?.email}),Z({fromStep:i,shouldNavigate:!0,stepDirection:"next"})):t.isValid||$e("company_officer")}else Ee?qt():K(i,"next",!0)}},label:i==="company_details"?u.footer.submit:rt.next,isLoading:v.fetchState==="In-Progress",isDisabled:v.fetchState==="In-Progress"},cancelBtn:{onClick:()=>{K(i,"previous",!0)},label:rt.back,isDisabled:v.fetchState==="In-Progress"||S.indexOf(i)===0},containerStyle:{width:"auto",justifyContent:"center"},showCancel:!0})]}),l.jsx(ln,{handleConfirmCardSetupIntent:V,updateCardPaymentModalState:D,handleCreateCardSetupIntent:d,handleAddCardPaymentSource:I,cardPaymentView:k,stripeKey:f,isCardPaymentOpen:Be.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ve,cardSetupInProgress:He,setCardSetupInProgress:Mt})]})},On=xt`
|
|
14
14
|
from {
|
|
15
15
|
transform: translateY(100%);
|
|
16
16
|
opacity: 0;
|
|
@@ -69,7 +69,7 @@ import{V as l,f0 as Mt,e as Ye,y as Wt,T as Yt,c8 as ye,a7 as Qe,I as ft,S as Me
|
|
|
69
69
|
justify-content: space-between;
|
|
70
70
|
width: 100%;
|
|
71
71
|
min-height: ${a=>Se.topNavBarHeight.valuePx(a.windowSize)};
|
|
72
|
-
`,
|
|
72
|
+
`,Vn=x.div`
|
|
73
73
|
min-height: 100%;
|
|
74
74
|
display: ${a=>a.isVisible?"flex":"none"};
|
|
75
75
|
flex-direction: column;
|
|
@@ -81,7 +81,7 @@ import{V as l,f0 as Mt,e as Ye,y as Wt,T as Yt,c8 as ye,a7 as Qe,I as ft,S as Me
|
|
|
81
81
|
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
82
82
|
animation-fill-mode: both;
|
|
83
83
|
`:null}
|
|
84
|
-
`,
|
|
84
|
+
`,Dn=x.form`
|
|
85
85
|
padding-top: ${ce.sp0};
|
|
86
86
|
flex: 1;
|
|
87
87
|
`,An=x(an)`
|
|
@@ -94,7 +94,7 @@ import{V as l,f0 as Mt,e as Ye,y as Wt,T as Yt,c8 as ye,a7 as Qe,I as ft,S as Me
|
|
|
94
94
|
text-align: ${a=>a.windowSize==="small"?"initial":"center"};
|
|
95
95
|
width: 100%;
|
|
96
96
|
white-space: pre-line;
|
|
97
|
-
`,We=(a,C)=>{const{companyDetailsLocalData:r,companyOfficerLocalData:g,companyView:_}=a,w=le.commonSetUp.businessVerification,h=le.companyPassport,k=_?.companyOfficers!=null&&_?.companyOfficers.length>0;return{[R]:{companyDescription:r?.companyDescription??le.common.strings.empty,ein:r?.companyFiles.find(f=>f.documentType==="tax_ein"),companyId:r?.companyId,syncToken:r?.syncToken,companyLegalName:r?.companyLegalName,companyWebsite:r?.website?.toString()??le.common.strings.empty,companyAddress:r?.addressStatus?.addressToCreate,registeredAddress:r?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:r?.companyIndustry,allOptions:a.companyIndustries.map(f=>f.code)},companyIndustryType:{selectedOption:r?.companyIndustryType,allOptions:[...rn]},companySubIndustry:{selectedOption:r?.companySubIndustry,allOptions:cn(r?.companyIndustryType)},companyPhone:r?.phone,companyTaxId:r?.taxIdOrEIN,primaryContactName:{firstName:r?.primaryContactLocalData?.firstName,lastName:r?.primaryContactLocalData?.lastName},primaryContactEmail:r?.primaryContactLocalData?.email,primaryContactUserId:r?.primaryContactLocalData?.userId,primaryContactSyncToken:r?.primaryContactLocalData?.syncToken,fileIds:r?.companyFiles.map(f=>f.fileId)??[],certificateOfIncorporation:r?.companyFiles.find(f=>f.documentType==="certificate_of_incorporation"),incDate:r?.incDate?.toDate(),typeOfIncorporation:{selectedOption:r?.typeOfIncorporation,allOptions:h.companyIncInfo.allTypesOfIncorporation}},[b]:Object.values(g).map((f,T)=>{const d=f,
|
|
97
|
+
`,We=(a,C)=>{const{companyDetailsLocalData:r,companyOfficerLocalData:g,companyView:_}=a,w=le.commonSetUp.businessVerification,h=le.companyPassport,k=_?.companyOfficers!=null&&_?.companyOfficers.length>0;return{[R]:{companyDescription:r?.companyDescription??le.common.strings.empty,ein:r?.companyFiles.find(f=>f.documentType==="tax_ein"),companyId:r?.companyId,syncToken:r?.syncToken,companyLegalName:r?.companyLegalName,companyWebsite:r?.website?.toString()??le.common.strings.empty,companyAddress:r?.addressStatus?.addressToCreate,registeredAddress:r?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:r?.companyIndustry,allOptions:a.companyIndustries.map(f=>f.code)},companyIndustryType:{selectedOption:r?.companyIndustryType,allOptions:[...rn]},companySubIndustry:{selectedOption:r?.companySubIndustry,allOptions:cn(r?.companyIndustryType)},companyPhone:r?.phone,companyTaxId:r?.taxIdOrEIN,primaryContactName:{firstName:r?.primaryContactLocalData?.firstName,lastName:r?.primaryContactLocalData?.lastName},primaryContactEmail:r?.primaryContactLocalData?.email,primaryContactUserId:r?.primaryContactLocalData?.userId,primaryContactSyncToken:r?.primaryContactLocalData?.syncToken,fileIds:r?.companyFiles.map(f=>f.fileId)??[],certificateOfIncorporation:r?.companyFiles.find(f=>f.documentType==="certificate_of_incorporation"),incDate:r?.incDate?.toDate(),typeOfIncorporation:{selectedOption:r?.typeOfIncorporation,allOptions:h.companyIncInfo.allTypesOfIncorporation}},[b]:Object.values(g).map((f,T)=>{const d=f,V=en(d?.documentTypeSelectedForVerification);return{userId:d?.userId,officerType:d?.officerType??`Officer_${T+1}`,name:{firstName:d?.firstName,lastName:d?.lastName},email:d?.email,fileIds:d?.fileIds??[],dob:d?.birthday?.toDate(),nationalityCountryCode:Ot(d?.nationalityCountryCode,C.map(D=>D.countryCode)),ssn:d?.ssn,role:{selectedOption:d?.titleAtCompany,allOptions:w.allTypesOfRoles},phone:d?.phone,ownership:d?.ownershipInCompany,officerAddress:d?.addressStatus?.addressToCreate,selectDocument:{front:gt(!0,d?.userFiles??[],V),back:gt(!1,d?.userFiles??[],V),selectDocumentType:V},isSelectedForVerification:!k&&T===0||(d?.isSelectedForVerification??!1),userVerificationStatus:d?.userVerificationStatus,syncToken:d?.syncToken,isPhoneVerified:d?.isPhoneVerified,otpChallenge:d?.otpChallenge}}),[ee]:{account:{allOptions:[],selectedOption:void 0}},[y]:Xt(y,a?.subscriptionBillingAddress)[y],[he]:{connected:a.externalConnections?.accounting[0]?.isValid??!1}}},la=a=>{const{onboardingCustomerView:C,cardPaymentView:r,signedInUser:g,currentTenant:_,isOnAddressPage:w,stripeKey:h,googleAPIKey:k,onUpdateStep:f,onZeniLogoClick:T,handleLogOutClick:d,handleCockpitClick:V,meetingUrl:D,analytics:I,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ve,handleFetchPaymentSources:Ce,updateCardPaymentModalState:F,resetCardPaymentViewState:_e,handleResetCardPaymentErrorStatuses:U,redirectToProductSuitePage:Ne,...Ve}=a,{allSteps:G,completedSteps:De,halfCompletedSteps:be,currentStep:z,fetchStatus:q}=C,H=m.useRef(z),E=m.useRef(G),[Ie,de]=m.useState(!1),[Pe,ne]=m.useState([]),Z={allSteps:G,isOnAddressPage:w,completedSteps:De,halfCompletedSteps:be,errorSteps:Pe,currentStep:z,fetchStatus:q,signedInUser:g,currentTenant:_,onUpdateStep:A=>{f(A)},onZeniLogoClick:T,handleLogOutClick:d,handleCockpitClick:V,setIsStepClicked:de};m.useEffect(()=>{if(H.current!==z){const A=H.current;Ie===!0&&(I?.trackOnboardingCurrentStep(z,A),de(!1)),H.current=z}},[z,Ie,I]),m.useEffect(()=>{G.length!==E.current.length&&(E.current=G)},[G]);const ae=q.fetchState==="In-Progress"||q.fetchState==="Not-Started";return l.jsx(Tn,{isOnAddressPage:w,children:w?l.jsx(bt,{...Z}):l.jsxs(Fn,{children:[l.jsx(bt,{...Z}),ae?l.jsx(dn,{isNoStepsPage:!1}):l.jsx(Pn,{onboardingCustomerView:C,analytics:I,updateStepHandler:(A,Ae,pe)=>{const oe=E.current.length,ue=E.current.indexOf(A);switch(Ae){case"next":{const ie=(ue+1)%oe,N=E.current[ie];H.current=N,f(N),pe===!0?I.trackOnboardingNext(A,N):I.trackOnboardingCurrentStep(N,A);break}case"previous":{const ie=(ue+oe-1)%oe,N=E.current[ie];H.current=N,f(N),pe===!0?I.trackOnboardingBack(A,N):I.trackOnboardingCurrentStep(N,A);break}}},onUpdateStep:f,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ve,updateCardPaymentModalState:F,handleFetchPaymentSources:Ce,cardPaymentView:r,resetCardPaymentViewState:_e,stripeKey:h,googleAPIKey:k,handleResetCardPaymentErrorStatuses:U,redirectToProductSuitePage:Ne,onFormErrorsChange:ne,...Ve}),ae?null:l.jsx(Qt,{isFooterRendered:!0,meetingUrl:D,analytics:I,productType:"onboarding"})]})})},Tn=x.div`
|
|
98
98
|
display: flex;
|
|
99
99
|
flex-direction: column;
|
|
100
100
|
width: ${a=>a.isOnAddressPage?"fit-content":"100%"};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as _,h as B,_ as F,y as I,V as e,a_ as U,o as t,
|
|
1
|
+
import{e as _,h as B,_ as F,y as I,V as e,a_ as U,o as t,b as k,aL as M,f0 as W,O as A,l as V,c as H,f as l,w as b,u as N,n as R,c2 as J,D as Z,aj as G}from"./index-BHAcVHeH.js";import{a as n}from"./sentry-CY6wsJT-.js";import{n as o}from"./mui-Cni6P-fz.js";import{Gk as q}from"./zeni-epic-state-cFF_NqwA.js";import K from"./ConfettiBurst-C0DFgWJj-DC0n_rE6.js";import{T as Q}from"./ProductsCarousel-OHbYasaa-Bps9QCYO.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.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]="26717a44-15e9-4327-9a60-eb1f39df2391",i._sentryDebugIdIdentifier="sentry-dbid-26717a44-15e9-4327-9a60-eb1f39df2391")}catch{}})();const X=A.getLocalizedStrings(),Ie=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:x=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...L})=>{const d=_(),f=B().analytics,w=F(),S=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=L,O=I(),{customerOnboardingPage:c}=X,h=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:D}=s,{isPayrollEnabled:g,isCfoEnabled:u,isTaxEnabled:m}=D;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]};return e.jsxs(e.Fragment,{children:[e.jsx(Y,{children:e.jsxs(ee,{windowSize:d,children:[e.jsx(te,{windowSize:d,children:e.jsx(U,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:O.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(xe,{children:e.jsx(fe,{"data-testid":k("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:x?e.jsxs(ye,{"data-testid":k("update-to-payment-address-details"),onClick:()=>(s=>{if(v(),!s)return;let r="";r=i?"bank_account":"credit_card",f.trackOnboardingClickUpdatePaymentDetails(r,q(s.productSettings))})(a),children:[e.jsx(we,{}),e.jsx(ke,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(be,{})})}),e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{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(re,{children:[e.jsxs(C,{children:[e.jsx(ne,{children:e.jsx(se,{})}),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(ae,{children:e.jsx(le,{children:c.productSuite.sectionTitle})}),e.jsx(de,{children:e.jsx(Q,{scale:1,showUpdatePaymentDetailButton:x,stopCarousel:y})}),e.jsxs(ce,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(pe,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(he,{className:"discover-class"})]})]}),e.jsx(ge,{children:e.jsxs(ue,{children:[e.jsx(me,{windowSize:d,children:e.jsx(M,{signedInUser:S,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(W,{isFooterRendered:!1,meetingUrl:p,analytics:f,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(K,{showConfetti:$})]})},Y=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|