@zeniai/web-cockpit-ui 1.15.30-qa → 1.15.31-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-CxpLuJpQ-JKcW_L_F.js +21 -0
- package/dist/assets/{AIPerformancePage-DncCC-Dz-BOvGHscI.js → AIPerformancePage-BtDuOBey-R_FrOwFb.js} +104 -104
- package/dist/assets/AccountInfoPage-DkpBGfrR-CwURNe8d.js +18 -0
- package/dist/assets/{AccountInfoPageContent-D-dwMWkI-D88W2OaR.js → AccountInfoPageContent-BLF92_vF-BcSKCd1r.js} +18 -18
- package/dist/assets/AccountLockedInfoModal-AsMkXu1I-DpSC039N.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-BL7C23h8-DzmiVaut.js → AccountReconDetailsDrawerPage-CkaBrm5K-DMOtTL8X.js} +12 -12
- package/dist/assets/AccountRow-aEmcYP8T-BckNDPBQ.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-BqyCa3EH-BhL0cBgw.js → AccountsPromoCardStack-C0At5pn8-DZihjHYv.js} +26 -26
- package/dist/assets/AddAddressForCardDrawer-CbjThbsA-Djr5aTMV.js +6 -0
- package/dist/assets/{AddToWalletPage-tRVFR3Rw-C5ubbZea.js → AddToWalletPage-CMJwUbgf-rFPYYVSy.js} +47 -47
- package/dist/assets/{AgingReportsPage-BO9qovKL-CdlQDQIv.js → AgingReportsPage-B_BSfude-DWyamJwj.js} +15 -15
- package/dist/assets/{AllUserItems-C5uzbqu0-Dz7hSnjr.js → AllUserItems-CGlWa60t-EoZjozXY.js} +11 -11
- package/dist/assets/{ApAgingDetailPage-Dw4d844_-BkAKurnC.js → ApAgingDetailPage-DT3vkmLG-BsDDXbrZ.js} +4 -4
- package/dist/assets/AppBasePage-CDy7wPlv-CsB4iu-c.js +71 -0
- package/dist/assets/{AppDrawerContent-C5KqoZ6_-D_png9qE.js → AppDrawerContent-CEsXm_i6-DCe9idAB.js} +4 -4
- package/dist/assets/{ApprovalRulesSettingsPage-nEW4hufu-BCL2xSkm.js → ApprovalRulesSettingsPage-CB2_4-2f-JTvT_FnG.js} +6 -6
- package/dist/assets/{ArAgingChart-2eGhMrCs-EqBo0h4i.js → ArAgingChart-qxhWsIQb-D_1Ue9xU.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-CE_nDD48-BIHfiXjf.js → ArAgingDetailPage-BbzQryp_-Babiy5ST.js} +4 -4
- package/dist/assets/{AttachmentView-DdX3DEyN-Bw2PxRrG.js → AttachmentView-duTVxc9g-BoSNnqkS.js} +4 -4
- package/dist/assets/{BankAccountSection-Db8KCDjh-iTFbb6-_.js → BankAccountSection-CAwAf9xK-BTGyBjUJ.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-DLKyK-pN-Cdd5qBMX.js → BankAccountWarningSection-CaDnP9_--BOTeyp6n.js} +11 -11
- package/dist/assets/{BankConnectionsSettingsPage-BcMQdf1D-DfqGvpXs.js → BankConnectionsSettingsPage-CDV7O8cl-CQv6ub4_.js} +10 -10
- package/dist/assets/{BillDetailPage-BOoE3r9n-BIPuOuQe.js → BillDetailPage-DJxh2CIc-BeHpC_ZG.js} +13 -13
- package/dist/assets/{BillPayApprovalRuleDetailPage-C-M8i0tF-B9YYzCOC.js → BillPayApprovalRuleDetailPage-B2ZPbqtr-CXCcZzHB.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-cqq9M7pi-BVbvcx0Z.js → BillPayApprovalRulesPage-MM7v8ZMx-B1_OO9dS.js} +15 -15
- package/dist/assets/{BillPayPromoPage-CHu-sh9I-B_sxrL9M.js → BillPayPromoPage-JK-VOx4W-BEeCN8sy.js} +8 -8
- package/dist/assets/{BillPaySetUpPage-ICbZgQZR-CfoTEl08.js → BillPaySetUpPage-h0uoCWMl-D8aqE5Rg.js} +2 -2
- package/dist/assets/BillingSettingsPage-gJG9OxD6-Cdnv1hFG.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-Cr-JmUCA-Ccv-NbDw.js → BillsBulkReviewDrawerPage-CPPDFsZt-C0sV8yKV.js} +1 -1
- package/dist/assets/{BoxItem-ChtGcSH1-MoZYQOAh.js → BoxItem-CYe_gTmA-rmtQXiBP.js} +1 -1
- package/dist/assets/BusinessVerificationPage-Dos8Bnvb-EV3QIoHL.js +138 -0
- package/dist/assets/{CardNumberSubText-Dxhe-tx2-TLAx16j3.js → CardNumberSubText-CFDhtij8-BmUW8oI1.js} +3 -3
- package/dist/assets/{CashbackDetailPage-BTR9tfZP-Jo7Dpa8J.js → CashbackDetailPage-BBGGzKh7-Bts6uMDO.js} +13 -13
- package/dist/assets/{ChargeCardDetailPage-D_dF0Nv_-C7o20zm-.js → ChargeCardDetailPage-BQhago53-D_FFt-oF.js} +18 -18
- package/dist/assets/{ChargeCardListPage-wA3_NOPD-DOl_739p.js → ChargeCardListPage-B0E-C3RH-CrU64eoy.js} +23 -23
- package/dist/assets/{ChargeCardListTable-8Bgd9bzh-HEXHQyum.js → ChargeCardListTable-ByGv0xWl-rSJFMbd2.js} +46 -46
- package/dist/assets/{ChargeCardPaymentHistoryPage-mcW9jr2k-BjrB9BAc.js → ChargeCardPaymentHistoryPage-LCY9rFqO-CkY1nhYn.js} +12 -12
- package/dist/assets/ChargeCardPromoPage-CKEnOseD-DuGq7XTO.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-BxAJ2HVU-BX-4Vim4.js → ChargeCardSetupPage-BHv2VOdc-Bv0dAghh.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-CZzDSv5y-BXWMC8ei.js → ChargeCardStatementsPage-UpRXyPTS-DcNMglcu.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-iPcp79Wu-CA2AafB8.js → CheckDepositDrawerPage-0zbTQ3Fa-Edy7R6vj.js} +21 -21
- package/dist/assets/{CollapsableReportTable-Ck29YUyD-pECWNLmO.js → CollapsableReportTable-DlYIKSlQ-COjE28P7.js} +93 -93
- package/dist/assets/CompanyOfficerDetailsSection-Ck0xqZ0d-C5sOytCr.js +260 -0
- package/dist/assets/{CompanyPassportCard-CCfVNfP0-CrPt14U3.js → CompanyPassportCard-DeVPuuje-B4Kq9zLA.js} +3 -3
- package/dist/assets/CompanyPassportPage-F_GUET9a-DWgtD9ML.js +574 -0
- package/dist/assets/{CompleteProfile-C0Qk6P6p-C3tZC3ME.js → CompleteProfile-Y6HwKtpz-CsUQDLc6.js} +2 -2
- package/dist/assets/ConfettiBurst-BGE3Okwr-B_KCfg_0.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-fIa3khF_.js → ConstrainedInnerElement-BeIpAPjB-Dx2Q69aJ.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CmnpkgTu-DFILJK0S.js → CreateOrEditVendorPage-BlZe6gmh-DxGvfsZR.js} +16 -16
- package/dist/assets/{CreditCardPaymentDrawerPage-wPiHCF7z-DO8qxsK-.js → CreditCardPaymentDrawerPage-flPmyCaF-D3mVRIQk.js} +11 -11
- package/dist/assets/{CurrencySelectField-CxIflyKX-BkVKHW7P.js → CurrencySelectField-RiKAivD8-Dz6NASLd.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-CE5B6BET-BSoJNJvi.js → CustomerOnboardingActivationPage-B7dLMk4g-D_eaYsMZ.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-BHPDhC3d-BBqvBSFY.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton--jL1SUOo-CBYeHto3.js → CustomerOnboardingDetailPageSkeleton-AWsst0XH-Df3wynLD.js} +14 -14
- package/dist/assets/CustomerOnboardingNoStepsPage-Bqid4-rH-CmXil69t.js +66 -0
- package/dist/assets/CustomerOnboardingPage-B5LrMzZS-Bw_YjaWD.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-IUm6QKOQ-7Xb_cC54.js → CustomerOnboardingProductSuitePage-DqgoBLWp-D2XUuLJm.js} +6 -6
- package/dist/assets/{Dashboard-CeBbTIiJ-CjYF6swU.js → Dashboard-D0KlujCx-D0HvooTT.js} +66 -66
- package/dist/assets/{DashboardReportPage-DVIwO5-L-Jzf6CQjM.js → DashboardReportPage-bxKyMsG7-Bb1y4PVD.js} +13 -13
- package/dist/assets/DashboardSidebarBackgroundAnimation-Ch0OiH1g-CbEVCb1f.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-B7ErTe-9-IiBwcqn_.js → DepositAccTransactionItem-BdZVCAx--BEQtPnX0.js} +6 -6
- package/dist/assets/{DepositAccTransactionListPage-Czm5uOxb-CsvUWB2Z.js → DepositAccTransactionListPage-LU0QMdSV-Bfh4B_mk.js} +6 -6
- package/dist/assets/{DomesticWireDetailsPage-B3Cib987-Bpr9YIbH.js → DomesticWireDetailsPage-CFt5GgZ1-Co98r5Ek.js} +1 -1
- package/dist/assets/{DownloadOverlay-CS_4lZDV-Bj-tFxKl.js → DownloadOverlay-CH_bA3On-bfSkm5Nl.js} +11 -11
- package/dist/assets/{DrawerPage-CrCkJ_bE-4OdrvmR8.js → DrawerPage-Cpdp-IFb-BRc12KLa.js} +14 -14
- package/dist/assets/EditPeoplePage-BYnuNojX-B1GcGpQ9.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-DisSqLai-DgqcVW3v.js → EditReimbursementDetailPage-DnyyPZ26-CeObB7v0.js} +67 -67
- package/dist/assets/EntityDetailPage-DSfZZ1JW-Dd0uW0uD.js +18 -0
- package/dist/assets/{EntitySummarySection-CmVlq7pY-ClR4v434.js → EntitySummarySection-BFpgAYAM-D1hJybsA.js} +8 -8
- package/dist/assets/{ExpenseAutomationOverviewPage-DuWbC5EZ-MQAQvJgp.js → ExpenseAutomationOverviewPage-YjOVm_Bw-p-cnIw4N.js} +56 -56
- package/dist/assets/ExpenseAutomationPage-DlhH-R-e-C1M6QNQ4.js +1700 -0
- package/dist/assets/{ExpressPayPage-DZHOM942-C3TqtMLa.js → ExpressPayPage-CKqPEfbR-CGYA64IG.js} +14 -14
- package/dist/assets/{FeaturePreviewPage-DHomR4Oi-BUxEkmDY.js → FeaturePreviewPage-Cs1Y3nP0-IoYZsFaa.js} +2 -2
- package/dist/assets/{FollowStepsSection-C8Zv_X5E-CbGu5Ubj.js → FollowStepsSection-BCyL8Jdr-B2UM5UTK.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-BFR_WZdE-DGzcSSRg.js → GlobalReviewListPage-CBQFcVHd-Cv9-dFGG.js} +16 -16
- package/dist/assets/{InformationCardStack-C39QsHiY-BFHNROWc.js → InformationCardStack-nFMetrAy-CQVo7xoK.js} +6 -6
- package/dist/assets/{InsightsCardStack-Bi2tusdE-tu5bOLaK.js → InsightsCardStack-CEMeGJXy-CBEUbPAA.js} +7 -7
- package/dist/assets/InsightsSection-BYiN2xB7-DRSyBaKY.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-Bj9lE3dy-BoquOG18.js → IntegrationsSettingsPage-BQ7g3a3K-BolFhxmH.js} +3 -3
- package/dist/assets/{InternationalWireSwiftDetailsPage-HPxS_eP2-CXu6WZDB.js → InternationalWireSwiftDetailsPage-BHRYsZgm-D9-8cqjd.js} +20 -20
- package/dist/assets/InternationalWireVerificationPage-tJbVtzQP-CBXNZ9Tt.js +292 -0
- package/dist/assets/{InviteFormPage-DyUgmNt6-DbKce1qR.js → InviteFormPage-BVXte8w8-LmKOVXja.js} +23 -23
- package/dist/assets/{InvitePageListView-PbTTJA74-Bz3RohnK.js → InvitePageListView-DFPyLLrA-8Qu-82aZ.js} +55 -55
- package/dist/assets/InvitePeoplePage-B-uxjkke-hqYTwKtm.js +12 -0
- package/dist/assets/InvoiceUploadSection-B9q7nIs0-DaXZuZIR.js +140 -0
- package/dist/assets/{IssueChargeCardPage-WeFAdE9k-BwCdMfjt.js → IssueChargeCardPage-BuLj1bOl-CrhI2RvS.js} +19 -19
- package/dist/assets/{LabeledAddressValue-BEiVNwJh-B1AetA9A.js → LabeledAddressValue-D2t8ti-C-DZj4ysSt.js} +2 -2
- package/dist/assets/LabeledAddressValueField-DMcor_I8-1VjKhx0I.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-B6w2HGJK-UqsSfRFN.js +16 -0
- package/dist/assets/{LabeledCreatableSingleSelectField-B-KMzhH--DUvTQCE0.js → LabeledCreatableSingleSelectField-DHNAX5Pu-BPCw1so2.js} +13 -17
- package/dist/assets/LabeledDocumentField-Bx1u7vv_-CXDoMBrK.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-BBS4da2b-DZkQmKIJ.js +59 -0
- package/dist/assets/{LabeledText-B1BxC4mo-Cud6m7nr.js → LabeledText-zjKn4Cw--KApo6LBw.js} +5 -5
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-D0OTplnZ-DV_bhuhP.js → LabeledUserSingleSelectWithSubtitlesField-CIofqRT6-DSUwJJwR.js} +18 -18
- package/dist/assets/{LabeledZeniRolesDropDownField-DruyoV6I-DsPwqNC4.js → LabeledZeniRolesDropDownField-DiBtAWQ3-CBaCEhEP.js} +38 -38
- package/dist/assets/{LinkJETransactionPage-_GJ-x5FQ-CpZcMkUO.js → LinkJETransactionPage-D66bzDh_-CkE3r5Fj.js} +14 -14
- package/dist/assets/{LockCardPage-BiembyjL-o0APbzNc.js → LockCardPage-B1g2TZWL-BB9OEQ3a.js} +23 -23
- package/dist/assets/{LowBalancePopup-DF0W3ZsB-BL8lxWid.js → LowBalancePopup-DbtHeVY--C1kZvBgV.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-X1pXkZYT-BwbjH03_.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BDl8k_bB-CowCmii0.js +1 -0
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-BohPD43K-C9uNU_-f.js → MagicLinkInternationalWireDetailsPage-Q4lIsHtG-Cz_o6Fdm.js} +1 -1
- package/dist/assets/MagicLinkSuccessPage-BkxuITX--Dm_WsIEN.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-Dlvzbcxc-DASQrA7S.js → MagicLinkTitleSection-CqkZ9wOf-Bw_OwXxB.js} +4 -4
- package/dist/assets/{MailingDetailsSection-BT5P_beR-B4cpXc_i.js → MailingDetailsSection-DRFGCM2W-BZiRRBi6.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-BSErzm4Y-C-MWTdNj.js → MyBankConnectionsSettingsPage-CE2ZqHBJ-BgvQaaTM.js} +9 -9
- package/dist/assets/{MyPendingActivationChargeCardListPage-CC02lTyz-BJnd3ofq.js → MyPendingActivationChargeCardListPage-BffxXDZg-ByY1n8i6.js} +2 -2
- package/dist/assets/MyProfileSettingsPage-DrsAlesY-hN8LUcXX.js +85 -0
- package/dist/assets/{NavBarWithPicker-BsrNGnWt-BlQqabt1.js → NavBarWithPicker-C4VfP_Kw-CBhRZ97T.js} +5 -5
- package/dist/assets/{NavigationArrow-BXIVh8h9-D7IH5yMo.js → NavigationArrow-DCCxx6H7-W7U95qs4.js} +7 -7
- package/dist/assets/{NavigationDots-CqAMUVd8-BXhLjOxS.js → NavigationDots-tWCw6Bpk-CuIUDxge.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-BJ5efhOX-ClQiHLq9.js → NewGlobalMerchantPage-UIA8zAjd-D8vToc6n.js} +36 -36
- package/dist/assets/{NoDataChart-YIESVuNz-DpSXAqlW.js → NoDataChart-Bvetk9za-0wt6JdBt.js} +2 -2
- package/dist/assets/NoDataTable-9xF1_3XS-DsLBD4Qa.js +8 -0
- package/dist/assets/{NotFoundPage-DsvOs3ie-C-4MxVNW.js → NotFoundPage-CdH-3upl-C_fcZJin.js} +5 -5
- package/dist/assets/{NotificationSettingsPage-DVfgPnm5-BvgqO3jt.js → NotificationSettingsPage-DP2gGIz1-CLjjU0Sc.js} +17 -17
- package/dist/assets/{NotificationsListConfig-DpYbR8ec-DqDCfeTP.js → NotificationsListConfig-DG-DH2Aj-CKXowXh2.js} +1 -1
- package/dist/assets/{NotificationsPage-DvWc70qe-VWTqaRJg.js → NotificationsPage-CgFMmR2X-Be5cEQ7m.js} +24 -24
- package/dist/assets/{OpExByVendorPage-H76M8qaf-BQH2QQSj.js → OpExByVendorPage-eUvIAWzt-PZY_Xas_.js} +20 -20
- package/dist/assets/OverlayContainerPage-D4QU0p4o-3r3Bw7Lg.js +11 -0
- package/dist/assets/{PandLWithForecastPage-sw9N690f-DXwOGKkt.js → PandLWithForecastPage-8S06Nyi5-BhQGG0da.js} +11 -11
- package/dist/assets/PaymentAccountSetupBillingAddressSection-DQtrANhI-9ZSRDZH6.js +107 -0
- package/dist/assets/PeoplePage-D1BLHtO0-sla4AS_t.js +675 -0
- package/dist/assets/{Preview-CTKmuGb_.js → Preview-CU8d2zan.js} +1 -1
- package/dist/assets/{ProductsCarousel-BcFZaXQq-CAcJ2P5M.js → ProductsCarousel-BKSXWnFR-DXZOy7zR.js} +5 -5
- package/dist/assets/{PromoBaseCards-BglIl0tN-Buak4qY9.js → PromoBaseCards-BYT9nEJT-CqAOmcFY.js} +17 -17
- package/dist/assets/{QBOConnectionDialog-D9BGyyB3-C_3987E6.js → QBOConnectionDialog-C2-omQMZ-zbiv02JV.js} +3 -3
- package/dist/assets/{QBOSetupSection-C6L-OXzd-C71uj0xQ.js → QBOSetupSection-lgv5wVlg-y58Hyzd-.js} +16 -16
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-tKu15I_o-BFCP9Tbv.js → ReimbursementApprovalRuleDetailPage-CbJViS3x-D3aK08AA.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-r2WRV6kv-C9GzIbw-.js → ReimbursementApprovalRulesPage-BuNt-Bmb-C78e8kMC.js} +8 -8
- package/dist/assets/{ReimbursementDetailPage-jJxS8CSo-DjnZk067.js → ReimbursementDetailPage-CK3-Jqkd-CgZiOEYV.js} +8 -8
- package/dist/assets/{ReimbursementPromoPage-CrKB_OxS-3EkO-wL1.js → ReimbursementPromoPage-fptOAJna-IPM14XMn.js} +20 -20
- package/dist/assets/{ReimbursementSetUpPage-COWnzuHW-CLMx95-b.js → ReimbursementSetUpPage-CidrpT2g-Ln_h8FTr.js} +12 -12
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-jpGSx2Pg-_Bcfji9w.js → ReimbursementsBulkReviewDrawerPage-Cy_Hediw-DgBEVXGU.js} +1 -1
- package/dist/assets/{ReloadCard-Dl1P55OC-zZUvCa72.js → ReloadCard-C81rGzOp-DJ3imZKo.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-CPU5qvuC-2zZIaHx7.js → ReportTableViewSelector-neRSjrhV-Ren0yuJI.js} +9 -9
- package/dist/assets/{ReportsPage-FhO_9i3v-DNezkReN.js → ReportsPage-BhzQVaer-_PFG_SDT.js} +5 -5
- package/dist/assets/{RevenueChart-Bju5kT8K-oXD-rW-y.js → RevenueChart-x7uTbFlm-De__t5uZ.js} +18 -18
- package/dist/assets/{ReviewDetailsPage-CaEI-TGi-BctO-qMF.js → ReviewDetailsPage-jXZCylzg-CxWQeENN.js} +52 -52
- package/dist/assets/{ReviewOverlay-l69rpwr7-CL2MzHR0.js → ReviewOverlay-nlm2HnGw-CrtXVWUE.js} +18 -18
- package/dist/assets/RoleWithToolTip-C29QOzxS-Flc5rF91.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BRsO23kh-Bd6jJjXE.js → ScheduleDetailsFixedAssetsPage-CkPzofLN-DIX9LFTM.js} +8 -8
- package/dist/assets/ScheduleDetailsPage-BSZefKOh-8kI1Do_y.js +37 -0
- package/dist/assets/{ScheduleSequenceTable-CeHDyMVV-BDB0daT6.js → ScheduleSequenceTable-BW5M7Zfq-BxUxwc-r.js} +42 -42
- package/dist/assets/{ScreenRoutes-BQy3VYdc.js → ScreenRoutes-CLhWgWVO.js} +1 -1
- package/dist/assets/{SetUpAccountSection-rRjmVlU7-DwMfeFsK.js → SetUpAccountSection-C703iFL6-CB7BMbY7.js} +5 -5
- package/dist/assets/SignIn-D9K5FklU-DoHIITb_.js +491 -0
- package/dist/assets/SignInScreen-BUCf8qGW.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-B452IhbL-DeBmV72o.js → SpendManagementListViewPage-CBNtC74m-BtgixD4n.js} +12 -12
- package/dist/assets/{SpendManagementPerTabPage-BDYtqf0E-DyNuQ-pi.js → SpendManagementPerTabPage-D_sa7WRd-BkE5ihPf.js} +23 -23
- package/dist/assets/{SpendManagementSection-BBotB3Xj-CCF7KJv2.js → SpendManagementSection-DpZUTV6m-Dxy1NGgK.js} +25 -25
- package/dist/assets/{StatementItem-hqxspUme-sh_LlOTp.js → StatementItem-DvdSsb8I-Yc2t3LwG.js} +6 -6
- package/dist/assets/{StatementsPage-CL35o_9R-ReR2nu-n.js → StatementsPage-73jGj5P2-39XE15IE.js} +1 -1
- package/dist/assets/{StatusSwitcher-LSy5NlOs-B-twulWz.js → StatusSwitcher-hKYgwNLC-CdIzFF5N.js} +2 -2
- package/dist/assets/{SubTabSwitcher-BB80NFhP-CfbWDFoA.js → SubTabSwitcher-aeDd9xiF-cMszftZd.js} +2 -2
- package/dist/assets/{SummaryCard-wJqTtNFt-C_twlvBD.js → SummaryCard-CK8Gxbiu-D9gdCQ60.js} +1 -1
- package/dist/assets/TaskManagementPage-D2Ooq8DR-BCLu8T25.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-B1jJf76U-DhK9j_RI.js → TimeRangeSwitcher-DEqlZxa6-CbVp5G_Z.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-CTyaOUPX-CbY24_cZ.js → TimeframeSwitcher-BppC6giF-B4vl7lp6.js} +6 -6
- package/dist/assets/TimeframeSwitcherWithToggle-CbX9ElMN-CKuHpWeL.js +31 -0
- package/dist/assets/{TopExCard-D-0SNihe-DbAMEJsc.js → TopExCard-Cy6tPVSx-DoueUq-S.js} +6 -6
- package/dist/assets/{TopExDetailPage-2Wo3VpBY-CQB6lP8u.js → TopExDetailPage-Rtrcdkcp-Bee2kIbH.js} +11 -11
- package/dist/assets/{TransactionActivityLogPage-Bh3D2NmZ-D3qvKicV.js → TransactionActivityLogPage-DbwSsjPJ-Duhd9ppW.js} +15 -15
- package/dist/assets/TransactionDetailPage-D-vXAAB7-K9QSYBJd.js +903 -0
- package/dist/assets/{TransactionList-DUgCrZWV-BvVKtqdG.js → TransactionList-BruCNjQg-Bs3Zye0k.js} +16 -16
- package/dist/assets/{TransactionListBig-BXR8xSqt-DaiA8bG9.js → TransactionListBig-bp7q3prH-DtAaFzgB.js} +13 -13
- package/dist/assets/TransactionListPage-ZfJsaVb8-DDRcg9yh.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-D0ZIWPbx-Cn6y3WJt.js → TransactionVendorDetailPage-CldkuO2--BwneqCS_.js} +15 -15
- package/dist/assets/{TransferDrawerPage-BP4KhD5c-BrSTdfTz.js → TransferDrawerPage-DswS6KZf-lfQEHAd_.js} +35 -35
- package/dist/assets/{TreasuryOverviewPage-CrYY5MJP-C0AmvEQV.js → TreasuryOverviewPage-DWo7iRpO-DwVZc_ol.js} +15 -15
- package/dist/assets/{TreasuryPromoPage-DZ4Kyqzq-D_pEn2EG.js → TreasuryPromoPage-DQxCF3-4-CSmOO24g.js} +131 -131
- package/dist/assets/{TreasuryStatementsPage-BaId882i-D75gB9l5.js → TreasuryStatementsPage-CYkPtmaT-DN6XWXk4.js} +2 -2
- package/dist/assets/{TreasuryTaxLetterPage-BD36dset-gxrB031E.js → TreasuryTaxLetterPage-DH3su_rX-KVvmjWUc.js} +2 -2
- package/dist/assets/{TrendChart-CS2cE4wE-9GYHRUaO.js → TrendChart-BMHDaOeh-Buv1h9ol.js} +3 -3
- package/dist/assets/{TrendWithTransactions-BNti0lYr-DivQSKL6.js → TrendWithTransactions-DDLrmIrt-fNUGa6rL.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-BsRepV5l-DlPkehZf.js → UncategorizedAccountsMappingPage-3SW8Gj0Z-BU7ZjTMQ.js} +12 -12
- package/dist/assets/{UnitIntegrationPage-DqzH4Opa-SO4FcuGi.js → UnitIntegrationPage-DPMy8dXP-BZ-cXQsX.js} +7 -7
- package/dist/assets/{UploadAdditionalDocumentOverlay-BIzKt99W-Th7W6jYz.js → UploadAdditionalDocumentOverlay-BHpT2al--BnkxVa5e.js} +1 -1
- package/dist/assets/Vendor2FAPopup-C6gEOhUv-evnz1t4i.js +1 -0
- package/dist/assets/VendorACHDetailsPage-LNCcubjL-C8VaJhNx.js +1 -0
- package/dist/assets/{VendorDetailPage-C9YSL-3_-BF0fdd2j.js → VendorDetailPage-BC1FhaQA-CueuZtdN.js} +12 -12
- package/dist/assets/{VendorDomesticWireDetailsPage-CqnTEv1M-CgJRLwZn.js → VendorDomesticWireDetailsPage-CLudahOt-Y_vODi9v.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-CmnR7Dwc-DZxsZ_RS.js → VendorFiling1099EditablePage-DYyPOA8D-CMg58Qh3.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-CAjuo6H2-BffNSToW.js → VendorFirstReviewPage-Cpmk7rDk-DktpXCT6.js} +8 -8
- package/dist/assets/{VendorInternationalWireDetailsPage-Ca1voldE-BbjAc52w.js → VendorInternationalWireDetailsPage-CWAWq6kq-vjVbUdxz.js} +9 -9
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CUtums8t-ChJiB8Jl.js +1 -0
- package/dist/assets/{VendorsAccountsSection-BY-jWDwa-60HtC92w.js → VendorsAccountsSection-CGQ35Mhp-Bs7nzLpL.js} +2 -2
- package/dist/assets/{VerifyDevice-DSN3CxFh-da41a_-g.js → VerifyDevice-CfMJW1Vh-pAakXHUa.js} +9 -9
- package/dist/assets/{VideoPlayer-BzBvO4D1-CGFIyDTJ.js → VideoPlayer-BNBpjXJk-CNvH9RBW.js} +2 -2
- package/dist/assets/{VideoPopup-BB6qYshg-ZG_r-hRa.js → VideoPopup-BF6lmB7l-BYaaNsYn.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-B4NIhdau-Bru4kwPQ.js → WarningsDrawerPage-Crj70lnR-KEtM2APc.js} +3 -3
- package/dist/assets/{ZeniAccountDetailPage-CbMnZZXn-DLFDNJ9i.js → ZeniAccountDetailPage-CaA6m3tQ-CEYZpiUC.js} +10 -10
- package/dist/assets/{ZeniAccountListViewPage-DuuiC_LT-jT3VVTcG.js → ZeniAccountListViewPage-x_51gDs1-Avk4qZ_6.js} +9 -9
- package/dist/assets/ZeniAccountNavBarPieces-Csr24dri-DksQYhl9.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-Bce5rHc6-m6-ECwyb.js → ZeniAccountPromoPage-lxKBk2r5-B5zalg2W.js} +13 -13
- package/dist/assets/{ZeniAccountSetupPage-Cwr7kLE1-DplcqBsj.js → ZeniAccountSetupPage-DUI4-2Zw-DRlq62qF.js} +3 -3
- package/dist/assets/{ZeniCopyright-CPV8cCJj-D08CfMJu.js → ZeniCopyright-DxEZ4DiK-hTA8S1dS.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-CSJnweYQ-bsaYWF1B.js → ZeniTransferAmountSlider-4Nq4Sm9J-DVwizo2l.js} +11 -11
- package/dist/assets/{add-to-wallet-DgdBD8_G-Bh5GmIs8.js → add-to-wallet-DgdBD8_G-DYxovDvY.js} +1 -1
- package/dist/assets/{analytics-C7qRceeD.js → analytics-Cmcqa01V.js} +1 -1
- package/dist/assets/{analyticsHelper-CeIe3crh-AsfAm_i9.js → analyticsHelper-CL-t3Y2i-BWhNt6sH.js} +1 -1
- package/dist/assets/analyticsHelper-DVKjUmRh.js +1 -0
- package/dist/assets/{arrow-south-east-round-PEovUgvH-DKJtOEDh.js → arrow-south-east-round-PEovUgvH-Cg10bY7L.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-BtLYBoTe.js → auto-transfer-rule-mbafm5D3-BzGzQRiq.js} +1 -1
- package/dist/assets/{chartTypes-Cpjk7Uyr-Cx7FiySP.js → chartTypes-B3501CSI-EaJM1gmS.js} +1 -1
- package/dist/assets/{commonDimensions-BiY7_JPE-DCs4Mvgg.js → commonDimensions-YcBBlmYP-Djn7MvQY.js} +1 -1
- package/dist/assets/{constants-BSSpHQLd.js → constants-CO0CvGHR.js} +1 -1
- package/dist/assets/{core-BdfL-uia.js → core-MmJvanAX.js} +1 -1
- package/dist/assets/{dash.all.min-BHbNWZhu.js → dash.all.min-BtkViWW9.js} +1 -1
- package/dist/assets/{detailCommon-C7usWt5l-BPTKb5an.js → detailCommon-C19MYPnq-K0CC_UYn.js} +2 -2
- package/dist/assets/downloadPdf-DPAqxw6u-DNPeICgY.js +1 -0
- package/dist/assets/{empty-B_wp4jbR.js → empty-B8yNMhy_.js} +1 -1
- package/dist/assets/{empty-BfoY8avI.js → empty-wbHL4fCk.js} +1 -1
- package/dist/assets/epic-cC-V8fqP.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-CTA3oEEm.js → gift-box-Cmt9OgIZ-mKGEn6_z.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-B-BNuWuf.js → graphic-no-data-l-DU4J8fDt-DL4eASZx.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BKSa_BmO.js → graphic-no-data-net-burn-l-CzmycA0m-CPdXbVAf.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-BspGwKvx.js → handshake-BPg58FML-D9DqrV5o.js} +1 -1
- package/dist/assets/{index-DQGwrG6i.js → index-B2COPa4J.js} +1 -1
- package/dist/assets/{index-97wdo8qZ.js → index-BALzBmnK.js} +1 -1
- package/dist/assets/{index-CLP97b5b.js → index-BMz5TN4Z.js} +1 -1
- package/dist/assets/{index-2U9XpSIT.js → index-BZrvYCMV.js} +1 -1
- package/dist/assets/{index-BE47hrTe.js → index-Bj85L4uf.js} +1 -1
- package/dist/assets/{index-Blb3rESX.js → index-BmeBEa4W.js} +1 -1
- package/dist/assets/{index-Bkm6Mxfx.js → index-DK3PYuee.js} +4083 -4077
- package/dist/assets/{lexical-CNiclLj0.js → lexical-DyUba00B.js} +1 -1
- package/dist/assets/{liveblocks-Lf8LVeH9.js → liveblocks-DzWLGwR5.js} +1 -1
- package/dist/assets/{lottie-BAIk2ri4.js → lottie-C8IpdMqp.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-D2u9MDI--B6CSGc2J.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-COWbEMKO-DeIvL42p.js → mapSectionWithAcOnlyToTreeNode-BDWD3x8r-BZO45bNY.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-Blr3egSm-BptZuVYf.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-3Hd8QHr2-BTUA7CSo.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-D-LTfKnD-DSTIJ2iA.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-mmJVrGj0-DKkBp9K3.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CffU-RPP-Dqp5HT1g.js} +1 -1
- package/dist/assets/{mui-Dg-yyLd1.js → mui-CgqbPqeT.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-C9V7NZCx.js → page-detail-CWX5S47F-CWr90kJa.js} +1 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-DRCw2iu0.js +4 -0
- package/dist/assets/{radio-default-CiSgisfh-7Dm34YkL.js → radio-default-CiSgisfh-BEZqUVYK.js} +1 -1
- package/dist/assets/{react-afxvtM8P.js → react-BE0WbgXK.js} +2 -2
- package/dist/assets/{react-BYCJSJzc.js → react-BWJsSx2R.js} +2 -2
- package/dist/assets/{react-XQWanSnz.js → react-BgXIf4f3.js} +1 -1
- package/dist/assets/{react-CmD2oDdV.js → react-C4LlJL88.js} +1 -1
- package/dist/assets/{react-CLIsPthr.js → react-CMcqnen6.js} +1 -1
- package/dist/assets/{react-CK1-HLiI.js → react-COyNmpZ3.js} +1 -1
- package/dist/assets/{react-CXimFM-A.js → react-DsUgK5BV.js} +1 -1
- package/dist/assets/{react-RbEMA7cG.js → react-DzUY3cKk.js} +1 -1
- package/dist/assets/{recharts-DVyIhUUu.js → recharts-CcfvjpA4.js} +1 -1
- package/dist/assets/{sentry-nVlxguQq.js → sentry-DS5py-mq.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-DoCKBSgZ.js → shield-DOlUxcFf-BF58Ag0p.js} +1 -1
- package/dist/assets/toCOABalancesWithID-D35Fk0m2-B_xF911W.js +1 -0
- package/dist/assets/toChartData-DzatRnt8-DoRfMwGl.js +1 -0
- package/dist/assets/{uploadAttachment-B3eC-lyz-geS_kP_o.js → uploadAttachment-Bq8dk-Sm-D_5FZVYa.js} +18 -18
- package/dist/assets/{uploadReceipts-Dge0cNF1-CY10Jpnu.js → uploadReceipts-Dge0cNF1-v2Zp1kxY.js} +1 -1
- package/dist/assets/{url-3XfBQAPr.js → url-B1m04Aj9.js} +1 -1
- package/dist/assets/{url-A_ZszWlu.js → url-rEq3bn1J.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-BmH9C_mp.js → useLongPress-GCK2COYQ-BbRZopJb.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-iPZVfl3G.js → usp-line-BBd1wKwW-C_HT3NYA.js} +1 -1
- package/dist/assets/{utils-Bn_xI0qf.js → utils-C5WTobSB.js} +1 -1
- package/dist/assets/{zeni-epic-state-DwXlACp-.js → zeni-epic-state-QRf7TPA6.js} +18 -18
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-BR3rG--e-kSCtv-NB.js +0 -21
- package/dist/assets/AccountInfoPage-CD5N14l8-Cj9mMftg.js +0 -18
- package/dist/assets/AccountLockedInfoModal-Bu3jEa0r-B0qvTV9d.js +0 -59
- package/dist/assets/AccountRow-B5Gqqqtn-CIBZjEoF.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-BwmafnJT-Bmncy62v.js +0 -6
- package/dist/assets/AppBasePage-BMHvSY21-DvkLzmdG.js +0 -71
- package/dist/assets/BillingSettingsPage-DYdJ7J5w-Dpj9oE-s.js +0 -44
- package/dist/assets/BusinessVerificationPage-CyDHfWqO-DZAPmAGn.js +0 -138
- package/dist/assets/ChargeCardPromoPage-BPyHy6jq-BKhW8ZTA.js +0 -222
- package/dist/assets/CompanyOfficerDetailsSection-CEpMwx3h-CtZ35yMq.js +0 -331
- package/dist/assets/CompanyPassportPage-S00SGN0f-daLbEDp8.js +0 -417
- package/dist/assets/ConfettiBurst-BFSc4yf1-Cmp5Smtr.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-CyY14sjC-CpRK_yh3.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-DtAEP0LR-Cj2h9iOe.js +0 -66
- package/dist/assets/CustomerOnboardingPage-8fLLsJWV-CvrWaaS9.js +0 -107
- package/dist/assets/DashboardSidebarBackgroundAnimation-CntzllmW-4doWKP65.js +0 -12
- package/dist/assets/EditPeoplePage-CbH2FQwr-Dwdc6XuJ.js +0 -55
- package/dist/assets/EntityDetailPage-CPfVH0Qx-Bbq5VGjF.js +0 -18
- package/dist/assets/ExpenseAutomationPage-DBW9Urqw-CdNZdY6H.js +0 -1794
- package/dist/assets/InsightsSection-CKYv2Mnk-DfsYpI8T.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-0DjZSpXZ-BZd7iT9O.js +0 -65
- package/dist/assets/InvitePeoplePage-CD1AM3Js-Coy9qSK8.js +0 -12
- package/dist/assets/InvoiceUploadSection-DPN2hpHj-Le_Nue4w.js +0 -140
- package/dist/assets/LabeledAddressValueField-CeyT4xDd-CsZJNIxr.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-9wqNy7sL-DXrYHBBD.js +0 -16
- package/dist/assets/LabeledCountryMultiSelectField-S16_1kXP-x8HeIlI2.js +0 -237
- package/dist/assets/LabeledDocumentField-9m7Nhuth-BMfR8g3v.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-B_jJYbeK-CTMDj_vU.js +0 -59
- package/dist/assets/MagicLinkACHDetailsPage-p0Nwa4g8-D5bMLjso.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-B_wnHSrq-CpgplOKq.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-RJUcSgy8-CVLM8P-e.js +0 -31
- package/dist/assets/MyProfileSettingsPage-BM5j8vuZ-DC0wslST.js +0 -85
- package/dist/assets/NoDataTable-CHeZXDKw-D3EaccW5.js +0 -8
- package/dist/assets/OverlayContainerPage-D4QU0p4o-DOJMQyvQ.js +0 -11
- package/dist/assets/PaymentAccountSetupBillingAddressSection-D_rfYltd-BxAOPNlU.js +0 -107
- package/dist/assets/PeoplePage-D0ePO3d9-Bb5tMyL7.js +0 -727
- package/dist/assets/RoleWithToolTip-C4vCwcT8-C5FDPwWf.js +0 -22
- package/dist/assets/ScheduleDetailsPage-pKJSKheu-3-MzjHkZ.js +0 -37
- package/dist/assets/SignIn-zX3S7vuf-CwAOg_w9.js +0 -491
- package/dist/assets/SignInScreen-CpVpLRgx.js +0 -1
- package/dist/assets/TaskManagementPage-CnB395ci-lpQsi4e6.js +0 -508
- package/dist/assets/TimeframeSwitcherWithToggle-D48PqfUX-D2nr0MDh.js +0 -31
- package/dist/assets/TransactionDetailPage-NZEjiM1T-0AsyLNKc.js +0 -903
- package/dist/assets/TransactionListPage-BhY1YX8v-Shvm7Elv.js +0 -35
- package/dist/assets/Vendor2FAPopup-BzQXTs0l-C90qWU_9.js +0 -1
- package/dist/assets/VendorACHDetailsPage-D1DvwT9e-CTgO1cQ9.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-B17rmnsI-__uNZA7s.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-CLNviNEx-CPY4QhCF.js +0 -14
- package/dist/assets/analyticsHelper-C4Qu-lAN.js +0 -1
- package/dist/assets/commonTypes-B1ylXa_P-Cc0VFSjp.js +0 -1
- package/dist/assets/downloadPdf-DRVFJQsk-BTOjeNSN.js +0 -1
- package/dist/assets/epic-BcpbmT-B.js +0 -2
- package/dist/assets/helper-Bwr_8pRi-tqcy2Ple.js +0 -223
- package/dist/assets/mapLoadingInProgressToTreeNode-DkvfU-AQ-BcQQ_ng7.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-Csr6iLbE-BBc-Z9-B.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DWah9nq--hXoargkz.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-KUx30-z6-Bx1KZ8Tg.js +0 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-BcWH15GY.js +0 -3
- package/dist/assets/toCOABalancesWithID-BOdn6oVS-D2aQDAmk.js +0 -1
- package/dist/assets/toChartData--znXzhow-CuORq1Y-.js +0 -1
|
@@ -1,417 +0,0 @@
|
|
|
1
|
-
import{J as _,d as St,aR as jt,a9 as Dt,cH as vt,F as E,V as t,bD as Ft,ad as Ct,cI as Tt,aS as Nt,y as x,cJ as ot,cK as kt,x as Lt,o as a,am as xe,cL as lt,cM as P,cN as Re,cO as W,cP as ee,p as N,cQ as ge,b2 as ue,cR as st,cS as Pt,cT as Et,cU as it,ax as zt,cV as Vt,cW as nt,cX as At,cY as _t,cZ as Mt,c_ as Wt,c$ as Bt,bt as Rt,aU as Yt,ba as Q,aj as be,u as I,i as Ye,d0 as Ut,aF as qt,d1 as Ht,cj as Xt,d2 as Zt,an as Gt,d3 as Jt}from"./index-Bkm6Mxfx.js";import{a as q,P as Qt}from"./sentry-nVlxguQq.js";import{n as i,a as Kt,k as ea}from"./mui-Dg-yyLd1.js";import{Fm as ta,Fn as rt,Fo as dt,Fp as ct,Fq as pt,Fr as ut,bj as mt,Fs as Te,bL as aa,bh as Ne,bC as oa,Ft as la}from"./zeni-epic-state-DwXlACp-.js";import{I as ft}from"./LabeledCreatableSingleSelectField-B-KMzhH--DUvTQCE0.js";import{Y as ht}from"./LabeledDocumentField-9m7Nhuth-BMfR8g3v.js";import{p as sa,i as ia,t as na}from"./commonTypes-B1ylXa_P-Cc0VFSjp.js";import{b as ra}from"./LabeledCountryMultiSelectField-S16_1kXP-x8HeIlI2.js";import{x as da,f as ca,p as pa,h as ua,m as yt,b as ma,g as fa}from"./helper-Bwr_8pRi-tqcy2Ple.js";import{$ as gt}from"./LabeledAddressValue-BEiVNwJh-B1AetA9A.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.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]="052b80cc-922e-425c-9a78-cbebf1a4c756",e._sentryDebugIdIdentifier="sentry-dbid-052b80cc-922e-425c-9a78-cbebf1a4c756")}catch{}})();const xt={maxWidth:new x(280,340),contentMaxWidth:new x(200,255)},ha=ea`
|
|
2
|
-
0% {
|
|
3
|
-
transform: translateX(100%)
|
|
4
|
-
}
|
|
5
|
-
100% {
|
|
6
|
-
transform: translateX(0)
|
|
7
|
-
}
|
|
8
|
-
`,ya=i.div`
|
|
9
|
-
position: fixed;
|
|
10
|
-
top: ${a.sp3};
|
|
11
|
-
right: ${a.sp3};
|
|
12
|
-
z-index: 1400;
|
|
13
|
-
padding: ${a.sp3} ${a.sp4};
|
|
14
|
-
max-width: ${e=>xt.maxWidth.valuePx(e.windowSize)};
|
|
15
|
-
background: ${e=>e.theme.colors.black};
|
|
16
|
-
border-radius: 12px;
|
|
17
|
-
box-shadow: ${e=>`${a.sp0} ${a.sp1} ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
18
|
-
display: flex;
|
|
19
|
-
flex-direction: row;
|
|
20
|
-
justify-content: center;
|
|
21
|
-
align-items: flex-start;
|
|
22
|
-
animation: ${ha} 0.4s;
|
|
23
|
-
`,ga=i(Wt)`
|
|
24
|
-
margin-top: 2px;
|
|
25
|
-
width: ${a.sp4};
|
|
26
|
-
height: ${a.sp4};
|
|
27
|
-
color: ${N.successDark};
|
|
28
|
-
`,xa=i(Bt)`
|
|
29
|
-
margin-top: 2px;
|
|
30
|
-
width: ${a.sp4};
|
|
31
|
-
height: ${a.sp4};
|
|
32
|
-
color: ${N.important};
|
|
33
|
-
`,ba=i.div`
|
|
34
|
-
margin-top: ${a.sp1};
|
|
35
|
-
`,wa=i(Yt)`
|
|
36
|
-
color: ${N.neutralGrey2Light};
|
|
37
|
-
`,Ia=i.div`
|
|
38
|
-
max-width: ${e=>xt.contentMaxWidth.valuePx(e.windowSize)};
|
|
39
|
-
margin: ${a.sp0} ${a.sp3};
|
|
40
|
-
`,$a=i(Rt)`
|
|
41
|
-
color: ${e=>e.isSuccess?N.success:N.important};
|
|
42
|
-
`,Oa=i.div`
|
|
43
|
-
width: ${a.sp3};
|
|
44
|
-
height: ${a.sp3};
|
|
45
|
-
cursor: pointer;
|
|
46
|
-
color: ${e=>e.theme.colors.hero};
|
|
47
|
-
&:hover {
|
|
48
|
-
color: ${N.primaryDark};
|
|
49
|
-
}
|
|
50
|
-
`,Sa=e=>{const l=E.getLocalizedStrings().companyPassport.snackBar;return e==="Error"?l.failedText:l.successText};function ja(e){const l=_(),{fetchState:u,onRemoveSnackbar:s}=e;q.useEffect(()=>{setTimeout(s,5e3)});const d=E.getLocalizedStrings().companyPassport.snackBar,o=u==="Completed";return t.jsxs(ya,{windowSize:l,children:[o?t.jsx(ga,{}):t.jsx(xa,{}),t.jsxs(Ia,{windowSize:l,children:[t.jsx($a,{isSuccess:o,children:o?d.success:d.error}),t.jsx(ba,{children:t.jsx(wa,{children:Sa(u)})})]}),t.jsx(Oa,{onClick:s,children:t.jsx(Lt,{})})]})}const me={labelWidth:new x(110,145,180),largeLabelWidth:new x(150,215,215),largeLabelDocumentWidth:new x(150,210,252),paddingBottom:new x(I[3],I[2])};function Da(e){const l=_(),[u,s]=q.useState(!1),{companyPassport:d,commonSetUp:{businessVerification:o},common:{documents:n}}=E.getLocalizedStrings(),{fileProps:m,companyFiles:f,deleteFileStatusById:p,updateFileStatusById:r,sectionId:b,isDisabled:S,companyIncInfo:w,style:F}=e,O=me.labelWidth.value(l),j=me.largeLabelWidth.value(l),$=me.largeLabelDocumentWidth.value(l),{dateFormat:{visual:c},companyPassport:v}=E.getLocalizedStrings(),h=f.find(H=>H.documentType==="certificate_of_incorporation"),M=l==="small"?d.companyIncInfo.stateOfIncPlaceholderSmall:d.companyIncInfo.stateOfIncPlaceholder,oe=l==="small"?d.companyIncInfo.typeOfIncPlaceholderSmall:d.companyIncInfo.typeOfIncPlaceholder;return t.jsxs(va,{style:F,children:[t.jsx(Ca,{children:d.companyIncInfo.title}),t.jsxs(Fa,{children:[t.jsx(ft,{label:{label:v.companyIncInfo.typeOfInc,width:j},isDisabled:S,creatableSingleSelectField:{name:fe(b,"typeOfInc"),placeholder:oe,defaultValue:{selectedOption:w?.typeOfInc,allOptions:d.companyIncInfo.allTypesOfIncorporation}}}),t.jsx(je,{}),t.jsx(Pt,{label:{label:v.companyIncInfo.stateOfInc,width:j},isDisabled:S,singleSelectField:{name:fe(b,"stateOfInc"),placeholder:M,defaultValue:{selectedOption:w?.stateOfInc,allOptions:d.companyIncInfo.allStatesOfIncorporation}}}),t.jsx(je,{}),t.jsx(Et,{isDisabled:S,label:{label:d.companyIncInfo.incDate,width:O},style:{paddingBottom:me.paddingBottom.valuePx(l)},dateField:{name:fe(b,"incDate"),placeholder:W(d.companyIncInfo.incDate),defaultValue:w?.incDate,dateFormat:c.defaultInput,maxDate:Ne(),minDate:aa("01 Jan 1900"),autoComplete:"off"}}),t.jsx(je,{}),t.jsx(ht,{name:fe(b,"certificateOfIncorporation"),isDisabled:S,sizeLimit:it,deleteFileStatusById:p,updateFileStatusById:r,filesEndPoint:m.filesEndPoint,authParams:m.authParams,label:{label:o.certificateOfIncorporation,width:$},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:h,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:u,updateFilesEntity:m.updateFilesEntity,onEditFileName:m.onEditFileName,onDeleteFile:m.onDeleteFile,onFileSizeError:H=>s(H)}),t.jsx(Ta,{windowSize:l,isError:u,children:n.formatDocumentText10MB})]})]})}const fe=(e,l)=>`${e}.${l}`,va=i.div`
|
|
51
|
-
display: flex;
|
|
52
|
-
flex-direction: column;
|
|
53
|
-
padding-top: ${a.sp3};
|
|
54
|
-
padding-bottom: ${a.sp9};
|
|
55
|
-
`,Fa=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=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
61
|
-
border-radius: ${a.sp2};
|
|
62
|
-
`,Ca=i(Q)`
|
|
63
|
-
color: ${e=>e.theme.colors.champion};
|
|
64
|
-
margin-bottom: ${a.sp3};
|
|
65
|
-
`,je=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
|
-
`,Ta=i(be)`
|
|
72
|
-
padding: ${a.sp1} ${a.sp4};
|
|
73
|
-
background: ${e=>e.theme.colors.grey4};
|
|
74
|
-
border-radius: ${a.sp0} ${a.sp0} ${a.sp2} ${a.sp2};
|
|
75
|
-
text-align: ${e=>e.windowSize==="small"?"initial":"right"};
|
|
76
|
-
color: ${e=>e.isError?N.important:e.theme.colors.grey1};
|
|
77
|
-
`,Na=i(Zt)`
|
|
78
|
-
color: ${e=>e.theme.colors.primary};
|
|
79
|
-
margin-block-start: ${a.sp0};
|
|
80
|
-
margin-block-end: ${a.sp0};
|
|
81
|
-
padding: 0 ${a.sp3};
|
|
82
|
-
text-align: right;
|
|
83
|
-
list-style-position: inside;
|
|
84
|
-
`,ka=i.li`
|
|
85
|
-
text-decoration: ${e=>e.isCancelled?"line-through":"unset"};
|
|
86
|
-
`,La=i(Gt)`
|
|
87
|
-
color: ${e=>e.theme.colors.grey1};
|
|
88
|
-
border-radius: ${a.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: ${a.sp2};
|
|
94
|
-
`,Pa=e=>{const{labels:l,style:u,listStyleType:s="disc"}=e;return t.jsx(Na,{style:{...u,listStyleType:s},children:l.filter(d=>d!=null&&d.text!="").map((d,o)=>t.jsxs(ka,{isCancelled:d.status==="cancelled",children:[d.text,d.subText!=null?t.jsxs(La,{children:["Started: ",d.subText]}):null]},`${d.text}_${o}`))})},ae={width:new x(343,580,726),paddingTopBottom:new x(I[3],I[3]),marginRight:new x(I[2],I[2]),labelMarginLeft:new x(I[3],I[4]),labelMarginRight:new x(I[3],I[4])};function ye({isDisabled:e,label:l,bullettedLabels:u,style:s}){const d=_();return u.labels.length>0?t.jsxs(Ea,{size:d,style:s,children:[t.jsx(ge,{isDisabled:e,label:l.label,style:{marginLeft:ae.labelMarginLeft.value(d),marginRight:ae.labelMarginRight.value(d),width:l.width??"auto"}}),t.jsx(Pa,{...u,style:{maxWidth:l.width!=null?`calc(100% - ${l.width}px)`:"auto"}})]}):null}const Ea=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=>ae.width.valuePx(e.size)};
|
|
101
|
-
height: auto;
|
|
102
|
-
padding-right: ${e=>ae.marginRight.valuePx(e.size)};
|
|
103
|
-
padding-top: ${e=>ae.paddingTopBottom.valuePx(e.size)};
|
|
104
|
-
padding-bottom: ${e=>ae.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
|
-
`,se={labelWidth:new x(110,110,140),mediumLabelWidth:new x(140,140,160),largeLabelWidth:new x(170,170,180),extraLargeLabelWidth:new x(200,250,300),regulatedStatusMaxWidth:new x(343,580,726)},bt=E.getLocalizedStrings(),y=bt.commonSetUp.businessVerification,{companyPassport:T,dateFormat:{analytics:Ue},common:{yes:qe,no:He}}=bt;function za({companyViewData:e,allIndustries:l,allNationalityCountries:u,companyInfo:s,companyAddress:d,sectionId:o,isDisabled:n,isCompanyVerified:m,onCompanyAddressClick:f,style:p}){const r=_(),b=se.labelWidth.value(r),S=se.mediumLabelWidth.value(r),w=se.largeLabelWidth.value(r),F=se.extraLargeLabelWidth.value(r),O=Kt(),{watch:j,setValue:$,formState:{errors:c}}=lt(),v=e.company.company.companyInfo,h=C=>{const V=s?.[C];return V==null?!1:typeof V=="string"&&V===""||Array.isArray(V)&&V.length===0?m===!1:!0},M=h("companySubIndustry"),oe=h("countriesOfOperations"),H=h("transactionVolume"),we=h("regulatedStatus"),Ie=h("usNexus"),X=h("purposeOfAccount"),Y=h("companySourceOfFunds"),ie=j(g(o,"companySourceOfFunds")),ne=j(g(o,"transactionVolume")),K=j(g(o,"regulatedStatus")),re=j(g(o,"usNexus")),Z=j(g(o,"purposeOfAccount")),G=j(g(o,"companyIndustryType")),de=G?.selectedOption??s?.companyIndustryType,$e=r==="small"?T.companyInfo.businessModelPlaceholderSmall:T.companyInfo.businessModelPlaceholder,Oe=C=>l.find(V=>V.code===C)?.name??C,B=C=>{$(g(o,"subIndustry"),{selectedOption:void 0,allOptions:Te(C)})};return t.jsxs(Aa,{style:p,children:[t.jsx(Ma,{children:T.companyInfo.title}),t.jsxs(_a,{children:[t.jsx(P,{isDisabled:n,label:{label:T.companyInfo.companyName,width:w},text:{type:"text",name:g(o,"companyName"),placeholder:W(T.companyInfo.companyName),defaultValue:s?.companyName,autoComplete:"new-password",options:{required:!!v.name,pattern:Re}}}),t.jsx(z,{}),t.jsx(P,{isDisabled:n,label:{label:T.companyInfo.legalName,width:S},text:{type:"text",name:g(o,"legalName"),placeholder:W(T.companyInfo.legalName),defaultValue:s?.legalName,autoComplete:"new-password",options:{required:!!v.companyLegalName,pattern:Re}}}),t.jsx(z,{}),t.jsx(P,{isDisabled:n,label:{label:T.companyInfo.website,width:b},text:{type:"url",name:g(o,"website"),placeholder:W(T.companyInfo.website),defaultValue:s?.website?.toString()??"",autoComplete:"new-password"}}),t.jsx(z,{}),M?t.jsx(t.Fragment,{children:t.jsxs(Wa,{"data-suppress-hover":n!=null?!0:void 0,children:[t.jsx(ee,{label:{label:y.companyIndustryLabel,width:b},singleSelectField:{singleSelect:{name:g(o,"companyIndustryType"),placeholder:y.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:da,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s?.companyIndustryType,allOptions:[...ut]},onSelectChange:B},isFunctional:!0,errorInfoLabel:y.companyIndustryError.replace("_product_type_","company"),style:{padding:0,margin:0,outline:"none",paddingRight:a.sp2}}),de!=null&&t.jsx(ee,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:g(o,"subIndustry"),placeholder:y.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:C=>ca(C,de),isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s?.companySubIndustry,allOptions:Te(G?.selectedOption)}},isFunctional:!0,keepFocusedStyle:!0,errorInfoLabel:y.companySubIndustryError.replace("_product_type_","company"),additionalInfoLabel:n==null?y.companyIndustryAdditionalInfo:void 0,additionalInfoStyle:{color:O.colors.hero},style:{outline:"none",paddingBottom:a.sp0,width:"100%"}})]})}):t.jsx(ee,{label:{label:T.companyInfo.industry,width:b},singleSelectField:{singleSelect:{name:g(o,"industry"),placeholder:T.companyInfo.industryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:Oe,isDisabled:n,showTickMark:!0},defaultValue:{selectedOption:s?.industry,allOptions:l?.map(C=>C.code)??[]}},isFunctional:!0}),t.jsx(z,{}),t.jsx(ft,{isDisabled:n,label:{label:T.companyInfo.businessModel,width:w},creatableSingleSelectField:{name:g(o,"businessModel"),placeholder:$e,defaultValue:{selectedOption:s?.businessModel,allOptions:T.companyInfo.allBusinessModels}}}),oe&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(ra,{label:{label:y.countriesOfOperationsLabel,width:w},isDisabled:n,additionalInfoLabel:n==null?y.countriesOfOperationsAdditionalInfo:void 0,multiSelectField:{name:g(o,"countriesOfOperations"),placeholder:y.countriesOfOperationsPlaceholder,defaultValue:ot(s?.countriesOfOperations,(u??[]).map(C=>C.countryCode))}})]}),Y&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(ee,{label:{label:y.companySourceOfFundsLabel,width:w},singleSelectField:{singleSelect:{name:g(o,"companySourceOfFunds"),placeholder:y.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:pa,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s?.companySourceOfFunds,allOptions:[...pt]}},isFunctional:!0,additionalContent:sa.includes(ie?.selectedOption)?t.jsx(P,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:g(o,"companySourceOfFundsDescription"),placeholder:y.descriptionPlaceholder,style:{backgroundColor:c[o]!=null&&c[o]?.companySourceOfFundsDescription!=null?N.importantLight:O.colors.background},options:{}},additionalInfoLabel:y.companySourceOfFundsDescriptionError,style:{position:"relative",top:0,left:-w,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||c[o]!=null&&c[o]?.companySourceOfFundsDescription!=null?void 0:y.companySourceOfFundsAdditionalInfo,additionalInfoStyle:{color:O.colors.hero}})]}),H&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(ee,{label:{label:y.transactionVolumeLabel,width:F},singleSelectField:{singleSelect:{name:g(o,"transactionVolume"),placeholder:y.transactionVolumePlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ua,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s?.transactionVolume,allOptions:[...ct]}},isFunctional:!0,additionalContent:ia.includes(ne?.selectedOption)?t.jsx(P,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:g(o,"transactionVolumeDescription"),placeholder:y.descriptionPlaceholder,style:{backgroundColor:c[o]!=null&&c[o]?.transactionVolumeDescription!=null?N.importantLight:O.colors.background},options:{}},additionalInfoLabel:y.transactionVolumeDescriptionError,style:{position:"relative",top:0,left:-F,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||c[o]!=null&&c[o]?.transactionVolumeDescription!=null?void 0:y.transactionVolumeAdditionalInfo,additionalInfoStyle:{color:O.colors.hero}})]}),we&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsxs(Xe,{windowSize:r,"data-suppress-hover":n!=null?!0:void 0,children:[t.jsxs(Ze,{children:[t.jsx(ge,{label:y.regulatedStatusLabel,htmlFor:g(o,"regulatedStatus"),isDisabled:n,style:{width:w,color:n==="disabled"?O.colors.grey1:O.colors.hero}}),t.jsxs(Ge,{labelWidth:w,windowSize:r,children:[t.jsx(ue,{label:{label:qe},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:g(o,"regulatedStatus"),id:`${g(o,"regulatedStatus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0}),t.jsx(ue,{label:{label:He},style:{width:"auto"},radioField:{name:g(o,"regulatedStatus"),id:`${g(o,"regulatedStatus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0})]})]}),K==="yes"&&t.jsx(P,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},text:{type:"text",name:g(o,"regulatedStatusDescription"),placeholder:y.regulatedStatusDescriptionPlaceholder,style:{backgroundColor:c[o]!=null&&c[o]?.regulatedStatusDescription!=null?N.importantLight:O.colors.background},options:{}},additionalInfoLabel:y.regulatedStatusDescriptionError,style:{outline:"none",width:"100%",padding:0}}),c[o]!=null&&c[o]?.regulatedStatus!=null?t.jsx(De,{windowSize:r,children:y.regulatedStatusError.replace("_product_type_","company details")}):c[o]!=null&&c[o]?.regulatedStatusDescription!=null?null:n==null?t.jsx(Je,{windowSize:r,children:y.regulatedStatusAdditionalInfo}):null]})]}),Ie&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsxs(Xe,{windowSize:r,"data-suppress-hover":n!=null?!0:void 0,children:[t.jsxs(Ze,{children:[t.jsx(ge,{label:y.usNexusLabel,htmlFor:g(o,"usNexus"),isDisabled:n,style:{width:w,color:n==="disabled"?O.colors.grey1:O.colors.hero}}),t.jsxs(Ge,{labelWidth:w,windowSize:r,children:[t.jsx(ue,{label:{label:qe},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:g(o,"usNexus"),id:`${g(o,"usNexus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0}),t.jsx(ue,{label:{label:He},style:{width:"auto"},radioField:{name:g(o,"usNexus"),id:`${g(o,"usNexus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0})]})]}),re==="yes"&&t.jsxs(t.Fragment,{children:[t.jsx(Ba,{hasError:c[o]!=null&&c[o]?.usNexusTypes!=null,children:t.jsx(yt,{isDisabled:n,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},multiSelectField:{name:g(o,"usNexusTypes"),placeholder:y.usNexusPlaceholder,getOptionLabel:ma,defaultValue:{selectedOptions:s?.usNexusTypes??[],allOptions:[...dt]},registerOptions:{required:n==null,shouldUnregister:!0,validate:C=>{const V=C?.selectedOptions;return V!=null&&V.length>0}}},style:{outline:"none",margin:0,padding:0,width:"100%"}})}),c[o]!=null&&c[o]?.usNexusTypes!=null&&t.jsx(De,{windowSize:r,children:y.usNexusTypesError})]}),c[o]!=null&&c[o]?.usNexus!=null?t.jsx(De,{windowSize:r,children:y.usNexusError.replace("_product_type_","company details")}):c[o]!=null&&c[o]?.usNexusTypes!=null?null:n==null?t.jsx(Je,{windowSize:r,children:y.usNexusAdditionalInfo}):null]})]}),X&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(ee,{label:{label:y.purposeOfAccountLabel,width:F},singleSelectField:{singleSelect:{name:g(o,"purposeOfAccount"),placeholder:y.purposeOfAccountPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:fa,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s?.purposeOfAccount,allOptions:[...rt]}},isFunctional:!0,additionalContent:na.includes(Z?.selectedOption)?t.jsx(P,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:g(o,"purposeOfAccountDescription"),placeholder:y.descriptionPlaceholder,style:{backgroundColor:c[o]!=null&&c[o]?.purposeOfAccountDescription!=null?N.importantLight:O.colors.background},options:{}},additionalInfoLabel:y.purposeOfAccountDescriptionError,style:{position:"relative",top:0,left:-F,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||c[o]!=null&&c[o]?.purposeOfAccountDescription!=null?void 0:y.purposeOfAccountAdditionalInfo,additionalInfoStyle:{color:O.colors.hero}})]}),t.jsx(z,{}),t.jsx(gt,{isDisabled:n,label:{label:T.companyInfo.address,width:b},addressValue:{placeholder:W(T.companyInfo.address),address:d?.addressToCreate,onClick:()=>f("company_address")}}),t.jsx(z,{}),t.jsx(st,{isDisabled:n,label:{label:T.companyInfo.phone,width:b},text:{name:g(o,"phone"),placeholder:W(T.companyInfo.phone),defaultValue:s?.phone,autoComplete:"new-password"}}),t.jsx(z,{}),t.jsx(ye,{label:{label:T.companyInfo.fiscalYear,width:b},bullettedLabels:{labels:[{text:Va(s?.firstMonthOfFY??1)}],listStyleType:"none"}})]})]})}const Va=e=>{const{fiscalYearMonths:l}=la(e);return`${Ne().month(l[0]-1).format(Ue.MMMFormat)} to ${Ne().month(l[11]-1).format(Ue.MMMFormat)}`},g=(e,l)=>`${e}.${l}`,Aa=i.div`
|
|
116
|
-
display: flex;
|
|
117
|
-
flex-direction: column;
|
|
118
|
-
padding-top: ${a.sp3};
|
|
119
|
-
padding-bottom: ${a.sp9};
|
|
120
|
-
`,_a=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=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
126
|
-
border-radius: ${a.sp2};
|
|
127
|
-
`,Ma=i(Q)`
|
|
128
|
-
color: ${e=>e.theme.colors.champion};
|
|
129
|
-
margin-bottom: ${a.sp3};
|
|
130
|
-
`,z=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
|
-
`,Wa=i.div`
|
|
137
|
-
display: flex;
|
|
138
|
-
flex-direction: column;
|
|
139
|
-
padding: ${a.sp2} ${a.sp0} ${a.sp2} ${a.sp0};
|
|
140
|
-
background-color: inherit;
|
|
141
|
-
&:hover {
|
|
142
|
-
z-index: 1;
|
|
143
|
-
outline: 1px solid ${e=>e.theme.colors.primary};
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
&[data-suppress-hover="true"]:hover {
|
|
147
|
-
outline: none;
|
|
148
|
-
}
|
|
149
|
-
&[data-suppress-hover="true"] .select-control:hover {
|
|
150
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
151
|
-
}
|
|
152
|
-
&[data-suppress-hover="true"] > div:hover {
|
|
153
|
-
outline: none;
|
|
154
|
-
background-color: inherit;
|
|
155
|
-
}
|
|
156
|
-
`,Xe=i.div`
|
|
157
|
-
display: flex;
|
|
158
|
-
flex-direction: column;
|
|
159
|
-
width: ${e=>se.regulatedStatusMaxWidth.valuePx(e.windowSize)};
|
|
160
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
161
|
-
padding: ${a.sp2} ${a.sp2} ${a.sp2} ${a.sp4};
|
|
162
|
-
&:hover {
|
|
163
|
-
z-index: 1;
|
|
164
|
-
outline: 1px solid ${e=>e.theme.colors.primary};
|
|
165
|
-
}
|
|
166
|
-
&[data-suppress-hover="true"]:hover {
|
|
167
|
-
outline: none;
|
|
168
|
-
}
|
|
169
|
-
&[data-suppress-hover="true"] .select-control:hover {
|
|
170
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
171
|
-
}
|
|
172
|
-
&[data-suppress-hover="true"] > div:hover {
|
|
173
|
-
outline: none;
|
|
174
|
-
background-color: inherit;
|
|
175
|
-
}
|
|
176
|
-
`,Ze=i.div`
|
|
177
|
-
display: flex;
|
|
178
|
-
flex-direction: row;
|
|
179
|
-
align-items: center;
|
|
180
|
-
margin-top: ${a.sp2};
|
|
181
|
-
margin-bottom: ${a.sp2};
|
|
182
|
-
`,Ge=i.div`
|
|
183
|
-
display: flex;
|
|
184
|
-
flex-direction: row;
|
|
185
|
-
width: ${e=>`calc(100% - ${e.labelWidth}px)`};
|
|
186
|
-
align-items: center;
|
|
187
|
-
justify-content: flex-end;
|
|
188
|
-
flex-grow: 1;
|
|
189
|
-
padding-right: ${a.sp3};
|
|
190
|
-
`,Je=i(be)`
|
|
191
|
-
color: ${e=>e.theme.colors.hero};
|
|
192
|
-
text-align: right;
|
|
193
|
-
padding-right: ${a.sp3};
|
|
194
|
-
`,De=i(be)`
|
|
195
|
-
color: ${N.important};
|
|
196
|
-
text-align: right;
|
|
197
|
-
padding-right: ${a.sp3};
|
|
198
|
-
`,Ba=i.div`
|
|
199
|
-
width: 100%;
|
|
200
|
-
& > div {
|
|
201
|
-
background-color: ${e=>e.hasError===!0?N.importantLight:e.theme.colors.background};
|
|
202
|
-
}
|
|
203
|
-
& .select-control {
|
|
204
|
-
background-color: ${e=>e.hasError===!0?N.importantLight:e.theme.colors.background} !important;
|
|
205
|
-
}
|
|
206
|
-
`,ke={labelWidth:new x(110,110,140),buttonWidth:new x(70,70)};function Ra({sectionId:e,isDisabled:l,style:u,officer:s,officerAddress:d,isEmptyCompanyOfficerSection:o,onOfficerAddressClick:n}){const m=_(),f=E.getLocalizedStrings().companyPassport,p=ke.labelWidth.value(m),r=o&&(s==null||!s.firstName&&!s.lastName&&!s.phone&&!s.email&&!d),b=s?.userId==null||s?.userId==="";return t.jsxs(Xa,{style:u,children:[t.jsx(nt,{isDisabled:l,label:{label:f.companyOfficer.name,width:p},nameField:{name:ve(e,"name"),placeHolder:{firstName:f.companyOfficer.firstNamePlaceholder,lastName:f.companyOfficer.lastNamePlaceholder,name:f.companyOfficer.namePlaceholder},defaultValue:{firstName:s?.firstName??"",lastName:s?.lastName??""},autoComplete:"new-password",registerOptions:{required:r!==!0},showFullNameError:!0}}),t.jsx(Fe,{}),t.jsx(P,{isDisabled:b?l:"readonly",label:{label:f.companyOfficer.email,width:p},text:{type:"email",name:ve(e,"email"),placeholder:W(f.companyOfficer.email),options:{required:r===!0?!1:b},defaultValue:s?.email,autoComplete:"new-password"}}),t.jsx(Fe,{}),t.jsx(gt,{isDisabled:l,label:{label:f.companyInfo.address,width:p},addressValue:{placeholder:W(f.companyOfficer.address),address:d?.addressToCreate,onClick:()=>{n(s?.officerType.toLocaleLowerCase().concat("_address"))}}}),t.jsx(Fe,{}),t.jsx(st,{isDisabled:l,label:{label:f.companyOfficer.phone,width:p},text:{name:ve(e,"phone"),placeholder:W(f.companyOfficer.phone),defaultValue:s?.phone,autoComplete:"new-password"}})]})}function Ya({companyOfficers:e,sectionId:l,style:u,isDisabled:s,onOfficerAddressClick:d}){const{setValue:o,getValues:n}=lt(),[m,f]=q.useState(-1),p=E.getLocalizedStrings().companyPassport,r=e.length,b=e.length===1&&e[0].localData?.userId==null,S=n(l),w=()=>{const $={userId:void 0,officerType:`Officer_${r+1}`,name:{firstName:"",lastName:""},email:"",phone:""};o(l,[...S,$])},F=$=>{if(e[$].localData==null||!e[$].localData?.firstName&&!e[$].localData?.lastName&&!e[$].localData?.phone&&!e[$].localData?.email&&!e[$].addressStatus?.addressToCreate){const c=S.filter((v,h)=>h!==m);o(l,c),f(-1)}else f($)},O=()=>{f(-1)},j=()=>{const $=S.filter((c,v)=>v!==m);o(l,$),f(-1)};return t.jsxs(Ha,{style:u,children:[t.jsx(Za,{children:p.companyOfficer.title}),e.map(($,c)=>{const v=$.localData,h=$.addressStatus,M=v?.userId==null||v?.userId==="";return t.jsxs(Ga,{children:[(r>1||M)&&!b?t.jsx(Ua,{curIndex:c,isNewUser:M,numberOfOfficers:r,deleteConfirmationIndex:m,isDisabled:s,onDeleteClick:F,onCancelClick:O,onRemoveOfficerSection:j}):null,t.jsx(Ra,{sectionId:`${l}.${c}`,officer:v,officerAddress:h,isDisabled:s,isEmptyCompanyOfficerSection:b,onOfficerAddressClick:d})]},v?.officerType)}),r<=9&&!b?t.jsx(qa,{isSectionDisabled:s,onAddOfficerSection:w}):t.jsx(Le,{})]})}const Ua=({curIndex:e,isNewUser:l,numberOfOfficers:u,deleteConfirmationIndex:s,isDisabled:d,onDeleteClick:o,onCancelClick:n,onRemoveOfficerSection:m})=>{const f=_(),p=E.getLocalizedStrings().companyPassport;return t.jsxs(Ja,{children:[t.jsx(Qa,{children:u>1?`${p.companyOfficer.officer} ${e+1}`:""}),l&&d==null?s===e?t.jsx(oo,{children:t.jsxs(lo,{children:[p.companyOfficer.deleteConfirmation,t.jsx(Ye,{label:p.cancel,onClick:n,style:{width:ke.buttonWidth.value(f),marginLeft:a.sp4,marginRight:a.sp3},size:"small",variant:"secondary"}),t.jsx(Ye,{label:p.remove,onClick:m,style:{width:ke.buttonWidth.value(f)},size:"small",variant:"danger"})]})}):t.jsx(ao,{className:"delete-icon-wrapper",onClick:()=>o(e),children:t.jsx(Ut,{width:I[3],height:I[3],color:N.important})}):null]})},qa=({isSectionDisabled:e,onAddOfficerSection:l})=>{const u=E.getLocalizedStrings().companyPassport;return e!=null?t.jsx(Le,{}):t.jsxs(t.Fragment,{children:[t.jsxs(Ka,{onClick:l,children:[t.jsx(eo,{}),t.jsx(to,{children:u.companyOfficer.addOfficer})]}),t.jsx(Le,{})]})},ve=(e,l)=>`${e}.${l}`,Ha=i.div`
|
|
207
|
-
display: flex;
|
|
208
|
-
flex-direction: column;
|
|
209
|
-
padding-top: ${a.sp3};
|
|
210
|
-
width: 100%;
|
|
211
|
-
`,Xa=i.div`
|
|
212
|
-
display: flex;
|
|
213
|
-
flex-direction: column;
|
|
214
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
215
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
216
|
-
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
217
|
-
border-radius: ${a.sp2};
|
|
218
|
-
margin-bottom: ${a.sp4};
|
|
219
|
-
`,Le=i.div`
|
|
220
|
-
padding-bottom: ${a.sp6};
|
|
221
|
-
`,Za=i(Q)`
|
|
222
|
-
color: ${e=>e.theme.colors.champion};
|
|
223
|
-
margin-bottom: ${a.sp4};
|
|
224
|
-
`,Ga=i.div`
|
|
225
|
-
&:hover {
|
|
226
|
-
.delete-icon-wrapper {
|
|
227
|
-
display: flex;
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
`,Ja=i(Q)`
|
|
231
|
-
display: flex;
|
|
232
|
-
align-items: center;
|
|
233
|
-
justify-content: space-between;
|
|
234
|
-
color: ${e=>e.theme.colors.champion};
|
|
235
|
-
margin-bottom: ${a.sp2};
|
|
236
|
-
height: 31px;
|
|
237
|
-
|
|
238
|
-
.delete-icon-wrapper {
|
|
239
|
-
display: none;
|
|
240
|
-
}
|
|
241
|
-
`,Qa=i(xe)``,Ka=i.div`
|
|
242
|
-
padding: ${a.sp3};
|
|
243
|
-
display: flex;
|
|
244
|
-
align-items: center;
|
|
245
|
-
justify-content: center;
|
|
246
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
247
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
248
|
-
border-radius: ${a.sp2};
|
|
249
|
-
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
250
|
-
color: ${e=>e.theme.colors.hero};
|
|
251
|
-
margin-bottom: ${a.sp4};
|
|
252
|
-
cursor: pointer;
|
|
253
|
-
|
|
254
|
-
&:hover {
|
|
255
|
-
svg {
|
|
256
|
-
color: ${e=>e.theme.colors.primary};
|
|
257
|
-
}
|
|
258
|
-
color: ${e=>e.theme.colors.primary};
|
|
259
|
-
border: 1px solid ${e=>e.theme.colors.primary};
|
|
260
|
-
}
|
|
261
|
-
`,eo=i(Ht)`
|
|
262
|
-
margin-right: ${a.sp2};
|
|
263
|
-
width: ${a.sp4};
|
|
264
|
-
height: ${a.sp4};
|
|
265
|
-
color: ${e=>e.theme.colors.grey1};
|
|
266
|
-
`,to=i(Xt)`
|
|
267
|
-
color: inherit;
|
|
268
|
-
`,ao=i.div`
|
|
269
|
-
width: ${a.sp4};
|
|
270
|
-
height: ${a.sp4};
|
|
271
|
-
cursor: pointer;
|
|
272
|
-
`,oo=i.div`
|
|
273
|
-
display: flex;
|
|
274
|
-
`,lo=i(xe)`
|
|
275
|
-
color: ${e=>e.theme.colors.hero};
|
|
276
|
-
`,Fe=i.div`
|
|
277
|
-
display: flex;
|
|
278
|
-
flex: 1;
|
|
279
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
280
|
-
min-height: 1px;
|
|
281
|
-
max-height: 1px;
|
|
282
|
-
`,Qe={labelWidth:new x(160,160,160),largeLabelWidth:new x(150,215,215)};function so(e){const l=_(),u=zt(),[s,d]=q.useState(!1),{companyPassport:o,commonSetUp:{businessVerification:n},common:{documents:m}}=E.getLocalizedStrings(),{fileProps:f,companyFiles:p,deleteFileStatusById:r,updateFileStatusById:b,sectionId:S,isDisabled:w,companyTaxInfo:F,style:O}=e,j=Qe.labelWidth.value(l),$=Qe.largeLabelWidth.value(l),c=!oa(u.loggedInUserRole??[]),v=p.find(h=>h.documentType==="tax_ein");return t.jsxs(io,{style:O,children:[t.jsx(ro,{children:o.companyTaxInfo.title}),t.jsxs(no,{children:[t.jsx(P,{isDisabled:w,label:{label:o.companyTaxInfo.taxIdOrEIN,width:j},text:{type:"text",name:te(S,"taxIdOrEIN"),placeholder:o.companyTaxInfo.taxIdOrEINPlaceholder,defaultValue:c===!0?o.protectedContent:F?.taxIdOrEIN,options:{pattern:Vt},autoComplete:"new-password"},protectedInfoText:c===!0?o.companyTaxInfo.adminPrivilegeRequired:void 0}),t.jsx(le,{}),t.jsx(P,{isDisabled:w,label:{label:o.companyTaxInfo.dunsNumber,width:j},text:{type:"text",name:te(S,"dunsNumber"),placeholder:o.companyTaxInfo.dunsNumberPlaceholder,defaultValue:F?.dunsNumber,options:{pattern:/^\d{9}$/},autoComplete:"new-password"}}),t.jsx(le,{}),t.jsx(P,{isDisabled:w,label:{label:o.companyTaxInfo.naicsCode,width:j},text:{type:"text",name:te(S,"naicsCode"),placeholder:o.companyTaxInfo.naicsCodePlaceholder,defaultValue:F?.naicsCode,options:{pattern:/^([2-9]{1}[0-9]{1}|[1-9]{1}[1-9]{1})\d{0,4}$/},autoComplete:"new-password"}}),t.jsx(le,{}),t.jsx(P,{isDisabled:w,label:{label:o.companyTaxInfo.sicCode,width:j},text:{type:"text",name:te(S,"sicCode"),placeholder:o.companyTaxInfo.sicCodePlaceholder,defaultValue:F?.sicCode,options:{pattern:/^\d{2,4}$/},autoComplete:"new-password"}}),t.jsx(le,{}),t.jsx(yt,{isDisabled:w,label:{label:o.companyTaxInfo.taxesFiledYears,width:j},multiSelectField:{name:te(S,"taxesFiledYears"),placeholder:o.companyTaxInfo.taxesFiledYearsPlaceholder,defaultValue:{selectedOptions:F?.taxesFiledYears.map(h=>h.toString())??[],allOptions:mt().map(h=>h.toString())}}}),t.jsx(le,{}),t.jsx(ht,{name:te(S,"einDocument"),isDisabled:w,sizeLimit:it,deleteFileStatusById:r,updateFileStatusById:b,filesEndPoint:f.filesEndPoint,authParams:f.authParams,label:{label:n.einDocument,width:$},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:v,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:s,updateFilesEntity:f.updateFilesEntity,onEditFileName:f.onEditFileName,onDeleteFile:f.onDeleteFile,onFileSizeError:h=>d(h)}),t.jsx(co,{windowSize:l,isError:s,children:m.formatDocumentText10MB})]})]})}const te=(e,l)=>`${e}.${l}`,io=i.div`
|
|
283
|
-
display: flex;
|
|
284
|
-
flex-direction: column;
|
|
285
|
-
padding-top: ${a.sp3};
|
|
286
|
-
padding-bottom: ${a.sp9};
|
|
287
|
-
`,no=i.div`
|
|
288
|
-
display: flex;
|
|
289
|
-
flex-direction: column;
|
|
290
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
291
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
292
|
-
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
293
|
-
border-radius: ${a.sp2};
|
|
294
|
-
`,ro=i(Q)`
|
|
295
|
-
color: ${e=>e.theme.colors.champion};
|
|
296
|
-
margin-bottom: ${a.sp3};
|
|
297
|
-
`,le=i.div`
|
|
298
|
-
display: flex;
|
|
299
|
-
flex: 1;
|
|
300
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
301
|
-
min-height: 1px;
|
|
302
|
-
max-height: 1px;
|
|
303
|
-
`,co=i(be)`
|
|
304
|
-
padding: ${a.sp1} ${a.sp4};
|
|
305
|
-
background: ${e=>e.theme.colors.grey4};
|
|
306
|
-
border-radius: ${a.sp0} ${a.sp0} ${a.sp2} ${a.sp2};
|
|
307
|
-
text-align: ${e=>e.windowSize==="small"?"initial":"right"};
|
|
308
|
-
color: ${e=>e.isError?N.important:e.theme.colors.grey1};
|
|
309
|
-
`,po={labelWidth:new x(100,100,140)};function uo({sectionId:e,isDisabled:l,primaryContact:u,style:s}){const d=_(),o=E.getLocalizedStrings().companyPassport,n=po.labelWidth.value(d),m=u==null;return t.jsxs(mo,{style:s,children:[t.jsx(ho,{children:o.primaryContact.title}),t.jsxs(fo,{children:[t.jsx(nt,{isDisabled:l,label:{label:o.primaryContact.name,width:n},nameField:{name:Ke(e,"name"),placeHolder:{firstName:o.primaryContact.firstNamePlaceholder,lastName:o.primaryContact.lastNamePlaceholder,name:o.primaryContact.namePlaceholder},defaultValue:{firstName:u?.firstName??"",lastName:u?.lastName??""},autoComplete:"new-password",registerOptions:{required:m!==!0},showFullNameError:!0}}),t.jsx(yo,{}),t.jsx(P,{isDisabled:l,label:{label:o.primaryContact.email,width:n},text:{type:"email",name:Ke(e,"email"),placeholder:W(o.primaryContact.email),defaultValue:u?.email,autoComplete:"new-password",options:{required:m!==!0}}})]})]})}const Ke=(e,l)=>`${e}.${l}`,mo=i.div`
|
|
310
|
-
display: flex;
|
|
311
|
-
flex-direction: column;
|
|
312
|
-
padding-top: ${a.sp3};
|
|
313
|
-
padding-bottom: ${a.sp9};
|
|
314
|
-
`,fo=i.div`
|
|
315
|
-
display: flex;
|
|
316
|
-
flex-direction: column;
|
|
317
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
318
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
319
|
-
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
320
|
-
border-radius: ${a.sp2};
|
|
321
|
-
`,ho=i(Q)`
|
|
322
|
-
color: ${e=>e.theme.colors.champion};
|
|
323
|
-
margin-bottom: ${a.sp3};
|
|
324
|
-
`,yo=i.div`
|
|
325
|
-
display: flex;
|
|
326
|
-
flex: 1;
|
|
327
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
328
|
-
min-height: 1px;
|
|
329
|
-
max-height: 1px;
|
|
330
|
-
`,go=i.div`
|
|
331
|
-
display: flex;
|
|
332
|
-
flex-direction: row;
|
|
333
|
-
justify-content: flex-end;
|
|
334
|
-
align-items: center;
|
|
335
|
-
:not(:first-of-type) {
|
|
336
|
-
margin-left: ${a.sp3};
|
|
337
|
-
}
|
|
338
|
-
`,xo=i.div`
|
|
339
|
-
display: flex;
|
|
340
|
-
flex-direction: row;
|
|
341
|
-
justify-content: flex-end;
|
|
342
|
-
align-items: center;
|
|
343
|
-
color: ${e=>e.theme.colors.primary};
|
|
344
|
-
`,bo=()=>t.jsx(xo,{children:"–"}),wo=i.div`
|
|
345
|
-
padding: 6px ${a.sp2};
|
|
346
|
-
white-space: nowrap;
|
|
347
|
-
overflow: hidden;
|
|
348
|
-
text-overflow: ellipsis;
|
|
349
|
-
`,Io=i(xe)`
|
|
350
|
-
color: ${e=>e.theme.colors.primary};
|
|
351
|
-
align-items: center;
|
|
352
|
-
justify-content: flex-end;
|
|
353
|
-
display: flex;
|
|
354
|
-
padding: 0 ${a.sp3};
|
|
355
|
-
`,$o=e=>{const{users:l,style:u}=e;return t.jsx(Io,{style:u,children:l.length!==0?l.filter(s=>!!s.firstName||!!s.lastName).map(s=>t.jsxs(go,{children:[t.jsx(wo,{children:`${s.firstName} ${s.lastName}`}),t.jsx(Jt,{name:`${s.firstName} ${s.lastName}`,size:a.sp4})]},s.userId)):t.jsx(bo,{})})},R={width:new x(343,580,726),height:new x(I[6],I[6]),controlHeight:new x(I[6],I[6]),paddingTopBottom:new x(I[2],I[2]),marginRight:new x(I[2],I[2]),labelMarginLeft:new x(I[3],I[4]),labelMarginRight:new x(I[3],I[4]),labelMarginTop:new x(I[2],I[2])};function Oo({isDisabled:e,label:l,avatarLabels:u,style:s}){const d=_();return t.jsxs(jo,{size:d,style:s,children:[t.jsx(ge,{isDisabled:e,label:l.label,style:{marginLeft:R.labelMarginLeft.value(d),marginRight:R.labelMarginRight.value(d),marginTop:R.labelMarginTop.value(d),width:l.width??"auto"}}),t.jsx($o,{users:u.users,style:{minHeight:R.controlHeight.value(d),display:"flex",flexGrow:1,flexFlow:"row wrap",maxWidth:l.width!=null?`calc(100% - ${l.width}px)`:"auto",...u.style}})]})}const So=Qt.memo(Oo,qt),jo=i.div`
|
|
356
|
-
display: flex;
|
|
357
|
-
flex-direction: row;
|
|
358
|
-
align-items: flex-start;
|
|
359
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
360
|
-
width: ${e=>R.width.valuePx(e.size)};
|
|
361
|
-
min-height: ${e=>R.height.valuePx(e.size)};
|
|
362
|
-
padding-right: ${e=>R.marginRight.valuePx(e.size)};
|
|
363
|
-
padding-top: ${e=>R.paddingTopBottom.valuePx(e.size)};
|
|
364
|
-
padding-bottom: ${e=>R.paddingTopBottom.valuePx(e.size)};
|
|
365
|
-
|
|
366
|
-
:first-of-type {
|
|
367
|
-
border-top-left-radius: inherit;
|
|
368
|
-
border-top-right-radius: inherit;
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
:last-of-type {
|
|
372
|
-
border-bottom-left-radius: inherit;
|
|
373
|
-
border-bottom-right-radius: inherit;
|
|
374
|
-
}
|
|
375
|
-
`,Ce={labelWidth:new x(100,100,140),mediumLabelWidth:new x(140,150,160),largeLabelWidth:new x(160,180,180)};function Do({data:e,companyInfo:l,sectionId:u,isDisabled:s,isZeniUser:d,onScheduleClick:o}){const n=_(),{companyPassport:m,dateFormat:{visual:f}}=E.getLocalizedStrings(),p=Ce.labelWidth.value(n),r=Ce.mediumLabelWidth.value(n),b=Ce.largeLabelWidth.value(n),S=e.company.company,{controllers:w,subscriptions:F}=e,{managementInfo:O}=S,j=n==="small"?m.zeniFinanceTeam.scheduleCallPlaceholderSmall:m.zeniFinanceTeam.scheduleCallPlaceholder,$=F.filter(h=>h.plan?.plan.name!=null).map(h=>({text:h.plan?.plan.name,subText:h.subscription.subscription.startDate.format(f.MMMDCommaYYYYformat)})),c=At(F.map(h=>h.addOns.map(M=>({text:M.addOn.name,subText:h.subscription.subscription.startDate.format(f.MMMDCommaYYYYformat)})))),v=O.receiverEmails.map(h=>({text:h}));return t.jsxs(Fo,{children:[t.jsx(To,{children:m.zeniFinanceTeam.title}),t.jsxs(Co,{children:[t.jsx(So,{label:{label:m.zeniFinanceTeam.controller,width:r},avatarLabels:{users:w.map(h=>h.user)}}),t.jsx(he,{}),d===!0?t.jsx(P,{isDisabled:s,label:{label:m.zeniFinanceTeam.scheduleCall,width:r},text:{type:"text",name:vo(u,"meetingLink"),placeholder:j,defaultValue:l?.meetingLink?.toString()??"",autoComplete:"new-password",options:{pattern:_t}}}):l?.meetingLink!=null?t.jsx(Mt,{label:{label:m.zeniFinanceTeam.scheduleCall,width:r},button:{buttonTitle:m.zeniFinanceTeam.schedule,onClick:()=>o(l.meetingLink)}}):null,v.length>0?t.jsxs(t.Fragment,{children:[t.jsx(he,{}),t.jsx(ye,{label:{label:m.zeniFinanceTeam.emailUs,width:p},bullettedLabels:{labels:v,listStyleType:"none"}})]}):null,$.length>0?t.jsxs(t.Fragment,{children:[t.jsx(he,{}),t.jsx(ye,{label:{label:m.zeniFinanceTeam.subscriptionPlans,width:b},bullettedLabels:{labels:$,listStyleType:"none"}})]}):null,c.length>0?t.jsxs(t.Fragment,{children:[t.jsx(he,{}),t.jsx(ye,{label:{label:m.zeniFinanceTeam.addons,width:r},bullettedLabels:{labels:c,listStyleType:"none"}})]}):null]})]})}const vo=(e,l)=>`${e}.${l}`,Fo=i.div`
|
|
376
|
-
display: flex;
|
|
377
|
-
flex-direction: column;
|
|
378
|
-
padding-top: ${a.sp3};
|
|
379
|
-
padding-bottom: ${a.sp9};
|
|
380
|
-
`,Co=i.div`
|
|
381
|
-
display: flex;
|
|
382
|
-
flex-direction: column;
|
|
383
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
384
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
385
|
-
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
386
|
-
border-radius: ${a.sp2};
|
|
387
|
-
`,To=i(Q)`
|
|
388
|
-
color: ${e=>e.theme.colors.champion};
|
|
389
|
-
margin-bottom: ${a.sp3};
|
|
390
|
-
`,he=i.div`
|
|
391
|
-
display: flex;
|
|
392
|
-
flex: 1;
|
|
393
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
394
|
-
min-height: 1px;
|
|
395
|
-
max-height: 1px;
|
|
396
|
-
`,Pe={width:new x(343,580,726),buttonWidth:new x(85,85)},et="companyPassportPage",Ee="companyInfo",ze="companyIncInfo",Ve="companyTaxInfo",Ae="primaryContact",_e="companyOfficer",Me="zeniFinanceTeam";function Jo(e){const l=_(),u=St(),{companyPassportView:s,isZeniUser:d,filesEndPoint:o,authParams:n,allIndustries:m,allNationalityCountries:f,isCompanyVerified:p,isDisabled:r,isSettings:b=!1,onCompanyDetailsChanged:S,onCompanyOfficerUpdated:w,onNewCompanyOfficerAdded:F,onPrimaryContactDetailsUpdated:O,onNewCompanyOfficerRemoved:j,onSaveAll:$,onAddressClick:c,onScheduleClick:v,onBackClick:h,onResetClick:M,onEditFileName:oe,updateFilesEntity:H,onDeleteFile:we,onClickMenuIcon:Ie}=e,{companyView:X,localData:Y,deleteFileStatusById:ie,updateFileStatusById:ne}=s,{companyFiles:K}=Y,re={authParams:n,filesEndPoint:o,onEditFileName:oe,onDeleteFile:we,updateFilesEntity:H},[Z,G]=q.useState(void 0),{companyDetails:de,primaryContact:$e,companyOfficerUpdateStatus:Oe,updateStatus:B}=Y,{localData:C,addressStatus:V}=de,We=jt(B.fetchState),ce=Object.values(Oe).filter(A=>A.localData!=null),U=Dt({mode:"all",defaultValues:at(Y,m,f)});q.useEffect(()=>()=>{G(void 0)},[]),q.useEffect(()=>{We==="In-Progress"&&(B.fetchState==="Completed"||B.fetchState==="Error")&&(U.reset(at(Y,m,f)),Z!==B.fetchState&&G(B.fetchState))},[Z,U,We,B,Y,X,m,f,K]);const wt=async(A,D)=>{if(A.includes(Ee)||A.includes(ze)||A.includes(Ve)||A.includes(Me)){const{companyInfo:k,companyIncInfo:L,companyTaxInfo:J,zeniFinanceTeam:Se}=D;S({companyInfo:k,incInfo:L,taxDetails:J,zeniFinanceTeam:Se})}else if(A.includes(Ae)){O(D.primaryContact);const k=D.companyOfficer.map(L=>L.userId);if(D.primaryContact.userId!=null&&k.includes(D.primaryContact.userId)){const L=k.findIndex(J=>J===D.primaryContact.userId);L>=0&&w({...D.companyOfficer[L],name:D.primaryContact.name,officerType:`Officer_${L+1}`})}}else if(A.includes(_e)){const k=parseInt(A.split(".")[1]);if(k>=0)w({...D.companyOfficer[k],officerType:`Officer_${k+1}`}),D.companyOfficer[k].userId!=null&&D.companyOfficer[k].userId===D.primaryContact.userId&&O({...D.primaryContact,name:D.companyOfficer[k].name});else if(D.companyOfficer.length>ce.length){const L=D.companyOfficer[D.companyOfficer.length-1];F(L)}else{const L=D.companyOfficer.filter(J=>J.officerType!=null);if(L.length<ce.length){const J=L.map((Se,Ot)=>{const Be={...Se,officerType:`Officer_${Ot+1}`};return w(Be),Be});L.length<ce.length&&(j(`Officer_${L.length+1}`),U.reset({companyOfficer:J}))}}}};q.useEffect(()=>{const A=U.watch((D,{name:k})=>{k!=null&&D!=null&&vt(()=>wt(k,D))});return()=>{A.unsubscribe()}});const It=U.handleSubmit(A=>{Z!=null&&G(void 0),$()}),{companyPassport:pe,common:{settings:$t}}=E.getLocalizedStrings();if(X==null)throw new Error("Company View is null");return t.jsxs(No,{children:[t.jsx(Ft,{title:pe.title,backgroundColor:u.colors.grey4,style:{zIndex:3},onBackClick:h,showBackButton:!b,showMenuIcon:b?l==="medium-compact"||l==="small":!1,source:"CompanyPassportPage",onClickMenuIcon:Ie}),Z!=null?t.jsx(ja,{fetchState:Z,onRemoveSnackbar:()=>G(void 0)}):null,t.jsxs(ko,{children:[t.jsx(Lo,{windowSize:l,children:b?$t.infoText.companyDetails:pe.quickAccessInfo}),t.jsx(Ct,{...U,children:t.jsxs("form",{id:tt(et),onSubmit:It,children:[t.jsx(za,{sectionId:Ee,companyInfo:C?.companyInfo,companyViewData:X,companyAddress:V,isDisabled:r,isCompanyVerified:p,onCompanyAddressClick:c,allIndustries:m,allNationalityCountries:f}),t.jsx(Da,{sectionId:ze,updateFileStatusById:ne,deleteFileStatusById:ie,companyFiles:K,companyIncInfo:C?.incInfo,fileProps:re,isDisabled:r}),t.jsx(so,{sectionId:Ve,updateFileStatusById:ne,deleteFileStatusById:ie,companyFiles:K,companyTaxInfo:C?.taxDetails,fileProps:re,isDisabled:r}),t.jsx(uo,{sectionId:Ae,primaryContact:$e.localData,isDisabled:r}),t.jsx(Ya,{companyOfficers:ce,sectionId:_e,isDisabled:r,onOfficerAddressClick:c}),t.jsx(Do,{data:X,companyInfo:C?.companyInfo,isDisabled:r,isZeniUser:d,sectionId:Me,onScheduleClick:v})]})})]}),Tt(U.formState.dirtyFields)||ta(Y,X,K)?t.jsx(Nt,{formId:tt(et),primaryBtn:{label:pe.save,isLoading:B.fetchState==="In-Progress",style:{width:Pe.buttonWidth.value(l)},isDisabled:e.isDisabled!=null},cancelBtn:{label:pe.cancel,style:{width:Pe.buttonWidth.value(l)},onClick:()=>{U.reset(),M()}}}):null]})}const tt=e=>`${e}_form`,at=(e,l,u)=>{const{companyDetails:s,primaryContact:d,companyOfficerUpdateStatus:o}=e,n=E.getLocalizedStrings().companyPassport,m=s.localData?.incInfo.fileId!=null?[s.localData?.incInfo.fileId]:[],f=s.localData?.taxDetails.fileId!=null?[s.localData?.taxDetails.fileId]:[],p=s.localData?.companyInfo;return{[Ee]:{...kt(s.localData?.companyInfo??{},["meetingLink","companySourceOfFunds","companySourceOfFundsDescription","countriesOfOperations","transactionVolume","transactionVolumeDescription","regulatedStatus","regulatedStatusDescription","usNexus","usNexusTypes","purposeOfAccount","purposeOfAccountDescription","companyIndustryType","companySubIndustry"]),businessModel:{selectedOption:p?.businessModel,allOptions:n.companyInfo.allBusinessModels},website:p?.website?.toString()??"",industry:{selectedOption:p?.industry,allOptions:l?.map(r=>r.code)},companyIndustryType:{selectedOption:p?.companyIndustryType,allOptions:[...ut]},subIndustry:{selectedOption:p?.companySubIndustry,allOptions:Te(p?.companyIndustryType)},firstMonthOfFY:p?.firstMonthOfFY,companySourceOfFunds:{selectedOption:p?.companySourceOfFunds,allOptions:[...pt]},companySourceOfFundsDescription:p?.companySourceOfFundsDescription,countriesOfOperations:ot(p?.countriesOfOperations,(u??[]).map(r=>r.countryCode)),transactionVolume:{selectedOption:p?.transactionVolume,allOptions:[...ct]},transactionVolumeDescription:p?.transactionVolumeDescription,regulatedStatus:p?.regulatedStatus??"",regulatedStatusDescription:p?.regulatedStatusDescription,usNexus:p?.usNexus??"",usNexusTypes:{selectedOptions:p?.usNexusTypes??[],allOptions:[...dt]},purposeOfAccount:{selectedOption:p?.purposeOfAccount,allOptions:[...rt]},purposeOfAccountDescription:p?.purposeOfAccountDescription},[Ve]:{...s.localData?.taxDetails,taxesFiledYears:{selectedOptions:s.localData?.taxDetails.taxesFiledYears.map(r=>r.toString())??[],allOptions:mt().map(r=>r.toString())},einDocument:e.companyFiles.find(r=>r.documentType==="tax_ein"),fileIds:f},[ze]:{typeOfInc:{selectedOption:s.localData?.incInfo?.typeOfInc,allOptions:n.companyIncInfo.allTypesOfIncorporation},stateOfInc:{selectedOption:s.localData?.incInfo?.stateOfInc,allOptions:n.companyIncInfo.allStatesOfIncorporation},incDate:s.localData?.incInfo.incDate?.toDate(),certificateOfIncorporation:e.companyFiles.find(r=>r.documentType==="certificate_of_incorporation"),fileIds:m},[Ae]:{userId:d.localData?.userId,name:{firstName:d.localData?.firstName,lastName:d.localData?.lastName},email:d.localData?.email},[_e]:Object.values(o).filter(r=>r.localData!=null).map(r=>{const b=r.localData;return{userId:b.userId,officerType:b.officerType,name:{firstName:b.firstName,lastName:b.lastName},email:b.email,phone:b.phone}}),[Me]:{meetingLink:s.localData?.companyInfo.meetingLink?.toString()??""}}},No=i.div`
|
|
397
|
-
display: flex;
|
|
398
|
-
min-height: 100%;
|
|
399
|
-
flex-direction: column;
|
|
400
|
-
width: 100%;
|
|
401
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
402
|
-
`,ko=i.div`
|
|
403
|
-
display: flex;
|
|
404
|
-
flex-wrap: wrap;
|
|
405
|
-
justify-content: center;
|
|
406
|
-
height: 100%;
|
|
407
|
-
overflow-y: auto;
|
|
408
|
-
flex-direction: column;
|
|
409
|
-
align-items: center;
|
|
410
|
-
`,Lo=i(xe)`
|
|
411
|
-
color: ${e=>e.theme.colors.hero};
|
|
412
|
-
display: flex;
|
|
413
|
-
justify-content: center;
|
|
414
|
-
width: ${e=>Pe.width.valuePx(e.windowSize)};
|
|
415
|
-
margin-top: ${a.sp3};
|
|
416
|
-
margin-bottom: ${a.sp4};
|
|
417
|
-
`;export{Jo as default,tt as uniqueName};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d8 as d,aw as f,V as a,b6 as l,o as p}from"./index-Bkm6Mxfx.js";import{a as r}from"./sentry-nVlxguQq.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./zeni-epic-state-DwXlACp-.js";import"./mui-Dg-yyLd1.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.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]="da1b269d-58e0-418a-b2b5-b814568d08a1",e._sentryDebugIdIdentifier="sentry-dbid-da1b269d-58e0-418a-b2b5-b814568d08a1")}catch{}})();const u="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",_=({showConfetti:e})=>{const[t,o]=r.useState(e),[s,i]=d(u,e),[n]=f("ConfettiSuccess");return r.useEffect(()=>{e&&o(!0)},[e]),r.useEffect(()=>{t&&s===!1&&i(!0)},[t,s,i]),a.jsx(a.Fragment,{children:t&&s&&n!=null?a.jsx(l,{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{_ as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{V as o}from"./index-Bkm6Mxfx.js";import i from"./CustomerOnboardingNoStepsPage-DtAEP0LR-Cj2h9iOe.js";import e from"./CustomerOnboardingPage-8fLLsJWV-CvrWaaS9.js";import"./sentry-nVlxguQq.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./zeni-epic-state-DwXlACp-.js";import"./mui-Dg-yyLd1.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";import"./PaymentAccountSetupBillingAddressSection-D_rfYltd-BxAOPNlU.js";import"./commonTypes-B1ylXa_P-Cc0VFSjp.js";import"./SetUpAccountSection-rRjmVlU7-DwMfeFsK.js";import"./CustomerOnboardingDetailPageSkeleton--jL1SUOo-CBYeHto3.js";import"./CompanyOfficerDetailsSection-CEpMwx3h-CtZ35yMq.js";import"./helper-Bwr_8pRi-tqcy2Ple.js";import"./LabeledAddressValueField-CeyT4xDd-CsZJNIxr.js";import"./LabeledCountryMultiSelectField-S16_1kXP-x8HeIlI2.js";import"./LabeledCreatableSingleSelectField-B-KMzhH--DUvTQCE0.js";import"./LabeledDocumentField-9m7Nhuth-BMfR8g3v.js";import"./QBOSetupSection-C6L-OXzd-C71uj0xQ.js";import"./QBOConnectionDialog-D9BGyyB3-C_3987E6.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]="6dd968ca-8ea9-4093-a166-60c58d7fead5",t._sentryDebugIdIdentifier="sentry-dbid-6dd968ca-8ea9-4093-a166-60c58d7fead5")}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,fB as Ce,J as be,d as Pe,a9 as we,aR as xe,cH as ke,bD as Ie,o as i,ab as Ae,ad as $e,aS as Ve,bo as ve,hP as Oe,F as Te,f1 as je,f2 as oe,ag as Le,y as J,am as Be,u as A}from"./index-Bkm6Mxfx.js";import{n as c}from"./mui-Dg-yyLd1.js";import{a as $}from"./sentry-nVlxguQq.js";import{r as Ue,t as _e}from"./PaymentAccountSetupBillingAddressSection-D_rfYltd-BxAOPNlU.js";import{f as ze}from"./CustomerOnboardingDetailPageSkeleton--jL1SUOo-CBYeHto3.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./zeni-epic-state-DwXlACp-.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";import"./commonTypes-B1ylXa_P-Cc0VFSjp.js";import"./SetUpAccountSection-rRjmVlU7-DwMfeFsK.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]="5017d0f1-f44b-4004-9915-dd4c4e3d6f06",e._sentryDebugIdIdentifier="sentry-dbid-5017d0f1-f44b-4004-9915-dd4c4e3d6f06")}catch{}})();const q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",Q={titleWidth:new J(343,580,726,826),subTitlePaddingTop:new J(A[3],A[3]),subTitlePaddingBottom:new J(A[3],A[3])},De=e=>`${e}_form`,Ee=Te.getLocalizedStrings(),Fe=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:v,googleAPIKey:O,signedInUser:b,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:B,updateCardPaymentModalState:P,handleAddCardPaymentSource:U,resetCardPaymentViewState:_,handleResetCardPaymentErrorStatuses:z,redirectToProductSuitePage:w,onUpdateCustomerView:D,...E})=>{const m=be(),F=se(),{analytics:h}=F,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:G,onZeniLogoClick:H,onAddressEditHandler:x}=E,W=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}=Ee,{footer:ue,steps:pe}=ce,{buttons:Z}=ue,ee=pe.link_payment_account,I=xe(g.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,C=je(l?.country);d={street:a[n].street??f.strings.empty,city:l?.locality??f.strings.empty,state:l?.administrativeAreaLevel1??f.strings.empty,country:C,countryCode:l?.countryCode??f.strings.empty,postalCode:l?.postalCode??f.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==C.selectedOption&&(d={...d,country:C})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};$.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&ke(()=>ge(s,a))});return()=>{t.unsubscribe()}}),$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset(V(e),{keepDirtyValues:!1})},[r,e,I,g.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??f.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=p.cardsList.length>0,d=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function fe(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=y?.street.join("").trim(),s=y?.city,d=y?.state,l=y?.country,C=y?.postalCode!=null&&y.postalCode||t.postalCode||f.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!C}const he=async()=>{const t=await r.trigger(n),a=await r.trigger(q);t&&a&&(ye(),j("link_payment_account"),D(me,!1,!0))};$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset(V(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,Y,w]);const[ae,Se]=$.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Me,{windowSize:m,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:W.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(He,{children:o.jsx(We,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:H})})}),o.jsx($e,{...r,children:o.jsx(Ne,{id:De(ie),children:o.jsxs(Re,{children:[o.jsx(Ze,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(Ue,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:q,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:N,updateCardPaymentModalState:P,cardPaymentView:p,resetCardPaymentViewState:_,cardSetupInProgress:ae,googleAPIKey:O,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx(Ve,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:m,children:o.jsx(ve,{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:Z.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:Z.submitText.replace("__action__",Z.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:v,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
|
-
`,Re=c.div`
|
|
27
|
-
display: flex;
|
|
28
|
-
height: 100%;
|
|
29
|
-
flex-direction: column;
|
|
30
|
-
padding-bottom: ${i.sp0};
|
|
31
|
-
`,Ne=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
|
-
`,He=c.div`
|
|
44
|
-
display: flex;
|
|
45
|
-
`,We=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
|
-
`,Ze=c(Be)`
|
|
53
|
-
color: ${e=>e.theme.colors.hero};
|
|
54
|
-
display: flex;
|
|
55
|
-
justify-content: center;
|
|
56
|
-
width: ${e=>Q.titleWidth.valuePx(e.windowSize)};
|
|
57
|
-
padding-top: ${e=>Q.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
58
|
-
padding-bottom: ${e=>Q.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]:Oe(n,e?.subscriptionBillingAddress)[n]}),ut=e=>{const{onboardingCustomerView:u,cardPaymentView:p,signedInUser:v,currentTenant:O,isOnAddressPage:b,stripeKey:T,googleAPIKey:j,meetingUrl:L,onUpdateStep:B,onZeniLogoClick:P,handleLogOutClick:U,handleCockpitClick:_,handleCreateCardSetupIntent:z,handleConfirmCardSetupIntent:w,handleFetchPaymentSources:D,updateCardPaymentModalState:E,resetCardPaymentViewState:m,handleResetCardPaymentErrorStatuses:F,redirectToProductSuitePage:h,...K}=e,{allSteps:M,currentStep:R,fetchStatus:S}=u,N=se(),{analytics:G}=N,H={allSteps:M,isOnAddressPage:b,currentStep:R,fetchStatus:S,signedInUser:v,currentTenant:O,onUpdateStep:W=>{B(W)},onZeniLogoClick:P,handleLogOutClick:U,handleCockpitClick:_,redirectToProductSuitePage:h},x=S.fetchState==="In-Progress"||S.fetchState==="Not-Started";return o.jsxs(Je,{isOnAddressPage:b,children:[x?o.jsx(ze,{isNoStepsPage:!0}):o.jsx(Fe,{...H,onboardingCustomerView:u,handleCreateCardSetupIntent:z,handleConfirmCardSetupIntent:w,updateCardPaymentModalState:E,handleFetchPaymentSources:D,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"})]})},Je=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};
|