@zeniai/web-cockpit-ui 1.15.6-qa → 1.15.7-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-DDuW5spI-ugZGssMG.js → ACHDetailsPage-CGG2Hx4v-BW7Ihkof.js} +1 -1
- package/dist/assets/{AIPerformancePage-Bbk-pUwz-BlxRToKD.js → AIPerformancePage-XDCygRgj-CEqrEuBs.js} +32 -32
- package/dist/assets/AccountInfoPage-CSf3J58F-DCyXpiFs.js +18 -0
- package/dist/assets/{AccountInfoPageContent-BA3WBfD4-S2IoqbBC.js → AccountInfoPageContent-wjaeVokT-CiNOfJ02.js} +9 -9
- package/dist/assets/{AccountLockedInfoModal-Bs1ImO2L-Cd1E5lWq.js → AccountLockedInfoModal-DJnj--uc-BJgnvrcM.js} +4 -4
- package/dist/assets/{AccountReconDetailsDrawerPage-Ci_Eb0_d-BTFVE0QR.js → AccountReconDetailsDrawerPage-a2stjcsR-Ds8R_X-n.js} +19 -19
- package/dist/assets/{AccountRow-BWclqiQh-ChNK56Ur.js → AccountRow-DlccmtgU-foUdbmvG.js} +24 -24
- package/dist/assets/{AccountsPromoCardStack-BHgGIeBG-BvmrVWEy.js → AccountsPromoCardStack-BE0vjkiK-DEN0OmWn.js} +14 -14
- package/dist/assets/AddAddressForCardDrawer-D3mMFgO8-8PMwaa8Q.js +6 -0
- package/dist/assets/{AddToWalletPage-Dllxg_0u-Cin7qPiV.js → AddToWalletPage-6OCJaNcg-EoATwn7j.js} +19 -19
- package/dist/assets/{AgingReportsPage-CBHhfTKI-XOHkAEGk.js → AgingReportsPage-hgg1L3pv-DEJ_mF4m.js} +1 -1
- package/dist/assets/{AllUserItems-Bdv9AIQ9-AUnGqfQg.js → AllUserItems-BmNtc-69-BsLa0Y8T.js} +14 -14
- package/dist/assets/{ApAgingDetailPage-EE3MrY5l-DjneR2md.js → ApAgingDetailPage-DAZAnfcs-zxr1sXnX.js} +5 -5
- package/dist/assets/{AppBasePage-02I6V3Np-B6lYTPsK.js → AppBasePage-D7_krMlm-D-9wFTdh.js} +9 -9
- package/dist/assets/{AppDrawerContent-DbBd9m20-ns8GH0Pa.js → AppDrawerContent-DWL57wUk-DZ6AAyNy.js} +6 -6
- package/dist/assets/ApprovalRulesSettingsPage-CiX2Xx3--YCvl1YZm.js +47 -0
- package/dist/assets/{ArAgingChart-BqBx1Gj1-B1AT15np.js → ArAgingChart-CeaYIqlX-BUR2NiTJ.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-D9rI5yue-C7eLkZEj.js → ArAgingDetailPage-Is5kv2-P-CDH0tn0m.js} +1 -1
- package/dist/assets/{AttachmentView-CeblaMyI-DBGFvosS.js → AttachmentView-BsNhULL3-C-ca695p.js} +4 -4
- package/dist/assets/{BankAccountSection-B3v3BDPK-B_DOigwY.js → BankAccountSection-ZWR_hXjD-mYMACSQd.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-DCi9o7_J-w-3jN6e4.js → BankAccountWarningSection-C-2eE9pL-BhkH4zkd.js} +5 -5
- package/dist/assets/{BankConnectionsSettingsPage-Csbc7IYe-dwO5wQN1.js → BankConnectionsSettingsPage-CjbaVbou-BNqlym9z.js} +17 -17
- package/dist/assets/{BillDetailPage-ByPP2r-L-DYJrFGG4.js → BillDetailPage-B_zbQLLp-Dsf72rKA.js} +8 -8
- package/dist/assets/{BillPayApprovalRuleDetailPage-GDOnscxH-wu_5dYsT.js → BillPayApprovalRuleDetailPage-CtJLn_JO-BVtB6sJH.js} +4 -4
- package/dist/assets/{BillPayApprovalRulesPage-BqDyhnz3-B_wXxPzU.js → BillPayApprovalRulesPage-vvgGBmoM-C7iW15VO.js} +5 -5
- package/dist/assets/{BillPayPromoPage-B1_ugFQw-DrmfvS7a.js → BillPayPromoPage-DkyMRquU-6vAZUzNc.js} +7 -7
- package/dist/assets/{BillPaySetUpPage-Cx2vQIL8-ngc-DjEe.js → BillPaySetUpPage-m15SlV0c-C_W7-nyr.js} +9 -9
- package/dist/assets/BillingSettingsPage-C4P_B31U-Dbv-0XdG.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-B8KhD0xH-CKIRXjIs.js → BillsBulkReviewDrawerPage-C_Nmv34F-s0EetHC0.js} +1 -1
- package/dist/assets/{BoxItem-CqsCCOrk-Dekq2mMN.js → BoxItem-Cmrt_yxF-Cr2cxrKm.js} +1 -1
- package/dist/assets/BusinessVerificationPage-Dr_YFkLN-5SYND8JY.js +138 -0
- package/dist/assets/{CardNumberSubText-ByPbO0F8-BLrI1gTW.js → CardNumberSubText-B6Fprh6S-CEzRIr67.js} +8 -8
- package/dist/assets/{CashbackDetailPage-Ve3JZpeP-D5oSvHQU.js → CashbackDetailPage-CWExYaIT-BmImExjs.js} +20 -20
- package/dist/assets/{ChargeCardDetailPage-D7zLKDQo-DG3fl-Wi.js → ChargeCardDetailPage-B3hr0WBI-X68NSBCl.js} +1 -1
- package/dist/assets/{ChargeCardListPage-Cnm7GqIj-Fc3uHPEU.js → ChargeCardListPage-g9gCfpoh-BTqPP-pZ.js} +15 -15
- package/dist/assets/{ChargeCardListTable-bTR8Mmj4-CI38yG68.js → ChargeCardListTable-BoDSmzn_-CpSnyHh2.js} +38 -38
- package/dist/assets/{ChargeCardPaymentHistoryPage-Cufm-hgn-Cqrd5ERh.js → ChargeCardPaymentHistoryPage-xs346JMC-CvFrTbeZ.js} +28 -28
- package/dist/assets/ChargeCardPromoPage-DwiDNiRF-BfEfjZd3.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-B-jcdCNM-ernLwEHq.js → ChargeCardSetupPage-Dbz_GdRL-ClxdYJ_F.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-CyVlO8hd-CIP5xUta.js → ChargeCardStatementsPage-Da9NY51a-ChevXKmL.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-BmG5ma6K-DHrUrYJa.js → CheckDepositDrawerPage-CcSRXOv7-DM7Ey8xT.js} +8 -8
- package/dist/assets/{CollapsableReportTable-LB-wYzj1-DaCyOKB5.js → CollapsableReportTable-D1b80h2R-CMeyXG6i.js} +41 -41
- package/dist/assets/CompanyOfficerDetailsSection-BMYQ8Qcq-vyiocP81.js +260 -0
- package/dist/assets/{CompanyPassportCard-BwHjmTyn-CWXWGUYt.js → CompanyPassportCard-vAocVa7X-Bg4vrJh5.js} +4 -4
- package/dist/assets/CompanyPassportPage-Dva5Le3j-D1jREPm8.js +574 -0
- package/dist/assets/{CompleteProfile-H7UexvAo-sZKr-j3R.js → CompleteProfile-B-Hhosch-DRCiMIXe.js} +1 -1
- package/dist/assets/ConfettiBurst-BV8M1GTR-DJjoIhlI.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-Bt2itRHK-CCLBzSRT.js → CreateOrEditVendorPage-Bgc7zC_D-CfO9iUSb.js} +11 -11
- package/dist/assets/{CreditCardPaymentDrawerPage-B8eb8Q0G-D7xI54mJ.js → CreditCardPaymentDrawerPage-Bs5RpFes-CgklXCqv.js} +11 -11
- package/dist/assets/{CurrencySelectField-DIh7_ile-Ch5w8ptc.js → CurrencySelectField-BC9QkDwI-BEtmNe90.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-B3t4tiur-DzW0AY2p.js → CustomerOnboardingActivationPage-Br4RFzGo-DgY7VWoB.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-BRs0LPZ0-y5fJ25mS.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-JE_MoyoU-BqMNWAeW.js → CustomerOnboardingDetailPageSkeleton-DLKJINnV-B2tg0XBT.js} +18 -18
- package/dist/assets/CustomerOnboardingNoStepsPage-CjvQ3PFZ-BN9B2AZm.js +66 -0
- package/dist/assets/CustomerOnboardingPage-3ECCqY1a-CL7QxZ3D.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-DZLKr3qq-ClvLyM4I.js → CustomerOnboardingProductSuitePage-Dx3FU6Fe-CAm2edHR.js} +4 -4
- package/dist/assets/{Dashboard-z7EuNcjw-wBhbzCb7.js → Dashboard-EWWj1Uby-C8-SPpUF.js} +21 -21
- package/dist/assets/{DashboardReportPage-BX2xSgwt-BTs5yweV.js → DashboardReportPage-D4kzdnvI-BKOw_sqx.js} +10 -10
- package/dist/assets/{DashboardSidebarBackgroundAnimation-fiNmHYV3-CEwDJ7_M.js → DashboardSidebarBackgroundAnimation-BSwRgXFk-CJAI0MPE.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-CmlUJZgz-LioQcDUg.js → DepositAccTransactionItem-xvCtIj9v-7jCouOnq.js} +2 -2
- package/dist/assets/DepositAccTransactionListPage-B8UpFh_9-DlvHxyY3.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-D-SBQqbR-C8ovHvyA.js → DomesticWireDetailsPage-DF8bLeDL-Be0QfLbt.js} +1 -1
- package/dist/assets/{DownloadOverlay-DznbXeUZ-Cp9A0E8f.js → DownloadOverlay-wlAXZwF0-B68SEe8G.js} +30 -30
- package/dist/assets/{DrawerPage-8d8mdD3v-DOGRNriH.js → DrawerPage-DroW95LB-DgRu7-up.js} +18 -18
- package/dist/assets/{EditPeoplePage-CTwY7ePr-BHVb3TK3.js → EditPeoplePage-CgUM9UYI-_7L-v32x.js} +3 -3
- package/dist/assets/{EditReimbursementDetailPage-DVg6dH7p-p4ImlM0s.js → EditReimbursementDetailPage-BgcII79s-qEpt9Cs6.js} +61 -61
- package/dist/assets/EntityDetailPage-ByHvXL2c-DbNraeh4.js +18 -0
- package/dist/assets/{EntitySummarySection-CloCPwyO-BkWlGttQ.js → EntitySummarySection-D6HekhK7-CEx8SebE.js} +9 -9
- package/dist/assets/{ExpenseAutomationOverviewPage-dHZEdK4L-Cfk-AEiv.js → ExpenseAutomationOverviewPage-VN-P6f2z-D9XayAVC.js} +16 -16
- package/dist/assets/{ExpenseAutomationPage-CWyP8ETl-Buoi-mX4.js → ExpenseAutomationPage-CvnkIuMf-BzVTKngy.js} +66 -66
- package/dist/assets/{ExpressPayPage-liflPa6J-d_gsBVue.js → ExpressPayPage-C_yRTeDh-CXT1jZ8h.js} +15 -15
- package/dist/assets/{FeaturePreviewPage-DhSoy4IL-BFzihstG.js → FeaturePreviewPage-BLRhajFn-BfH5LrVG.js} +1 -1
- package/dist/assets/{FollowStepsSection-DW5HuzRR-C2pFSUm_.js → FollowStepsSection-DhiGIylh-dcsWOGAc.js} +49 -49
- package/dist/assets/{GlobalReviewListPage-CGCdgQFw-2bH6uNqV.js → GlobalReviewListPage-Tg986b2s-BcraUWMG.js} +6 -6
- package/dist/assets/{InformationCardStack-D6xiRsRy-DeDzkULA.js → InformationCardStack-3Lmn6LJr-BzzpUQZE.js} +1 -1
- package/dist/assets/{InsightsCardStack-D1eIlMkU-DAOP4NpT.js → InsightsCardStack-Dc6OL9Od-D89joaRU.js} +2 -2
- package/dist/assets/InsightsSection-Drr3r1BL-BjPy8A4H.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-CRZfnPIT-CqWmWxBy.js → IntegrationsSettingsPage-DACHBlEm-DaFs14XG.js} +8 -8
- package/dist/assets/{InternationalWireSwiftDetailsPage-DouGaVny-Dv_WELpr.js → InternationalWireSwiftDetailsPage-BaqSqvWh-BwJgPcJE.js} +17 -17
- package/dist/assets/InternationalWireVerificationPage-Daxni4YY-BKNsaA95.js +292 -0
- package/dist/assets/{InviteFormPage-dCGpLoBC-B7oqyaD4.js → InviteFormPage-CXcHy9Sz-C3-iU8eM.js} +24 -24
- package/dist/assets/{InvitePageListView-DhV6Pw56-C4-16sSD.js → InvitePageListView-tu82Q2y6-CzjWJAgY.js} +54 -54
- package/dist/assets/{InvitePeoplePage-J-HYw9MC-UjYYlzHC.js → InvitePeoplePage-Bbv2pjhR-BZJHvIvS.js} +2 -2
- package/dist/assets/{InvoiceUploadSection-BJLLf4x5-DFydS2Od.js → InvoiceUploadSection-CO34IhU8-1rxbAjFS.js} +4 -4
- package/dist/assets/{IssueChargeCardPage-hEaegmyi-D821vf9d.js → IssueChargeCardPage-DuqGEs5b-DVXuxnuF.js} +23 -23
- package/dist/assets/{LabeledAddressValue-PXtKo31O-p0vkJLZ_.js → LabeledAddressValue-D0Gu5Mgp-CuHBod6j.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-D0Ow_UPE-D2ZZ_G49.js → LabeledAddressValueField-DPisU2iY-3oGO3c9v.js} +3 -3
- package/dist/assets/{LabeledControlledCheckBoxField-DVOeaKu0-CpyOiqej.js → LabeledControlledCheckBoxField-BKqCiNdy-CKGxo72C.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-Dqt1M07c-DY3asbo7.js → LabeledCreatableSingleSelectField-DLVxVffe-RkcfyIgp.js} +5 -5
- package/dist/assets/{LabeledDocumentField-D2n9ry_0-D2DNLpw5.js → LabeledDocumentField-DtOCNiEg-DdNet_Ri.js} +5 -5
- package/dist/assets/{LabeledDropDownFormattedTextField-BfpPbI2T-BknUycVk.js → LabeledDropDownFormattedTextField-CsbwG9At-Cie_r1vg.js} +6 -6
- package/dist/assets/{LabeledText-BHQeQs6Z-DYOqW74l.js → LabeledText-C4GeOHM8-ChfVujh4.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CnwVXq2g-BfCQlTRV.js → LabeledUserSingleSelectWithSubtitlesField-gwRpED7x-BzoJSlO5.js} +15 -15
- package/dist/assets/{LabeledZeniRolesDropDownField-Dpdlc1DB-aTk_GR-I.js → LabeledZeniRolesDropDownField-Bj8qcvuK-mHT__PRC.js} +12 -12
- package/dist/assets/{LinkJETransactionPage-CWOfaAhz-sHHDjXdg.js → LinkJETransactionPage-CdWWV_7u-CTynd4m9.js} +3 -3
- package/dist/assets/{LockCardPage-BMt1zujT-Ch-0yiFY.js → LockCardPage-BTxCWQ6_-bPbvvlRf.js} +65 -65
- package/dist/assets/{LowBalancePopup-BN2RBNOV-CkWXHs8U.js → LowBalancePopup-Dt9KCWOU-CfGVa0nY.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-C2z4VD4x-yC-7xafy.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Dxd73sj8-Dnp7p7eT.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Ct-REVbS-CPUlXtmL.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-DQbdgFhH-acLMYQDQ.js → MagicLinkSuccessPage-D45Lu2cc-Co6kTR8X.js} +4 -4
- package/dist/assets/{MagicLinkTitleSection-BYkzInkY-HyU6V8sj.js → MagicLinkTitleSection-BdiSVi0V-B1KEw-n6.js} +3 -3
- package/dist/assets/{MailingDetailsSection-DiSohByM-B0LpnqFx.js → MailingDetailsSection-CjO5OVZN-CsIdvq8c.js} +1 -1
- package/dist/assets/{Menu-TzNY4ajT-CMR-yX-w.js → Menu-C_kotivE-FvhfNRdu.js} +2 -2
- package/dist/assets/{MyBankConnectionsSettingsPage-Bk4Hdapv-vgoL826T.js → MyBankConnectionsSettingsPage-CN9EKlOy-B7KFdOdn.js} +4 -4
- package/dist/assets/{MyPendingActivationChargeCardListPage-C5Q5p5zq-HjmaMbpp.js → MyPendingActivationChargeCardListPage-rmpT6HFS-CAP6sOzW.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BxiofsK0-BXkFCNOu.js → MyProfileSettingsPage-CTmDuFNJ-KfiZ2ouo.js} +5 -5
- package/dist/assets/{NavBarWithPicker-DX31nlvR-iKhmwyP2.js → NavBarWithPicker-VzNJnXX3-D_mYpcQU.js} +4 -4
- package/dist/assets/{NavigationArrow-BDdBEJFM-ByEm_T8f.js → NavigationArrow-B9ZEhJdg-DZDpNuL-.js} +1 -1
- package/dist/assets/{NavigationDots-BZOdXVhR-J922kz3s.js → NavigationDots-C_N16I15-CgfbbWpb.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-qOuBGJ6w-PqI-s75M.js → NewGlobalMerchantPage-DICWFjCu-B9FIBlfd.js} +8 -8
- package/dist/assets/NoDataChart-CCCkzfa4-CZ1VHThr.js +26 -0
- package/dist/assets/NoDataTable-DVW_simO-CiETBp14.js +8 -0
- package/dist/assets/{NotFoundPage-B31SyO4w-DnMJV9Nw.js → NotFoundPage-BHrUY910-CB4emWh9.js} +8 -8
- package/dist/assets/{NotificationSettingsPage-3GoJDHjY-CmERm1Eo.js → NotificationSettingsPage-alUKfWWf-BIIzsf_j.js} +12 -12
- package/dist/assets/NotificationsListConfig-QOeX1KBS-BXuzGZYq.js +1 -0
- package/dist/assets/{NotificationsPage-Cuz_KDD8-Br1syqiZ.js → NotificationsPage-BjhHCUzl-CL_1S-pu.js} +22 -22
- package/dist/assets/{OpExByVendorPage-B2CQ-hT1-DgzOnglp.js → OpExByVendorPage-h_QozoZk-rvk-4kbQ.js} +20 -20
- package/dist/assets/OverlayContainerPage-Daz3A7cI-DZnbS2el.js +11 -0
- package/dist/assets/{PandLWithForecastPage-Dkcy07sC-HdbdrtMY.js → PandLWithForecastPage-DdiEIHC--BvKI5oME.js} +4 -4
- package/dist/assets/PaymentAccountSetupBillingAddressSection-CIlQ-MgM-D9smrX3o.js +107 -0
- package/dist/assets/{PeoplePage-yzYfizds-CxYPe3s5.js → PeoplePage-BaOppi8Y-C-YATJdW.js} +34 -34
- package/dist/assets/{Preview-CoWxE6yB.js → Preview-yiJBApzl.js} +1 -1
- package/dist/assets/{ProductsCarousel-DRfZ_sZ_-CLK0bly7.js → ProductsCarousel-E65X4lGB-DH2SteEv.js} +9 -9
- package/dist/assets/{PromoBaseCards-CbPywvj2-cL15_Lku.js → PromoBaseCards-O66NGGWD-BKbCdKhK.js} +4 -4
- package/dist/assets/{QBOConnectionDialog-DLuBxOXr-ChTwBVFO.js → QBOConnectionDialog-BrMv7xjB-DlUN7Kz1.js} +2 -2
- package/dist/assets/{QBOSetupSection-CxLynYFq-BCq79mPl.js → QBOSetupSection-B5D4uUOv-CGhKBwg7.js} +16 -16
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CDK4q7B4-K_MvSiez.js → ReimbursementApprovalRuleDetailPage-DJNl2oqj-B4OdqkFs.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-DFmZm1Qr-KN8xudqI.js → ReimbursementApprovalRulesPage-tnc2z3Es-yyigySmO.js} +17 -17
- package/dist/assets/ReimbursementDetailPage-CO8Wv5-c-qlCsVXqq.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-DENI6dAX-B3ip0p99.js → ReimbursementPromoPage-04Cqe8zH--NCi_DFM.js} +6 -6
- package/dist/assets/{ReimbursementSetUpPage-BJoFNAQR-COWxA7Kg.js → ReimbursementSetUpPage-2VrhpV75-Bv2sY3Y4.js} +6 -6
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-C0a107hB-2TKc5O3B.js → ReimbursementsBulkReviewDrawerPage-CEZlRH0_-CC2d3Iit.js} +1 -1
- package/dist/assets/{ReloadCard-BCuJkAqw-CDSljNn0.js → ReloadCard-BakyoznA-DmnMlohL.js} +6 -6
- package/dist/assets/{ReportTableViewSelector-CEo0z4A2-DOQ_EfJ4.js → ReportTableViewSelector-C7w_WVnY-C6Okt0Gv.js} +4 -4
- package/dist/assets/{ReportsPage-gMt_l_Aa-C-pMgAcv.js → ReportsPage-BeZqGQ2i-2BlXIjgp.js} +5 -5
- package/dist/assets/{RevenueChart-JLdzi3aQ-CYETDjQg.js → RevenueChart-BcRkSSWz-D5XPPSEX.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-WBKwpVad-ChCuaJ93.js → ReviewDetailsPage-CA5CBeB7-DN9fIS4d.js} +52 -52
- package/dist/assets/{ReviewOverlay-DqOXHkMM-1Yn1edNo.js → ReviewOverlay-DNjbv6Ir-BYUbQDSw.js} +12 -12
- package/dist/assets/RoleWithToolTip-CSoHoT3u-vTwGI01K.js +22 -0
- package/dist/assets/ScheduleDetailsFixedAssetsPage-CLjpednn-81YU8z_r.js +37 -0
- package/dist/assets/{ScheduleDetailsPage-_Ag36lXG-j5tYZL01.js → ScheduleDetailsPage-MEVdw-l_-gtCnaFgw.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-axweBiV5-DG58qOyk.js → ScheduleSequenceTable-BGx2un0o-CTi3pu3D.js} +52 -52
- package/dist/assets/{ScreenRoutes-DfcN59qq.js → ScreenRoutes-DUbNYmu4.js} +1 -1
- package/dist/assets/{SetUpAccountSection-CerAAia_-BHtxUnyV.js → SetUpAccountSection-Blriup16-W2fx2DgC.js} +14 -14
- package/dist/assets/{SignIn-B1yQ5XWH-B0qhoH5M.js → SignIn-DqVQU08d-BerCpw9H.js} +15 -15
- package/dist/assets/{SignInScreen-Cqy7lnQW.js → SignInScreen-B5Y03mpU.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-BL77zVeL-B2bOM6nq.js → SpendManagementListViewPage-Cd88asmE-CB759VbW.js} +8 -8
- package/dist/assets/{SpendManagementPerTabPage-B82q9yMk-DhUjeST3.js → SpendManagementPerTabPage-DyPyPQjh-CeHpfSNV.js} +26 -26
- package/dist/assets/{SpendManagementSection-Bcex-9e7-BSKprzB6.js → SpendManagementSection-C5fvFmdh-D7vZlQqH.js} +21 -21
- package/dist/assets/StatementItem-CBGi9f9C-DW_QCJ6P.js +31 -0
- package/dist/assets/StatementsPage-De1wPDzS-BpyLzEUf.js +58 -0
- package/dist/assets/{StatusSwitcher-Cw0Sq3bY-Dbm7BDCm.js → StatusSwitcher-BS4h8SJh-CcRGAnPy.js} +2 -2
- package/dist/assets/{SubTabSwitcher-DmGRgMQe-DIYYgIi-.js → SubTabSwitcher-vsehXtEO-aHnk9ME_.js} +3 -3
- package/dist/assets/SummaryCard-gehzCCsW-cRlcrWMR.js +1 -0
- package/dist/assets/{TaskManagementPage-CAX0yrep-CSjDDqkF.js → TaskManagementPage-DlzHdHSu-DMSrvQ05.js} +31 -31
- package/dist/assets/{TimeRangeSwitcher-2AXHoZ8f-Cgeq5dRL.js → TimeRangeSwitcher-CFZq5KoG-DvA1T4tX.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-DJiKd_tL-BdEO97Xk.js → TimeframeSwitcher-Bb7JwirM-DT_nE5Dd.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-5W1Xu4QM-CuZ3Yom9.js → TimeframeSwitcherWithToggle-BXIevpvE-CV8LNwYU.js} +1 -1
- package/dist/assets/{TopExCard-8RRaMY7F-1AcJ6ae5.js → TopExCard-BQIHsi_z-CJAyN5Zr.js} +10 -10
- package/dist/assets/{TopExDetailPage-D2KlaBXx-CrnYkF9C.js → TopExDetailPage-BYCn9hZ2-DC2P4FKF.js} +2 -2
- package/dist/assets/{TransactionDetailPage-DdyFRxld-DnZZ8KzJ.js → TransactionDetailPage-BMYeFZH7-BFKwH-pD.js} +34 -34
- package/dist/assets/{TransactionList-CLVkETBe-C6Sys-PQ.js → TransactionList-BMfwxUes-i8oCJgrA.js} +12 -12
- package/dist/assets/{TransactionListBig-BRCiFBKB-BqQRPoZI.js → TransactionListBig-CSjliLzH-5P3TN04x.js} +6 -6
- package/dist/assets/{TransactionListPage-D0OgwsUo-LU1vJ-Dw.js → TransactionListPage-C2Iz7CDJ-CDbQhMhs.js} +2 -2
- package/dist/assets/TransactionVendorDetailPage-OXcpSTxA-ogeFkWo8.js +80 -0
- package/dist/assets/{TransferDrawerPage-DdDRqsyR-DMAPk7th.js → TransferDrawerPage-4lrBrmvC-BzHEhXmo.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-BcIRsLLj-DCm6-KYB.js → TreasuryOverviewPage-DNUrwQ-l-CtbTN09Y.js} +37 -37
- package/dist/assets/{TreasuryPromoPage-qbltxtYj-CW-CYLuB.js → TreasuryPromoPage-CjjmLEyR-Jw9_r6c2.js} +16 -16
- package/dist/assets/TreasuryStatementsPage-CGax-FVg-CB9f88VO.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-C2-SmkNZ-D-j8G4aE.js → TreasuryTaxLetterPage-DapKFecA-Ckfl6mTT.js} +2 -2
- package/dist/assets/{TrendChart-Cot9LFNh-kn3CmpPt.js → TrendChart-t_2mlnuR-C3EpG69G.js} +2 -2
- package/dist/assets/{TrendWithTransactions-BKxxRKGE-IUCrWYsQ.js → TrendWithTransactions-BjQX1uvO-CXSH8SoK.js} +6 -6
- package/dist/assets/{UncategorizedAccountsMappingPage-C7Z3q75s-CkVCyXIl.js → UncategorizedAccountsMappingPage-C9DJ4P_n-Da3On2ZP.js} +11 -11
- package/dist/assets/{UnitIntegrationPage-DV9q3Nzs-B6vgPVOV.js → UnitIntegrationPage-CzfmBBVs-ea0q-ics.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-BJiBj5mg-Cktdlkx4.js +38 -0
- package/dist/assets/Vendor2FAPopup-Jhuzv3Fs-CDaFjIcb.js +1 -0
- package/dist/assets/VendorACHDetailsPage-BRmIiet8-C_w2yQJy.js +1 -0
- package/dist/assets/{VendorDetailPage-CH1L4UZF-BsVioyb_.js → VendorDetailPage-D_ia0GnG-EjDxeWPl.js} +10 -10
- package/dist/assets/VendorDomesticWireDetailsPage-DTx8HL4V-ypi2AXXw.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-BaX4ACXz-2JAer4Dh.js → VendorFiling1099EditablePage-6mV7WBuT-BWwNGaDM.js} +9 -9
- package/dist/assets/{VendorFirstReviewPage-DAZJMUR3-DNxGnCTD.js → VendorFirstReviewPage-BIh28s7e-DSbo4VGu.js} +20 -20
- package/dist/assets/{VendorInternationalWireDetailsPage-CPnjLrDQ-DMs_PuTr.js → VendorInternationalWireDetailsPage-CXmAXDcB-BBI1eBRw.js} +25 -25
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DITo3td6-DtabXm0e.js +1 -0
- package/dist/assets/{VendorsAccountsSection-DsgK37WB-aox7OqvX.js → VendorsAccountsSection-kJAKmxCN-DLYMQH1s.js} +3 -3
- package/dist/assets/{VerifyDevice-BPAsHKLY-Cz_qYix0.js → VerifyDevice-Cclxcvod-LionuPr6.js} +6 -6
- package/dist/assets/{VideoPlayer-Bwg_8KIq-BdYMo354.js → VideoPlayer-B0jJK498-Bbxsuaup.js} +2 -2
- package/dist/assets/{VideoPopup-CxjbzbjP-BNEaMqCr.js → VideoPopup-BUq4CaWy-BN4RkIzc.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-BBc3-y8F-BZEfDhck.js → WarningsDrawerPage-B7Pmv7_n-DMtwZsM9.js} +5 -5
- package/dist/assets/{ZeniAccountDetailPage-VB4JoNYE-BFAmjkJH.js → ZeniAccountDetailPage-l5IuVidF-9qcHcEDf.js} +14 -14
- package/dist/assets/{ZeniAccountListViewPage-CMjCtqT0-DlchsqGp.js → ZeniAccountListViewPage-CtOCukoi-BrJGMSMd.js} +14 -14
- package/dist/assets/{ZeniAccountNavBarPieces-C89nBJ6j--_uql9Y3.js → ZeniAccountNavBarPieces-DHpWht7s-DoN45Kif.js} +2 -2
- package/dist/assets/{ZeniAccountPromoPage-C1_qLOdH-DnXsp_Yv.js → ZeniAccountPromoPage-DhuZowvX-C0CMafiM.js} +6 -6
- package/dist/assets/{ZeniAccountSetupPage-DWEVvvHh-FILqo9Qu.js → ZeniAccountSetupPage-DXmdPnU2-Od8qQEgW.js} +1 -1
- package/dist/assets/{ZeniCopyright-COx-CtZK-D8sb71fE.js → ZeniCopyright-CxIm7c5S-BQ5EemJ1.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DfOF_MH1-CdGJRA77.js → ZeniTransferAmountSlider-7nRSeYbl-qFHjxePx.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-0XGXXyET.js → add-to-wallet-DgdBD8_G-DTqFjlvW.js} +1 -1
- package/dist/assets/{analytics-DKo_M1pl.js → analytics-nCDopMZa.js} +1 -1
- package/dist/assets/{analyticsHelper-CcmV6wHp-Ds3S8ZrP.js → analyticsHelper-BXN2EdPH-DXUFohOz.js} +1 -1
- package/dist/assets/{analyticsHelper-CIahkACa.js → analyticsHelper-DFj-3TWh.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-BXV4c0YJ.js → arrow-south-east-round-PEovUgvH-C9v2daeL.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-CaqR_Fs7.js → auto-transfer-rule-mbafm5D3-C9ojomBW.js} +1 -1
- package/dist/assets/{chartTypes-YlZX4WLs-vwClst_9.js → chartTypes-qqLvT6t1-BAzagmMG.js} +1 -1
- package/dist/assets/{commonDimensions-IG4iGJ-6-COy8LjzW.js → commonDimensions-CDU138wy-0KaFqMmK.js} +1 -1
- package/dist/assets/{constants-fG1bibDB.js → constants-CiSoUYAy.js} +1 -1
- package/dist/assets/{core-CpHpZW9N.js → core-B8o5Jj6O.js} +1 -1
- package/dist/assets/{dash.all.min-CVRHLeuD.js → dash.all.min-D-Z5Ee1V.js} +1 -1
- package/dist/assets/{detailCommon-lUFqcp_3-D6_iWrpG.js → detailCommon-DP02lgW9-DwZYcDAj.js} +5 -5
- package/dist/assets/{downloadPdf-DYME892p-CFdivUKB.js → downloadPdf-Dl5UuOv_-DcSCv9vJ.js} +1 -1
- package/dist/assets/{empty-BHQsFmmb.js → empty-CGwQB5sP.js} +1 -1
- package/dist/assets/{empty-_FQjEKMH.js → empty-dVLDjrZY.js} +1 -1
- package/dist/assets/epic-gk6U9kCP.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-Dy2FFAHX.js → gift-box-Cmt9OgIZ-C7uoRs4g.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-BYD1Ec66.js → graphic-no-data-l-DU4J8fDt-DxQEyL6u.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DyCtYJXL.js → graphic-no-data-net-burn-l-CzmycA0m-BeDfyPz6.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-Ck4T6x8r.js → handshake-BPg58FML-C6I69X2f.js} +1 -1
- package/dist/assets/{index-DMxZ-F2f.js → index-2UT2PoLz.js} +1 -1
- package/dist/assets/{index-snZI7Ejp.js → index-B62kMDsj.js} +1 -1
- package/dist/assets/{index-gQkYKWh4.js → index-BlhMiimg.js} +1 -1
- package/dist/assets/{index-CdjgwxSA.js → index-CJSgchrb.js} +1 -1
- package/dist/assets/{index-CXEWvwRf.js → index-CofZqiyy.js} +1 -1
- package/dist/assets/{index-B_cddanf.js → index-l9FViNoO.js} +1044 -1048
- package/dist/assets/{index--v5kH7eI.js → index-mRKAcklk.js} +1 -1
- package/dist/assets/{lexical-DVClH-hg.js → lexical-B19SDutg.js} +1 -1
- package/dist/assets/{liveblocks-DKD_-8rq.js → liveblocks-BKCvXoiA.js} +1 -1
- package/dist/assets/{lottie-DPQlys-3.js → lottie-CTuuushW.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DL4wGcX6-qKcz8o_r.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BNXHaV-x-8h6T4NE0.js → mapSectionWithAcOnlyToTreeNode-DLeyrCPV-CBeUvfG-.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-Bl4MSBc9-DsaOHsUd.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-LxIEmBdX-Bxr9xNOi.js → mapTimeframeBalancesToTreeNode-BNP8a_pF-DA-Kt9CP.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Cx4O7W7V-C8qea7Z2.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BvxVvq-i-B7P1WFjn.js +1 -0
- package/dist/assets/{mui-vQToN2qW.js → mui-cKt0zt2w.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-BDbvQ5nZ.js → page-detail-CWX5S47F-hDrW8rOj.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-n0U7H3Pg.js → radio-default-CiSgisfh-D4wl_ybJ.js} +1 -1
- package/dist/assets/{react-Hb_TE8am.js → react-3b8QVeng.js} +1 -1
- package/dist/assets/{react-D4TXMxQv.js → react-85WN45Y4.js} +1 -1
- package/dist/assets/{react-DSNCIi97.js → react-BcpaDQXf.js} +1 -1
- package/dist/assets/{react-BP7HcSTu.js → react-CUDeH5fw.js} +1 -1
- package/dist/assets/{react-DkBDh8Z0.js → react-D2QCQuEO.js} +1 -1
- package/dist/assets/{react-DoQr6jZT.js → react-D811AKIl.js} +3 -3
- package/dist/assets/{react-BoeZM2US.js → react-Drezwue3.js} +1 -1
- package/dist/assets/{react-4R0im3o1.js → react-DycPsf8e.js} +1 -1
- package/dist/assets/{recharts-jo6oNEJ1.js → recharts-DKlDhqpA.js} +1 -1
- package/dist/assets/{sentry-CiC6rduJ.js → sentry-DWELwT5u.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-B-y5Gt68.js → shield-DOlUxcFf-DcDDcztl.js} +1 -1
- package/dist/assets/toCOABalancesWithID-BM2RMkm6-8ztVlUAS.js +1 -0
- package/dist/assets/{toChartData-CuSN9vUZ-CBCyKcms.js → toChartData-xURa2wgf-D5Tvqegg.js} +1 -1
- package/dist/assets/{uploadAttachment-CRI5U1f4-BNbLH2xC.js → uploadAttachment-DfTOIWsX-DQL7CPp6.js} +17 -17
- package/dist/assets/{uploadReceipts-CPw64UYa-rrnBgQHD.js → uploadReceipts-CPw64UYa-BXgFs59O.js} +1 -1
- package/dist/assets/{url-Cptp4ROd.js → url-BO73xRx2.js} +1 -1
- package/dist/assets/{url-D2MARgat.js → url-dLu3i57y.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-DI7_2uJq.js → useLongPress-GCK2COYQ-BJatk2tg.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-COeXcH05.js → usp-line-BBd1wKwW-DG080FPi.js} +1 -1
- package/dist/assets/{utils-CM3T2Iks.js → utils-Db67jZaM.js} +1 -1
- package/dist/assets/{zeni-epic-state-Ce8CP8e3.js → zeni-epic-state-atBaoFS-.js} +17 -17
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/AccountInfoPage-D0Kzx5mY-4RCW-gma.js +0 -18
- package/dist/assets/AddAddressForCardDrawer-C_QsOhGT-sPCk5dFw.js +0 -6
- package/dist/assets/ApprovalRulesSettingsPage-5bJIKss7-Y9SQffD9.js +0 -47
- package/dist/assets/BillingSettingsPage-BiKaSV4T-Clmey8ds.js +0 -44
- package/dist/assets/BusinessVerificationPage-8tFxbXGC-u7kE13ru.js +0 -138
- package/dist/assets/ChargeCardPromoPage-BUGGPnco-B8DmSz9X.js +0 -222
- package/dist/assets/CompanyOfficerDetailsSection-CMl5cDNs-ClxHSaX5.js +0 -330
- package/dist/assets/CompanyPassportPage-BlDBD5EG-Ms4tKiHb.js +0 -347
- package/dist/assets/ConfettiBurst-nOkNOTPr-BBZuvmiJ.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-Dq7dnrBC-CLzw6d0Z.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-D1XU-7jk-U96sx-zJ.js +0 -66
- package/dist/assets/CustomerOnboardingPage-DFky4iQx-DXMpG3E5.js +0 -107
- package/dist/assets/DepositAccTransactionListPage-MLQJ9urd-DG1x-GzH.js +0 -66
- package/dist/assets/EntityDetailPage-Bj5lQ0PH-DoSc2vhw.js +0 -18
- package/dist/assets/InsightsSection-BT0lHMo3-BUbRW235.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-B0ha4dEA-C8DDegxT.js +0 -65
- package/dist/assets/LabeledCountryMultiSelectField-CJud_Lwc-CMmFxHh7.js +0 -234
- package/dist/assets/LabeledMultiSelectField-DH6iG4SR-Dp-VUwax.js +0 -220
- package/dist/assets/MagicLinkACHDetailsPage-CRVp5zpz-Bv9MRMFe.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Cc9jW4rg-CJBdK_v_.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-COHy_2Nv-CRrVgpWZ.js +0 -1
- package/dist/assets/NoDataChart-DxwqqeoI-DkdOoSHp.js +0 -26
- package/dist/assets/NoDataTable-DOZy5UAM-CLNkMXvt.js +0 -8
- package/dist/assets/NotificationsListConfig-C-OlC5S6-DRk_Uldo.js +0 -1
- package/dist/assets/OverlayContainerPage-Daz3A7cI-DMUnjjcT.js +0 -11
- package/dist/assets/PaymentAccountSetupBillingAddressSection-Dnw0APJu-4xS9nSQN.js +0 -107
- package/dist/assets/ReimbursementDetailPage-DOCRkpPT-AvgWK7pn.js +0 -314
- package/dist/assets/RoleWithToolTip-BYuFXi4d-CSVDcI3W.js +0 -22
- package/dist/assets/ScheduleDetailsFixedAssetsPage-BU--t7Cu-DFGGgkNo.js +0 -37
- package/dist/assets/StatementItem-CL4KzNeN-CTh4IsrB.js +0 -31
- package/dist/assets/StatementsPage-ECVGrRXi-Dgi1qAAg.js +0 -58
- package/dist/assets/SummaryCard-OvE5BRYP-lMLGP1wc.js +0 -1
- package/dist/assets/TransactionVendorDetailPage-BLCUqZvL-V1txeeOu.js +0 -80
- package/dist/assets/TreasuryStatementsPage-CLFal4Qu-Bi5NNgyx.js +0 -58
- package/dist/assets/UploadAdditionalDocumentOverlay-B37gdjRF-D7Y_EFQG.js +0 -38
- package/dist/assets/Vendor2FAPopup-BZQXt_G4-B9AtIVBH.js +0 -1
- package/dist/assets/VendorACHDetailsPage-WS3d8TF6-BTnrLXkh.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-Brom_Sf_-Bln1Phsj.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-C4XEeSs2-CiauNbGU.js +0 -1
- package/dist/assets/commonTypes-ByC4Sd87-BqJ29CNI.js +0 -1
- package/dist/assets/epic-DRq35BIa.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-B7Tq4sxB-DXX1rvvB.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-DpgQIqP_-d7FgPe5u.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-fxn51zxe-ArPj_MwE.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-opvjldHo-DvfSG3SI.js +0 -1
- package/dist/assets/toCOABalancesWithID-BAw7mDDs-4dn7cu8D.js +0 -1
|
@@ -1,347 +0,0 @@
|
|
|
1
|
-
import{q as k,d as ta,aO as la,a9 as oa,cC as ia,F as T,V as a,bA as na,ac as sa,cD as ra,aP as ca,y as p,cE as da,L as pa,o as t,al as se,cF as L,cG as Te,cH as P,cI as ma,cJ as We,cK as fa,cL as ua,cM as Be,aw as ha,cN as ya,cO as Ve,cP as xa,cQ as ba,cR as ga,cS as wa,p as E,cT as Ia,cU as $a,br as ja,aR as Da,b8 as A,cV as _e,c as u,ai as Ye,n as Ne,cW as Sa,aB as Oa,cX as va,cg as Ca,cY as Fa,am as Ta,cZ as Na}from"./index-B_cddanf.js";import{a as B,S as ka}from"./sentry-CiC6rduJ.js";import{n as i,k as Pa}from"./mui-vQToN2qW.js";import{Fg as La,bj as Ae,bL as za,bh as he,bC as Ea,Fh as Ma}from"./zeni-epic-state-Ce8CP8e3.js";import{I as Re}from"./LabeledCreatableSingleSelectField-Dqt1M07c-DY3asbo7.js";import{Y as Ue}from"./LabeledDocumentField-D2n9ry_0-D2DNLpw5.js";import{$ as qe}from"./LabeledAddressValue-PXtKo31O-p0vkJLZ_.js";import{d as Wa}from"./LabeledMultiSelectField-DH6iG4SR-Dp-VUwax.js";import"./liveblocks-DKD_-8rq.js";import"./core-CpHpZW9N.js";import"./recharts-jo6oNEJ1.js";import"./lottie-DPQlys-3.js";import"./analytics-DKo_M1pl.js";import"./lexical-DVClH-hg.js";import"./utils-CM3T2Iks.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="7278df4f-ef10-4bea-b426-762634458730",e._sentryDebugIdIdentifier="sentry-dbid-7278df4f-ef10-4bea-b426-762634458730")}catch{}})();const Ze={maxWidth:new p(280,340),contentMaxWidth:new p(200,255)},Ba=Pa`
|
|
2
|
-
0% {
|
|
3
|
-
transform: translateX(100%)
|
|
4
|
-
}
|
|
5
|
-
100% {
|
|
6
|
-
transform: translateX(0)
|
|
7
|
-
}
|
|
8
|
-
`,Va=i.div`
|
|
9
|
-
position: fixed;
|
|
10
|
-
top: ${t.sp3};
|
|
11
|
-
right: ${t.sp3};
|
|
12
|
-
z-index: 1400;
|
|
13
|
-
padding: ${t.sp3} ${t.sp4};
|
|
14
|
-
max-width: ${e=>Ze.maxWidth.valuePx(e.windowSize)};
|
|
15
|
-
background: ${e=>e.theme.colors.black};
|
|
16
|
-
border-radius: 12px;
|
|
17
|
-
box-shadow: ${e=>`${t.sp0} ${t.sp1} ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
18
|
-
display: flex;
|
|
19
|
-
flex-direction: row;
|
|
20
|
-
justify-content: center;
|
|
21
|
-
align-items: flex-start;
|
|
22
|
-
animation: ${Ba} 0.4s;
|
|
23
|
-
`,_a=i(Ia)`
|
|
24
|
-
margin-top: 2px;
|
|
25
|
-
width: ${t.sp4};
|
|
26
|
-
height: ${t.sp4};
|
|
27
|
-
color: ${E.successDark};
|
|
28
|
-
`,Ya=i($a)`
|
|
29
|
-
margin-top: 2px;
|
|
30
|
-
width: ${t.sp4};
|
|
31
|
-
height: ${t.sp4};
|
|
32
|
-
color: ${E.important};
|
|
33
|
-
`,Aa=i.div`
|
|
34
|
-
margin-top: ${t.sp1};
|
|
35
|
-
`,Ra=i(Da)`
|
|
36
|
-
color: ${E.neutralGrey2Light};
|
|
37
|
-
`,Ua=i.div`
|
|
38
|
-
max-width: ${e=>Ze.contentMaxWidth.valuePx(e.windowSize)};
|
|
39
|
-
margin: ${t.sp0} ${t.sp3};
|
|
40
|
-
`,qa=i(ja)`
|
|
41
|
-
color: ${e=>e.isSuccess?E.success:E.important};
|
|
42
|
-
`,Za=i.div`
|
|
43
|
-
width: ${t.sp3};
|
|
44
|
-
height: ${t.sp3};
|
|
45
|
-
cursor: pointer;
|
|
46
|
-
color: ${e=>e.theme.colors.hero};
|
|
47
|
-
&:hover {
|
|
48
|
-
color: ${E.primaryDark};
|
|
49
|
-
}
|
|
50
|
-
`,Ha=e=>{const l=T.getLocalizedStrings().companyPassport.snackBar;return e==="Error"?l.failedText:l.successText};function Ga(e){const l=k(),{fetchState:o,onRemoveSnackbar:r}=e;B.useEffect(()=>{setTimeout(r,5e3)});const n=T.getLocalizedStrings().companyPassport.snackBar,c=o==="Completed";return a.jsxs(Va,{windowSize:l,children:[c?a.jsx(_a,{}):a.jsx(Ya,{}),a.jsxs(Ua,{windowSize:l,children:[a.jsx(qa,{isSuccess:c,children:c?n.success:n.error}),a.jsx(Aa,{children:a.jsx(Ra,{children:Ha(o)})})]}),a.jsx(Za,{onClick:r,children:a.jsx(pa,{})})]})}const le={labelWidth:new p(110,145,180),largeLabelWidth:new p(150,215,215),largeLabelDocumentWidth:new p(150,210,252),paddingBottom:new p(u[3],u[2])};function Xa(e){const l=k(),[o,r]=B.useState(!1),{companyPassport:n,commonSetUp:{businessVerification:c},common:{documents:y}}=T.getLocalizedStrings(),{fileProps:d,companyFiles:s,deleteFileStatusById:m,updateFileStatusById:h,sectionId:g,isDisabled:b,companyIncInfo:I,style:S}=e,v=le.labelWidth.value(l),j=le.largeLabelWidth.value(l),x=le.largeLabelDocumentWidth.value(l),{dateFormat:{visual:O},companyPassport:D}=T.getLocalizedStrings(),f=s.find(H=>H.documentType==="certificate_of_incorporation"),M=l==="small"?n.companyIncInfo.stateOfIncPlaceholderSmall:n.companyIncInfo.stateOfIncPlaceholder,re=l==="small"?n.companyIncInfo.typeOfIncPlaceholderSmall:n.companyIncInfo.typeOfIncPlaceholder;return a.jsxs(Ja,{style:S,children:[a.jsx(Qa,{children:n.companyIncInfo.title}),a.jsxs(Ka,{children:[a.jsx(Re,{label:{label:D.companyIncInfo.typeOfInc,width:j},isDisabled:b,creatableSingleSelectField:{name:oe(g,"typeOfInc"),placeholder:re,defaultValue:{selectedOption:I?.typeOfInc,allOptions:n.companyIncInfo.allTypesOfIncorporation}}}),a.jsx(de,{}),a.jsx(fa,{label:{label:D.companyIncInfo.stateOfInc,width:j},isDisabled:b,singleSelectField:{name:oe(g,"stateOfInc"),placeholder:M,defaultValue:{selectedOption:I?.stateOfInc,allOptions:n.companyIncInfo.allStatesOfIncorporation}}}),a.jsx(de,{}),a.jsx(ua,{isDisabled:b,label:{label:n.companyIncInfo.incDate,width:v},style:{paddingBottom:le.paddingBottom.valuePx(l)},dateField:{name:oe(g,"incDate"),placeholder:P(n.companyIncInfo.incDate),defaultValue:I?.incDate,dateFormat:O.defaultInput,maxDate:he(),minDate:za("01 Jan 1900"),autoComplete:"off"}}),a.jsx(de,{}),a.jsx(Ue,{name:oe(g,"certificateOfIncorporation"),isDisabled:b,sizeLimit:Be,deleteFileStatusById:m,updateFileStatusById:h,filesEndPoint:d.filesEndPoint,authParams:d.authParams,label:{label:c.certificateOfIncorporation,width:x},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:f,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:o,updateFilesEntity:d.updateFilesEntity,onEditFileName:d.onEditFileName,onDeleteFile:d.onDeleteFile,onFileSizeError:H=>r(H)}),a.jsx(et,{windowSize:l,isError:o,children:y.formatDocumentText10MB})]})]})}const oe=(e,l)=>`${e}.${l}`,Ja=i.div`
|
|
51
|
-
display: flex;
|
|
52
|
-
flex-direction: column;
|
|
53
|
-
padding-top: ${t.sp3};
|
|
54
|
-
padding-bottom: ${t.sp9};
|
|
55
|
-
`,Ka=i.div`
|
|
56
|
-
display: flex;
|
|
57
|
-
flex-direction: column;
|
|
58
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
59
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
60
|
-
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
61
|
-
border-radius: ${t.sp2};
|
|
62
|
-
`,Qa=i(A)`
|
|
63
|
-
color: ${e=>e.theme.colors.champion};
|
|
64
|
-
margin-bottom: ${t.sp3};
|
|
65
|
-
`,de=i.div`
|
|
66
|
-
display: flex;
|
|
67
|
-
flex: 1;
|
|
68
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
69
|
-
min-height: 1px;
|
|
70
|
-
max-height: 1px;
|
|
71
|
-
`,et=i(Ye)`
|
|
72
|
-
padding: ${t.sp1} ${t.sp4};
|
|
73
|
-
background: ${e=>e.theme.colors.grey4};
|
|
74
|
-
border-radius: ${t.sp0} ${t.sp0} ${t.sp2} ${t.sp2};
|
|
75
|
-
text-align: ${e=>e.windowSize==="small"?"initial":"right"};
|
|
76
|
-
color: ${e=>e.isError?E.important:e.theme.colors.grey1};
|
|
77
|
-
`,at=i(Fa)`
|
|
78
|
-
color: ${e=>e.theme.colors.primary};
|
|
79
|
-
margin-block-start: ${t.sp0};
|
|
80
|
-
margin-block-end: ${t.sp0};
|
|
81
|
-
padding: 0 ${t.sp3};
|
|
82
|
-
text-align: right;
|
|
83
|
-
list-style-position: inside;
|
|
84
|
-
`,tt=i.li`
|
|
85
|
-
text-decoration: ${e=>e.isCancelled?"line-through":"unset"};
|
|
86
|
-
`,lt=i(Ta)`
|
|
87
|
-
color: ${e=>e.theme.colors.grey1};
|
|
88
|
-
border-radius: ${t.sp1};
|
|
89
|
-
border: 1px solid ${e=>e.theme.colors.grey2};
|
|
90
|
-
padding: 1px 6px 1px 6px;
|
|
91
|
-
width: fit-content;
|
|
92
|
-
margin-left: auto;
|
|
93
|
-
margin-bottom: ${t.sp2};
|
|
94
|
-
`,ot=e=>{const{labels:l,style:o,listStyleType:r="disc"}=e;return a.jsx(at,{style:{...o,listStyleType:r},children:l.filter(n=>n!=null&&n.text!="").map((n,c)=>a.jsxs(tt,{isCancelled:n.status==="cancelled",children:[n.text,n.subText!=null?a.jsxs(lt,{children:["Started: ",n.subText]}):null]},`${n.text}_${c}`))})},Z={width:new p(343,580,726),paddingTopBottom:new p(u[3],u[3]),marginRight:new p(u[2],u[2]),labelMarginLeft:new p(u[3],u[4]),labelMarginRight:new p(u[3],u[4])};function ne({isDisabled:e,label:l,bullettedLabels:o,style:r}){const n=k();return o.labels.length>0?a.jsxs(it,{size:n,style:r,children:[a.jsx(_e,{isDisabled:e,label:l.label,style:{marginLeft:Z.labelMarginLeft.value(n),marginRight:Z.labelMarginRight.value(n),width:l.width??"auto"}}),a.jsx(ot,{...o,style:{maxWidth:l.width!=null?`calc(100% - ${l.width}px)`:"auto"}})]}):null}const it=i.div`
|
|
95
|
-
display: flex;
|
|
96
|
-
flex-direction: row;
|
|
97
|
-
align-items: flex-start;
|
|
98
|
-
justify-content: space-between;
|
|
99
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
100
|
-
width: ${e=>Z.width.valuePx(e.size)};
|
|
101
|
-
height: auto;
|
|
102
|
-
padding-right: ${e=>Z.marginRight.valuePx(e.size)};
|
|
103
|
-
padding-top: ${e=>Z.paddingTopBottom.valuePx(e.size)};
|
|
104
|
-
padding-bottom: ${e=>Z.paddingTopBottom.valuePx(e.size)};
|
|
105
|
-
|
|
106
|
-
:first-of-type {
|
|
107
|
-
border-top-left-radius: inherit;
|
|
108
|
-
border-top-right-radius: inherit;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
:last-of-type {
|
|
112
|
-
border-bottom-left-radius: inherit;
|
|
113
|
-
border-bottom-right-radius: inherit;
|
|
114
|
-
}
|
|
115
|
-
`,pe={labelWidth:new p(110,110,140),mediumLabelWidth:new p(140,140,160),largeLabelWidth:new p(170,170,180)},{companyPassport:$,dateFormat:{analytics:ke}}=T.getLocalizedStrings();function nt({companyViewData:e,allIndustries:l,companyInfo:o,companyAddress:r,sectionId:n,isDisabled:c,onCompanyAddressClick:y,style:d}){const s=k(),m=e.company.company.companyInfo,h=pe.labelWidth.value(s),g=pe.mediumLabelWidth.value(s),b=pe.largeLabelWidth.value(s),I=s==="small"?$.companyInfo.businessModelPlaceholderSmall:$.companyInfo.businessModelPlaceholder,S=v=>l.find(j=>j.code===v)?.name??v;return a.jsxs(rt,{style:d,children:[a.jsx(dt,{children:$.companyInfo.title}),a.jsxs(ct,{children:[a.jsx(L,{isDisabled:c,label:{label:$.companyInfo.companyName,width:b},text:{type:"text",name:U(n,"companyName"),placeholder:P($.companyInfo.companyName),defaultValue:o?.companyName,autoComplete:"new-password",options:{required:!!m.name,pattern:Te}}}),a.jsx(Y,{}),a.jsx(L,{isDisabled:c,label:{label:$.companyInfo.legalName,width:g},text:{type:"text",name:U(n,"legalName"),placeholder:P($.companyInfo.legalName),defaultValue:o?.legalName,autoComplete:"new-password",options:{required:!!m.companyLegalName,pattern:Te}}}),a.jsx(Y,{}),a.jsx(L,{isDisabled:c,label:{label:$.companyInfo.website,width:h},text:{type:"url",name:U(n,"website"),placeholder:P($.companyInfo.website),defaultValue:o?.website?.toString()??"",autoComplete:"new-password"}}),a.jsx(Y,{}),a.jsx(ma,{label:{label:$.companyInfo.industry,width:h},singleSelectField:{singleSelect:{name:U(n,"industry"),placeholder:$.companyInfo.industryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:S,isDisabled:c,showTickMark:!1},defaultValue:{selectedOption:o?.industry,allOptions:l?.map(v=>v.code)??[]}},isFunctional:!0}),a.jsx(Y,{}),a.jsx(Re,{isDisabled:c,label:{label:$.companyInfo.businessModel,width:b},creatableSingleSelectField:{name:U(n,"businessModel"),placeholder:I,defaultValue:{selectedOption:o?.businessModel,allOptions:$.companyInfo.allBusinessModels}}}),a.jsx(Y,{}),a.jsx(qe,{isDisabled:c,label:{label:$.companyInfo.address,width:h},addressValue:{placeholder:P($.companyInfo.address),address:r?.addressToCreate,onClick:()=>y("company_address")}}),a.jsx(Y,{}),a.jsx(We,{isDisabled:c,label:{label:$.companyInfo.phone,width:h},text:{name:U(n,"phone"),placeholder:P($.companyInfo.phone),defaultValue:o?.phone,autoComplete:"new-password"}}),a.jsx(Y,{}),a.jsx(ne,{label:{label:$.companyInfo.fiscalYear,width:h},bullettedLabels:{labels:[{text:st(o?.firstMonthOfFY??1)}],listStyleType:"none"}})]})]})}const st=e=>{const{fiscalYearMonths:l}=Ma(e);return`${he().month(l[0]-1).format(ke.MMMFormat)} to ${he().month(l[11]-1).format(ke.MMMFormat)}`},U=(e,l)=>`${e}.${l}`,rt=i.div`
|
|
116
|
-
display: flex;
|
|
117
|
-
flex-direction: column;
|
|
118
|
-
padding-top: ${t.sp3};
|
|
119
|
-
padding-bottom: ${t.sp9};
|
|
120
|
-
`,ct=i.div`
|
|
121
|
-
display: flex;
|
|
122
|
-
flex-direction: column;
|
|
123
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
124
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
125
|
-
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
126
|
-
border-radius: ${t.sp2};
|
|
127
|
-
`,dt=i(A)`
|
|
128
|
-
color: ${e=>e.theme.colors.champion};
|
|
129
|
-
margin-bottom: ${t.sp3};
|
|
130
|
-
`,Y=i.div`
|
|
131
|
-
display: flex;
|
|
132
|
-
flex: 1;
|
|
133
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
134
|
-
min-height: 1px;
|
|
135
|
-
max-height: 1px;
|
|
136
|
-
`,ye={labelWidth:new p(110,110,140),buttonWidth:new p(70,70)};function pt({sectionId:e,isDisabled:l,style:o,officer:r,officerAddress:n,isEmptyCompanyOfficerSection:c,onOfficerAddressClick:y}){const d=k(),s=T.getLocalizedStrings().companyPassport,m=ye.labelWidth.value(d),h=c&&(r==null||!r.firstName&&!r.lastName&&!r.phone&&!r.email&&!n),g=r?.userId==null||r?.userId==="";return a.jsxs(yt,{style:o,children:[a.jsx(Ve,{isDisabled:l,label:{label:s.companyOfficer.name,width:m},nameField:{name:me(e,"name"),placeHolder:{firstName:s.companyOfficer.firstNamePlaceholder,lastName:s.companyOfficer.lastNamePlaceholder,name:s.companyOfficer.namePlaceholder},defaultValue:{firstName:r?.firstName??"",lastName:r?.lastName??""},autoComplete:"new-password",registerOptions:{required:h!==!0},showFullNameError:!0}}),a.jsx(fe,{}),a.jsx(L,{isDisabled:g?l:"readonly",label:{label:s.companyOfficer.email,width:m},text:{type:"email",name:me(e,"email"),placeholder:P(s.companyOfficer.email),options:{required:h===!0?!1:g},defaultValue:r?.email,autoComplete:"new-password"}}),a.jsx(fe,{}),a.jsx(qe,{isDisabled:l,label:{label:s.companyInfo.address,width:m},addressValue:{placeholder:P(s.companyOfficer.address),address:n?.addressToCreate,onClick:()=>{y(r?.officerType.toLocaleLowerCase().concat("_address"))}}}),a.jsx(fe,{}),a.jsx(We,{isDisabled:l,label:{label:s.companyOfficer.phone,width:m},text:{name:me(e,"phone"),placeholder:P(s.companyOfficer.phone),defaultValue:r?.phone,autoComplete:"new-password"}})]})}function mt({companyOfficers:e,sectionId:l,style:o,isDisabled:r,onOfficerAddressClick:n}){const{setValue:c,getValues:y}=xa(),[d,s]=B.useState(-1),m=T.getLocalizedStrings().companyPassport,h=e.length,g=e.length===1&&e[0].localData?.userId==null,b=y(l),I=()=>{const x={userId:void 0,officerType:`Officer_${h+1}`,name:{firstName:"",lastName:""},email:"",phone:""};c(l,[...b,x])},S=x=>{if(e[x].localData==null||!e[x].localData?.firstName&&!e[x].localData?.lastName&&!e[x].localData?.phone&&!e[x].localData?.email&&!e[x].addressStatus?.addressToCreate){const O=b.filter((D,f)=>f!==d);c(l,O),s(-1)}else s(x)},v=()=>{s(-1)},j=()=>{const x=b.filter((O,D)=>D!==d);c(l,x),s(-1)};return a.jsxs(ht,{style:o,children:[a.jsx(xt,{children:m.companyOfficer.title}),e.map((x,O)=>{const D=x.localData,f=x.addressStatus,M=D?.userId==null||D?.userId==="";return a.jsxs(bt,{children:[(h>1||M)&&!g?a.jsx(ft,{curIndex:O,isNewUser:M,numberOfOfficers:h,deleteConfirmationIndex:d,isDisabled:r,onDeleteClick:S,onCancelClick:v,onRemoveOfficerSection:j}):null,a.jsx(pt,{sectionId:`${l}.${O}`,officer:D,officerAddress:f,isDisabled:r,isEmptyCompanyOfficerSection:g,onOfficerAddressClick:n})]},D?.officerType)}),h<=9&&!g?a.jsx(ut,{isSectionDisabled:r,onAddOfficerSection:I}):a.jsx(xe,{})]})}const ft=({curIndex:e,isNewUser:l,numberOfOfficers:o,deleteConfirmationIndex:r,isDisabled:n,onDeleteClick:c,onCancelClick:y,onRemoveOfficerSection:d})=>{const s=k(),m=T.getLocalizedStrings().companyPassport;return a.jsxs(gt,{children:[a.jsx(wt,{children:o>1?`${m.companyOfficer.officer} ${e+1}`:""}),l&&n==null?r===e?a.jsx(St,{children:a.jsxs(Ot,{children:[m.companyOfficer.deleteConfirmation,a.jsx(Ne,{label:m.cancel,onClick:y,style:{width:ye.buttonWidth.value(s),marginLeft:t.sp4,marginRight:t.sp3},size:"small",variant:"secondary"}),a.jsx(Ne,{label:m.remove,onClick:d,style:{width:ye.buttonWidth.value(s)},size:"small",variant:"danger"})]})}):a.jsx(Dt,{className:"delete-icon-wrapper",onClick:()=>c(e),children:a.jsx(Sa,{width:u[3],height:u[3],color:E.important})}):null]})},ut=({isSectionDisabled:e,onAddOfficerSection:l})=>{const o=T.getLocalizedStrings().companyPassport;return e!=null?a.jsx(xe,{}):a.jsxs(a.Fragment,{children:[a.jsxs(It,{onClick:l,children:[a.jsx($t,{}),a.jsx(jt,{children:o.companyOfficer.addOfficer})]}),a.jsx(xe,{})]})},me=(e,l)=>`${e}.${l}`,ht=i.div`
|
|
137
|
-
display: flex;
|
|
138
|
-
flex-direction: column;
|
|
139
|
-
padding-top: ${t.sp3};
|
|
140
|
-
width: 100%;
|
|
141
|
-
`,yt=i.div`
|
|
142
|
-
display: flex;
|
|
143
|
-
flex-direction: column;
|
|
144
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
145
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
146
|
-
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
147
|
-
border-radius: ${t.sp2};
|
|
148
|
-
margin-bottom: ${t.sp4};
|
|
149
|
-
`,xe=i.div`
|
|
150
|
-
padding-bottom: ${t.sp6};
|
|
151
|
-
`,xt=i(A)`
|
|
152
|
-
color: ${e=>e.theme.colors.champion};
|
|
153
|
-
margin-bottom: ${t.sp4};
|
|
154
|
-
`,bt=i.div`
|
|
155
|
-
&:hover {
|
|
156
|
-
.delete-icon-wrapper {
|
|
157
|
-
display: flex;
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
`,gt=i(A)`
|
|
161
|
-
display: flex;
|
|
162
|
-
align-items: center;
|
|
163
|
-
justify-content: space-between;
|
|
164
|
-
color: ${e=>e.theme.colors.champion};
|
|
165
|
-
margin-bottom: ${t.sp2};
|
|
166
|
-
height: 31px;
|
|
167
|
-
|
|
168
|
-
.delete-icon-wrapper {
|
|
169
|
-
display: none;
|
|
170
|
-
}
|
|
171
|
-
`,wt=i(se)``,It=i.div`
|
|
172
|
-
padding: ${t.sp3};
|
|
173
|
-
display: flex;
|
|
174
|
-
align-items: center;
|
|
175
|
-
justify-content: center;
|
|
176
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
177
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
178
|
-
border-radius: ${t.sp2};
|
|
179
|
-
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
180
|
-
color: ${e=>e.theme.colors.hero};
|
|
181
|
-
margin-bottom: ${t.sp4};
|
|
182
|
-
cursor: pointer;
|
|
183
|
-
|
|
184
|
-
&:hover {
|
|
185
|
-
svg {
|
|
186
|
-
color: ${e=>e.theme.colors.primary};
|
|
187
|
-
}
|
|
188
|
-
color: ${e=>e.theme.colors.primary};
|
|
189
|
-
border: 1px solid ${e=>e.theme.colors.primary};
|
|
190
|
-
}
|
|
191
|
-
`,$t=i(va)`
|
|
192
|
-
margin-right: ${t.sp2};
|
|
193
|
-
width: ${t.sp4};
|
|
194
|
-
height: ${t.sp4};
|
|
195
|
-
color: ${e=>e.theme.colors.grey1};
|
|
196
|
-
`,jt=i(Ca)`
|
|
197
|
-
color: inherit;
|
|
198
|
-
`,Dt=i.div`
|
|
199
|
-
width: ${t.sp4};
|
|
200
|
-
height: ${t.sp4};
|
|
201
|
-
cursor: pointer;
|
|
202
|
-
`,St=i.div`
|
|
203
|
-
display: flex;
|
|
204
|
-
`,Ot=i(se)`
|
|
205
|
-
color: ${e=>e.theme.colors.hero};
|
|
206
|
-
`,fe=i.div`
|
|
207
|
-
display: flex;
|
|
208
|
-
flex: 1;
|
|
209
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
210
|
-
min-height: 1px;
|
|
211
|
-
max-height: 1px;
|
|
212
|
-
`,Pe={labelWidth:new p(160,160,160),largeLabelWidth:new p(150,215,215)};function vt(e){const l=k(),o=ha(),[r,n]=B.useState(!1),{companyPassport:c,commonSetUp:{businessVerification:y},common:{documents:d}}=T.getLocalizedStrings(),{fileProps:s,companyFiles:m,deleteFileStatusById:h,updateFileStatusById:g,sectionId:b,isDisabled:I,companyTaxInfo:S,style:v}=e,j=Pe.labelWidth.value(l),x=Pe.largeLabelWidth.value(l),O=!Ea(o.loggedInUserRole??[]),D=m.find(f=>f.documentType==="tax_ein");return a.jsxs(Ct,{style:v,children:[a.jsx(Tt,{children:c.companyTaxInfo.title}),a.jsxs(Ft,{children:[a.jsx(L,{isDisabled:I,label:{label:c.companyTaxInfo.taxIdOrEIN,width:j},text:{type:"text",name:q(b,"taxIdOrEIN"),placeholder:c.companyTaxInfo.taxIdOrEINPlaceholder,defaultValue:O===!0?c.protectedContent:S?.taxIdOrEIN,options:{pattern:ya},autoComplete:"new-password"},protectedInfoText:O===!0?c.companyTaxInfo.adminPrivilegeRequired:void 0}),a.jsx(J,{}),a.jsx(L,{isDisabled:I,label:{label:c.companyTaxInfo.dunsNumber,width:j},text:{type:"text",name:q(b,"dunsNumber"),placeholder:c.companyTaxInfo.dunsNumberPlaceholder,defaultValue:S?.dunsNumber,options:{pattern:/^\d{9}$/},autoComplete:"new-password"}}),a.jsx(J,{}),a.jsx(L,{isDisabled:I,label:{label:c.companyTaxInfo.naicsCode,width:j},text:{type:"text",name:q(b,"naicsCode"),placeholder:c.companyTaxInfo.naicsCodePlaceholder,defaultValue:S?.naicsCode,options:{pattern:/^([2-9]{1}[0-9]{1}|[1-9]{1}[1-9]{1})\d{0,4}$/},autoComplete:"new-password"}}),a.jsx(J,{}),a.jsx(L,{isDisabled:I,label:{label:c.companyTaxInfo.sicCode,width:j},text:{type:"text",name:q(b,"sicCode"),placeholder:c.companyTaxInfo.sicCodePlaceholder,defaultValue:S?.sicCode,options:{pattern:/^\d{2,4}$/},autoComplete:"new-password"}}),a.jsx(J,{}),a.jsx(Wa,{isDisabled:I,label:{label:c.companyTaxInfo.taxesFiledYears,width:j},multiSelectField:{name:q(b,"taxesFiledYears"),placeholder:c.companyTaxInfo.taxesFiledYearsPlaceholder,defaultValue:{selectedOptions:S?.taxesFiledYears.map(f=>f.toString())??[],allOptions:Ae().map(f=>f.toString())}}}),a.jsx(J,{}),a.jsx(Ue,{name:q(b,"einDocument"),isDisabled:I,sizeLimit:Be,deleteFileStatusById:h,updateFileStatusById:g,filesEndPoint:s.filesEndPoint,authParams:s.authParams,label:{label:y.einDocument,width:x},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:D,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:r,updateFilesEntity:s.updateFilesEntity,onEditFileName:s.onEditFileName,onDeleteFile:s.onDeleteFile,onFileSizeError:f=>n(f)}),a.jsx(Nt,{windowSize:l,isError:r,children:d.formatDocumentText10MB})]})]})}const q=(e,l)=>`${e}.${l}`,Ct=i.div`
|
|
213
|
-
display: flex;
|
|
214
|
-
flex-direction: column;
|
|
215
|
-
padding-top: ${t.sp3};
|
|
216
|
-
padding-bottom: ${t.sp9};
|
|
217
|
-
`,Ft=i.div`
|
|
218
|
-
display: flex;
|
|
219
|
-
flex-direction: column;
|
|
220
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
221
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
222
|
-
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
223
|
-
border-radius: ${t.sp2};
|
|
224
|
-
`,Tt=i(A)`
|
|
225
|
-
color: ${e=>e.theme.colors.champion};
|
|
226
|
-
margin-bottom: ${t.sp3};
|
|
227
|
-
`,J=i.div`
|
|
228
|
-
display: flex;
|
|
229
|
-
flex: 1;
|
|
230
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
231
|
-
min-height: 1px;
|
|
232
|
-
max-height: 1px;
|
|
233
|
-
`,Nt=i(Ye)`
|
|
234
|
-
padding: ${t.sp1} ${t.sp4};
|
|
235
|
-
background: ${e=>e.theme.colors.grey4};
|
|
236
|
-
border-radius: ${t.sp0} ${t.sp0} ${t.sp2} ${t.sp2};
|
|
237
|
-
text-align: ${e=>e.windowSize==="small"?"initial":"right"};
|
|
238
|
-
color: ${e=>e.isError?E.important:e.theme.colors.grey1};
|
|
239
|
-
`,kt={labelWidth:new p(100,100,140)};function Pt({sectionId:e,isDisabled:l,primaryContact:o,style:r}){const n=k(),c=T.getLocalizedStrings().companyPassport,y=kt.labelWidth.value(n),d=o==null;return a.jsxs(Lt,{style:r,children:[a.jsx(Et,{children:c.primaryContact.title}),a.jsxs(zt,{children:[a.jsx(Ve,{isDisabled:l,label:{label:c.primaryContact.name,width:y},nameField:{name:Le(e,"name"),placeHolder:{firstName:c.primaryContact.firstNamePlaceholder,lastName:c.primaryContact.lastNamePlaceholder,name:c.primaryContact.namePlaceholder},defaultValue:{firstName:o?.firstName??"",lastName:o?.lastName??""},autoComplete:"new-password",registerOptions:{required:d!==!0},showFullNameError:!0}}),a.jsx(Mt,{}),a.jsx(L,{isDisabled:l,label:{label:c.primaryContact.email,width:y},text:{type:"email",name:Le(e,"email"),placeholder:P(c.primaryContact.email),defaultValue:o?.email,autoComplete:"new-password",options:{required:d!==!0}}})]})]})}const Le=(e,l)=>`${e}.${l}`,Lt=i.div`
|
|
240
|
-
display: flex;
|
|
241
|
-
flex-direction: column;
|
|
242
|
-
padding-top: ${t.sp3};
|
|
243
|
-
padding-bottom: ${t.sp9};
|
|
244
|
-
`,zt=i.div`
|
|
245
|
-
display: flex;
|
|
246
|
-
flex-direction: column;
|
|
247
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
248
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
249
|
-
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
250
|
-
border-radius: ${t.sp2};
|
|
251
|
-
`,Et=i(A)`
|
|
252
|
-
color: ${e=>e.theme.colors.champion};
|
|
253
|
-
margin-bottom: ${t.sp3};
|
|
254
|
-
`,Mt=i.div`
|
|
255
|
-
display: flex;
|
|
256
|
-
flex: 1;
|
|
257
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
258
|
-
min-height: 1px;
|
|
259
|
-
max-height: 1px;
|
|
260
|
-
`,Wt=i.div`
|
|
261
|
-
display: flex;
|
|
262
|
-
flex-direction: row;
|
|
263
|
-
justify-content: flex-end;
|
|
264
|
-
align-items: center;
|
|
265
|
-
:not(:first-of-type) {
|
|
266
|
-
margin-left: ${t.sp3};
|
|
267
|
-
}
|
|
268
|
-
`,Bt=i.div`
|
|
269
|
-
display: flex;
|
|
270
|
-
flex-direction: row;
|
|
271
|
-
justify-content: flex-end;
|
|
272
|
-
align-items: center;
|
|
273
|
-
color: ${e=>e.theme.colors.primary};
|
|
274
|
-
`,Vt=()=>a.jsx(Bt,{children:"–"}),_t=i.div`
|
|
275
|
-
padding: 6px ${t.sp2};
|
|
276
|
-
white-space: nowrap;
|
|
277
|
-
overflow: hidden;
|
|
278
|
-
text-overflow: ellipsis;
|
|
279
|
-
`,Yt=i(se)`
|
|
280
|
-
color: ${e=>e.theme.colors.primary};
|
|
281
|
-
align-items: center;
|
|
282
|
-
justify-content: flex-end;
|
|
283
|
-
display: flex;
|
|
284
|
-
padding: 0 ${t.sp3};
|
|
285
|
-
`,At=e=>{const{users:l,style:o}=e;return a.jsx(Yt,{style:o,children:l.length!==0?l.filter(r=>!!r.firstName||!!r.lastName).map(r=>a.jsxs(Wt,{children:[a.jsx(_t,{children:`${r.firstName} ${r.lastName}`}),a.jsx(Na,{name:`${r.firstName} ${r.lastName}`,size:t.sp4})]},r.userId)):a.jsx(Vt,{})})},z={width:new p(343,580,726),height:new p(u[6],u[6]),controlHeight:new p(u[6],u[6]),paddingTopBottom:new p(u[2],u[2]),marginRight:new p(u[2],u[2]),labelMarginLeft:new p(u[3],u[4]),labelMarginRight:new p(u[3],u[4]),labelMarginTop:new p(u[2],u[2])};function Rt({isDisabled:e,label:l,avatarLabels:o,style:r}){const n=k();return a.jsxs(qt,{size:n,style:r,children:[a.jsx(_e,{isDisabled:e,label:l.label,style:{marginLeft:z.labelMarginLeft.value(n),marginRight:z.labelMarginRight.value(n),marginTop:z.labelMarginTop.value(n),width:l.width??"auto"}}),a.jsx(At,{users:o.users,style:{minHeight:z.controlHeight.value(n),display:"flex",flexGrow:1,flexFlow:"row wrap",maxWidth:l.width!=null?`calc(100% - ${l.width}px)`:"auto",...o.style}})]})}const Ut=ka.memo(Rt,Oa),qt=i.div`
|
|
286
|
-
display: flex;
|
|
287
|
-
flex-direction: row;
|
|
288
|
-
align-items: flex-start;
|
|
289
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
290
|
-
width: ${e=>z.width.valuePx(e.size)};
|
|
291
|
-
min-height: ${e=>z.height.valuePx(e.size)};
|
|
292
|
-
padding-right: ${e=>z.marginRight.valuePx(e.size)};
|
|
293
|
-
padding-top: ${e=>z.paddingTopBottom.valuePx(e.size)};
|
|
294
|
-
padding-bottom: ${e=>z.paddingTopBottom.valuePx(e.size)};
|
|
295
|
-
|
|
296
|
-
:first-of-type {
|
|
297
|
-
border-top-left-radius: inherit;
|
|
298
|
-
border-top-right-radius: inherit;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
:last-of-type {
|
|
302
|
-
border-bottom-left-radius: inherit;
|
|
303
|
-
border-bottom-right-radius: inherit;
|
|
304
|
-
}
|
|
305
|
-
`,ue={labelWidth:new p(100,100,140),mediumLabelWidth:new p(140,150,160),largeLabelWidth:new p(160,180,180)};function Zt({data:e,companyInfo:l,sectionId:o,isDisabled:r,isZeniUser:n,onScheduleClick:c}){const y=k(),{companyPassport:d,dateFormat:{visual:s}}=T.getLocalizedStrings(),m=ue.labelWidth.value(y),h=ue.mediumLabelWidth.value(y),g=ue.largeLabelWidth.value(y),b=e.company.company,{controllers:I,subscriptions:S}=e,{managementInfo:v}=b,j=y==="small"?d.zeniFinanceTeam.scheduleCallPlaceholderSmall:d.zeniFinanceTeam.scheduleCallPlaceholder,x=S.filter(f=>f.plan?.plan.name!=null).map(f=>({text:f.plan?.plan.name,subText:f.subscription.subscription.startDate.format(s.MMMDCommaYYYYformat)})),O=ba(S.map(f=>f.addOns.map(M=>({text:M.addOn.name,subText:f.subscription.subscription.startDate.format(s.MMMDCommaYYYYformat)})))),D=v.receiverEmails.map(f=>({text:f}));return a.jsxs(Gt,{children:[a.jsx(Jt,{children:d.zeniFinanceTeam.title}),a.jsxs(Xt,{children:[a.jsx(Ut,{label:{label:d.zeniFinanceTeam.controller,width:h},avatarLabels:{users:I.map(f=>f.user)}}),a.jsx(ie,{}),n===!0?a.jsx(L,{isDisabled:r,label:{label:d.zeniFinanceTeam.scheduleCall,width:h},text:{type:"text",name:Ht(o,"meetingLink"),placeholder:j,defaultValue:l?.meetingLink?.toString()??"",autoComplete:"new-password",options:{pattern:ga}}}):l?.meetingLink!=null?a.jsx(wa,{label:{label:d.zeniFinanceTeam.scheduleCall,width:h},button:{buttonTitle:d.zeniFinanceTeam.schedule,onClick:()=>c(l.meetingLink)}}):null,D.length>0?a.jsxs(a.Fragment,{children:[a.jsx(ie,{}),a.jsx(ne,{label:{label:d.zeniFinanceTeam.emailUs,width:m},bullettedLabels:{labels:D,listStyleType:"none"}})]}):null,x.length>0?a.jsxs(a.Fragment,{children:[a.jsx(ie,{}),a.jsx(ne,{label:{label:d.zeniFinanceTeam.subscriptionPlans,width:g},bullettedLabels:{labels:x,listStyleType:"none"}})]}):null,O.length>0?a.jsxs(a.Fragment,{children:[a.jsx(ie,{}),a.jsx(ne,{label:{label:d.zeniFinanceTeam.addons,width:h},bullettedLabels:{labels:O,listStyleType:"none"}})]}):null]})]})}const Ht=(e,l)=>`${e}.${l}`,Gt=i.div`
|
|
306
|
-
display: flex;
|
|
307
|
-
flex-direction: column;
|
|
308
|
-
padding-top: ${t.sp3};
|
|
309
|
-
padding-bottom: ${t.sp9};
|
|
310
|
-
`,Xt=i.div`
|
|
311
|
-
display: flex;
|
|
312
|
-
flex-direction: column;
|
|
313
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
314
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
315
|
-
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
316
|
-
border-radius: ${t.sp2};
|
|
317
|
-
`,Jt=i(A)`
|
|
318
|
-
color: ${e=>e.theme.colors.champion};
|
|
319
|
-
margin-bottom: ${t.sp3};
|
|
320
|
-
`,ie=i.div`
|
|
321
|
-
display: flex;
|
|
322
|
-
flex: 1;
|
|
323
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
324
|
-
min-height: 1px;
|
|
325
|
-
max-height: 1px;
|
|
326
|
-
`,be={width:new p(343,580,726),buttonWidth:new p(85,85)},ze="companyPassportPage",ge="companyInfo",we="companyIncInfo",Ie="companyTaxInfo",$e="primaryContact",je="companyOfficer",De="zeniFinanceTeam";function yl(e){const l=k(),o=ta(),{companyPassportView:r,isZeniUser:n,filesEndPoint:c,authParams:y,allIndustries:d,isDisabled:s,isSettings:m=!1,onCompanyDetailsChanged:h,onCompanyOfficerUpdated:g,onNewCompanyOfficerAdded:b,onPrimaryContactDetailsUpdated:I,onNewCompanyOfficerRemoved:S,onSaveAll:v,onAddressClick:j,onScheduleClick:x,onBackClick:O,onResetClick:D,onEditFileName:f,updateFilesEntity:M,onDeleteFile:re,onClickMenuIcon:H}=e,{companyView:G,localData:R,deleteFileStatusById:Se,updateFileStatusById:Oe}=r,{companyFiles:K}=R,ve={authParams:y,filesEndPoint:c,onEditFileName:f,onDeleteFile:re,updateFilesEntity:M},[X,Q]=B.useState(void 0),{companyDetails:He,primaryContact:Ge,companyOfficerUpdateStatus:Xe,updateStatus:V}=R,{localData:ee,addressStatus:Je}=He,Ce=la(V.fetchState),ae=Object.values(Xe).filter(N=>N.localData!=null),W=oa({mode:"all",defaultValues:Me(R,d)});B.useEffect(()=>()=>{Q(void 0)},[]),B.useEffect(()=>{Ce==="In-Progress"&&(V.fetchState==="Completed"||V.fetchState==="Error")&&(W.reset(Me(R,d)),X!==V.fetchState&&Q(V.fetchState))},[X,W,Ce,V,R,G,d,K]);const Ke=async(N,w)=>{if(N.includes(ge)||N.includes(we)||N.includes(Ie)||N.includes(De)){const{companyInfo:C,companyIncInfo:F,companyTaxInfo:_,zeniFinanceTeam:ce}=w;h({companyInfo:C,incInfo:F,taxDetails:_,zeniFinanceTeam:ce})}else if(N.includes($e)){I(w.primaryContact);const C=w.companyOfficer.map(F=>F.userId);if(w.primaryContact.userId!=null&&C.includes(w.primaryContact.userId)){const F=C.findIndex(_=>_===w.primaryContact.userId);F>=0&&g({...w.companyOfficer[F],name:w.primaryContact.name,officerType:`Officer_${F+1}`})}}else if(N.includes(je)){const C=parseInt(N.split(".")[1]);if(C>=0)g({...w.companyOfficer[C],officerType:`Officer_${C+1}`}),w.companyOfficer[C].userId!=null&&w.companyOfficer[C].userId===w.primaryContact.userId&&I({...w.primaryContact,name:w.companyOfficer[C].name});else if(w.companyOfficer.length>ae.length){const F=w.companyOfficer[w.companyOfficer.length-1];b(F)}else{const F=w.companyOfficer.filter(_=>_.officerType!=null);if(F.length<ae.length){const _=F.map((ce,aa)=>{const Fe={...ce,officerType:`Officer_${aa+1}`};return g(Fe),Fe});F.length<ae.length&&(S(`Officer_${F.length+1}`),W.reset({companyOfficer:_}))}}}};B.useEffect(()=>{const N=W.watch((w,{name:C})=>{C!=null&&w!=null&&ia(()=>Ke(C,w))});return()=>{N.unsubscribe()}});const Qe=W.handleSubmit(N=>{X!=null&&Q(void 0),v()}),{companyPassport:te,common:{settings:ea}}=T.getLocalizedStrings();if(G==null)throw new Error("Company View is null");return a.jsxs(Kt,{children:[a.jsx(na,{title:te.title,backgroundColor:o.colors.grey4,style:{zIndex:3},onBackClick:O,showBackButton:!m,showMenuIcon:m?l==="medium-compact"||l==="small":!1,source:"CompanyPassportPage",onClickMenuIcon:H}),X!=null?a.jsx(Ga,{fetchState:X,onRemoveSnackbar:()=>Q(void 0)}):null,a.jsxs(Qt,{children:[a.jsx(el,{windowSize:l,children:m?ea.infoText.companyDetails:te.quickAccessInfo}),a.jsx(sa,{...W,children:a.jsxs("form",{id:Ee(ze),onSubmit:Qe,children:[a.jsx(nt,{sectionId:ge,companyInfo:ee?.companyInfo,companyViewData:G,companyAddress:Je,isDisabled:s,onCompanyAddressClick:j,allIndustries:d}),a.jsx(Xa,{sectionId:we,updateFileStatusById:Oe,deleteFileStatusById:Se,companyFiles:K,companyIncInfo:ee?.incInfo,fileProps:ve,isDisabled:s}),a.jsx(vt,{sectionId:Ie,updateFileStatusById:Oe,deleteFileStatusById:Se,companyFiles:K,companyTaxInfo:ee?.taxDetails,fileProps:ve,isDisabled:s}),a.jsx(Pt,{sectionId:$e,primaryContact:Ge.localData,isDisabled:s}),a.jsx(mt,{companyOfficers:ae,sectionId:je,isDisabled:s,onOfficerAddressClick:j}),a.jsx(Zt,{data:G,companyInfo:ee?.companyInfo,isDisabled:s,isZeniUser:n,sectionId:De,onScheduleClick:x})]})})]}),ra(W.formState.dirtyFields)||La(R,G,K)?a.jsx(ca,{formId:Ee(ze),primaryBtn:{label:te.save,isLoading:V.fetchState==="In-Progress",style:{width:be.buttonWidth.value(l)},isDisabled:e.isDisabled!=null},cancelBtn:{label:te.cancel,style:{width:be.buttonWidth.value(l)},onClick:()=>{W.reset(),D()}}}):null]})}const Ee=e=>`${e}_form`,Me=(e,l)=>{const{companyDetails:o,primaryContact:r,companyOfficerUpdateStatus:n}=e,c=T.getLocalizedStrings().companyPassport,y=o.localData?.incInfo.fileId!=null?[o.localData?.incInfo.fileId]:[],d=o.localData?.taxDetails.fileId!=null?[o.localData?.taxDetails.fileId]:[];return{[ge]:{...da(o.localData?.companyInfo,["meetingLink"]),businessModel:{selectedOption:o.localData?.companyInfo?.businessModel,allOptions:c.companyInfo.allBusinessModels},website:o.localData?.companyInfo.website?.toString()??"",industry:{selectedOption:o.localData?.companyInfo.industry,allOptions:l?.map(s=>s.code)},firstMonthOfFY:o.localData?.companyInfo.firstMonthOfFY},[Ie]:{...o.localData?.taxDetails,taxesFiledYears:{selectedOptions:o.localData?.taxDetails.taxesFiledYears.map(s=>s.toString())??[],allOptions:Ae().map(s=>s.toString())},einDocument:e.companyFiles.find(s=>s.documentType==="tax_ein"),fileIds:d},[we]:{typeOfInc:{selectedOption:o.localData?.incInfo?.typeOfInc,allOptions:c.companyIncInfo.allTypesOfIncorporation},stateOfInc:{selectedOption:o.localData?.incInfo?.stateOfInc,allOptions:c.companyIncInfo.allStatesOfIncorporation},incDate:o.localData?.incInfo.incDate?.toDate(),certificateOfIncorporation:e.companyFiles.find(s=>s.documentType==="certificate_of_incorporation"),fileIds:y},[$e]:{userId:r.localData?.userId,name:{firstName:r.localData?.firstName,lastName:r.localData?.lastName},email:r.localData?.email},[je]:Object.values(n).filter(s=>s.localData!=null).map(s=>{const m=s.localData;return{userId:m.userId,officerType:m.officerType,name:{firstName:m.firstName,lastName:m.lastName},email:m.email,phone:m.phone}}),[De]:{meetingLink:o.localData?.companyInfo.meetingLink?.toString()??""}}},Kt=i.div`
|
|
327
|
-
display: flex;
|
|
328
|
-
min-height: 100%;
|
|
329
|
-
flex-direction: column;
|
|
330
|
-
width: 100%;
|
|
331
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
332
|
-
`,Qt=i.div`
|
|
333
|
-
display: flex;
|
|
334
|
-
flex-wrap: wrap;
|
|
335
|
-
justify-content: center;
|
|
336
|
-
height: 100%;
|
|
337
|
-
overflow-y: auto;
|
|
338
|
-
flex-direction: column;
|
|
339
|
-
align-items: center;
|
|
340
|
-
`,el=i(se)`
|
|
341
|
-
color: ${e=>e.theme.colors.hero};
|
|
342
|
-
display: flex;
|
|
343
|
-
justify-content: center;
|
|
344
|
-
width: ${e=>be.width.valuePx(e.windowSize)};
|
|
345
|
-
margin-top: ${t.sp3};
|
|
346
|
-
margin-bottom: ${t.sp4};
|
|
347
|
-
`;export{yl as default,Ee as uniqueName};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d2 as f,aX as c,V as r,b4 as d,o as p}from"./index-B_cddanf.js";import{a}from"./sentry-CiC6rduJ.js";import"./liveblocks-DKD_-8rq.js";import"./core-CpHpZW9N.js";import"./recharts-jo6oNEJ1.js";import"./zeni-epic-state-Ce8CP8e3.js";import"./mui-vQToN2qW.js";import"./lottie-DPQlys-3.js";import"./analytics-DKo_M1pl.js";import"./lexical-DVClH-hg.js";import"./utils-CM3T2Iks.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]="79f3a802-cec4-4528-8632-7d4c80cf7c30",e._sentryDebugIdIdentifier="sentry-dbid-79f3a802-cec4-4528-8632-7d4c80cf7c30")}catch{}})();const l="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",E=({showConfetti:e})=>{const[t,o]=a.useState(e),[s,i]=f(l,e),[n]=c("ConfettiSuccess");return a.useEffect(()=>{e&&o(!0)},[e]),a.useEffect(()=>{t&&s===!1&&i(!0)},[t,s,i]),r.jsx(r.Fragment,{children:t&&s&&n!=null?r.jsx(d,{style:{position:"absolute",width:"100%",height:"100vh",top:p.sp0,left:p.sp0,zIndex:5},onComplete:()=>{i(!1),o(!1)},animationData:n,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{E as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{V as o}from"./index-B_cddanf.js";import i from"./CustomerOnboardingNoStepsPage-D1XU-7jk-U96sx-zJ.js";import e from"./CustomerOnboardingPage-DFky4iQx-DXMpG3E5.js";import"./sentry-CiC6rduJ.js";import"./liveblocks-DKD_-8rq.js";import"./core-CpHpZW9N.js";import"./recharts-jo6oNEJ1.js";import"./zeni-epic-state-Ce8CP8e3.js";import"./mui-vQToN2qW.js";import"./lottie-DPQlys-3.js";import"./analytics-DKo_M1pl.js";import"./lexical-DVClH-hg.js";import"./utils-CM3T2Iks.js";import"./PaymentAccountSetupBillingAddressSection-Dnw0APJu-4xS9nSQN.js";import"./commonTypes-ByC4Sd87-BqJ29CNI.js";import"./SetUpAccountSection-CerAAia_-BHtxUnyV.js";import"./CustomerOnboardingDetailPageSkeleton-JE_MoyoU-BqMNWAeW.js";import"./CompanyOfficerDetailsSection-CMl5cDNs-ClxHSaX5.js";import"./LabeledAddressValueField-D0Ow_UPE-D2ZZ_G49.js";import"./LabeledCountryMultiSelectField-CJud_Lwc-CMmFxHh7.js";import"./LabeledCreatableSingleSelectField-Dqt1M07c-DY3asbo7.js";import"./LabeledDocumentField-D2n9ry_0-D2DNLpw5.js";import"./LabeledMultiSelectField-DH6iG4SR-Dp-VUwax.js";import"./QBOSetupSection-CxLynYFq-BCq79mPl.js";import"./QBOConnectionDialog-DLuBxOXr-ChTwBVFO.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]="02808d64-f913-4665-bee0-2dd615f7e31b",t._sentryDebugIdIdentifier="sentry-dbid-02808d64-f913-4665-bee0-2dd615f7e31b")}catch{}})();const P=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?o.jsx(i,{...t}):o.jsx(e,{...t});export{P as default};
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import{a8 as se,V as o,ft as Ce,q as be,d as Pe,a9 as we,aO as xe,cC as ke,bA as Ie,o as i,aN as Ae,ac as Oe,aP as Ve,bm as $e,hI as ve,F as Te,eV as je,eW as oe,af as Le,y as q,al as Be,c as A}from"./index-B_cddanf.js";import{n as c}from"./mui-vQToN2qW.js";import{a as O}from"./sentry-CiC6rduJ.js";import{r as Ue,t as _e}from"./PaymentAccountSetupBillingAddressSection-Dnw0APJu-4xS9nSQN.js";import{f as ze}from"./CustomerOnboardingDetailPageSkeleton-JE_MoyoU-BqMNWAeW.js";import"./liveblocks-DKD_-8rq.js";import"./core-CpHpZW9N.js";import"./recharts-jo6oNEJ1.js";import"./zeni-epic-state-Ce8CP8e3.js";import"./lottie-DPQlys-3.js";import"./analytics-DKo_M1pl.js";import"./lexical-DVClH-hg.js";import"./utils-CM3T2Iks.js";import"./commonTypes-ByC4Sd87-BqJ29CNI.js";import"./SetUpAccountSection-CerAAia_-BHtxUnyV.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]="1f91160a-4c1f-4706-9b0b-7fc74b94933f",e._sentryDebugIdIdentifier="sentry-dbid-1f91160a-4c1f-4706-9b0b-7fc74b94933f")}catch{}})();const Q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",J={titleWidth:new q(343,580,726,826),subTitlePaddingTop:new q(A[3],A[3]),subTitlePaddingBottom:new q(A[3],A[3])},Ee=e=>`${e}_form`,De=Te.getLocalizedStrings(),Fe=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:$,googleAPIKey:v,signedInUser:b,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:B,updateCardPaymentModalState:P,handleAddCardPaymentSource:U,resetCardPaymentViewState:_,handleResetCardPaymentErrorStatuses:z,redirectToProductSuitePage:w,onUpdateCustomerView:E,...D})=>{const m=be(),F=se(),{analytics:h}=F,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:N,onEstablishConnectionClick:S,onEstablishConnectionSuccess:R,handleLogOutClick:G,onZeniLogoClick:W,onAddressEditHandler:x}=D,Z=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:V(e),values:V(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:g,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:y}=e,{customerOnboardingPage:ce,common:f}=De,{footer:ue,steps:pe}=ce,{buttons:H}=ue,ee=pe.link_payment_account,I=xe(g.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,C=je(l?.country);d={street:a[n].street??f.strings.empty,city:l?.locality??f.strings.empty,state:l?.administrativeAreaLevel1??f.strings.empty,country:C,countryCode:l?.countryCode??f.strings.empty,postalCode:l?.postalCode??f.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==C.selectedOption&&(d={...d,country:C})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};O.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&ke(()=>ge(s,a))});return()=>{t.unsubscribe()}}),O.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset(V(e),{keepDirtyValues:!1})},[r,e,I,g.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??f.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=p.cardsList.length>0,d=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function fe(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=y?.street.join("").trim(),s=y?.city,d=y?.state,l=y?.country,C=y?.postalCode!=null&&y.postalCode||t.postalCode||f.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!C}const he=async()=>{const t=await r.trigger(n),a=await r.trigger(Q);t&&a&&(ye(),j("link_payment_account"),E(me,!1,!0))};O.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset(V(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,Y,w]);const[ae,Se]=O.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Me,{windowSize:m,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:m!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(We,{children:o.jsx(Ze,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:W})})}),o.jsx(Oe,{...r,children:o.jsx(Re,{id:Ee(ie),children:o.jsxs(Ne,{children:[o.jsx(He,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(Ue,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:Q,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:N,onEstablishConnectionSuccess:R,updateCardPaymentModalState:P,cardPaymentView:p,resetCardPaymentViewState:_,cardSetupInProgress:ae,googleAPIKey:v,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx(Ve,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:m,children:o.jsx($e,{signedInUser:b,currentTenant:T,onLogOutClick:G})}),style:{width:m==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:he,label:H.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:H.submitText.replace("__action__",H.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(_e,{handleConfirmCardSetupIntent:B,updateCardPaymentModalState:P,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:U,cardPaymentView:p,stripeKey:$,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:z,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Ke=c.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
align-items: center;
|
|
5
|
-
min-width: 100% ${e=>e.theme.breakpoints.down("md")} {
|
|
6
|
-
width: 100%;
|
|
7
|
-
padding-left: ${i.sp0};
|
|
8
|
-
}
|
|
9
|
-
`,Me=c.div`
|
|
10
|
-
display: flex;
|
|
11
|
-
flex-direction: column;
|
|
12
|
-
align-items: center;
|
|
13
|
-
flex: 1;
|
|
14
|
-
width: 100%;
|
|
15
|
-
height: 100%;
|
|
16
|
-
background-image: ${e=>`url(https://storage.googleapis.com/zeni-apis.appspot.com/images/signin-background-${e.windowSize==="small"?"m":"w"}-${e.theme.mode==="dark"?"d":"l"}.svg)`};
|
|
17
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
18
|
-
background-size: inherit;
|
|
19
|
-
background-attachment: fixed;
|
|
20
|
-
background-position: ${e=>e.windowSize==="small"?"center center":"right center"};
|
|
21
|
-
background-repeat: no-repeat;
|
|
22
|
-
|
|
23
|
-
${e=>e.theme.breakpoints.down("lg")} {
|
|
24
|
-
background-size: cover;
|
|
25
|
-
}
|
|
26
|
-
`,Ne=c.div`
|
|
27
|
-
display: flex;
|
|
28
|
-
height: 100%;
|
|
29
|
-
flex-direction: column;
|
|
30
|
-
padding-bottom: ${i.sp0};
|
|
31
|
-
`,Re=c.form`
|
|
32
|
-
padding-top: ${i.sp0};
|
|
33
|
-
flex: 1;
|
|
34
|
-
`,Ge=c.div`
|
|
35
|
-
display: flex;
|
|
36
|
-
height: ${i.sp7};
|
|
37
|
-
left: ${i.sp4};
|
|
38
|
-
bottom: ${i.sp3};
|
|
39
|
-
position: fixed;
|
|
40
|
-
justify-content: center;
|
|
41
|
-
align-items: center;
|
|
42
|
-
cursor: default;
|
|
43
|
-
`,We=c.div`
|
|
44
|
-
display: flex;
|
|
45
|
-
`,Ze=c(Le)`
|
|
46
|
-
height: ${i.sp4};
|
|
47
|
-
width: 102px;
|
|
48
|
-
color: ${e=>e.theme.colors.primary};
|
|
49
|
-
cursor: pointer;
|
|
50
|
-
flex-shrink: 0;
|
|
51
|
-
margin-left: -${i.sp4};
|
|
52
|
-
`,He=c(Be)`
|
|
53
|
-
color: ${e=>e.theme.colors.hero};
|
|
54
|
-
display: flex;
|
|
55
|
-
justify-content: center;
|
|
56
|
-
width: ${e=>J.titleWidth.valuePx(e.windowSize)};
|
|
57
|
-
padding-top: ${e=>J.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
58
|
-
padding-bottom: ${e=>J.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
59
|
-
text-align: ${e=>e.windowSize==="small"?"initial":"center"};
|
|
60
|
-
width: 100%;
|
|
61
|
-
`,V=e=>({[Q]:{account:{allOptions:[],selectedOption:void 0}},[n]:ve(n,e?.subscriptionBillingAddress)[n]}),ut=e=>{const{onboardingCustomerView:u,cardPaymentView:p,signedInUser:$,currentTenant:v,isOnAddressPage:b,stripeKey:T,googleAPIKey:j,meetingUrl:L,onUpdateStep:B,onZeniLogoClick:P,handleLogOutClick:U,handleCockpitClick:_,handleCreateCardSetupIntent:z,handleConfirmCardSetupIntent:w,handleFetchPaymentSources:E,updateCardPaymentModalState:D,resetCardPaymentViewState:m,handleResetCardPaymentErrorStatuses:F,redirectToProductSuitePage:h,...K}=e,{allSteps:M,currentStep:N,fetchStatus:S}=u,R=se(),{analytics:G}=R,W={allSteps:M,isOnAddressPage:b,currentStep:N,fetchStatus:S,signedInUser:$,currentTenant:v,onUpdateStep:Z=>{B(Z)},onZeniLogoClick:P,handleLogOutClick:U,handleCockpitClick:_,redirectToProductSuitePage:h},x=S.fetchState==="In-Progress"||S.fetchState==="Not-Started";return o.jsxs(qe,{isOnAddressPage:b,children:[x?o.jsx(ze,{isNoStepsPage:!0}):o.jsx(Fe,{...W,onboardingCustomerView:u,handleCreateCardSetupIntent:z,handleConfirmCardSetupIntent:w,updateCardPaymentModalState:D,handleFetchPaymentSources:E,cardPaymentView:p,resetCardPaymentViewState:m,stripeKey:T,googleAPIKey:j,handleResetCardPaymentErrorStatuses:F,redirectToProductSuitePage:h,...K}),x?null:o.jsx(Ce,{isFooterRendered:!0,meetingUrl:L,analytics:G,productType:"onboarding"})]})},qe=c.div`
|
|
62
|
-
display: flex;
|
|
63
|
-
flex-direction: column;
|
|
64
|
-
width: ${e=>e.isOnAddressPage?"fit-content":"100%"};
|
|
65
|
-
height: 100vh;
|
|
66
|
-
`;export{ut as default};
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import{V as l,ft as tn,q as Qe,d as nn,a9 as an,cC as me,aO as Me,H as ft,aB as We,bA as on,o as re,ac as sn,c as K,aP as rn,hI as ln,g7 as cn,fu as yt,eV as Ot,F as Ye,eW as gt,y as fe,gb as ye,cP as dn,al as pn,hJ as ht,ad as St,cN as un,g9 as mn}from"./index-B_cddanf.js";import{a as m}from"./sentry-CiC6rduJ.js";import{n as P,k as wt}from"./mui-vQToN2qW.js";import{bi as j}from"./zeni-epic-state-Ce8CP8e3.js";import{r as Ct,t as fn}from"./PaymentAccountSetupBillingAddressSection-Dnw0APJu-4xS9nSQN.js";import{b as bt,f as yn,a as It}from"./CustomerOnboardingDetailPageSkeleton-JE_MoyoU-BqMNWAeW.js";import{z as gn,n as hn}from"./CompanyOfficerDetailsSection-CMl5cDNs-ClxHSaX5.js";import{t as Sn}from"./QBOSetupSection-CxLynYFq-BCq79mPl.js";import"./liveblocks-DKD_-8rq.js";import"./core-CpHpZW9N.js";import"./recharts-jo6oNEJ1.js";import"./lottie-DPQlys-3.js";import"./analytics-DKo_M1pl.js";import"./lexical-DVClH-hg.js";import"./utils-CM3T2Iks.js";import"./commonTypes-ByC4Sd87-BqJ29CNI.js";import"./SetUpAccountSection-CerAAia_-BHtxUnyV.js";import"./LabeledAddressValueField-D0Ow_UPE-D2ZZ_G49.js";import"./LabeledCountryMultiSelectField-CJud_Lwc-CMmFxHh7.js";import"./LabeledCreatableSingleSelectField-Dqt1M07c-DY3asbo7.js";import"./LabeledDocumentField-D2n9ry_0-D2DNLpw5.js";import"./LabeledMultiSelectField-DH6iG4SR-Dp-VUwax.js";import"./QBOConnectionDialog-DLuBxOXr-ChTwBVFO.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new n.Error().stack;C&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[C]="33f9d647-1777-438b-bfd8-8cc2745e0d5c",n._sentryDebugIdIdentifier="sentry-dbid-33f9d647-1777-438b-bfd8-8cc2745e0d5c")}catch{}})();const Cn=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:r,isVerificationPopupOpen:g,setIsVerificationPopupOpen:N,verifiedPhoneNumber:O,onPhoneVerified:h,...w})=>{const y=Qe(),D=n?.companyOfficers.slice(0,10).sort((I,ee)=>I.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:c}=Ye.getLocalizedStrings().customerOnboardingPage.sections,{title:v}=c,V=n?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(bn,{children:l.jsx(hn,{companyOfficerData:C,allOfficers:D??[],allNationalityCountries:r,sectionHeader:v,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:V,showInfoTooltip:y!=="small",showCompletedIcon:y==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:O,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:N,...w})})},bn=P.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
justify-content: center;
|
|
5
|
-
`,In=({allNationalityCountries:n,fileProps:C,companyDetails:r,companyIndustries:g,sectionId:N,isCompleted:O,isDisabled:h,style:w,onCompanyAddressClick:y,onRegisteredAddressClick:D})=>{const c=Qe(),{company_details:v}=Ye.getLocalizedStrings().customerOnboardingPage.sections,{title:V}=v;return l.jsx(Pn,{children:l.jsx(gn,{fileProps:C,companyDetails:r,sectionId:N,isDisabled:h,style:w,sectionHeader:V,productType:"onboarding",showInfoTooltip:c!=="small",showCompletedIcon:c==="small",isCompleted:O,allIndustries:g,allNationalityCountries:n,optionalFields:["companyLegalName","companyDescription","companyAddress","companyIndustry","typeOfIncorporation","stateOfIncorporation","countriesOfOperations","incDate","certificateOfIncorporation","ein","companyPhone","primaryContactName"],onCompanyAddressClick:y,onRegisteredAddressClick:D})})},Pn=P.div`
|
|
6
|
-
display: flex;
|
|
7
|
-
align-items: center;
|
|
8
|
-
justify-content: center;
|
|
9
|
-
`,On=P.div`
|
|
10
|
-
display: flex;
|
|
11
|
-
`,wn=P.input`
|
|
12
|
-
display: none;
|
|
13
|
-
`,xn=({isValid:n,sectionId:C="onboardingQboConnection",...r})=>{const{register:g}=dn();return l.jsxs(On,{children:[l.jsx(wn,{type:"hidden",...g(`${C}.connected`,{validate:N=>N==="true"}),value:n?"true":"false"}),l.jsx(Sn,{isValid:n,...r})]})},B="companyDetails",b="companyOfficer",X="onboardingPaymentAccountSetupSection",Pt="customerOnboardingDetailPage",f="onboardingSubscriptionBillingAddress",ge="onboardingQboConnection",he={titleWidth:new fe(343,580,726,826),topNavBarHeight:new fe(52,52,63),topNavBarLeftRightSpace:new fe(K[5],K[9],112),subTitlePaddingTop:new fe(K[3],K[3]),subTitlePaddingBottom:new fe(K[3],K[3])},kn=n=>`${n}_form`,le=Ye.getLocalizedStrings(),Nn=({fileProps:n,isRefreshingViewInBackground:C,isAdmin:r,onboardingCustomerView:g,companyTitles:N,connectedAccountProvider:O,analytics:h,cardPaymentView:w,stripeKey:y,googleAPIKey:D,handleCreateCardSetupIntent:c,handleConfirmCardSetupIntent:v,updateCardPaymentModalState:V,handleAddCardPaymentSource:I,resetCardPaymentViewState:ee,handleResetCardPaymentErrorStatuses:_e,redirectToProductSuitePage:Se,onFormErrorsChange:T,...ve})=>{const z=Qe(),Ve=m.useRef(null),Ae=m.useRef(null),Q=m.useRef(null),De=m.useRef(null),[Ce,R]=m.useState(!1),[U,q]=m.useState("next"),[F,be]=m.useState(!1),[ce,Ie]=m.useState(!1),[te,Y]=m.useState(null),{onAddressClick:ne,onCompanyDetailsChanged:Pe,onCompanyOfficerUpdated:A,onFetchLinkTokenClick:Oe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionClick:pe,onEstablishConnectionSuccess:oe,onDeleteFile:_,onEditFileName:Ze,updateFilesEntity:Ge,onGetOtp:xt,onSkipSetupClick:Te,onUpdateCustomerView:$e,updateStepHandler:H,onVerifyOtp:kt,onResendOtp:Nt,handleOnConnectClick:_t,updateQBOPopupState:vt,onUpdateStep:Fe,onAddressEditHandler:Vt}=ve,At=nn(),s=an({mode:"onSubmit",reValidateMode:"onChange",defaultValues:Ke(g,g.allNationalityCountries),values:Ke(g,g.allNationalityCountries),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),M=m.useCallback(()=>{const e=[];return(s.getFieldState(X).error!=null||s.getFieldState(f).error!=null)&&e.push("link_payment_account"),s.getFieldState(ge).error!=null&&e.push("qbo_connection"),e},[s]);m.useEffect(()=>{const e=M();T?.(e)},[M,T]),m.useEffect(()=>{const e=s.watch((t,{name:a,type:i})=>{a!=null&&(i==="change"||i==="blur")&&me(()=>{const u=M();T?.(u)})});return()=>e.unsubscribe()},[s,M,T]);const Je=e=>{tt(e)},{companyView:se,companyDetailsLocalData:d,companyOfficerLocalData:E,currentStep:o,completedSteps:Xe,saveStatus:x,allSteps:S,allRequiredStepsCompleted:Ee,paymentAccount:W,paymentAccountStatus:et,externalConnections:Le,plaidConnectionDetails:je,uiState:Be,allNationalityCountries:we,pendingSaveDetails:{companyDetails:Dt,officer:Tt},subscriptionBillingAddress:Z}=g,xe=m.useRef(""),$t=e=>{xe.current=e;const t=Object.values(g.companyOfficerLocalData).findIndex(i=>i?.isSelectedForVerification===!0)??0,a=t<0?0:t;s.clearErrors(`${b}.${a}.phone`)},tt=e=>{e!=null&&!ye(e)?s.trigger(`${b}.${G}.phone`):xt(e)},G=Object.values(E).findIndex(e=>e?.isSelectedForVerification===!0)??0,$=`Officer_${G<0?1:G+1}`,Ft=se?.companyOfficers.slice(0,10).sort((e,t)=>e.user.createTime?.isAfter(t.user.createTime)===!0?1:-1),ze=E[$]?.userId!=null?Ft?.find(e=>e.user.userId===E[$]?.userId)?.address:null,nt=E[$]?.addressStatus?.addressToCreate,ke=se?.companyAddress,at=d?.addressStatus?.addressToCreate,Re=se?.registeredAddress,ot=d?.registeredAddressStatus?.addressToCreate,{customerOnboardingPage:Et,common:p}=le,{footer:Lt,steps:jt}=Et,{buttons:st}=Lt,it=jt[o],Ue=S.length,ie=Me(x.fetchState),L=Me(o);function Bt(){return Le?.accounting[0]?.isValid??!1}const ue=()=>{const e=Object.values(je).some(u=>u.fetchStatus.fetchState==="Completed"),t=W?.providerVerificationStatus?.code?.includes("verified")??!1,a=w.cardsList.length>0,i=w.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return e&&t||!t&&!W&&a||!a&&!W&&i};function rt(){if(s.getFieldState(f).error)return!1;const e=s.getValues(f),t=Z?.street.join("").trim(),a=Z?.city,i=Z?.state,u=Z?.country,k=Z?.postalCode!=null&&Z.postalCode||e.postalCode||p.strings.empty;return!!t&&!!a&&!!i&&!!u&&!!k}const lt=Me(W?.providerVerificationStatus?.code),zt=()=>{const e=d,t=[];return e?.companyLegalName!=null&&t.push("legal_name"),e?.companyDescription!=null&&e?.companyDescription!==p.strings.empty&&t.push("company_description"),e?.addressStatus?.addressToCreate!=null&&t.push("company_address"),e?.registeredAddressStatus?.addressToCreate!=null&&t.push("registered_address"),e?.website!=null&&t.push("website"),e?.companyIndustry!=null&&e?.companyIndustry!==p.strings.empty&&t.push("industry"),e?.typeOfIncorporation!=null&&e?.typeOfIncorporation!==p.strings.empty&&t.push("type_of_incorporation"),e?.incDate!=null&&t.push("inc_date"),e?.phone!=null&&t.push("phone"),e?.primaryContactLocalData?.firstName!=null&&e?.primaryContactLocalData?.lastName!=null&&t.push("primary_contact_name"),e?.primaryContactLocalData?.email!=null&&t.push("primary_contact_email"),e?.taxIdOrEIN!=null&&t.push("tax_id_or_ein"),e?.companyFiles.find(a=>a.documentType==="certificate_of_incorporation")!=null&&t.push("certificate_of_incorporation"),e?.companyFiles.find(a=>a.documentType==="tax_ein")!=null&&t.push("ein"),{completedFields:t,status:t.length===14?"complete":t.length>0?"partially_complete":"incomplete"}},Rt=()=>{const e=E[$],t=[];return e?.firstName!=null&&e.firstName!==p.strings.empty&&t.push("first_name"),e?.lastName!=null&&e.lastName!==p.strings.empty&&t.push("last_name"),e?.birthday!=null&&t.push("dob"),e?.nationalityCountryCode!=null&&t.push("nationality"),e?.addressStatus?.addressToCreate!=null&&t.push("address"),e?.phone!=null&&e.phone!==p.strings.empty&&e.isPhoneVerified===!0&&t.push("phone"),e?.titleAtCompany!=null&&e.titleAtCompany!==p.strings.empty&&t.push("company_role"),e?.ownershipInCompany!=null&&t.push("ownership"),e?.ssn!=null&&e.ssn!==p.strings.empty&&t.push("ssn"),e?.documentTypeSelectedForVerification!=null&&t.push("document_type"),e?.fileIds!=null&&e.fileIds.length>0&&t.push("document_uploaded"),{completedFields:t,status:t.length===11?"complete":t.length>0?"partially_complete":"incomplete"}};m.useEffect(()=>{lt==="pending_manual_verification"&&W?.providerVerificationStatus?.code==="manually_verified"&&h.trackOnboardingBankAccountVerified("manual")},[h,W?.providerVerificationStatus?.code,lt]);const Ut=async(e,t)=>{if(e.includes(B))Pe?.(t[B]);else if(e.includes(b))A?.(t[b]);else if(e.includes(f)&&t[f]!=null){const a=s.getValues(`${f}`).country;let i=t[f];if(e.includes(`${f}.street`)&&t[f].street!=null){const{addressValue:u}=t[f].street,k=Ot(u?.country);i={street:t[f].street??p.strings.empty,city:u?.locality??p.strings.empty,state:u?.administrativeAreaLevel1??p.strings.empty,country:k,countryCode:u?.countryCode??p.strings.empty,postalCode:u?.postalCode??p.strings.empty,secondaryInfo:t[f].secondaryInfo,suite:t[f].suite},a.selectedOption!==k.selectedOption&&(i={...i,country:k})}else e===`${f}.country`&&a.selectedOption!=null?i={...i,countryCode:gt(a.selectedOption)}:a.selectedOption!=null&&e.includes(`${f}.street`)===!1&&(i={...i,countryCode:gt(a.selectedOption)});Vt(i)}};m.useEffect(()=>{const e=s.watch((t,{name:a})=>{a!=null&&t!=null&&me(()=>Ut(a,t))});return()=>{e.unsubscribe()}}),m.useEffect(()=>{ie==="In-Progress"&&x.fetchState==="Completed"&&(s.reset(Ke(g,we),{keepDirtyValues:!1}),L==="company_details"&&o==="link_payment_account"&&!S.includes("qbo_connection")&&!g.qboConnected&&Se())},[s,g,ie,x.fetchState,we,L,o,S,Se]),m.useEffect(()=>{Ce&&ie==="In-Progress"&&x.fetchState==="Completed"&&(Te(),h.track(ft.Event.onboardingSkipAndSave))},[ie,Ce,x.fetchState,Te]),m.useEffect(()=>{te?.shouldNavigate===!0&&ie==="In-Progress"&&x.fetchState==="Completed"&&(Y(null),H(te.fromStep,te.stepDirection,!0))},[te,ie,x.fetchState,H]),m.useLayoutEffect(()=>{L!=null&&L!==o&&(S.indexOf(L)===S.indexOf(o)-1||S.indexOf(L)===Ue-1&&S.indexOf(o)===0?U!=="next"&&q("next"):(S.indexOf(L)-1===S.indexOf(o)||S.indexOf(L)===0&&S.indexOf(o)===Ue-1)&&U!=="previous"&&q("previous"))},[S,o,L,U,Ue]);const ct=()=>{const e=E[$];return!!e?.firstName||!!e?.lastName||!!e?.email||!!e?.nationalityCountryCode||!!e?.birthday||!!e?.ownershipInCompany||!!e?.phone||!!e?.ssn||!!e?.titleAtCompany||!!e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0},qt=!We(nt!=null?j(nt):null,ze!=null?j(ze):null),Ht=!We(at!=null?j(at):null,ke!=null?j(ke):null),Mt=!We(ot!=null?j(ot):null,Re!=null?j(Re):null),Wt=s.getFieldState(B).isDirty||Ht||Mt||Dt,qe=s.getFieldState(b).isDirty&&ct()||qt||Tt,dt=s.getFieldState(`${f}`).isDirty,Ne=d?.primaryContactLocalData,Kt=()=>{H(o,"previous",!0)},Qt=()=>{const e=s.getValues(f),t={street:e.street.addressString,suite:e.suite,city:e.city,state:e.state,postalCode:e.postalCode,country:e.country.selectedOption??p.strings.empty,secondaryInfo:e.secondaryInfo};h.trackOnboardingBillingAddressSave(t)},Yt=()=>{switch(Ie(!1),o){case"link_payment_account":dt?setTimeout(()=>{const e=M();T?.(e),rt()&&dt?(Qt(),$e($,!1,!0),Y({fromStep:o,shouldNavigate:!0,stepDirection:"next"})):H(o,"next",!0)},200):H(o,"next",!0);break;case"qbo_connection":H(o,"next",!0);break;case"company_officer":if(qe){const e=pt();if(me(()=>{const t=M();T?.(t)}),e.needsOtp&&e.phoneNumber&&ye(e.phoneNumber)){const t=s.formState.errors[b]?.[G<0?0:G],a=t?.phone,i=t!=null&&Object.keys(t).some(u=>u!=="phone"&&t[u]!=null);if(a!=null&&!i){Je(e.phoneNumber);return}}e.isValid&&($e($,!1,!1),h.trackOnboardingCompanyOfficerSave(ut(),{legalName:d?.companyLegalName},Rt()),Y({fromStep:o,shouldNavigate:!0,stepDirection:"next"}))}else H(o,"next",!0);break;case"company_details":Ie(!0);{const e=!(rt()&&ue()),t=!Bt()&&S.includes("qbo_connection");if(e||t){e&&(s.trigger(`${X}`),s.trigger(`${f}`)),t&&s.trigger(ge),me(()=>{const a=M();T?.(a)}),e?Fe("link_payment_account"):t&&Fe("qbo_connection");return}}if(Wt||qe||!Ne?.email){const e=Gt(),t=qe?pt():{isValid:!0};me(()=>{const a=M();T?.(a)}),e&&t.isValid?(Ee&&(R(!0),Jt()),$e($,!Ee,!1),h.trackOnboardingCompanyDetailsSave({companyDescription:d?.companyDescription,legalName:d?.companyLegalName,industry:d?.companyIndustry??p.strings.empty,incDate:d?.incDate?.toString(),phone:d?.phone,website:d?.website?.toString(),formattedAddress:d?.addressStatus?.addressToCreate!=null?j(d?.addressStatus?.addressToCreate):void 0},zt(),{firstName:Ne?.firstName,lastName:Ne?.lastName,email:Ne?.email}),Y({fromStep:o,shouldNavigate:!0,stepDirection:"next"})):t.isValid||Fe("company_officer")}else Ee?Zt():H(o,"next",!0);break}},Zt=()=>{x.fetchState!=="In-Progress"&&(Te(),h.track(ft.Event.onboardingSkipAndSave))},pt=()=>{const e=E[$],t=e?.email??p.strings.empty,a=e?.phone??p.strings.empty,i=e?.ssn??p.strings.empty,u=e?.ownershipInCompany,k=G<0?0:G,en=!!e?.firstName&&!!e?.lastName;let J=!0,mt=!1;return t&&!en&&(s.trigger([`${b}.${k}.name.firstName`,`${b}.${k}.name.lastName`],{shouldFocus:o==="company_officer"}),J=!1),(!t&&ct()||St.test(t)===!1)&&(s.trigger(`${b}.${k}.email`,{shouldFocus:o==="company_officer"}),J=!1),a&&ye(a)===!1&&(s.trigger(`${b}.${k}.phone`,{shouldFocus:o==="company_officer"}),J=!1),a&&ye(a)===!0&&O==="unit"&&(xe.current!==""&&a===xe.current||(mt=!0,s.setError(`${b}.${k}.phone`,{type:"custom",message:le.commonSetUp.businessVerification.phoneValidationError},{shouldFocus:o==="company_officer"}),J=!1)),u!=null&&u>100&&(s.trigger(`${b}.${k}.ownership`,{shouldFocus:o==="company_officer"}),J=!1),i&&mn.test(i)===!1&&(s.trigger(`${b}.${k}.ssn`,{shouldFocus:o==="company_officer"}),J=!1),{isValid:J,needsOtp:mt,phoneNumber:a}},Gt=()=>{const e=d?.website?.toString()??p.strings.empty,t=d?.phone??p.strings.empty,a=d?.taxIdOrEIN??p.strings.empty,i=d?.primaryContactLocalData?.email??p.strings.empty;let u=!0;return e&&ht.test(e)===!1&&(s.trigger(`${B}.companyWebsite`,{shouldFocus:o==="company_details"}),u=!1),ht.lastIndex=0,t&&ye(t)===!1&&(s.trigger(`${B}.companyPhone`,{shouldFocus:o==="company_details"}),u=!1),(!i||St.test(i)===!1)&&(s.trigger(`${B}.primaryContactEmail`,{shouldFocus:o==="company_details"}),u=!1),a&&un.test(a)===!1&&(s.trigger(`${B}.companyTaxId`,{shouldFocus:o==="company_details"}),u=!1),u},ut=()=>{const e=E[$];return{email:e?.email??p.strings.empty,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?j(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification}},Jt=()=>{const e=d?.primaryContactLocalData;h.trackBusinessVerificationSave(ut(),{companyDescription:d?.companyDescription,legalName:d?.companyLegalName,phone:d?.phone,website:d?.website?.toString(),industry:d?.companyIndustry??p.strings.empty,formattedAddress:d?.addressStatus?.addressToCreate!=null?j(d?.addressStatus?.addressToCreate):void 0},{firstName:e?.firstName,lastName:e?.lastName,email:e?.email},"onboarding")},[He,Xt]=m.useState(!1);return l.jsxs(Vn,{children:[l.jsxs(An,{windowSize:z,children:[S.indexOf(o)>=0?l.jsx(on,{title:it.sectionTitle,showBackButton:!1,backgroundColor:At.colors.grey4,style:{zIndex:4},showLeftSection:z!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:re.sp0,paddingBottom:re.sp0},source:"CustomerOnboardingDetailPage"}):l.jsx(Dn,{windowSize:z,children:l.jsx($n,{windowSize:z,children:l.jsx(Tn,{})})}),l.jsx(sn,{...s,children:l.jsx(En,{id:kn(Pt),children:S.map(e=>{let t;t=l.jsx(Ct,{connectedAccountProvider:O,paymentAccount:W,accountStatus:et,plaidConnectionDetails:je,sectionId:X,hasError:s.getFieldState(X).error!=null||ce&&!ue(),isValid:ue(),analytics:h,onFetchLinkTokenClick:Oe,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,cardPaymentView:w,resetCardPaymentViewState:ee,updateCardPaymentModalState:V,cardSetupInProgress:He,subscriptionBillingAddressSectionId:f});let a=Ve;switch(e){case"link_payment_account":t=l.jsx(Ct,{connectedAccountProvider:O,paymentAccount:W,accountStatus:et,plaidConnectionDetails:je,subscriptionBillingAddressSectionId:f,sectionId:X,hasError:s.getFieldState(X).error!=null||ce&&!ue(),isValid:ue(),analytics:h,onFetchLinkTokenClick:Oe,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,updateCardPaymentModalState:V,cardPaymentView:w,resetCardPaymentViewState:ee,cardSetupInProgress:He,googleAPIKey:D,subscriptionBillingAddress:Z});break;case"qbo_connection":t=l.jsx(xn,{sectionId:ge,hasError:s.getFieldState(ge).error!=null,isAdmin:r,isValid:Le?.accounting[0]?.isValid??!1,companyName:se?.company.company.companyInfo.companyLegalName,saveConnectionState:Le?.saveConnectionState,isQBOPopupOpen:Be.isQBOPopupOpen,handleOnConnectClick:_t,updateQBOPopupState:vt}),a=Ae;break;case"company_officer":t=l.jsx(Cn,{companyOfficerLocalData:E,allNationalityCountries:we,isCompleted:Xe.includes("company_officer"),companyView:se,sectionId:b,filesEndPoint:n.filesEndPoint,authParams:n.authParams,isRefreshingViewInBackground:C,companyTitles:N,isVerificationPopupOpen:F,setIsVerificationPopupOpen:be,onGetOtp:Je,onVerifyOtp:kt,onResendOtp:Nt,onOfficerAddressClick:i=>ne(i,ze?.addressId),updateFilesEntity:Ge,onEditFileName:Ze,onDeleteFile:_,verifiedPhoneNumber:xe.current,onPhoneVerified:$t,isDisabled:x.fetchState==="In-Progress"?"readonly":void 0,triggerError:tt}),a=De;break;case"company_details":t=l.jsx(In,{fileProps:{...n,onEditFileName:Ze,onDeleteFile:_,updateFilesEntity:Ge},allNationalityCountries:we,sectionId:B,companyIndustries:g.companyIndustries,companyDetails:d,isDisabled:x.fetchState==="In-Progress"?"readonly":void 0,isCompleted:Xe.includes("company_details"),onCompanyAddressClick:i=>{const u=se?.company.company.companyOnboardingInfo.subscriptionBillingAddressId;ke?.addressId==null&&u!=null?ne(i,u):ne(i,ke?.addressId)},onRegisteredAddressClick:i=>ne(i,Re?.addressId)}),a=Q;break}return l.jsxs(Fn,{ref:a,isVisible:o===e,includeAnimation:o==="link_payment_account"||o==="qbo_connection"?!Be.isQBOPopupOpen:o==="company_officer"?!F:!0,paddingBottom:e==="company_details"||e==="company_officer"?K[6]:K[0],stepAnimationDirection:U,children:[S.indexOf(o)>=0?l.jsx(Ln,{windowSize:z,children:it.sectionSubTitle}):null,t]},e)})})}),l.jsx(rn,{formId:`${Pt}`,style:{width:z==="small"?"auto":"100%",paddingTop:re.sp2,paddingBottom:re.sp2},primaryBtn:{onClick:Yt,label:o==="company_details"?p.footer.submit:st.next,isLoading:x.fetchState==="In-Progress",isDisabled:x.fetchState==="In-Progress"},cancelBtn:{onClick:Kt,label:st.back,isDisabled:x.fetchState==="In-Progress"||S.indexOf(o)===0},containerStyle:{width:"auto",justifyContent:"center"},showCancel:!0})]}),l.jsx(fn,{handleConfirmCardSetupIntent:v,updateCardPaymentModalState:V,handleCreateCardSetupIntent:c,handleAddCardPaymentSource:I,cardPaymentView:w,stripeKey:y,isCardPaymentOpen:Be.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:_e,cardSetupInProgress:He,setCardSetupInProgress:Xt})]})},_n=wt`
|
|
14
|
-
from {
|
|
15
|
-
transform: translateY(100%);
|
|
16
|
-
opacity: 0;
|
|
17
|
-
}
|
|
18
|
-
to {
|
|
19
|
-
transform: translateY(0);
|
|
20
|
-
opacity: 1;
|
|
21
|
-
}
|
|
22
|
-
`,vn=wt`
|
|
23
|
-
from {
|
|
24
|
-
transform: translateY(-100%);
|
|
25
|
-
opacity: 0;
|
|
26
|
-
}
|
|
27
|
-
to {
|
|
28
|
-
transform: translateY(0);
|
|
29
|
-
opacity: 1;
|
|
30
|
-
}
|
|
31
|
-
`,Vn=P.div`
|
|
32
|
-
display: flex;
|
|
33
|
-
flex-direction: column;
|
|
34
|
-
align-items: center;
|
|
35
|
-
min-width: calc(100% - ${It}px);
|
|
36
|
-
padding-left: ${It}px;
|
|
37
|
-
flex: 1;
|
|
38
|
-
|
|
39
|
-
${n=>n.theme.breakpoints.down("md")} {
|
|
40
|
-
width: 100%;
|
|
41
|
-
padding-left: ${re.sp0};
|
|
42
|
-
}
|
|
43
|
-
`,An=P.div`
|
|
44
|
-
display: flex;
|
|
45
|
-
flex-direction: column;
|
|
46
|
-
align-items: center;
|
|
47
|
-
flex: 1;
|
|
48
|
-
width: 100%;
|
|
49
|
-
min-height: 100vh;
|
|
50
|
-
background-image: ${n=>`url(https://storage.googleapis.com/zeni-apis.appspot.com/images/signin-background-${n.windowSize==="small"?"m":"w"}-${n.theme.mode==="dark"?"d":"l"}.svg)`};
|
|
51
|
-
background-color: ${n=>n.theme.colors.grey4};
|
|
52
|
-
background-size: inherit;
|
|
53
|
-
background-attachment: fixed;
|
|
54
|
-
background-position: ${n=>n.windowSize==="small"?"center center":"right center"};
|
|
55
|
-
background-repeat: no-repeat;
|
|
56
|
-
|
|
57
|
-
${n=>n.theme.breakpoints.down("lg")} {
|
|
58
|
-
background-size: cover;
|
|
59
|
-
}
|
|
60
|
-
`,Dn=P.div`
|
|
61
|
-
display: flex;
|
|
62
|
-
flex-direction: column;
|
|
63
|
-
align-items: center;
|
|
64
|
-
text-align: center;
|
|
65
|
-
width: ${n=>`calc(100% - ${he.topNavBarLeftRightSpace.valuePx(n.windowSize)})`};
|
|
66
|
-
`,Tn=P.div``,$n=P.div`
|
|
67
|
-
display: flex;
|
|
68
|
-
align-items: center;
|
|
69
|
-
justify-content: space-between;
|
|
70
|
-
width: 100%;
|
|
71
|
-
min-height: ${n=>he.topNavBarHeight.valuePx(n.windowSize)};
|
|
72
|
-
`,Fn=P.div`
|
|
73
|
-
min-height: 100%;
|
|
74
|
-
display: ${n=>n.isVisible?"flex":"none"};
|
|
75
|
-
flex-direction: column;
|
|
76
|
-
padding-bottom: ${n=>n.paddingBottom+"px"};
|
|
77
|
-
animation-name: ${n=>n.stepAnimationDirection==="next"?_n:vn};
|
|
78
|
-
${n=>n.includeAnimation?`
|
|
79
|
-
animation-duration: 0.6s;
|
|
80
|
-
animation-delay: 0s;
|
|
81
|
-
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
82
|
-
animation-fill-mode: both;
|
|
83
|
-
`:null}
|
|
84
|
-
`,En=P.form`
|
|
85
|
-
padding-top: ${re.sp0};
|
|
86
|
-
flex: 1;
|
|
87
|
-
`,Ln=P(pn)`
|
|
88
|
-
color: ${n=>n.theme.colors.hero};
|
|
89
|
-
display: flex;
|
|
90
|
-
justify-content: center;
|
|
91
|
-
width: ${n=>he.titleWidth.valuePx(n.windowSize)};
|
|
92
|
-
padding-top: ${n=>he.subTitlePaddingTop.valuePx(n.windowSize)};
|
|
93
|
-
padding-bottom: ${n=>he.subTitlePaddingBottom.valuePx(n.windowSize)};
|
|
94
|
-
text-align: ${n=>n.windowSize==="small"?"initial":"center"};
|
|
95
|
-
width: 100%;
|
|
96
|
-
white-space: pre-line;
|
|
97
|
-
`,Ke=(n,C)=>{const{companyDetailsLocalData:r,companyOfficerLocalData:g,companyView:N}=n,O=le.commonSetUp.businessVerification,h=le.companyPassport,w=N?.companyOfficers!=null&&N?.companyOfficers.length>0;return{[B]:{companyDescription:r?.companyDescription??le.common.strings.empty,ein:r?.companyFiles.find(y=>y.documentType==="tax_ein"),companyId:r?.companyId,syncToken:r?.syncToken,companyLegalName:r?.companyLegalName,companyWebsite:r?.website?.toString()??le.common.strings.empty,companyAddress:r?.addressStatus?.addressToCreate,registeredAddress:r?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:r?.companyIndustry,allOptions:n.companyIndustries.map(y=>y.code)},companyPhone:r?.phone,companyTaxId:r?.taxIdOrEIN,primaryContactName:{firstName:r?.primaryContactLocalData?.firstName,lastName:r?.primaryContactLocalData?.lastName},primaryContactEmail:r?.primaryContactLocalData?.email,primaryContactUserId:r?.primaryContactLocalData?.userId,primaryContactSyncToken:r?.primaryContactLocalData?.syncToken,fileIds:r?.companyFiles.map(y=>y.fileId)??[],certificateOfIncorporation:r?.companyFiles.find(y=>y.documentType==="certificate_of_incorporation"),incDate:r?.incDate?.toDate(),typeOfIncorporation:{selectedOption:r?.typeOfIncorporation,allOptions:h.companyIncInfo.allTypesOfIncorporation}},[b]:Object.values(g).map((y,D)=>{const c=y,v=cn(c?.documentTypeSelectedForVerification);return{userId:c?.userId,officerType:c?.officerType??`Officer_${D+1}`,name:{firstName:c?.firstName,lastName:c?.lastName},email:c?.email,fileIds:c?.fileIds??[],dob:c?.birthday?.toDate(),nationalityCountryCode:Ot(c?.nationalityCountryCode,C.map(V=>V.countryCode)),ssn:c?.ssn,role:{selectedOption:c?.titleAtCompany,allOptions:O.allTypesOfRoles},phone:c?.phone,ownership:c?.ownershipInCompany,officerAddress:c?.addressStatus?.addressToCreate,selectDocument:{front:yt(!0,c?.userFiles??[],v),back:yt(!1,c?.userFiles??[],v),selectDocumentType:v},isSelectedForVerification:!w&&D===0?!0:c?.isSelectedForVerification??!1,userVerificationStatus:c?.userVerificationStatus,syncToken:c?.syncToken,isPhoneVerified:c?.isPhoneVerified,otpChallenge:c?.otpChallenge}}),[X]:{account:{allOptions:[],selectedOption:void 0}},[f]:ln(f,n?.subscriptionBillingAddress)[f],[ge]:{connected:n.externalConnections?.accounting[0]?.isValid??!1}}},ca=n=>{const{onboardingCustomerView:C,cardPaymentView:r,signedInUser:g,currentTenant:N,isOnAddressPage:O,stripeKey:h,googleAPIKey:w,onUpdateStep:y,onZeniLogoClick:D,handleLogOutClick:c,handleCockpitClick:v,meetingUrl:V,analytics:I,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:_e,handleFetchPaymentSources:Se,updateCardPaymentModalState:T,resetCardPaymentViewState:ve,handleResetCardPaymentErrorStatuses:z,redirectToProductSuitePage:Ve,...Ae}=n,{allSteps:Q,completedSteps:De,halfCompletedSteps:Ce,currentStep:R,fetchStatus:U}=C,q=m.useRef(R),F=m.useRef(Q),[be,ce]=m.useState(!1),[Ie,te]=m.useState([]),Y={allSteps:Q,isOnAddressPage:O,completedSteps:De,halfCompletedSteps:Ce,errorSteps:Ie,currentStep:R,fetchStatus:U,signedInUser:g,currentTenant:N,onUpdateStep:A=>{y(A)},onZeniLogoClick:D,handleLogOutClick:c,handleCockpitClick:v,setIsStepClicked:ce};m.useEffect(()=>{if(q.current!==R){const A=q.current;be===!0&&(I?.trackOnboardingCurrentStep(R,A),ce(!1)),q.current=R}},[R,be,I]),m.useEffect(()=>{Q.length!==F.current.length&&(F.current=Q)},[Q]);const ne=(A,Oe,de)=>{const ae=F.current.length,pe=F.current.indexOf(A);switch(Oe){case"next":{const oe=(pe+1)%ae,_=F.current[oe];q.current=_,y(_),de===!0?I.trackOnboardingNext(A,_):I.trackOnboardingCurrentStep(_,A);break}case"previous":{const oe=(pe+ae-1)%ae,_=F.current[oe];q.current=_,y(_),de===!0?I.trackOnboardingBack(A,_):I.trackOnboardingCurrentStep(_,A);break}}},Pe=U.fetchState==="In-Progress"||U.fetchState==="Not-Started";return l.jsx(jn,{isOnAddressPage:O,children:O?l.jsx(bt,{...Y}):l.jsxs(Bn,{children:[l.jsx(bt,{...Y}),Pe?l.jsx(yn,{isNoStepsPage:!1}):l.jsx(Nn,{onboardingCustomerView:C,analytics:I,updateStepHandler:ne,onUpdateStep:y,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:_e,updateCardPaymentModalState:T,handleFetchPaymentSources:Se,cardPaymentView:r,resetCardPaymentViewState:ve,stripeKey:h,googleAPIKey:w,handleResetCardPaymentErrorStatuses:z,redirectToProductSuitePage:Ve,onFormErrorsChange:te,...Ae}),Pe?null:l.jsx(tn,{isFooterRendered:!0,meetingUrl:V,analytics:I,productType:"onboarding"})]})})},jn=P.div`
|
|
98
|
-
display: flex;
|
|
99
|
-
flex-direction: column;
|
|
100
|
-
width: ${n=>n.isOnAddressPage?"fit-content":"100%"};
|
|
101
|
-
height: 100vh;
|
|
102
|
-
`,Bn=P.div`
|
|
103
|
-
display: flex;
|
|
104
|
-
flex-direction: column;
|
|
105
|
-
width: 100%;
|
|
106
|
-
height: 100vh;
|
|
107
|
-
`;export{ca as default};
|