@zeniai/web-cockpit-ui 1.15.10-qa → 1.15.11-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-BtE9TY6d-DlXHnmZI.js → ACHDetailsPage-CR6ypd9o-CPuvu8Ya.js} +1 -1
- package/dist/assets/{AIPerformancePage-BkDJ2ST0-DdxV1FER.js → AIPerformancePage-C1OU9y7O-Cy2fQhSN.js} +12 -12
- package/dist/assets/{AccountInfoPage-CTbeJLI7-YGwDUr5I.js → AccountInfoPage-CyJ0eFqc-oDTaIYye.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-BUTcEduM-BtBtiOJ1.js → AccountInfoPageContent-CrSVf_Od-DxUVjtpH.js} +7 -7
- package/dist/assets/{AccountLockedInfoModal-v6aQO7JB-Bmx_9fRB.js → AccountLockedInfoModal-DNU_J1FV-BrQt7SPM.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-DIAg-5PN-BRImj4bT.js → AccountReconDetailsDrawerPage-DghCIWni-WUADgsvH.js} +1 -1
- package/dist/assets/{AccountRow-BVKk7u7h-DE3jk17J.js → AccountRow-CYv0Uw-I-DQCZ-Htb.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-CM2kVta7-xsv0XjLY.js → AccountsPromoCardStack-BANu3wYt-CQ0iVQrx.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-DDTSYpDb-JihvzEA9.js → AddAddressForCardDrawer-D1XOklKz-D41jak46.js} +1 -1
- package/dist/assets/{AddToWalletPage-D2Qg0MR_-DceA0qP3.js → AddToWalletPage-C8keLYK6-Bn2sefuz.js} +1 -1
- package/dist/assets/{AgingReportsPage-_mSqD2hW-DvZz8QE2.js → AgingReportsPage-L84_Ka8x-B6lkNbiG.js} +1 -1
- package/dist/assets/{AllUserItems-CLsMcXeg-C_vBaRY0.js → AllUserItems-Duwm6ypi-CNUX4dOE.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-BsJuvMuy-B-lDR1HA.js → ApAgingDetailPage-MH7SN7mP-D7GEtWSd.js} +7 -7
- package/dist/assets/{AppBasePage-BxGd2ny5-CWXri9Tj.js → AppBasePage-DpK4Drat-Bt4q9XbU.js} +1 -1
- package/dist/assets/{AppDrawerContent-DzQ2jw8d-D8VrXhaf.js → AppDrawerContent-CR_WXwBz-CFNPiFQp.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-6n8xLG5c-rUlBEZw-.js → ApprovalRulesSettingsPage-DD2E4NU5-DpHAD8Ti.js} +1 -1
- package/dist/assets/{ArAgingChart-B3T4qk8t-DC1aMv-c.js → ArAgingChart-q1DoAAzl-IMdyrhPv.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-pdf0VjeI-DzDOnrIb.js → ArAgingDetailPage-BKqFTdkz-kMEm6GPZ.js} +1 -1
- package/dist/assets/{AttachmentView-BJfqJ9hP-CzySTjT1.js → AttachmentView-CwbFyo5O-DSfNvuAU.js} +1 -1
- package/dist/assets/{BankAccountSection-Cd_h3co--DX3-l7uu.js → BankAccountSection-DNYhcdas-Ddz8QKzl.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-Cz9fzMVv-C78lIrf-.js → BankAccountWarningSection-B6AIe7nT-BcHAPM_q.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-P-hobvq_-BzAwx3dY.js → BankConnectionsSettingsPage-BQSAz9yS-R3TufSTo.js} +1 -1
- package/dist/assets/{BillDetailPage-B-_gbDGZ-B_LQVm2j.js → BillDetailPage-CJMkS2TO-CUCvdJLF.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-CyoqtTu1-D_fxMPFN.js → BillPayApprovalRuleDetailPage-CWCmHWbz-BO-G290w.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-CTRvfoZN-BFmRwDAj.js → BillPayApprovalRulesPage-0_wlhyx9-CKOGyW5d.js} +1 -1
- package/dist/assets/{BillPayPromoPage-OYlocjA7-Dk_28IQs.js → BillPayPromoPage-CKOYCq5V-C6OfnMF1.js} +5 -5
- package/dist/assets/{BillPaySetUpPage-B8_IEgff-CNh28yQl.js → BillPaySetUpPage-Dibv-FD4-kIfalP85.js} +4 -4
- package/dist/assets/{BillingSettingsPage-DqO-9dDI-Dn4gcjrL.js → BillingSettingsPage-CG9gklV0-CGGGPaut.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-B-nfpiM2-jLMe8utH.js → BillsBulkReviewDrawerPage-Cgof7dpG-BwYBq9-d.js} +1 -1
- package/dist/assets/{BoxItem-C-LLQ7NS-CetZc7bf.js → BoxItem-DD7d5_ky-D2d9aLr-.js} +5 -5
- package/dist/assets/{BusinessVerificationPage-BD-G0QbW-DwQy6YJY.js → BusinessVerificationPage-KfKed7nf-Bzkiryv0.js} +1 -1
- package/dist/assets/{CardNumberSubText-CPcuTV6V-BAIo0CeO.js → CardNumberSubText-sE2DGwYG-B174guLL.js} +1 -1
- package/dist/assets/{CashbackDetailPage-CzEHO7NM-DUEG4moa.js → CashbackDetailPage-D1ejnH4R-BltiUdCI.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-DpA9C48D-DCli43eP.js → ChargeCardDetailPage-Cvs-BEKp-Bqa3oM5k.js} +1 -1
- package/dist/assets/{ChargeCardListPage-igseWp-z-Dd9P_YWL.js → ChargeCardListPage-CW0WF8w6-DBIJI8Xw.js} +1 -1
- package/dist/assets/{ChargeCardListTable-C-nM1SEM-CwYUuouK.js → ChargeCardListTable-43l6tEOp-BbcKoGZ2.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-TCuBt2Cv-DlbhZqYa.js → ChargeCardPaymentHistoryPage-fpQhp74g-BLq-AFt8.js} +1 -1
- package/dist/assets/ChargeCardPromoPage-D0np03A--Bpq9wCjH.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-zdLpdeJV-DFnI87EV.js → ChargeCardSetupPage-CFR2KfLW-Bj3pYNfL.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-D42XfAtE-BjUTAyJ7.js → ChargeCardStatementsPage-BMYUlzTk-CZ02SfTF.js} +2 -2
- package/dist/assets/{CheckDepositDrawerPage-DC1L83fB-B0xBmV3f.js → CheckDepositDrawerPage-BXWeeMR7-BYN5c48i.js} +1 -1
- package/dist/assets/{CollapsableReportTable-BWfFYJbH-Csx3Wpo7.js → CollapsableReportTable-CZJ_4MUf-TH_6P-Y_.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-TNyVByDX-Bd8oGVxr.js → CompanyOfficerDetailsSection-b2itwQOK-DbOlSBag.js} +1 -1
- package/dist/assets/{CompanyPassportCard-DjBkQwpn-BuDYLpsd.js → CompanyPassportCard-C5C3AykH-DcHAKmoT.js} +2 -2
- package/dist/assets/{CompanyPassportPage-CrqL6_wm-eHOcpVG-.js → CompanyPassportPage-D9zWgLlj-CWyCqrqW.js} +12 -12
- package/dist/assets/{CompleteProfile-BP-MRXpZ-BsRg3cEA.js → CompleteProfile-CMnTwbXr-DZqd8rFQ.js} +1 -1
- package/dist/assets/{ConfettiBurst-D2FdlxTA-BHxreRuI.js → ConfettiBurst-BRie0bid-CKCgsLzT.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-D2Cuyhtu-Bu3-s1BO.js → CreateOrEditVendorPage-CthcMxEa-PQhPjSjB.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-LQiWqyEO-8lUSxdSh.js → CreditCardPaymentDrawerPage-LD349Ert-C4Wbd8yP.js} +1 -1
- package/dist/assets/{CurrencySelectField-Dpcv7_rA-CvKH35Va.js → CurrencySelectField-iXGB-cNy-BRjQHy5W.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-BRWiLUVc-D_n61q9B.js → CustomerOnboardingActivationPage-BuZrVCRr-DQvZbF43.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DrNstqxI-DBMIRSp3.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-D4fUQLXG-kIqkIxNG.js → CustomerOnboardingDetailPageSkeleton-L4WssPjU-BL2-a44j.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CxF6ZEAa-poyeACv-.js → CustomerOnboardingNoStepsPage-Bqv6vbYJ-B4xhs9JC.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-DKcr5stz-Bki5C5w9.js → CustomerOnboardingPage-D7YVlzdy-GqcXPa-d.js} +1 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-DLzC-lxj-pVKJNYgp.js +202 -0
- package/dist/assets/{Dashboard-DMAOn7Hi-D-lic6Dc.js → Dashboard-BgpeTLE--ZF2wZzkh.js} +1 -1
- package/dist/assets/{DashboardReportPage-UUd1-ITz-CmjHwIrB.js → DashboardReportPage-DJtJdsj5-D0j90p2O.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-BuINHqA--Cg5tOJ8w.js → DashboardSidebarBackgroundAnimation-CL6vWi6p-DaXPDfmE.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-BE8LeqlM-BNISEok7.js → DepositAccTransactionItem-B8Kledeo-BlVCqg6w.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-DyH-aZDX-BNK9hZEk.js → DepositAccTransactionListPage-DYBIAd7n-gVv7-TK3.js} +2 -2
- package/dist/assets/{DomesticWireDetailsPage-Bk5AZOQt-5diXeWri.js → DomesticWireDetailsPage-Bm-bfxSa-rYZYhMWI.js} +1 -1
- package/dist/assets/{DownloadOverlay-BOYOF8Po-Cu31pFas.js → DownloadOverlay-CAfyh0W2-BJk2KPOA.js} +1 -1
- package/dist/assets/{DrawerPage-BGGHNo0X-D8g-Zhq1.js → DrawerPage-DUeVKq0Q-DB8bkP9s.js} +1 -1
- package/dist/assets/{EditPeoplePage-CEiwvizd-BZD3AgrU.js → EditPeoplePage-dVrpOcc1-DgbweCi9.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-DBLDLvqO-DCMCC4Ue.js → EditReimbursementDetailPage-xWwm-k8T-Hs0cdO6C.js} +1 -1
- package/dist/assets/EntityDetailPage-Cpdbw3XR-C8k1xBJc.js +18 -0
- package/dist/assets/{EntitySummarySection-Ddaj1RmO-CgAsx02e.js → EntitySummarySection-CTU-YsQl-CSwZth_c.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-B_BlqiWf-taw0ogpA.js → ExpenseAutomationOverviewPage-DCbcWM84-DHrtqP9f.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-DfUf0zEN-CiL6ukAq.js → ExpenseAutomationPage-DbFQ6EeA-C0i_UBmZ.js} +1 -1
- package/dist/assets/{ExpressPayPage-Da8lLZso-B2DVYVBn.js → ExpressPayPage-DMLKT4Nf-6YIrNvk0.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-CmrPDUFU-tUrE4OCj.js → FeaturePreviewPage-DFsZRRmZ-KGYTIegX.js} +1 -1
- package/dist/assets/{FollowStepsSection-DbxSUIzC-DnJhR0Pi.js → FollowStepsSection-DkBj9-hs-mJdSbXed.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-Du_3tupM-TtvcUWAH.js → GlobalReviewListPage-D1fbfssG-CByDE9EN.js} +1 -1
- package/dist/assets/{InformationCardStack-Bx_9X95v-ReoH-Wcd.js → InformationCardStack-CBsOTiOc-CgAe3fDD.js} +2 -2
- package/dist/assets/{InsightsCardStack-Xn2rGwX0-C4QlW2rC.js → InsightsCardStack-BEpCIgoE-Bd7MJjyH.js} +2 -2
- package/dist/assets/{InsightsSection-CwyGEE7C-BgQsSBC8.js → InsightsSection-DcKb1p5B-QoDxUPcZ.js} +2 -2
- package/dist/assets/{IntegrationsSettingsPage-CEL26-eE-BidGkM4L.js → IntegrationsSettingsPage-CMEV5P0b-3g_v4D8X.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-IUz-DwAH-xlIyq_2u.js → InternationalWireSwiftDetailsPage-Bukfo0LC-DGIPKWPe.js} +4 -4
- package/dist/assets/{InternationalWireVerificationPage-C66rHdsi-BnclPAnn.js → InternationalWireVerificationPage-nZvCemaM-DntrzxyD.js} +1 -1
- package/dist/assets/{InviteFormPage-Do-6PG8h-CuaaGEub.js → InviteFormPage-BpgeFttq-BbrTw2ZL.js} +1 -1
- package/dist/assets/{InvitePageListView-DYKcMtIL-BfWc8uTZ.js → InvitePageListView-B6wJomGk-pTRfOIaC.js} +1 -1
- package/dist/assets/{InvitePeoplePage-C2SmS7y8-DYM50qpK.js → InvitePeoplePage-BArRXjlz-BHQlwXvg.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-rCCcSbbj-BXDZYW2T.js → InvoiceUploadSection-CTqSftrm-CyVrgEkl.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-DZvVosb3-D0tVdJ6A.js → IssueChargeCardPage-DYG5IXrC-D-2m3p9R.js} +1 -1
- package/dist/assets/{LabeledAddressValue-CAX5YTSE-zBK_OJ4a.js → LabeledAddressValue-D09c5wJR-784mespz.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-BraOMDrG-CIfzW6iS.js → LabeledAddressValueField-Cac2YPpN-Ba7qdzlE.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-DBcPQa79-Dm3g8Rx5.js → LabeledControlledCheckBoxField--EmdYCME-BUoRkObt.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-DYid8vvM-CHu1M3vr.js → LabeledCountryMultiSelectField-DdqOGBwp-DSHkYk9h.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-DzB7KPXf-B4UxeEYu.js → LabeledCreatableSingleSelectField-K0xUavli-THytCXMe.js} +1 -1
- package/dist/assets/{LabeledDocumentField-BdQjt44W-BJ3GcTL_.js → LabeledDocumentField--JZn0qDn-Ck_rkdmF.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-BheK7sFg-DRz45mr_.js → LabeledDropDownFormattedTextField-Dms9ziRv-CJQkVxrk.js} +1 -1
- package/dist/assets/{LabeledMultiSelectField-m2Y_IFK_-Dgpx_QwD.js → LabeledMultiSelectField-X5GGPnfG-0qUfOlj0.js} +1 -1
- package/dist/assets/{LabeledText-C6M4paXi-CF38LKMP.js → LabeledText-BJrI_PVT-oE-g3K8U.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-i7qOybJ3-bSlpKmiR.js → LabeledUserSingleSelectWithSubtitlesField-BmMN3W3F-BzPJ9P_-.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-BhNbXDjb-Dujasvos.js → LabeledZeniRolesDropDownField-PsaKyCCY-EbSrXIJy.js} +1 -1
- package/dist/assets/{LinkJETransactionPage--sqluuih-wy7uGmyh.js → LinkJETransactionPage-BDIpw0zn-B_cGLw9N.js} +1 -1
- package/dist/assets/{LockCardPage-Bq0Tu8g8-DVKXgz4m.js → LockCardPage-ChGk6VJX-BzQI96FY.js} +6 -6
- package/dist/assets/{LowBalancePopup-hlu_jjTZ-BtKXHVoq.js → LowBalancePopup-Bv3kKmAV-DSB2Ymlf.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-D4Vmz8ms-ItRZ63_N.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-B7C30ROh-C843OBvj.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DVFrpmvm-COXfeIQs.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-D6ZDRs5F-Bm6H-4K4.js → MagicLinkSuccessPage-ySlQc8oV-BspPWH9Z.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-e9WYeJQA-oFDVq4Q3.js → MagicLinkTitleSection-C_OYT1do-NbVFRCAZ.js} +1 -1
- package/dist/assets/MailingDetailsSection-CTPCXpZR-Dv3Iye8Q.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-Bb7UZRJf-BUyi3j3X.js → MyBankConnectionsSettingsPage-CxaXh1Aj-CwKK_h51.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-BToJWGM8-DpXTg4m3.js → MyPendingActivationChargeCardListPage-B9mNbLDd-Db1Atl2l.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-CGxf42bP-BtWaSU77.js → MyProfileSettingsPage-DDERIXlZ-CjalvgMv.js} +1 -1
- package/dist/assets/{NavBarWithPicker-DcDs1pe7-DsVVosIY.js → NavBarWithPicker-BJ_8PHPv-B6R9nMuM.js} +1 -1
- package/dist/assets/{NavigationArrow-DGSdnTKQ-DfQn-lGU.js → NavigationArrow-9HOMBxoh-CWFuMeOE.js} +1 -1
- package/dist/assets/{NavigationDots-BPsFQiss-DRnWaEzO.js → NavigationDots-DPf5iy8f-DNlf5jCf.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-od2IF__o-CtWz6efC.js → NewGlobalMerchantPage-1MfUlwkA-Dx3DZ-ZO.js} +1 -1
- package/dist/assets/{NoDataChart-qG0jmc8Z-B_hbU-ac.js → NoDataChart-CDHiYyiO-DHWgty-U.js} +1 -1
- package/dist/assets/{NoDataTable-CgKT7NGU-BpL_-uTW.js → NoDataTable-BoAJZxdS-ClNYPP1-.js} +1 -1
- package/dist/assets/{NotFoundPage-CdUJ7M5p-wpuUnTnF.js → NotFoundPage-C-EoeDss-DqOvJ6YN.js} +6 -6
- package/dist/assets/{NotificationSettingsPage-D1PKq-ED-DVGiVyPe.js → NotificationSettingsPage-BfFNx-vu-Byo7BJZr.js} +1 -1
- package/dist/assets/{NotificationsListConfig-Ctfr3h3b-BRM4cnLo.js → NotificationsListConfig-CBQwRqMo-DVBdjTys.js} +1 -1
- package/dist/assets/{NotificationsPage-_5Yn9uTy-CcENjSZ1.js → NotificationsPage-BPfRskWZ-_QOFXGgt.js} +1 -1
- package/dist/assets/{OpExByVendorPage-Dqr805s1-D2FsgjpQ.js → OpExByVendorPage-BLI8h8LP-PGQ9bnDo.js} +1 -1
- package/dist/assets/{OverlayContainerPage-IDTUbuAC-CGGpxgsy.js → OverlayContainerPage-IDTUbuAC-B16J5Isr.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-CQ5IMW_B-Km7grtMK.js → PandLWithForecastPage-DvT1WQdL-CPylI6Uc.js} +4 -4
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-DtOeyTmL-B9kEdFki.js → PaymentAccountSetupBillingAddressSection-CyfKYJV3-CnunCi1o.js} +7 -7
- package/dist/assets/{PeoplePage-DEp24LGx-CtRwEShD.js → PeoplePage-BHfn-oLF-CGOapKvG.js} +1 -1
- package/dist/assets/{Preview-XG6ky5VX.js → Preview-B9tjpKKL.js} +1 -1
- package/dist/assets/{ProductsCarousel-Dgwws_g9-CD5wt9ef.js → ProductsCarousel-ChWN6HhX-DEhcI5NW.js} +1 -1
- package/dist/assets/{PromoBaseCards-wfvFaqMw-C39IUX2b.js → PromoBaseCards-BWpqciJW-DEw7mp3r.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-CSMrKgrY-DsO1m0F5.js → QBOConnectionDialog-D9wVm2ga-jv2cIUQM.js} +1 -1
- package/dist/assets/{QBOSetupSection--FQKYLxN-CLUWgqk6.js → QBOSetupSection-CR7JQ_H9-CokKwnfI.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-Dzg2pNcJ-CjlYXjNP.js → ReimbursementApprovalRuleDetailPage-RTvnT_vl-D0AOYl_B.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-eyZWsjXs-ntYifLKs.js → ReimbursementApprovalRulesPage-Dbs4lLSo-5JjLiWWQ.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-DnSo6uTd-lGWR6kLS.js → ReimbursementDetailPage-COF-QqKR-BLj9_Zcn.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-0st3rBmg-BNpI0vNz.js → ReimbursementPromoPage-DSHynwPv-CMfUTDoh.js} +8 -8
- package/dist/assets/{ReimbursementSetUpPage-DCMgwGAM-Ck06jKGh.js → ReimbursementSetUpPage-CafAtAVr-BdH5_Uu6.js} +7 -7
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Cx7BlVAb-C4fmpZqf.js → ReimbursementsBulkReviewDrawerPage-Cz8keUEO-C42JglzT.js} +1 -1
- package/dist/assets/{ReloadCard-8Tiu9Mq9-B5a-0HR6.js → ReloadCard-Bf1jxC4B-CjPHohhm.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-BwBEG73W-CV7HMyUw.js → ReportTableViewSelector-DOQm7O9r-DcS436ql.js} +1 -1
- package/dist/assets/{ReportsPage-BxXxsNBv-BCUQ0RAm.js → ReportsPage-Deg59aYB-VaMTaqOC.js} +5 -5
- package/dist/assets/{RevenueChart-D13bncyo-Buwd2M8n.js → RevenueChart-C1RR_51e-Bn1LRvSc.js} +14 -14
- package/dist/assets/{ReviewDetailsPage-C5q0Abn_-t-fqvI1P.js → ReviewDetailsPage-D3bqGZYb-DmpMCAqo.js} +52 -52
- package/dist/assets/{ReviewOverlay-BNnNWFdW-idP0Dl0H.js → ReviewOverlay-CKB9LulM-CUNk2W-s.js} +1 -1
- package/dist/assets/{RoleWithToolTip-DvYf0VUz-CCXcCA1t.js → RoleWithToolTip-BGlbeXtJ-BQ5iinOT.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DqrwF4kG-CbQilLNT.js → ScheduleDetailsFixedAssetsPage-D4OkyPNa-6prKuM88.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-CH2lKmlN-BsAj8OwQ.js → ScheduleDetailsPage-9oUScaFD-Czq02-r0.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-BzDIvZ9H-CBGDuoMj.js → ScheduleSequenceTable-CuOC0Niz-BzAvMkBB.js} +1 -1
- package/dist/assets/{ScreenRoutes-COJmE7BV.js → ScreenRoutes-DhG0rKVC.js} +1 -1
- package/dist/assets/{SetUpAccountSection-DOvqcC8t-DY7o_nqL.js → SetUpAccountSection-CK2Ibij3-DvyPJ8FZ.js} +1 -1
- package/dist/assets/{SignIn-CBRwaiPC-FsqeJ7yA.js → SignIn-CLLS0cqt-G1jKv-f1.js} +1 -1
- package/dist/assets/{SignInScreen-CFntR-Lc.js → SignInScreen-BdhVUUiU.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-BjdD7zHz-BZgeDSu_.js → SpendManagementListViewPage-C1hg05PB-BMXGChah.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-S5zX9fWg-D-QkrOXi.js → SpendManagementPerTabPage-7uggjzlM-BBdEOhcD.js} +1 -1
- package/dist/assets/{SpendManagementSection-vo9WEGWQ-DBmX8h6K.js → SpendManagementSection-DFiL_yNI-ca-vlRub.js} +1 -1
- package/dist/assets/StatementItem-CdytKcBE-CavJc8fo.js +31 -0
- package/dist/assets/{StatementsPage-0BpH6B2F-_YEmXC1o.js → StatementsPage-DU32IYXF-Dj_pMhMm.js} +1 -1
- package/dist/assets/{StatusSwitcher-Cj2oyfqn-zIIV8OEL.js → StatusSwitcher-DPzwQ_o1-DkaIBc47.js} +1 -1
- package/dist/assets/{SubTabSwitcher-B-gfkK-k-moeS1gnJ.js → SubTabSwitcher-Dztt2rN9-DqHo5u0Z.js} +1 -1
- package/dist/assets/SummaryCard-D3ev0zFr-CHfcyxTY.js +1 -0
- package/dist/assets/{TaskManagementPage-DND-MEly-B5dK2msu.js → TaskManagementPage-BRAt26fv-om-zuIgh.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-BCfDT5nQ-CyE38Dxo.js → TimeRangeSwitcher-DMCbeOcI-C4mgjK4U.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-CCMyvSSI-DstqujKu.js → TimeframeSwitcher-YCgPbEnk-CJUz-kg1.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-Di1hQ-WC-BER3YD8I.js → TimeframeSwitcherWithToggle-BBJP1nmh-D1jTbV4O.js} +2 -2
- package/dist/assets/{TopExCard-B4CpuO-v-K-hQswGF.js → TopExCard-LesAF7Ot-CWhGtv9n.js} +1 -1
- package/dist/assets/{TopExDetailPage-BWdJnu-c-jydYbyNX.js → TopExDetailPage-BTG2W95T-CAgJv3QR.js} +5 -5
- package/dist/assets/{TransactionDetailPage-CL_VbaJy-uSq6HmXp.js → TransactionDetailPage-BqHVfK2K-CBoMen48.js} +1 -1
- package/dist/assets/{TransactionList-CSfzB0gM-BBDl0CVZ.js → TransactionList-CGmpQyNM-BGohJsUE.js} +1 -1
- package/dist/assets/{TransactionListBig-Dkdt0pvn-Dkg0pG-j.js → TransactionListBig-CSYpIxGa-Bd2xJZzC.js} +1 -1
- package/dist/assets/{TransactionListPage-DBAqpKkc-WPXU9uRR.js → TransactionListPage-CV5U_pA6-DsUhS_R3.js} +2 -2
- package/dist/assets/{TransactionVendorDetailPage-BPb6IGMd-DsSYdwld.js → TransactionVendorDetailPage-DvqHmq7y-C8mjIShR.js} +1 -1
- package/dist/assets/{TransferDrawerPage-oyNu_G0D-BGNoYXDH.js → TransferDrawerPage-Cm5reG35-B5qd6-NU.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-DIPEykKC-WU-gNw4W.js → TreasuryOverviewPage-CwcehiRb-BBfaI9Ls.js} +9 -9
- package/dist/assets/{TreasuryPromoPage-wmxtzW1N-BRuIoreO.js → TreasuryPromoPage-BagqhZgO-BswlnynL.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-vHS-mb3R-Bz0qtPhg.js → TreasuryStatementsPage-o-ID2nvn-DTg8AAgQ.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-3fiYxv2D-DzI3SHjy.js → TreasuryTaxLetterPage-D9f3ohGF-DEP20r26.js} +2 -2
- package/dist/assets/{TrendChart-dVd4QdGQ-BJjG22Ov.js → TrendChart-CqxpheW7-DiPHNgeC.js} +1 -1
- package/dist/assets/{TrendWithTransactions-zZUv_Qrs-BCC3U8tC.js → TrendWithTransactions-CK_je__x-C1Qk91i9.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-CcyG64pA-DuQQVPLE.js → UncategorizedAccountsMappingPage-BBYQFJxE-nEmuJTEW.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-BL6g4XY0-DjP1Ctgu.js → UnitIntegrationPage-ULhazfl5-DPlYAGvC.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-CBg0WhaZ-DBuHt0rj.js → UploadAdditionalDocumentOverlay-BPNLdaLG-DQNAWd7N.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-CF5AV8a5-BShWHZIx.js → Vendor2FAPopup-C3Z-3poJ-Cxx265s1.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-DnB2b-v_-C755XLlO.js +1 -0
- package/dist/assets/{VendorDetailPage-C168zV-E-DIP_aGAZ.js → VendorDetailPage-DPiVnh93-CAOlBr9d.js} +5 -5
- package/dist/assets/VendorDomesticWireDetailsPage-BbfatdWd-DhsLa-3A.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-DVrk7af6-DDztFsX5.js → VendorFiling1099EditablePage-CFrvW8qi-C-v6Mx4-.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-kiMBuYID-OfVFvljK.js → VendorFirstReviewPage-CRLGuw2s-wfeT2fAg.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-CtGJurq9-BDxbxP3S.js → VendorInternationalWireDetailsPage-CV11lzdw-BWhlaMax.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-D3asjWH_-BXIinpkC.js +1 -0
- package/dist/assets/{VendorsAccountsSection-B9Ik1T2V-DqGOolpT.js → VendorsAccountsSection-vd0V4UXY-BNPavepY.js} +1 -1
- package/dist/assets/{VerifyDevice-DfX9VA7b-VUfmXFaX.js → VerifyDevice-DbyjJVTH-_0YHPiw6.js} +3 -3
- package/dist/assets/{VideoPlayer-_FcQClfH-CRE4D3aI.js → VideoPlayer-CoI7aj8a-B3tmTxCF.js} +2 -2
- package/dist/assets/{VideoPopup-D0XTfD6q-qtGSnice.js → VideoPopup-Bp7fCV1r-BulLqsQx.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-DIwWkX4B-3NfFweDe.js → WarningsDrawerPage-jMslD0FX-CrUmOPLP.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-mo0trXHB-DYo24dJH.js → ZeniAccountDetailPage-C1Vq8cMd-BzjwyTwn.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-CVzyx1Sx-Dq_Wq9hu.js → ZeniAccountListViewPage-BNTb04x5-DcvhdCN4.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-CbXVnnp9-B-qIpckN.js → ZeniAccountNavBarPieces-ByYrxg3x-w6kmpmKh.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-gZMYr_Ux-8GrkVROm.js → ZeniAccountPromoPage-BCkk0NbR-juw5u7mQ.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-DPOLAjZV-Dw8Ao_So.js → ZeniAccountSetupPage-ClZTjZhF-C_sOqJTM.js} +1 -1
- package/dist/assets/{ZeniCopyright-BDUQdaKP-1S-2nFq7.js → ZeniCopyright-C8wXM9Gr-qMGnv8al.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-B-nq8t_K-D2lG7qBv.js → ZeniTransferAmountSlider-NAR_1h8K-DARDrTsk.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-BBEivBdQ.js → add-to-wallet-DgdBD8_G-flwj0i1s.js} +1 -1
- package/dist/assets/{analytics-DO1unY4G.js → analytics-EizVTK6x.js} +1 -1
- package/dist/assets/{analyticsHelper-Ecsp3tOS.js → analyticsHelper-BRPQgKH6.js} +1 -1
- package/dist/assets/{analyticsHelper-7cF4XxuH-DLvrIzdF.js → analyticsHelper-DjynPp_X-s29on7ka.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-CV7FSM6U.js → arrow-south-east-round-PEovUgvH-DbFUNUBk.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-CJUhOMj-.js → auto-transfer-rule-mbafm5D3-T83isyAA.js} +1 -1
- package/dist/assets/{chartTypes-DjzTOuyH--xZuCRkY.js → chartTypes-CXNoxZp_-CJ_wyUtd.js} +1 -1
- package/dist/assets/{commonDimensions-CtIrih5r-B1EQ7y18.js → commonDimensions-i9Qxk1O2-XYIUogON.js} +1 -1
- package/dist/assets/{commonTypes-9h2Y-L4i-BZ0UmTpg.js → commonTypes-CcEHeA3z-sEqnsPbS.js} +1 -1
- package/dist/assets/{constants-pYZADjo8.js → constants-BGXrwDfx.js} +1 -1
- package/dist/assets/{core-B9Znwqny.js → core-C5wq1_Bk.js} +1 -1
- package/dist/assets/{dash.all.min-CS5kHJkT.js → dash.all.min-B4_top4V.js} +1 -1
- package/dist/assets/{detailCommon-CEOeZl26-B1iXLHB6.js → detailCommon-DVTOw71--Wk0Evzej.js} +5 -5
- package/dist/assets/{downloadPdf-Pyk_BhF7-DBVN6DcC.js → downloadPdf-1-N8Pf0G-CMW67koi.js} +1 -1
- package/dist/assets/{empty-CpGZk5F5.js → empty-DuP8pCf7.js} +1 -1
- package/dist/assets/{empty-ChJVx-YB.js → empty-fb3xJ2Vb.js} +1 -1
- package/dist/assets/{epic-C_GKKQik.js → epic-4LjfR2JF.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-DNEMczKk.js → gift-box-Cmt9OgIZ-BtixTK1k.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-Bx_mQw5e.js → graphic-no-data-l-DU4J8fDt--UnjJCr0.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-C46dJM7J.js → graphic-no-data-net-burn-l-CzmycA0m-8oQBXM_J.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-C6X_P0qB.js → handshake-BPg58FML-BSCdA5zo.js} +1 -1
- package/dist/assets/{index-1k0W8uO3.js → index-CzJUh-iK.js} +1 -1
- package/dist/assets/{index-DYltSVfB.js → index-DVgY55Ab.js} +8 -8
- package/dist/assets/{index-POT-Iy9l.js → index-DqRCO-H6.js} +1 -1
- package/dist/assets/{index-CfJ2tiIp.js → index-J8KI2Uyc.js} +1 -1
- package/dist/assets/{index-BFgzVTwo.js → index-Ko3PkHk3.js} +1 -1
- package/dist/assets/{index-DpdT_X0L.js → index-_TIifI_v.js} +1 -1
- package/dist/assets/{index-CPEwTrV2.js → index-tW1FBxGF.js} +1 -1
- package/dist/assets/{lexical-DSIpBzCF.js → lexical-xuKHFvUb.js} +1 -1
- package/dist/assets/{liveblocks-BqcT5iTZ.js → liveblocks-B14TpO3l.js} +1 -1
- package/dist/assets/{lottie-oQfNS8l-.js → lottie-BIQaRIZs.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-DoHalh0I-gsXyYQpy.js → mapLoadingInProgressToTreeNode-UA-QQZJo-DsDuha6V.js} +1 -1
- package/dist/assets/mapSectionWithAcOnlyToTreeNode--y3nO5uZ-DP42yTzT.js +1 -0
- package/dist/assets/mapSpacerToTreeNode-BOG_274U-C0W1M9EX.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-Btd_0ZvL-CEgQnhXV.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-LWHXAvJU-B42MwYQ_.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Bz1bR9oN-Dre2GwgF.js → mapTimeframeHeaderLoadingInProgressToTreeNode-aD-96xtj-BAIV3Qln.js} +1 -1
- package/dist/assets/{mui-DqYnCiYu.js → mui-CR-wYMmN.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-C4YmGfRe.js → page-detail-CWX5S47F-Dp0GDjdb.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-C5tnzklf.js → radio-default-CiSgisfh-CInIhD3e.js} +1 -1
- package/dist/assets/{react-xLrt57tQ.js → react-BHi_eEiU.js} +1 -1
- package/dist/assets/{react-D2eQzOPv.js → react-BW87X3sj.js} +1 -1
- package/dist/assets/{react-Bu5BHG8O.js → react-C8urvt-z.js} +1 -1
- package/dist/assets/{react-DbRD5tNt.js → react-CCZeJYV_.js} +1 -1
- package/dist/assets/{react-CBiOQOL3.js → react-CcqTmi2W.js} +1 -1
- package/dist/assets/{react-B-LXbQdG.js → react-D2cRiLcJ.js} +1 -1
- package/dist/assets/{react-DEOv3QaS.js → react-DHV7aTmN.js} +2 -2
- package/dist/assets/{react-BPazyT0C.js → react-D_2r5dmn.js} +1 -1
- package/dist/assets/{recharts-D7E0WJGk.js → recharts-C3mrSjO2.js} +1 -1
- package/dist/assets/{sentry-DgGQRl6g.js → sentry-DMXY90dB.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-DK1OxwF6.js → shield-DOlUxcFf-BYs2EC5i.js} +1 -1
- package/dist/assets/toCOABalancesWithID-C_7wlYeT-C3P4q5bp.js +1 -0
- package/dist/assets/{toChartData-BFuIgA2L-BBySQ0d2.js → toChartData-Dv-QcYgv-C4sd-ifC.js} +1 -1
- package/dist/assets/{uploadAttachment-ux9baWqa-G8p-50iG.js → uploadAttachment-DSmux1Yp-Dl4ms4pR.js} +1 -1
- package/dist/assets/{uploadReceipts-DJRtId-4-Ck-2fUTH.js → uploadReceipts-DJRtId-4-CHJq-raT.js} +1 -1
- package/dist/assets/{url-CW650CMO.js → url-20Ls3nS_.js} +1 -1
- package/dist/assets/{url-DxcM52GB.js → url-DojBAuFA.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-D9KvmRO7.js → useLongPress-GCK2COYQ-C5_U_XBl.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-EmNWFdhU.js → usp-line-BBd1wKwW-l2et8N9o.js} +1 -1
- package/dist/assets/{utils-C_quS4m3.js → utils-BCuN6woZ.js} +1 -1
- package/dist/assets/{zeni-epic-state-WWg2r7iB.js → zeni-epic-state-BXMuLX_S.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/ChargeCardPromoPage-DEjWh0Ax-CKnAvVum.js +0 -222
- package/dist/assets/CustomerOnboardingContainerPage-BLGGDdc6-Dsct_2mh.js +0 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-B84wAHDe-C7FRvOhH.js +0 -202
- package/dist/assets/EntityDetailPage-Cd3eku5o-BzkM9HDo.js +0 -18
- package/dist/assets/MagicLinkACHDetailsPage-C1pJBTPa-lXEPNfls.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-C77X02bo-2X6y-hYy.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DUHpAm8_-DdkoLfBl.js +0 -1
- package/dist/assets/MailingDetailsSection--Lx7QBGW-DZvTXReS.js +0 -21
- package/dist/assets/StatementItem-BxnOzchG-Jqyfs7Z-.js +0 -31
- package/dist/assets/SummaryCard-D92z4WU0-zmpilX3L.js +0 -1
- package/dist/assets/VendorACHDetailsPage-B_wVoMw5-DCiPWwWE.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-cAu_hGIj-D8-MuSlB.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Cy8QoA_b-CGyz_V8v.js +0 -1
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-CjiNTI8L-BMuLdMWD.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-Di-_Qhw7-8iQraUSQ.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BaIl_VbE-BRXeEdrt.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-mMtwXmJx-CXxOT-wX.js +0 -1
- package/dist/assets/toCOABalancesWithID-CjVmQxAs-DiJZXqdL.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as je,Q as Oe,a8 as Be,aQ as M,a9 as Ue,cE as _e,aV as Q,V as t,f9 as $e,p as ze,y as r,bB as Re,T as Le,ac as We,fs as Ne,dO as qe,ft as He,o as U,b as Me,iL as G,bw as Qe,aR as Ge,fv as Je,F as Ke,u as o,al as Xe}from"./index-
|
|
1
|
+
import{g as je,Q as Oe,a8 as Be,aQ as M,a9 as Ue,cE as _e,aV as Q,V as t,f9 as $e,p as ze,y as r,bB as Re,T as Le,ac as We,fs as Ne,dO as qe,ft as He,o as U,b as Me,iL as G,bw as Qe,aR as Ge,fv as Je,F as Ke,u as o,al as Xe}from"./index-DVgY55Ab.js";import{a as f}from"./sentry-DMXY90dB.js";import{n as w}from"./mui-CR-wYMmN.js";import{bJ as Ye}from"./zeni-epic-state-BXMuLX_S.js";import{x as Ze}from"./LabeledControlledCheckBoxField--EmdYCME-BUoRkObt.js";import{g as et}from"./UploadAdditionalDocumentOverlay-BPNLdaLG-DQNAWd7N.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="225f8c9a-a198-4b34-9973-d76e7abf65fb",e._sentryDebugIdIdentifier="sentry-dbid-225f8c9a-a198-4b34-9973-d76e7abf65fb")}catch{}})();const c={titleWidth:new r(343,580,726,826),setupDetailsRowGap:new r(12,o[5],o[5]),sectionRowGap:new r(o[5],o[9],o[9]),iconWidthHeight:new r(20,o[4]),subTitlePaddingTop:new r(12,o[3]),subTitlePaddingBottom:new r(o[3],o[3]),overlayWidth:new r(100,100,59),checkBoxTop:new r(o[1],o[0])},J="chargeCardSetUpPage",m="payAccount",{commonSetUp:tt,spendManagement:nt}=Ke.getLocalizedStrings(),{chargeCard:Y}=nt,{chargeCardSetUp:g}=Y,{setUp:_}=tt,wt=({autoPayThreshold:e,isDisabled:d,meetingUrl:P,isEarlyPayEnabled:h,chargeCardSetUpView:a,connectedAccountProvider:Z,filesEndPoint:ee,authParams:te,isAccountsEnabled:ne,isDebitCardOnlyEnabled:v,isCreditCardOnlyEnabled:ie,accountsPromoConfig:ae,onFetchLinkTokenClick:oe,onBackClick:ce,onEnableChargeCardClick:se,onUpdateChargeCardClick:le,onBusinessVerificationSectionClick:re,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAutoPayClick:fe,onEstablishConnectionClick:ge,onEstablishConnectionSuccess:me,onClickMenuIcon:he,onEnableChargeCardSuccess:x,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,onCompanyOfficerUpdated:Se,onSendForVerificationClick:we,onSignUpClick:Pe})=>{const y=je(),i=Oe(),E=Be().analytics,[A,b]=f.useState(!1),{fetchState:C,companyBillPayInfo:$,isRefreshingViewInBackground:xe,updateStatus:u,accountUpdateStatus:Ae,plaidConnectionDetails:ke,allBankAccounts:Te,companyChargeCardInfo:I,companyDebitCardInfo:z,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:R}=a,L=M(C),k=M(u.fetchState),V=Ue({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>K(a),[a]),values:K(a)}),ve=V.handleSubmit(se),Ee=async(S,T)=>{const n=T[m];if(S.includes(m))if(S.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&l?.id!=n.fundingAccount.selectedOption){const p=R.find(B=>B.id===n.fundingAccount.selectedOption);p!=null&&pe(n.fundingAccount.selectedOption,p.accType)}}else if(n.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=n.account.selectedOption){const p=n.account.allOptions.find(B=>B.value===n.account.selectedOption);p!=null&&typeof p.label=="string"&&E.trackConnectBankLink(p.value,p.label,"charge_cards"),le(n.account.selectedOption,l.id,l.accType)}else S.includes("enableAutoPay")&&n.enableAutoPay!=null&&fe(n.enableAutoPay)};f.useEffect(()=>{const S=V.watch((T,{name:n})=>{n!=null&&T!=null&&_e(()=>Ee(n,T))});return()=>{S.unsubscribe()}}),f.useEffect(()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&b(!0),A&&L==="In-Progress"&&C==="Completed"&&b(!1)},[s,C,L]),f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&x()},[x,k,u.fetchState]);const D=I?.isChargeCardEnabled===!0,F=z?.isDebitCardEnabled===!0,W=z?.isDebitCardTOSAccepted===!0,N=I?.isChargeCardTOSAccepted===!0,q=$?.isBusinessVerified===!0,Ie=l?.accType==="depositAccount"||Ye(l?.providerVerificationStatus?.code??""),j=v?q:q&&Ie,Ve=C==="In-Progress"||C==="Not-Started";f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&x()},[x,k,u.fetchState]);const O=v?j&&!F&&W:ie?j&&!D&&N:j&&!(D&&F)&&N&&W,De=O?g.setupSubTitleNotEnabled:g.setupSubTitle,H=y.mode==="light"?new Q(y.colors.brandColorJadeLight):new Q(y.colors.brandColorJadeDark),Fe=()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?b(!0):re?.()};return t.jsxs(at,{children:[t.jsx($e,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>b(!1),style:{backgroundColor:ze.drawerBackground},transitionDuration:250,children:t.jsx(et,{authParams:te,filesEndPoint:ee,updateStatus:u,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,companyOfficer:s,onClose:()=>b(!1),onCompanyOfficerUpdated:Se,onSendForVerificationClick:we})}),t.jsx(Re,{title:g.setupTitle,backgroundColor:y.colors.grey4,style:{zIndex:3},onBackClick:ce,showMenuIcon:!D&&!F&&(i==="medium-compact"||i==="small"),onClickMenuIcon:he,source:"ChargeCardSetupPage"}),t.jsxs(it,{windowSize:i,children:[t.jsx(ot,{windowSize:i,children:De}),Ve?t.jsx(ct,{children:t.jsx(Le,{size:"ExtraLarge",start:!0})}):t.jsx(We,{...V,children:t.jsx("form",{id:X(J),onSubmit:ve,children:t.jsxs(st,{windowSize:i,children:[t.jsx(Ne,{onClick:Fe,title:_.businessVerificationTitle,subTitle:_.businessVerificationSubTitle,header:_.businessVerificationHeader,icon:{element:t.jsx(qe,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},status:$?.businessVerificationStatus,isLoading:xe,isActiveWhileLoading:!0}),v?null:t.jsx(He,{connectedAccountProvider:Z,primaryFundingAccount:l,allFundingAccounts:R,plaidConnectionDetails:ke,allBankAccounts:Te,sectionId:m,isDisabled:d,onFetchLinkTokenClick:oe,onEstablishConnectionClick:ge,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ue,sectionTitle:g.setupAccountSectionTitle,onEstablishConnectionSuccess:me,icon:{element:t.jsx(Qe,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},analytics:E,productType:"charge_cards",isAccountsEnabled:ne,onSignUpClick:Pe,pageName:g.pageName,accountsPromoConfig:ae,accountSelectContainerStyle:h?{marginBottom:"20px"}:{},bottomComponent:h&&t.jsx(Ze,{label:{label:Y.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:y.colors.primary,...Me.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:U.sp4,marginTop:U.sp1,alignItems:i==="small"?"flex-start":"center"},checkBoxField:{name:G(m,"enableAutoPay"),checkBoxValue:G(m,"enableAutoPay"),defaultChecked:I?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(i)}}})})]})})})]}),O?t.jsx(Ge,{formId:X(J),primaryBtn:{label:g.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||Ae.fetchState==="In-Progress",isDisabled:d!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${U.sp3}`}}):null,t.jsx(Je,{isFooterRendered:O,meetingUrl:P,analytics:E,productType:"charge_cards"})]})},K=e=>{const{allBankAccounts:d,allFundingAccounts:P,primaryFundingAccount:h}=e;return{[m]:{fundingAccount:{selectedOption:h?.id,allOptions:P.map(a=>({label:a.label,value:a.id,isRecommended:a.accType==="depositAccount"}))},account:{selectedOption:h?.zeniAccountId,allOptions:d.map(a=>({label:a.accountName,value:a.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},X=e=>`${e}_form`,it=w.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: flex-start;
|
|
4
4
|
height: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as F,Q as N,V as t,bB as W,o as h,F as B,y as g,al as R,b9 as _,a8 as V,hJ as O,T as J,aP as q,u as s,c2 as G}from"./index-
|
|
1
|
+
import{g as F,Q as N,V as t,bB as W,o as h,F as B,y as g,al as R,b9 as _,a8 as V,hJ as O,T as J,aP as q,u as s,c2 as G}from"./index-DVgY55Ab.js";import{n as r}from"./mui-CR-wYMmN.js";import{$ as H,g as Q}from"./BoxItem-DD7d5_ky-D2d9aLr-.js";import{a as U}from"./sentry-DMXY90dB.js";import{w as Z}from"./downloadPdf-1-N8Pf0G-CMW67koi.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./zeni-epic-state-BXMuLX_S.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";import"./commonDimensions-i9Qxk1O2-XYIUogON.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="b9d54f11-100f-4500-a9b5-f76bba02d2fd",e._sentryDebugIdIdentifier="sentry-dbid-b9d54f11-100f-4500-a9b5-f76bba02d2fd")}catch{}})();const D=B.getLocalizedStrings().months,Y={downloadButtonSize:new g(s[4],20)},K=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
padding: ${h.sp3} ${h.sp4};
|
|
4
4
|
flex-direction: row;
|
|
@@ -27,7 +27,7 @@ import{g as F,Q as N,V as t,bB as W,o as h,F as B,y as g,al as R,b9 as _,a8 as V
|
|
|
27
27
|
&:hover {
|
|
28
28
|
color: ${e=>e.theme.colors.primary};
|
|
29
29
|
}
|
|
30
|
-
`;function ie({currentTenantCompanyName:e,data:i,index:n,controllerEmails:l,isDebitCardFeatureEnabled:a,isDebitCardSetupEnabled:o,chargeCardCashbackDetailState:d,depositAccountListWithDebitCardIssued:y,debitCardSummary:x,productInformation:C,creditAccountInformation:S,debitAccountInformation:$,cashbackInformation:
|
|
30
|
+
`;function ie({currentTenantCompanyName:e,data:i,index:n,controllerEmails:l,isDebitCardFeatureEnabled:a,isDebitCardSetupEnabled:o,chargeCardCashbackDetailState:d,depositAccountListWithDebitCardIssued:y,debitCardSummary:x,productInformation:C,creditAccountInformation:S,debitAccountInformation:$,cashbackInformation:p,creditAccountRepayment:I,authParams:P,downloadEndPoint:k,boxType:j}){const b=V().analytics,[v,E]=U.useState(!1),c=N(),z=D[i.monthYearPeriod.month-1],u=`${e}-Credit-Card-Monthly-Statement-${D[i.monthYearPeriod.month-1]}-${i.monthYearPeriod.year}.pdf`,m={period:`${i.monthYearPeriod.year}-${O(i.monthYearPeriod.month)}`,format:"pdf"},f=t.jsx(K,{children:t.jsxs(X,{children:[t.jsx(ee,{children:z}),t.jsx(te,{"data-testid":q("download-card-statement"),onClick:()=>{d.fetchState==="Completed"&&I.fetchState==="Completed"&&(!(a&&o)||y.fetchState==="Completed"&&x?.fetchState==="Completed")&&p!=null&&b.trackCardsDownloadClick(l,C,p,{fileCategory:"Credit Card Statement",fileType:"pdf",fileName:u,fileMonthYear:`${D[i.monthYearPeriod.month-1]} ${i.monthYearPeriod.year}`},"Credit Card Statements",n+1,S,$),Z(`${k}/statements?query=${encodeURIComponent(JSON.stringify(m))}`,u,P,E)},children:v?t.jsx(J,{size:"Small",start:!0}):t.jsx(ae,{windowSize:c})})]})});return t.jsx(Q,{content:f,boxType:j,isDisabled:!1,isNotClickable:!0})}const A=B.getLocalizedStrings().spendManagement.chargeCard.statements,w={listItemMarginLeftRight:new g(s[3],s[8]),containerMarginTop:new g(s[0],s[2]),titleMarginLeftRight:new g(s[3],s[8])},ke=({currentTenantCompanyName:e,authParams:i,controllerEmails:n,productInformation:l,cashbackInformation:a,creditAccountInformation:o,debitAccountInformation:d,isChargeCardFeatureEnabled:y,isDebitCardFeatureEnabled:x,isDebitCardSetupEnabled:C,isChargeCardSetupEnabled:S,chargeCardCashbackDetailState:$,depositAccountListWithDebitCardIssued:p,creditAccountRepayment:I,debitCardSummary:P,creditAccount:k,downloadEndPoint:j,statementListView:b,onBackClick:v})=>{const E=F(),c=N(),{sortedYear:z,monthsByYearWithSortedMonth:u}=me(b.statements);return t.jsxs(se,{children:[t.jsx(W,{title:A.title,backgroundColor:E.colors.grey4,style:{zIndex:3},onBackClick:v,source:"ChargeCardStatementsPage"}),t.jsx(ce,{windowSize:c,children:b.statements.length===0?t.jsx(M,{children:t.jsx(de,{children:t.jsx(L,{windowSize:c,children:t.jsx(le,{children:A.noStatements})})})}):t.jsx(re,{children:z.map(m=>t.jsxs(ne,{children:[t.jsx(oe,{windowSize:c,children:m}),t.jsx(M,{children:u[m].map((f,T)=>t.jsx(L,{windowSize:c,children:t.jsx(ie,{productInformation:l,creditAccountInformation:o,debitAccountInformation:d,cashbackInformation:a,creditAccountRepayment:I,depositAccountListWithDebitCardIssued:p,debitCardSummary:P,controllerEmails:n,isChargeCardFeatureEnabled:y,isDebitCardFeatureEnabled:x,isDebitCardSetupEnabled:C,isChargeCardSetupEnabled:S,chargeCardCashbackDetailState:$,creditAccount:k,currentTenantCompanyName:e,index:T,data:f,authParams:i,downloadEndPoint:j,boxType:H(T,u[m].length)},f.id)},f.id))})]},m))})})]})},re=r.div``,ne=r.div`
|
|
31
31
|
margin-bottom: ${h.sp6};
|
|
32
32
|
`,M=r.div``,oe=r(_)`
|
|
33
33
|
margin-left: ${e=>w.titleMarginLeftRight.valuePx(e.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as Z,V as t,aP as $,hH as pe,aN as M,r as G,o,aR as he,y as n,x as ee,f as ue,F as oe,b9 as me,M as te,ai as ge,al as F,aQ as fe,a9 as xe,cE as ke,p as w,ac as De,ga as $e,cJ as we,eR as J,cR as W,u as s,fm as be,ch as ye,b$ as je,e_ as Pe,gW as Le,am as q,gX as Se}from"./index-
|
|
1
|
+
import{Q as Z,V as t,aP as $,hH as pe,aN as M,r as G,o,aR as he,y as n,x as ee,f as ue,F as oe,b9 as me,M as te,ai as ge,al as F,aQ as fe,a9 as xe,cE as ke,p as w,ac as De,ga as $e,cJ as we,eR as J,cR as W,u as s,fm as be,ch as ye,b$ as je,e_ as Pe,gW as Le,am as q,gX as Se}from"./index-DVgY55Ab.js";import{a as k}from"./sentry-DMXY90dB.js";import{n as a}from"./mui-CR-wYMmN.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./zeni-epic-state-BXMuLX_S.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.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]="96e45995-d07f-4908-a306-0fcd5209435f",e._sentryDebugIdIdentifier="sentry-dbid-96e45995-d07f-4908-a306-0fcd5209435f")}catch{}})();const ve="checkDepositDetailPage",g="checkDepositDetails",Fe="amount",Ce="depositTo",Te="source",ie="fileIds",R="selectDocument",E=e=>{const l=[];return e.checkFront!=null&&l.push(e.checkFront.fileId),e.checkBack!=null&&l.push(e.checkBack.fileId),{[g]:{[Fe]:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,[Te]:e.checkDepositLocalData.source,[Ce]:{allOptions:e.depositAccounts.depositAccounts.map(f=>({label:f.accountName,value:f.id})),selectedOption:e.checkDepositLocalData.depositTo?.id},[ie]:l,[R]:{front:e.checkFront,back:e.checkBack}}}},D=(e,l)=>`${e}.${l}`,ze=e=>`${e}_form`,u={largeLabelWidth:new n(160,160,160),rowContentPaddingLeft:new n(s[3],s[4]),checkPicRowContentPaddingXAxis:new n(s[3],s[4]),labeleMarginLeft:new n(s[0],s[0]),labeleMarginBottom:new n(s[2],s[0]),labelMarginRight:new n(s[3],s[3]),labeledFieldPaddingLeft:new n(s[3],s[0]),labeledFieldPaddingRight:new n(s[3],s[2]),labeledFieldPaddingTop:new n(s[3],s[3]),labeledFieldPaddingBottom:new n(s[3],s[2]),infoLabelPaddingRight:new n(s[0],s[3]),infoLabelMarginTop:new n(s[1],s[0])},{spendManagement:Be,common:V}=oe.getLocalizedStrings(),c=Be.zeniAccounts.zeniAccountList,Ae=V.documents;function Ie({checkDeposit:e,analytics:l,filesEndPoint:f,openPopup:b,authParams:y,onSaveChangesToLocalStore:C,updateFilesEntity:j,onDeleteFile:P,onEditFileName:L,onCheckDpositClick:T}){const r=Z(),d=e.fetchState,S=fe(d),[v,_]=k.useState(!1),[se,z]=k.useState(!1),B=u.largeLabelWidth.value(r),x=xe({mode:"all",reValidateMode:"onBlur",defaultValues:E(e),values:E(e)}),{isValid:re}=x.formState,Q=i=>{const p={amount:{amount:i[g].amount??0,currencyCode:V.currency.currencyCode,currencySymbol:V.currency.currencySymbol},source:i[g].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===i[g].depositTo.selectedOption),fileIds:i[g][ie]};C(p)},le=async(i,p)=>{if(i!=null){if(i.includes("source")||i.includes("amount"))return;const h=Object.assign({},p);Q(h)}};k.useEffect(()=>{const i=x.watch((p,{name:h})=>{h!=null&&p!=null&&ke(()=>le(h,p))});return()=>{i.unsubscribe()}}),k.useEffect(()=>{S==="Completed"&&d==="Not-Started"&&x.reset(E(e))},[S,d,x,e]),k.useEffect(()=>{e.error!=null?z(!0):z(!1)},[e.error]);const ce=x.handleSubmit(()=>{if(re){l.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const i=x.getValues();Q(i),T?.()}}),ne=(i,p)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(I=>I.id===i),A=e.depositAccounts.depositAccounts.findIndex(I=>I.id===i);return h?t.jsx(Ve,{color:Le(A),isSelectedValue:p}):null},de=(i,p)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(A=>A.id===i);return h?p===!0?t.jsx(Re,{children:h?.maskedAccountNumber}):t.jsxs(Me,{children:[t.jsx(X,{children:h?.maskedAccountNumber}),t.jsx(to,{}),t.jsx(X,{children:M("0,0[.]00",h?.accountBalance?.available)})]}):null};return t.jsxs(t.Fragment,{children:[se?t.jsx(Oe,{children:t.jsxs(qe,{children:[t.jsxs(_e,{children:[t.jsx(Ge,{}),t.jsxs(Je,{children:[t.jsx(We,{children:e.error?.title}),t.jsx(Xe,{children:e.error?.message})]})]}),t.jsx(Qe,{children:t.jsx(ro,{"data-testid":$("check-deposit-form-close"),onClick:()=>{l.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),z(!1)},style:{width:o.sp3,height:o.sp3,color:w.heroLight}})})]})}):null,t.jsx(Ye,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(De,{...x,children:t.jsx("form",{id:ze(ve),onSubmit:ce,children:t.jsxs(Ke,{children:[t.jsx($e,{showAdditionalInfoLabel:!1,label:{label:c.checkDepositDrawer.amountLabel,width:B},formattedTextField:{type:"number",name:D(g,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:c.checkDepositDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:i=>!!i&&i>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}}),t.jsx(N,{}),t.jsx(we,{label:{label:c.checkDepositDrawer.sourceLabel,width:B},style:{width:"100%"},text:{type:"text",name:D(g,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:c.checkDepositDrawer.sourcePlaceholder,options:{required:!0,validate:i=>i!=null}}}),t.jsx(N,{}),t.jsx(ae,{size:r,children:t.jsx(eo,{size:r,children:t.jsx(He,{label:{label:c.checkDepositDrawer.depositToLabel,width:B,style:{marginLeft:u.labeleMarginLeft.valuePx(r),marginBottom:u.labeleMarginBottom.valuePx(r),marginRight:u.labelMarginRight.valuePx(r)}},style:{paddingTop:u.labeledFieldPaddingTop.valuePx(r),paddingBottom:u.labeledFieldPaddingBottom.valuePx(r),paddingLeft:u.labeledFieldPaddingLeft.valuePx(r),paddingRight:u.labeledFieldPaddingRight.valuePx(r),border:"none",width:"100%",outline:"none",padding:0,display:r==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:r==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(r),marginTop:u.infoLabelMarginTop.valuePx(r)},singleSelectPickerField:{valueToLogo:(i,p)=>ne(i,p),valueToSubLabels:(i,p)=>de(i,p),name:D(g,"depositTo"),placeholder:c.checkDepositDrawer.depositToPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e.checkDepositLocalData.depositTo?.id,allOptions:e.depositAccounts.depositAccounts.map(i=>({label:i.accountName,value:i.id}))},textAlignment:"right",registerOptions:{required:!0,validate:i=>!!(i!=null&&i.selectedOption)}}})})}),t.jsx(N,{}),t.jsxs(Ue,{size:r,children:[t.jsxs(Ze,{size:r,children:[t.jsx(Ee,{children:c.checkDepositDrawer.checkPicLabel}),t.jsx(Y,{isLast:!1,children:c.checkDepositDrawer.frontSide}),t.jsx(J,{name:`${D(g,R)}.front`,registerOptions:{required:!0},file:e.checkFront,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:f,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:W,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>_(i),onEditFileName:L,openPopup:b,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(Y,{isLast:!0,children:c.checkDepositDrawer.backSide}),t.jsx(J,{name:`${D(g,R)}.back`,registerOptions:{required:!0},file:e.checkBack,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:f,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:W,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>_(i),onEditFileName:L,openPopup:b,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(io,{children:c.checkDepositDrawer.picGuides.map(i=>t.jsxs(ao,{children:[t.jsx(oo,{}),t.jsx(Ne,{children:i})]},i))})]}),t.jsx(so,{windowSize:r,children:Ae.formatJPGText10MB})]})]})})})]})}const Ee=a(F)`
|
|
2
2
|
color: ${e=>e.theme.colors.hero};
|
|
3
3
|
`,Ne=a(F)`
|
|
4
4
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,b3 as vo,aP as m,bM as pe,aN as U,dj as $o,o as s,p as X,aQ as bn,Q as O,aD as kn,ay as Lo,dk as jn,dl as Ao,F as B,u as w,dm as Qn,dn as Nt,dp as It,ca as Pt,dq as Ft,y as V,d0 as zt,aw as Jn,aa as Xe,dr as Me,bO as H,T as Bo,g as ce,aV as $,a$ as Zn,ds as Xn,an as Le,dt as Wo,du as le,c9 as Tt,b_ as Sn,ai as Oo,am as we,dv as et,dw as Ae,dx as nt,al as _,ch as ne,dy as Mo,b as Vt,dz as Ge,dA as Cn,dB as _n,dC as No,dD as Io,b9 as ei,aW as T,b6 as Po,cy as Dt,cx as Rt,dE as Fo,b7 as ti,cB as ni,bQ as zo,dF as To,dG as vn,dH as $n,dI as Vo,dJ as Do,bS as Ro,bJ as Go,dK as Eo}from"./index-
|
|
1
|
+
import{V as t,b3 as vo,aP as m,bM as pe,aN as U,dj as $o,o as s,p as X,aQ as bn,Q as O,aD as kn,ay as Lo,dk as jn,dl as Ao,F as B,u as w,dm as Qn,dn as Nt,dp as It,ca as Pt,dq as Ft,y as V,d0 as zt,aw as Jn,aa as Xe,dr as Me,bO as H,T as Bo,g as ce,aV as $,a$ as Zn,ds as Xn,an as Le,dt as Wo,du as le,c9 as Tt,b_ as Sn,ai as Oo,am as we,dv as et,dw as Ae,dx as nt,al as _,ch as ne,dy as Mo,b as Vt,dz as Ge,dA as Cn,dB as _n,dC as No,dD as Io,b9 as ei,aW as T,b6 as Po,cy as Dt,cx as Rt,dE as Fo,b7 as ti,cB as ni,bQ as zo,dF as To,dG as vn,dH as $n,dI as Vo,dJ as Do,bS as Ro,bJ as Go,dK as Eo}from"./index-DVgY55Ab.js";import{n as a,c as P}from"./mui-CR-wYMmN.js";import{a as N,P as Ho}from"./sentry-DMXY90dB.js";import{EW as Gt,Fk as Et,Fl as Ne,Fm as Ht,Fn as Kt,Fo as Yt,Fp as Ut,Fq as ii,Fr as Ko,F7 as xt,EX as Ie,bm as Ln,bg as oi,Fs as ri,Ft as Yo,bo as Uo,F8 as ai}from"./zeni-epic-state-BXMuLX_S.js";import{N as it,D as qo,R as Qo,B as ye,u as v}from"./AccountRow-CYv0Uw-I-DQCZ-Htb.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d82fc4ef-e705-441e-9e02-4ea0e5bbf75e",e._sentryDebugIdIdentifier="sentry-dbid-d82fc4ef-e705-441e-9e02-4ea0e5bbf75e")}catch{}})();function q(e,n){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return U("0,0",e?.balance)}function J(e){return U("0,0",e?.forecast)}function li(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.totalPercentValue)}return U("0,0",e?.totalBalance)}function jt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.forecastPercentValue)}return U("0,0",e?.totalForecast)}function se(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const n=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return pe("0.00%",Math.floor(n*100)/100)}else return pe("0.00%",void 0)}function de(e){if(e!=null&&e.forecast!=null){const n=Math.floor((e.balance.amount-e.forecast.amount)*100/100);return U("0,0",Object.assign({},e.forecast,{amount:n}))}else return U("0,0",null)}function ci(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const n=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return pe("0.00%",Math.floor(n*100)/100)}else return pe("0.00%",void 0)}function si(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const n=Math.floor((e.totalBalance.amount-e.totalForecast.amount)*100/100);return U("0,0",Object.assign({},e.totalForecast,{amount:n}))}else return U("0,0",null)}const Pe=(e,n,i)=>{const{startDate:o,balanceType:r}=n,{dateFormat:{visual:l}}=B.getLocalizedStrings();switch(i){case"month":return r==="default"||r==="default_with_percent"?`${xt(o,l.MMMYYYYFormat,e)}`:mt(r,i);case"quarter":return r==="default"||r==="default_with_percent"?`${B.getLocalizedStrings().reports.quarterPrefix}${xt(o,l.QYYYYformat,e)}`:mt(r,i);case"year":return r==="default"||r==="default_with_percent"?`${xt(o,l.YYYYformat,e)}`:mt(r,i);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function mt(e,n){return B.getLocalizedStrings().downloadReport.additionalColumns.labels[n][e]}const wp=(e,n,i)=>{const o=n.length==0?e:`${e}_${n.join("_")}`;return i!=null&&i.trim().length>0?`${o}_${i}`:`${o}_${$o(10)}`},Jo=a.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as Je,g as xl,cI as wl,F as de,y as E,aQ as Ul,V as l,bS as Ol,fF as Il,ap as Ke,f$ as Xe,o as i,g9 as Hl,cT as Sl,cJ as $,cL as Oe,cQ as jl,eZ as Gl,eX as Zl,cO as vl,cM as K,ga as tl,gb as Ql,fx as Yl,cR as Qe,fw as al,gc as Jl,p as B,cN as il,b1 as De,cS as Kl,fN as Ll,a as Ne,bJ as _l,fE as Cl,al as el,f_ as Fl,b as Ee,ao as Xl,bG as et,u as R,dj as lt,av as tt,gd as at,ai as ll,am as it,ge as ot,bH as Pe,b5 as rt,d as Dl,c_ as st,at as nt,bF as dt}from"./index-
|
|
1
|
+
import{Q as Je,g as xl,cI as wl,F as de,y as E,aQ as Ul,V as l,bS as Ol,fF as Il,ap as Ke,f$ as Xe,o as i,g9 as Hl,cT as Sl,cJ as $,cL as Oe,cQ as jl,eZ as Gl,eX as Zl,cO as vl,cM as K,ga as tl,gb as Ql,fx as Yl,cR as Qe,fw as al,gc as Jl,p as B,cN as il,b1 as De,cS as Kl,fN as Ll,a as Ne,bJ as _l,fE as Cl,al as el,f_ as Fl,b as Ee,ao as Xl,bG as et,u as R,dj as lt,av as tt,gd as at,ai as ll,am as it,ge as ot,bH as Pe,b5 as rt,d as Dl,c_ as st,at as nt,bF as dt}from"./index-DVgY55Ab.js";import{a as h}from"./sentry-DMXY90dB.js";import{a as ct,n as s}from"./mui-CR-wYMmN.js";import{bh as El,bL as ut}from"./zeni-epic-state-BXMuLX_S.js";import{W as Ye}from"./LabeledAddressValueField-Cac2YPpN-Ba7qdzlE.js";import{b as pt}from"./LabeledCountryMultiSelectField-DdqOGBwp-DSHkYk9h.js";import{I as ol}from"./LabeledCreatableSingleSelectField-K0xUavli-THytCXMe.js";import{Y as rl}from"./LabeledDocumentField--JZn0qDn-Ck_rkdmF.js";import{d as mt}from"./LabeledMultiSelectField-X5GGPnfG-0qUfOlj0.js";import{p as ht,i as ft,t as yt}from"./commonTypes-CcEHeA3z-sEqnsPbS.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="9faa336f-953e-4e6f-89a6-3b43a5f3da6f",e._sentryDebugIdIdentifier="sentry-dbid-9faa336f-953e-4e6f-89a6-3b43a5f3da6f")}catch{}})();const gt=e=>h.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{opacity:.2,d:"M50.5391 6.01221C51.2636 6.01238 51.9584 6.29976 52.4707 6.81201L62.6016 16.9429C63.1141 17.4553 63.4022 18.1507 63.4023 18.8755V66.1353C63.4023 66.86 63.1149 67.5554 62.6025 68.0679C62.09 68.5804 61.3947 68.8686 60.6699 68.8687H14.2109C13.4862 68.8687 12.7908 68.5804 12.2783 68.0679C11.7658 67.5554 11.4775 66.8601 11.4775 66.1353V8.74463C11.4775 8.01982 11.7658 7.32453 12.2783 6.81201C12.7908 6.29962 13.4862 6.01221 14.2109 6.01221H50.5391Z",fill:"#97C3B9"}),h.createElement("path",{d:"M60.5227 61.2642V61.2318M60.5227 61.2318V15.9951C60.5226 15.2704 60.2346 14.5753 59.722 14.0629L49.5911 3.93209C49.0787 3.41953 48.3837 3.1315 47.659 3.13135H11.3306C10.6057 3.13135 9.91062 3.41928 9.3981 3.9318C8.88559 4.44431 8.59766 5.13944 8.59766 5.86425V63.2551C8.59766 63.9799 8.88559 64.6751 9.3981 65.1876C9.91062 65.7001 10.6057 65.988 11.3306 65.988H57.7898C58.5147 65.988 59.2098 65.7001 59.7223 65.1876C60.2348 64.6751 60.5227 64.0737 60.5227 63.2551C60.5227 62.4365 60.5227 61.2318 60.5227 61.2318Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M46.8682 3.13135V12.9335C46.8682 13.2545 46.9371 13.5724 47.0709 13.869C47.2048 14.1656 47.401 14.4351 47.6483 14.6621C47.8956 14.8891 48.1893 15.0692 48.5124 15.1921C48.8356 15.3149 49.1819 15.3781 49.5317 15.3781H60.2144",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("g",{clipPath:"url(#clip0_1350_23850)"},h.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),h.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),h.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),h.createElement("g",{clipPath:"url(#clip1_1350_23850)"},h.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),h.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),h.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),h.createElement("g",{clipPath:"url(#clip2_1350_23850)"},h.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),h.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),h.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),h.createElement("g",{clipPath:"url(#clip3_1350_23850)"},h.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),h.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),h.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),h.createElement("defs",null,h.createElement("clipPath",{id:"clip0_1350_23850"},h.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),h.createElement("clipPath",{id:"clip1_1350_23850"},h.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),h.createElement("clipPath",{id:"clip2_1350_23850"},h.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),h.createElement("clipPath",{id:"clip3_1350_23850"},h.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:bt}=de.getLocalizedStrings(),{businessVerification:sl}=bt,Se={iconSize:new E(R[6],R[10]),gap:new E(R[2],R[3])},Nl={title:new Ne("smallSemiBold","standardSemiBold"),description:new Ne("smallRegular","standardRegular")},Pl=()=>{const[e]=tt("Secure"),c=Je();return l.jsxs(xt,{windowSize:c,children:[e!=null?l.jsx(wt,{windowSize:c,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):l.jsx(Ot,{windowSize:c}),l.jsxs(It,{children:[l.jsx(St,{windowSize:c,children:sl.securityMessageTitle}),l.jsx(jt,{windowSize:c,children:sl.securityMessageDescription})]})]})},xt=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
4
4
|
gap: ${e=>Se.gap.valuePx(e.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as r,aL as E,aM as x,F as p,o as l,aP as M,aS as w,ai as y,aT as H}from"./index-
|
|
1
|
+
import{V as r,aL as E,aM as x,F as p,o as l,aP as M,aS as w,ai as y,aT as H}from"./index-DVgY55Ab.js";import{n as o}from"./mui-CR-wYMmN.js";import{c as j}from"./SummaryCard-D3ev0zFr-CHfcyxTY.js";import{a as t}from"./sentry-DMXY90dB.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./zeni-epic-state-BXMuLX_S.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";import"./ReloadCard-Bf1jxC4B-CjPHohhm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="861a0a75-7568-442a-adc5-aee80801a90c",e._sentryDebugIdIdentifier="sentry-dbid-861a0a75-7568-442a-adc5-aee80801a90c")}catch{}})();const B=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M25.8382 19.5283C25.8382 19.5283 31.0943 15.1988 31.0943 12.6045C31.0943 11.998 30.7236 11.9138 30.2856 11.9138H20.0263V6.72512C20.0263 6.27027 19.6556 5.9165 19.2176 5.9165H2.74197C2.28712 5.9165 1.93335 6.28712 1.93335 6.72512V20.3706C1.93335 20.8255 2.30397 21.1792 2.74197 21.1792H11.182V27.1765H30.3025C30.7573 27.1765 31.1111 26.8733 31.1111 26.4858C31.0943 24.5822 27.4892 20.9434 25.8382 19.5283Z",fill:"#95C1B7"}),t.createElement("path",{d:"M18.9987 20.1516H1.69754C1.24269 20.1516 0.888916 19.781 0.888916 19.343V5.69754C0.888916 5.24269 1.25953 4.88892 1.69754 4.88892H18.19C18.6449 4.88892 18.9987 5.25953 18.9987 5.69754V20.1516Z",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M18.9987 10.8862H29.2581C29.7129 10.8862 30.0667 10.9705 30.0667 11.5769C30.0667 14.1713 24.8107 18.5007 24.8107 18.5007C26.4616 19.9158 30.0667 23.5546 30.0667 25.4583C30.0667 25.8457 29.6961 26.149 29.2581 26.149H10.1376V20.1517",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M18.9987 20.1516L10.1376 26.1489",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M14.8545 16.3949H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 12.5203H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 8.62878H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),D=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M29.1471 12.9199H19.384V2.69038C19.384 2.2561 19.0302 1.91833 18.612 1.91833H4.13618C3.7019 1.91833 3.36414 2.27219 3.36414 2.69038V30.3391C3.36414 30.7734 3.71799 31.1112 4.13618 31.1112H17.5665H18.612H29.1471C29.5814 31.1112 29.9192 30.7573 29.9192 30.3391V13.692C29.9192 13.2738 29.5653 12.9199 29.1471 12.9199Z",fill:"#97C3B9"}),t.createElement("path",{d:"M26.2595 15.4934H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 25H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 20H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 15H5.53552",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 25H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 20H21",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 10H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 5.36316H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M18.242 30.0978V1.66096C18.242 1.22668 17.8882 0.888916 17.47 0.888916H2.99421C2.55994 0.888916 2.22217 1.24277 2.22217 1.66096V29.3097C2.22217 29.744 2.57602 30.0818 2.99421 30.0818H17.47",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M16.4246 30.0978H28.0052C28.4395 30.0978 28.7772 29.744 28.7772 29.3258V12.6625C28.7772 12.2283 28.4234 11.8905 28.0052 11.8905H18.1617",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10})),v=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M16.3966 31.1111C24.5135 31.1111 31.0936 24.5311 31.0936 16.4141C31.0936 8.29723 24.5135 1.71716 16.3966 1.71716C8.27965 1.71716 1.69958 8.29723 1.69958 16.4141C1.69958 24.5311 8.27965 31.1111 16.3966 31.1111Z",fill:"#97C3B9"}),t.createElement("path",{d:"M15.5859 30.2829C23.7028 30.2829 30.2829 23.7028 30.2829 15.5859C30.2829 7.46898 23.7028 0.888916 15.5859 0.888916C7.46898 0.888916 0.888916 7.46898 0.888916 15.5859C0.888916 23.7028 7.46898 30.2829 15.5859 30.2829Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M3.76135 15.9559C3.76135 20.1148 6.01701 23.745 9.36524 25.6834",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M8.81897 19.9034C8.81897 17.3658 11.85 15.304 15.5859 15.304C19.3219 15.304 22.3529 17.3658 22.3529 19.9034C22.3529 24.8729 8.81897 24.9257 8.81897 19.9034Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M15.5859 13.2245C17.1626 13.2245 18.4407 11.9464 18.4407 10.3697C18.4407 8.79304 17.1626 7.51489 15.5859 7.51489C14.0092 7.51489 12.7311 8.79304 12.7311 10.3697C12.7311 11.9464 14.0092 13.2245 15.5859 13.2245Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M27.0404 15.6035C27.0404 11.4446 24.7848 7.81443 21.4365 5.87598",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),g=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon:D},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:v},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:B}],L=o(w)`
|
|
2
2
|
margin: ${l.sp5};
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
`,W=o.div`
|
|
@@ -39,4 +39,4 @@ import{V as r,aL as E,aM as x,F as p,o as l,aP as M,aS as w,ai as y,aT as H}from
|
|
|
39
39
|
width: 100%;
|
|
40
40
|
height: 1px;
|
|
41
41
|
background-color: ${e=>e.theme.colors.grey3};
|
|
42
|
-
`;function Y({card:e,actions:s,data:d,dndProps:n}){return r.jsx(E,{isDragging:n?.draggedCardType!=null,isDragOver:n?.dragOverCard===e.cardType,draggable:!0,onDragStart:i=>n?.onDragStart(e.cardType,i),onDragOver:i=>n?.onDragOver(i,e.cardType),onDragLeave:i=>n?.onDragLeave(i),onDrop:i=>n?.onDrop(i,e.cardType),dimension:e.dimension,children:r.jsx(j,{card:e,actions:s,children:r.jsx(x,{dimension:e.dimension,style:{cursor:"pointer"},onClick:()=>s.onCardClick(e.cardIndex,e.cardType),"data-testid":M("dashboard",e.cardType),children:r.jsxs(L,{children:[r.jsx(W,{children:r.jsx(b,{children:p.getLocalizedStrings().companyPassportCard.title})}),g.map((i,c)=>{const{title:m,key:a,Icon:h}=i;return r.jsxs(I,{children:[r.jsxs(T,{children:[r.jsx($,{children:r.jsx(h,{height:l.sp5,width:l.sp5})}),r.jsxs(_,{children:[r.jsx(N,{children:m}),r.jsx(S,{data:d?.companyView,itemKey:a})]})]}),c!==g.length-1?r.jsx(A,{}):null]},i.key)})]})})})},e.cardIndex)}const S=({itemKey:e,data:s})=>{const d=s?.companyOfficers,n=s?.company,i=n?.company.companyInfo,c=n?.company.incInfo,m=()=>r.jsx(V,{children:"—"});switch(e){case"company_legal_name":return i?.companyLegalName==null||i.companyLegalName===""?r.jsx(m,{}):r.jsx(k,{children:i?.companyLegalName});case"company_officer":{if(d==null||d?.length===0)return r.jsx(m,{});const a=d.slice(0,10).sort((f
|
|
42
|
+
`;function Y({card:e,actions:s,data:d,dndProps:n}){return r.jsx(E,{isDragging:n?.draggedCardType!=null,isDragOver:n?.dragOverCard===e.cardType,draggable:!0,onDragStart:i=>n?.onDragStart(e.cardType,i),onDragOver:i=>n?.onDragOver(i,e.cardType),onDragLeave:i=>n?.onDragLeave(i),onDrop:i=>n?.onDrop(i,e.cardType),dimension:e.dimension,children:r.jsx(j,{card:e,actions:s,children:r.jsx(x,{dimension:e.dimension,style:{cursor:"pointer"},onClick:()=>s.onCardClick(e.cardIndex,e.cardType),"data-testid":M("dashboard",e.cardType),children:r.jsxs(L,{children:[r.jsx(W,{children:r.jsx(b,{children:p.getLocalizedStrings().companyPassportCard.title})}),g.map((i,c)=>{const{title:m,key:a,Icon:h}=i;return r.jsxs(I,{children:[r.jsxs(T,{children:[r.jsx($,{children:r.jsx(h,{height:l.sp5,width:l.sp5})}),r.jsxs(_,{children:[r.jsx(N,{children:m}),r.jsx(S,{data:d?.companyView,itemKey:a})]})]}),c!==g.length-1?r.jsx(A,{}):null]},i.key)})]})})})},e.cardIndex)}const S=({itemKey:e,data:s})=>{const d=s?.companyOfficers,n=s?.company,i=n?.company.companyInfo,c=n?.company.incInfo,m=()=>r.jsx(V,{children:"—"});switch(e){case"company_legal_name":return i?.companyLegalName==null||i.companyLegalName===""?r.jsx(m,{}):r.jsx(k,{children:i?.companyLegalName});case"company_officer":{if(d==null||d?.length===0)return r.jsx(m,{});const a=d.slice(0,10).sort((u,f)=>u.user.createTime?.isAfter(f.user.createTime)===!0?1:-1),h=[a[0].user.firstName,a[0].user.lastName].join("").trim();return r.jsxs(k,{children:[a[0].user.firstName!=null&&a[0].user.firstName!==""?r.jsxs(C,{children:[a[0].user.firstName," "]}):null,r.jsx(C,{children:a[0].user.lastName}),a[0].user.email!=null?r.jsx(C,{children:`${h.length>0?", ":""}${a[0].user.email}`}):null]})}case"company_inc":return c?.companyIncType==null||c.companyIncType===""?r.jsx(m,{}):r.jsx(k,{children:c?.companyIncType});default:return null}};export{Y as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as B,g as gt,aQ as bt,a9 as wt,cE as $t,F as T,V as t,bB as It,ac as Ot,cF as St,aR as jt,y as g,cG as nt,cH as Dt,x as vt,o,al as Ie,cI as st,cJ as E,cK as Ue,cL as Y,cM as ae,p as L,cN as $e,b1 as ye,cO as rt,cP as Ft,cQ as Ct,cR as
|
|
1
|
+
import{Q as B,g as gt,aQ as bt,a9 as wt,cE as $t,F as T,V as t,bB as It,ac as Ot,cF as St,aR as jt,y as g,cG as nt,cH as Dt,x as vt,o,al as Ie,cI as st,cJ as E,cK as Ue,cL as Y,cM as ae,p as L,cN as $e,b1 as ye,cO as rt,cP as Ft,cQ as Ct,cR as ct,aw as kt,cS as Nt,cT as dt,cU as Lt,cV as Tt,cW as Pt,cX as zt,cY as Vt,bs as Et,aT as Mt,b9 as J,ai as Oe,u as I,r as qe,cZ as At,aD as Wt,c_ as Bt,ch as _t,c$ as Rt,am as Yt,d0 as Ut}from"./index-DVgY55Ab.js";import{a as G,P as qt}from"./sentry-DMXY90dB.js";import{n as s,a as Gt,k as Ht}from"./mui-CR-wYMmN.js";import{Fg as Qt,bj as pt,bL as Xt,bh as Pe,bC as Zt,Fh as Jt}from"./zeni-epic-state-BXMuLX_S.js";import{I as ut}from"./LabeledCreatableSingleSelectField-K0xUavli-THytCXMe.js";import{Y as mt}from"./LabeledDocumentField--JZn0qDn-Ck_rkdmF.js";import{p as Kt,i as eo,t as to}from"./commonTypes-CcEHeA3z-sEqnsPbS.js";import{b as oo}from"./LabeledCountryMultiSelectField-DdqOGBwp-DSHkYk9h.js";import{d as ft}from"./LabeledMultiSelectField-X5GGPnfG-0qUfOlj0.js";import{$ as ht}from"./LabeledAddressValue-D09c5wJR-784mespz.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="cbc73cab-46e1-4afd-86cd-b1a126f63924",e._sentryDebugIdIdentifier="sentry-dbid-cbc73cab-46e1-4afd-86cd-b1a126f63924")}catch{}})();const yt={maxWidth:new g(280,340),contentMaxWidth:new g(200,255)},lo=Ht`
|
|
2
2
|
0% {
|
|
3
3
|
transform: translateX(100%)
|
|
4
4
|
}
|
|
@@ -47,7 +47,7 @@ import{Q as B,g as gt,aQ as bt,a9 as wt,cE as $t,F as T,V as t,bB as It,ac as Ot
|
|
|
47
47
|
&:hover {
|
|
48
48
|
color: ${L.primaryDark};
|
|
49
49
|
}
|
|
50
|
-
`,mo=e=>{const i=T.getLocalizedStrings().companyPassport.snackBar;return e==="Error"?i.failedText:i.successText};function fo(e){const i=B(),{fetchState:h,onRemoveSnackbar:a}=e;G.useEffect(()=>{setTimeout(a,5e3)});const
|
|
50
|
+
`,mo=e=>{const i=T.getLocalizedStrings().companyPassport.snackBar;return e==="Error"?i.failedText:i.successText};function fo(e){const i=B(),{fetchState:h,onRemoveSnackbar:a}=e;G.useEffect(()=>{setTimeout(a,5e3)});const c=T.getLocalizedStrings().companyPassport.snackBar,l=h==="Completed";return t.jsxs(ao,{windowSize:i,children:[l?t.jsx(io,{}):t.jsx(no,{}),t.jsxs(co,{windowSize:i,children:[t.jsx(po,{isSuccess:l,children:l?c.success:c.error}),t.jsx(so,{children:t.jsx(ro,{children:mo(h)})})]}),t.jsx(uo,{onClick:a,children:t.jsx(vt,{})})]})}const xe={labelWidth:new g(110,145,180),largeLabelWidth:new g(150,215,215),largeLabelDocumentWidth:new g(150,210,252),paddingBottom:new g(I[3],I[2])};function ho(e){const i=B(),[h,a]=G.useState(!1),{companyPassport:c,commonSetUp:{businessVerification:l},common:{documents:n}}=T.getLocalizedStrings(),{fileProps:p,companyFiles:y,deleteFileStatusById:$,updateFileStatusById:r,sectionId:d,isDisabled:b,companyIncInfo:j,style:u}=e,M=xe.labelWidth.value(i),C=xe.largeLabelWidth.value(i),O=xe.largeLabelDocumentWidth.value(i),{dateFormat:{visual:v},companyPassport:D}=T.getLocalizedStrings(),w=y.find(H=>H.documentType==="certificate_of_incorporation"),_=i==="small"?c.companyIncInfo.stateOfIncPlaceholderSmall:c.companyIncInfo.stateOfIncPlaceholder,se=i==="small"?c.companyIncInfo.typeOfIncPlaceholderSmall:c.companyIncInfo.typeOfIncPlaceholder;return t.jsxs(yo,{style:u,children:[t.jsx(go,{children:c.companyIncInfo.title}),t.jsxs(xo,{children:[t.jsx(ut,{label:{label:D.companyIncInfo.typeOfInc,width:C},isDisabled:b,creatableSingleSelectField:{name:ge(d,"typeOfInc"),placeholder:se,defaultValue:{selectedOption:j?.typeOfInc,allOptions:c.companyIncInfo.allTypesOfIncorporation}}}),t.jsx(Ce,{}),t.jsx(Ft,{label:{label:D.companyIncInfo.stateOfInc,width:C},isDisabled:b,singleSelectField:{name:ge(d,"stateOfInc"),placeholder:_,defaultValue:{selectedOption:j?.stateOfInc,allOptions:c.companyIncInfo.allStatesOfIncorporation}}}),t.jsx(Ce,{}),t.jsx(Ct,{isDisabled:b,label:{label:c.companyIncInfo.incDate,width:M},style:{paddingBottom:xe.paddingBottom.valuePx(i)},dateField:{name:ge(d,"incDate"),placeholder:Y(c.companyIncInfo.incDate),defaultValue:j?.incDate,dateFormat:v.defaultInput,maxDate:Pe(),minDate:Xt("01 Jan 1900"),autoComplete:"off"}}),t.jsx(Ce,{}),t.jsx(mt,{name:ge(d,"certificateOfIncorporation"),isDisabled:b,sizeLimit:ct,deleteFileStatusById:$,updateFileStatusById:r,filesEndPoint:p.filesEndPoint,authParams:p.authParams,label:{label:l.certificateOfIncorporation,width:O},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:w,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:h,updateFilesEntity:p.updateFilesEntity,onEditFileName:p.onEditFileName,onDeleteFile:p.onDeleteFile,onFileSizeError:H=>a(H)}),t.jsx(bo,{windowSize:i,isError:h,children:n.formatDocumentText10MB})]})]})}const ge=(e,i)=>`${e}.${i}`,yo=s.div`
|
|
51
51
|
display: flex;
|
|
52
52
|
flex-direction: column;
|
|
53
53
|
padding-top: ${o.sp3};
|
|
@@ -91,7 +91,7 @@ import{Q as B,g as gt,aQ as bt,a9 as wt,cE as $t,F as T,V as t,bB as It,ac as Ot
|
|
|
91
91
|
width: fit-content;
|
|
92
92
|
margin-left: auto;
|
|
93
93
|
margin-bottom: ${o.sp2};
|
|
94
|
-
`,Oo=e=>{const{labels:i,style:h,listStyleType:a="disc"}=e;return t.jsx(wo,{style:{...h,listStyleType:a},children:i.filter(
|
|
94
|
+
`,Oo=e=>{const{labels:i,style:h,listStyleType:a="disc"}=e;return t.jsx(wo,{style:{...h,listStyleType:a},children:i.filter(c=>c!=null&&c.text!="").map((c,l)=>t.jsxs($o,{isCancelled:c.status==="cancelled",children:[c.text,c.subText!=null?t.jsxs(Io,{children:["Started: ",c.subText]}):null]},`${c.text}_${l}`))})},ne={width:new g(343,580,726),paddingTopBottom:new g(I[3],I[3]),marginRight:new g(I[2],I[2]),labelMarginLeft:new g(I[3],I[4]),labelMarginRight:new g(I[3],I[4])};function we({isDisabled:e,label:i,bullettedLabels:h,style:a}){const c=B();return h.labels.length>0?t.jsxs(So,{size:c,style:a,children:[t.jsx($e,{isDisabled:e,label:i.label,style:{marginLeft:ne.labelMarginLeft.value(c),marginRight:ne.labelMarginRight.value(c),width:i.width??"auto"}}),t.jsx(Oo,{...h,style:{maxWidth:i.width!=null?`calc(100% - ${i.width}px)`:"auto"}})]}):null}const So=s.div`
|
|
95
95
|
display: flex;
|
|
96
96
|
flex-direction: row;
|
|
97
97
|
align-items: flex-start;
|
|
@@ -112,7 +112,7 @@ import{Q as B,g as gt,aQ as bt,a9 as wt,cE as $t,F as T,V as t,bB as It,ac as Ot
|
|
|
112
112
|
border-bottom-left-radius: inherit;
|
|
113
113
|
border-bottom-right-radius: inherit;
|
|
114
114
|
}
|
|
115
|
-
`,ue={labelWidth:new g(110,110,140),mediumLabelWidth:new g(140,140,160),largeLabelWidth:new g(170,170,180),extraLargeLabelWidth:new g(200,250,300),regulatedStatusMaxWidth:new g(343,580,726)},f=T.getLocalizedStrings().commonSetUp.businessVerification,Ge=f.companySourceOfFundOptions,jo=T.getLocalizedStrings(),{companyPassport:F,dateFormat:{analytics:He},common:{yes:Qe,no:Xe}}=jo;function Do({companyViewData:e,allIndustries:i,allNationalityCountries:h,companyInfo:a,companyAddress:d,sectionId:l,isDisabled:n,isCompanyVerified:p,onCompanyAddressClick:y,style:$}){const r=B(),c=Gt(),{watch:b,setValue:j,formState:{errors:u}}=st(),M=e.company.company.companyInfo,C=!(p===!0&&a?.companySubIndustry==null)&&!(n!=null&&a?.companySubIndustry==null),O=!(p===!0&&(a?.countriesOfOperations==null||a?.countriesOfOperations.length===0))&&!(n!=null&&a?.countriesOfOperations==null),v=!(p===!0&&a?.transactionVolume==null)&&!(n!=null&&a?.transactionVolume==null),D=!(p===!0&&a?.regulatedStatus==null)&&!(n!=null&&a?.regulatedStatus==null),w=!(p===!0&&a?.usNexus==null)&&!(n!=null&&a?.usNexus==null),_=!(p===!0&&(a?.purposeOfAccount==null||a?.purposeOfAccount.length===0))&&!(n!=null&&a?.purposeOfAccount==null),se=!(p===!0&&(a?.companySourceOfFunds==null||a?.companySourceOfFunds.length===0))&&!(n!=null&&a?.companySourceOfFunds==null),H=b(x(l,"companySourceOfFunds")),Se=b(x(l,"transactionVolume")),je=b(x(l,"regulatedStatus")),Q=b(x(l,"usNexus")),q=b(x(l,"purposeOfAccount")),me=m=>Ge[m]??m,re=f.transactionVolumeOptions,K=m=>re[m]??m,de=f.usNexusOptions,X=m=>de[m]??m,ee=Object.values(de),De=(a?.usNexusTypes??[]).map(X),fe=f.purposeOfAccountOptions,ve=m=>fe[m]??m,V=ue.labelWidth.value(r),te=ue.mediumLabelWidth.value(r),W=ue.largeLabelWidth.value(r),Z=ue.extraLargeLabelWidth.value(r),oe=r==="small"?F.companyInfo.businessModelPlaceholderSmall:F.companyInfo.businessModelPlaceholder,R=m=>i.find(z=>z.code===m)?.name??m,ce=b(x(l,"industry")),Fe=f.companyIndustryOptions??{},le=m=>Fe[m]??m,he=f.companySubIndustryOptions??{},P=m=>{if(m==null||m==="")return[];const z=he[m];return z!=null?Object.keys(z):[]},S=m=>{const z=ce?.selectedOption;return z==null||z===""?m:he[z]?.[m]??m},k=m=>{j(x(l,"subIndustry"),{selectedOption:void 0,allOptions:P(m)})},N=ce?.selectedOption??a?.industry;return t.jsxs(Fo,{style:$,children:[t.jsx(ko,{children:F.companyInfo.title}),t.jsxs(Co,{children:[t.jsx(E,{isDisabled:n,label:{label:F.companyInfo.companyName,width:W},text:{type:"text",name:x(l,"companyName"),placeholder:Y(F.companyInfo.companyName),defaultValue:a?.companyName,autoComplete:"new-password",options:{required:!!M.name,pattern:Ue}}}),t.jsx(A,{}),t.jsx(E,{isDisabled:n,label:{label:F.companyInfo.legalName,width:te},text:{type:"text",name:x(l,"legalName"),placeholder:Y(F.companyInfo.legalName),defaultValue:a?.legalName,autoComplete:"new-password",options:{required:!!M.companyLegalName,pattern:Ue}}}),t.jsx(A,{}),t.jsx(E,{isDisabled:n,label:{label:F.companyInfo.website,width:V},text:{type:"url",name:x(l,"website"),placeholder:Y(F.companyInfo.website),defaultValue:a?.website?.toString()??"",autoComplete:"new-password"}}),t.jsx(A,{}),C?t.jsx(t.Fragment,{children:t.jsxs(No,{"data-suppress-hover":n!=null?!0:void 0,children:[t.jsx(ae,{label:{label:f.companyIndustryLabel,width:V},singleSelectField:{singleSelect:{name:x(l,"industry"),placeholder:f.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:le,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.industry,allOptions:Object.keys(f.companyIndustryOptions)},onSelectChange:k},isFunctional:!0,errorInfoLabel:f.companyIndustryError.replace("_product_type_","company"),style:{padding:0,margin:0,outline:"none",paddingRight:o.sp2}}),N!=null&&t.jsx(ae,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:x(l,"subIndustry"),placeholder:f.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:S,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.companySubIndustry,allOptions:P(ce?.selectedOption)}},isFunctional:!0,keepFocusedStyle:!0,errorInfoLabel:f.companySubIndustryError.replace("_product_type_","company"),additionalInfoLabel:n==null?f.companyIndustryAdditionalInfo:void 0,additionalInfoStyle:{color:c.colors.hero},style:{outline:"none",paddingBottom:o.sp0,width:"100%"}})]})}):t.jsx(ae,{label:{label:F.companyInfo.industry,width:V},singleSelectField:{singleSelect:{name:x(l,"industry"),placeholder:F.companyInfo.industryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:R,isDisabled:n,showTickMark:!0},defaultValue:{selectedOption:a?.industry,allOptions:i?.map(m=>m.code)??[]}},isFunctional:!0}),t.jsx(A,{}),t.jsx(ut,{isDisabled:n,label:{label:F.companyInfo.businessModel,width:W},creatableSingleSelectField:{name:x(l,"businessModel"),placeholder:oe,defaultValue:{selectedOption:a?.businessModel,allOptions:F.companyInfo.allBusinessModels}}}),O&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsx(oo,{label:{label:f.countriesOfOperationsLabel,width:W},isDisabled:n,additionalInfoLabel:n==null?f.countriesOfOperationsAdditionalInfo:void 0,multiSelectField:{name:x(l,"countriesOfOperations"),placeholder:f.countriesOfOperationsPlaceholder,defaultValue:nt(a?.countriesOfOperations,(h??[]).map(m=>m.countryCode))}})]}),se&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsx(ae,{label:{label:f.companySourceOfFundsLabel,width:W},singleSelectField:{singleSelect:{name:x(l,"companySourceOfFunds"),placeholder:f.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:me,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.companySourceOfFunds,allOptions:Object.keys(Ge)}},isFunctional:!0,additionalContent:Kt.includes(H?.selectedOption)?t.jsx(E,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:x(l,"companySourceOfFundsDescription"),placeholder:f.descriptionPlaceholder,style:{backgroundColor:u[l]!=null&&u[l]?.companySourceOfFundsDescription!=null?L.importantLight:c.colors.background},options:{}},additionalInfoLabel:f.companySourceOfFundsDescriptionError,style:{position:"relative",top:0,left:-W,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||u[l]!=null&&u[l]?.companySourceOfFundsDescription!=null?void 0:f.companySourceOfFundsAdditionalInfo,additionalInfoStyle:{color:c.colors.hero}})]}),v&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsx(ae,{label:{label:f.transactionVolumeLabel,width:Z},singleSelectField:{singleSelect:{name:x(l,"transactionVolume"),placeholder:f.transactionVolumePlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:K,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.transactionVolume,allOptions:Object.keys(re)}},isFunctional:!0,additionalContent:eo.includes(Se?.selectedOption)?t.jsx(E,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:x(l,"transactionVolumeDescription"),placeholder:f.descriptionPlaceholder,style:{backgroundColor:u[l]!=null&&u[l]?.transactionVolumeDescription!=null?L.importantLight:c.colors.background},options:{}},additionalInfoLabel:f.transactionVolumeDescriptionError,style:{position:"relative",top:0,left:-Z,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||u[l]!=null&&u[l]?.transactionVolumeDescription!=null?void 0:f.transactionVolumeAdditionalInfo,additionalInfoStyle:{color:c.colors.hero}})]}),D&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsxs(Ze,{windowSize:r,"data-suppress-hover":n!=null?!0:void 0,children:[t.jsxs(Je,{children:[t.jsx($e,{label:f.regulatedStatusLabel,htmlFor:x(l,"regulatedStatus"),isDisabled:n,style:{width:W,color:n==="disabled"?c.colors.grey1:c.colors.hero}}),t.jsxs(Ke,{labelWidth:W,windowSize:r,children:[t.jsx(ye,{label:{label:Qe},style:{paddingRight:`${o.sp4}`,width:"auto"},radioField:{name:x(l,"regulatedStatus"),id:`${x(l,"regulatedStatus")}.yes`,value:"yes",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0}),t.jsx(ye,{label:{label:Xe},style:{width:"auto"},radioField:{name:x(l,"regulatedStatus"),id:`${x(l,"regulatedStatus")}.no`,value:"no",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0})]})]}),je==="yes"&&t.jsx(E,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},text:{type:"text",name:x(l,"regulatedStatusDescription"),placeholder:f.regulatedStatusDescriptionPlaceholder,style:{backgroundColor:u[l]!=null&&u[l]?.regulatedStatusDescription!=null?L.importantLight:c.colors.background},options:{}},additionalInfoLabel:f.regulatedStatusDescriptionError,style:{outline:"none",width:"100%",padding:0}}),u[l]!=null&&u[l]?.regulatedStatus!=null?t.jsx(ke,{windowSize:r,children:f.regulatedStatusError.replace("_product_type_","company details")}):u[l]!=null&&u[l]?.regulatedStatusDescription!=null?null:n==null?t.jsx(et,{windowSize:r,children:f.regulatedStatusAdditionalInfo}):null]})]}),w&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsxs(Ze,{windowSize:r,"data-suppress-hover":n!=null?!0:void 0,children:[t.jsxs(Je,{children:[t.jsx($e,{label:f.usNexusLabel,htmlFor:x(l,"usNexus"),isDisabled:n,style:{width:W,color:n==="disabled"?c.colors.grey1:c.colors.hero}}),t.jsxs(Ke,{labelWidth:W,windowSize:r,children:[t.jsx(ye,{label:{label:Qe},style:{paddingRight:`${o.sp4}`,width:"auto"},radioField:{name:x(l,"usNexus"),id:`${x(l,"usNexus")}.yes`,value:"yes",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0}),t.jsx(ye,{label:{label:Xe},style:{width:"auto"},radioField:{name:x(l,"usNexus"),id:`${x(l,"usNexus")}.no`,value:"no",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0})]})]}),Q==="yes"&&t.jsxs(t.Fragment,{children:[t.jsx(Lo,{hasError:u[l]!=null&&u[l]?.usNexusTypes!=null,children:t.jsx(ft,{isDisabled:n,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},multiSelectField:{name:x(l,"usNexusTypes"),placeholder:f.usNexusPlaceholder,defaultValue:{selectedOptions:De,allOptions:ee},registerOptions:{required:n==null,shouldUnregister:!0,validate:m=>{const z=m?.selectedOptions;return z!=null&&z.length>0}}},style:{outline:"none",margin:0,padding:0,width:"100%"}})}),u[l]!=null&&u[l]?.usNexusTypes!=null&&t.jsx(ke,{windowSize:r,children:f.usNexusTypesError})]}),u[l]!=null&&u[l]?.usNexus!=null?t.jsx(ke,{windowSize:r,children:f.usNexusError.replace("_product_type_","company details")}):u[l]!=null&&u[l]?.usNexusTypes!=null?null:n==null?t.jsx(et,{windowSize:r,children:f.usNexusAdditionalInfo}):null]})]}),_&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsx(ae,{label:{label:f.purposeOfAccountLabel,width:Z},singleSelectField:{singleSelect:{name:x(l,"purposeOfAccount"),placeholder:f.purposeOfAccountPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ve,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.purposeOfAccount,allOptions:Object.keys(fe)}},isFunctional:!0,additionalContent:to.includes(q?.selectedOption)?t.jsx(E,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:x(l,"purposeOfAccountDescription"),placeholder:f.descriptionPlaceholder,style:{backgroundColor:u[l]!=null&&u[l]?.purposeOfAccountDescription!=null?L.importantLight:c.colors.background},options:{}},additionalInfoLabel:f.purposeOfAccountDescriptionError,style:{position:"relative",top:0,left:-Z,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||u[l]!=null&&u[l]?.purposeOfAccountDescription!=null?void 0:f.purposeOfAccountAdditionalInfo,additionalInfoStyle:{color:c.colors.hero}})]}),t.jsx(A,{}),t.jsx(ht,{isDisabled:n,label:{label:F.companyInfo.address,width:V},addressValue:{placeholder:Y(F.companyInfo.address),address:d?.addressToCreate,onClick:()=>y("company_address")}}),t.jsx(A,{}),t.jsx(rt,{isDisabled:n,label:{label:F.companyInfo.phone,width:V},text:{name:x(l,"phone"),placeholder:Y(F.companyInfo.phone),defaultValue:a?.phone,autoComplete:"new-password"}}),t.jsx(A,{}),t.jsx(we,{label:{label:F.companyInfo.fiscalYear,width:V},bullettedLabels:{labels:[{text:vo(a?.firstMonthOfFY??1)}],listStyleType:"none"}})]})]})}const vo=e=>{const{fiscalYearMonths:i}=Jt(e);return`${Pe().month(i[0]-1).format(He.MMMFormat)} to ${Pe().month(i[11]-1).format(He.MMMFormat)}`},x=(e,i)=>`${e}.${i}`,Fo=s.div`
|
|
115
|
+
`,ue={labelWidth:new g(110,110,140),mediumLabelWidth:new g(140,140,160),largeLabelWidth:new g(170,170,180),extraLargeLabelWidth:new g(200,250,300),regulatedStatusMaxWidth:new g(343,580,726)},f=T.getLocalizedStrings().commonSetUp.businessVerification,Ge=f.companySourceOfFundOptions,jo=T.getLocalizedStrings(),{companyPassport:F,dateFormat:{analytics:He},common:{yes:Qe,no:Xe}}=jo;function Do({companyViewData:e,allIndustries:i,allNationalityCountries:h,companyInfo:a,companyAddress:c,sectionId:l,isDisabled:n,isCompanyVerified:p,onCompanyAddressClick:y,style:$}){const r=B(),d=Gt(),{watch:b,setValue:j,formState:{errors:u}}=st(),M=e.company.company.companyInfo,C=!(p===!0&&a?.companySubIndustry==null)&&!(n!=null&&a?.companySubIndustry==null),O=!(p===!0&&(a?.countriesOfOperations==null||a?.countriesOfOperations.length===0))&&!(n!=null&&a?.countriesOfOperations==null),v=!(p===!0&&a?.transactionVolume==null)&&!(n!=null&&a?.transactionVolume==null),D=!(p===!0&&a?.regulatedStatus==null)&&!(n!=null&&a?.regulatedStatus==null),w=!(p===!0&&a?.usNexus==null)&&!(n!=null&&a?.usNexus==null),_=!(p===!0&&(a?.purposeOfAccount==null||a?.purposeOfAccount.length===0))&&!(n!=null&&a?.purposeOfAccount==null),se=!(p===!0&&(a?.companySourceOfFunds==null||a?.companySourceOfFunds.length===0))&&!(n!=null&&a?.companySourceOfFunds==null),H=b(x(l,"companySourceOfFunds")),Se=b(x(l,"transactionVolume")),je=b(x(l,"regulatedStatus")),Q=b(x(l,"usNexus")),q=b(x(l,"purposeOfAccount")),me=m=>Ge[m]??m,re=f.transactionVolumeOptions,K=m=>re[m]??m,ce=f.usNexusOptions,X=m=>ce[m]??m,ee=Object.values(ce),De=(a?.usNexusTypes??[]).map(X),fe=f.purposeOfAccountOptions,ve=m=>fe[m]??m,V=ue.labelWidth.value(r),te=ue.mediumLabelWidth.value(r),W=ue.largeLabelWidth.value(r),Z=ue.extraLargeLabelWidth.value(r),oe=r==="small"?F.companyInfo.businessModelPlaceholderSmall:F.companyInfo.businessModelPlaceholder,R=m=>i.find(z=>z.code===m)?.name??m,de=b(x(l,"industry")),Fe=f.companyIndustryOptions??{},le=m=>Fe[m]??m,he=f.companySubIndustryOptions??{},P=m=>{if(m==null||m==="")return[];const z=he[m];return z!=null?Object.keys(z):[]},S=m=>{const z=de?.selectedOption;return z==null||z===""?m:he[z]?.[m]??m},k=m=>{j(x(l,"subIndustry"),{selectedOption:void 0,allOptions:P(m)})},N=de?.selectedOption??a?.industry;return t.jsxs(Fo,{style:$,children:[t.jsx(ko,{children:F.companyInfo.title}),t.jsxs(Co,{children:[t.jsx(E,{isDisabled:n,label:{label:F.companyInfo.companyName,width:W},text:{type:"text",name:x(l,"companyName"),placeholder:Y(F.companyInfo.companyName),defaultValue:a?.companyName,autoComplete:"new-password",options:{required:!!M.name,pattern:Ue}}}),t.jsx(A,{}),t.jsx(E,{isDisabled:n,label:{label:F.companyInfo.legalName,width:te},text:{type:"text",name:x(l,"legalName"),placeholder:Y(F.companyInfo.legalName),defaultValue:a?.legalName,autoComplete:"new-password",options:{required:!!M.companyLegalName,pattern:Ue}}}),t.jsx(A,{}),t.jsx(E,{isDisabled:n,label:{label:F.companyInfo.website,width:V},text:{type:"url",name:x(l,"website"),placeholder:Y(F.companyInfo.website),defaultValue:a?.website?.toString()??"",autoComplete:"new-password"}}),t.jsx(A,{}),C?t.jsx(t.Fragment,{children:t.jsxs(No,{"data-suppress-hover":n!=null?!0:void 0,children:[t.jsx(ae,{label:{label:f.companyIndustryLabel,width:V},singleSelectField:{singleSelect:{name:x(l,"industry"),placeholder:f.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:le,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.industry,allOptions:Object.keys(f.companyIndustryOptions)},onSelectChange:k},isFunctional:!0,errorInfoLabel:f.companyIndustryError.replace("_product_type_","company"),style:{padding:0,margin:0,outline:"none",paddingRight:o.sp2}}),N!=null&&t.jsx(ae,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:x(l,"subIndustry"),placeholder:f.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:S,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.companySubIndustry,allOptions:P(de?.selectedOption)}},isFunctional:!0,keepFocusedStyle:!0,errorInfoLabel:f.companySubIndustryError.replace("_product_type_","company"),additionalInfoLabel:n==null?f.companyIndustryAdditionalInfo:void 0,additionalInfoStyle:{color:d.colors.hero},style:{outline:"none",paddingBottom:o.sp0,width:"100%"}})]})}):t.jsx(ae,{label:{label:F.companyInfo.industry,width:V},singleSelectField:{singleSelect:{name:x(l,"industry"),placeholder:F.companyInfo.industryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:R,isDisabled:n,showTickMark:!0},defaultValue:{selectedOption:a?.industry,allOptions:i?.map(m=>m.code)??[]}},isFunctional:!0}),t.jsx(A,{}),t.jsx(ut,{isDisabled:n,label:{label:F.companyInfo.businessModel,width:W},creatableSingleSelectField:{name:x(l,"businessModel"),placeholder:oe,defaultValue:{selectedOption:a?.businessModel,allOptions:F.companyInfo.allBusinessModels}}}),O&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsx(oo,{label:{label:f.countriesOfOperationsLabel,width:W},isDisabled:n,additionalInfoLabel:n==null?f.countriesOfOperationsAdditionalInfo:void 0,multiSelectField:{name:x(l,"countriesOfOperations"),placeholder:f.countriesOfOperationsPlaceholder,defaultValue:nt(a?.countriesOfOperations,(h??[]).map(m=>m.countryCode))}})]}),se&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsx(ae,{label:{label:f.companySourceOfFundsLabel,width:W},singleSelectField:{singleSelect:{name:x(l,"companySourceOfFunds"),placeholder:f.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:me,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.companySourceOfFunds,allOptions:Object.keys(Ge)}},isFunctional:!0,additionalContent:Kt.includes(H?.selectedOption)?t.jsx(E,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:x(l,"companySourceOfFundsDescription"),placeholder:f.descriptionPlaceholder,style:{backgroundColor:u[l]!=null&&u[l]?.companySourceOfFundsDescription!=null?L.importantLight:d.colors.background},options:{}},additionalInfoLabel:f.companySourceOfFundsDescriptionError,style:{position:"relative",top:0,left:-W,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||u[l]!=null&&u[l]?.companySourceOfFundsDescription!=null?void 0:f.companySourceOfFundsAdditionalInfo,additionalInfoStyle:{color:d.colors.hero}})]}),v&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsx(ae,{label:{label:f.transactionVolumeLabel,width:Z},singleSelectField:{singleSelect:{name:x(l,"transactionVolume"),placeholder:f.transactionVolumePlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:K,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.transactionVolume,allOptions:Object.keys(re)}},isFunctional:!0,additionalContent:eo.includes(Se?.selectedOption)?t.jsx(E,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:x(l,"transactionVolumeDescription"),placeholder:f.descriptionPlaceholder,style:{backgroundColor:u[l]!=null&&u[l]?.transactionVolumeDescription!=null?L.importantLight:d.colors.background},options:{}},additionalInfoLabel:f.transactionVolumeDescriptionError,style:{position:"relative",top:0,left:-Z,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||u[l]!=null&&u[l]?.transactionVolumeDescription!=null?void 0:f.transactionVolumeAdditionalInfo,additionalInfoStyle:{color:d.colors.hero}})]}),D&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsxs(Ze,{windowSize:r,"data-suppress-hover":n!=null?!0:void 0,children:[t.jsxs(Je,{children:[t.jsx($e,{label:f.regulatedStatusLabel,htmlFor:x(l,"regulatedStatus"),isDisabled:n,style:{width:W,color:n==="disabled"?d.colors.grey1:d.colors.hero}}),t.jsxs(Ke,{labelWidth:W,windowSize:r,children:[t.jsx(ye,{label:{label:Qe},style:{paddingRight:`${o.sp4}`,width:"auto"},radioField:{name:x(l,"regulatedStatus"),id:`${x(l,"regulatedStatus")}.yes`,value:"yes",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0}),t.jsx(ye,{label:{label:Xe},style:{width:"auto"},radioField:{name:x(l,"regulatedStatus"),id:`${x(l,"regulatedStatus")}.no`,value:"no",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0})]})]}),je==="yes"&&t.jsx(E,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},text:{type:"text",name:x(l,"regulatedStatusDescription"),placeholder:f.regulatedStatusDescriptionPlaceholder,style:{backgroundColor:u[l]!=null&&u[l]?.regulatedStatusDescription!=null?L.importantLight:d.colors.background},options:{}},additionalInfoLabel:f.regulatedStatusDescriptionError,style:{outline:"none",width:"100%",padding:0}}),u[l]!=null&&u[l]?.regulatedStatus!=null?t.jsx(ke,{windowSize:r,children:f.regulatedStatusError.replace("_product_type_","company details")}):u[l]!=null&&u[l]?.regulatedStatusDescription!=null?null:n==null?t.jsx(et,{windowSize:r,children:f.regulatedStatusAdditionalInfo}):null]})]}),w&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsxs(Ze,{windowSize:r,"data-suppress-hover":n!=null?!0:void 0,children:[t.jsxs(Je,{children:[t.jsx($e,{label:f.usNexusLabel,htmlFor:x(l,"usNexus"),isDisabled:n,style:{width:W,color:n==="disabled"?d.colors.grey1:d.colors.hero}}),t.jsxs(Ke,{labelWidth:W,windowSize:r,children:[t.jsx(ye,{label:{label:Qe},style:{paddingRight:`${o.sp4}`,width:"auto"},radioField:{name:x(l,"usNexus"),id:`${x(l,"usNexus")}.yes`,value:"yes",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0}),t.jsx(ye,{label:{label:Xe},style:{width:"auto"},radioField:{name:x(l,"usNexus"),id:`${x(l,"usNexus")}.no`,value:"no",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0})]})]}),Q==="yes"&&t.jsxs(t.Fragment,{children:[t.jsx(Lo,{hasError:u[l]!=null&&u[l]?.usNexusTypes!=null,children:t.jsx(ft,{isDisabled:n,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},multiSelectField:{name:x(l,"usNexusTypes"),placeholder:f.usNexusPlaceholder,defaultValue:{selectedOptions:De,allOptions:ee},registerOptions:{required:n==null,shouldUnregister:!0,validate:m=>{const z=m?.selectedOptions;return z!=null&&z.length>0}}},style:{outline:"none",margin:0,padding:0,width:"100%"}})}),u[l]!=null&&u[l]?.usNexusTypes!=null&&t.jsx(ke,{windowSize:r,children:f.usNexusTypesError})]}),u[l]!=null&&u[l]?.usNexus!=null?t.jsx(ke,{windowSize:r,children:f.usNexusError.replace("_product_type_","company details")}):u[l]!=null&&u[l]?.usNexusTypes!=null?null:n==null?t.jsx(et,{windowSize:r,children:f.usNexusAdditionalInfo}):null]})]}),_&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsx(ae,{label:{label:f.purposeOfAccountLabel,width:Z},singleSelectField:{singleSelect:{name:x(l,"purposeOfAccount"),placeholder:f.purposeOfAccountPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ve,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.purposeOfAccount,allOptions:Object.keys(fe)}},isFunctional:!0,additionalContent:to.includes(q?.selectedOption)?t.jsx(E,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:x(l,"purposeOfAccountDescription"),placeholder:f.descriptionPlaceholder,style:{backgroundColor:u[l]!=null&&u[l]?.purposeOfAccountDescription!=null?L.importantLight:d.colors.background},options:{}},additionalInfoLabel:f.purposeOfAccountDescriptionError,style:{position:"relative",top:0,left:-Z,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||u[l]!=null&&u[l]?.purposeOfAccountDescription!=null?void 0:f.purposeOfAccountAdditionalInfo,additionalInfoStyle:{color:d.colors.hero}})]}),t.jsx(A,{}),t.jsx(ht,{isDisabled:n,label:{label:F.companyInfo.address,width:V},addressValue:{placeholder:Y(F.companyInfo.address),address:c?.addressToCreate,onClick:()=>y("company_address")}}),t.jsx(A,{}),t.jsx(rt,{isDisabled:n,label:{label:F.companyInfo.phone,width:V},text:{name:x(l,"phone"),placeholder:Y(F.companyInfo.phone),defaultValue:a?.phone,autoComplete:"new-password"}}),t.jsx(A,{}),t.jsx(we,{label:{label:F.companyInfo.fiscalYear,width:V},bullettedLabels:{labels:[{text:vo(a?.firstMonthOfFY??1)}],listStyleType:"none"}})]})]})}const vo=e=>{const{fiscalYearMonths:i}=Jt(e);return`${Pe().month(i[0]-1).format(He.MMMFormat)} to ${Pe().month(i[11]-1).format(He.MMMFormat)}`},x=(e,i)=>`${e}.${i}`,Fo=s.div`
|
|
116
116
|
display: flex;
|
|
117
117
|
flex-direction: column;
|
|
118
118
|
padding-top: ${o.sp3};
|
|
@@ -203,7 +203,7 @@ import{Q as B,g as gt,aQ as bt,a9 as wt,cE as $t,F as T,V as t,bB as It,ac as Ot
|
|
|
203
203
|
& .select-control {
|
|
204
204
|
background-color: ${e=>e.hasError===!0?L.importantLight:e.theme.colors.background} !important;
|
|
205
205
|
}
|
|
206
|
-
`,ze={labelWidth:new g(110,110,140),buttonWidth:new g(70,70)};function To({sectionId:e,isDisabled:i,style:h,officer:a,officerAddress:
|
|
206
|
+
`,ze={labelWidth:new g(110,110,140),buttonWidth:new g(70,70)};function To({sectionId:e,isDisabled:i,style:h,officer:a,officerAddress:c,isEmptyCompanyOfficerSection:l,onOfficerAddressClick:n}){const p=B(),y=T.getLocalizedStrings().companyPassport,$=ze.labelWidth.value(p),r=l&&(a==null||!a.firstName&&!a.lastName&&!a.phone&&!a.email&&!c),d=a?.userId==null||a?.userId==="";return t.jsxs(Mo,{style:h,children:[t.jsx(dt,{isDisabled:i,label:{label:y.companyOfficer.name,width:$},nameField:{name:Ne(e,"name"),placeHolder:{firstName:y.companyOfficer.firstNamePlaceholder,lastName:y.companyOfficer.lastNamePlaceholder,name:y.companyOfficer.namePlaceholder},defaultValue:{firstName:a?.firstName??"",lastName:a?.lastName??""},autoComplete:"new-password",registerOptions:{required:r!==!0},showFullNameError:!0}}),t.jsx(Le,{}),t.jsx(E,{isDisabled:d?i:"readonly",label:{label:y.companyOfficer.email,width:$},text:{type:"email",name:Ne(e,"email"),placeholder:Y(y.companyOfficer.email),options:{required:r===!0?!1:d},defaultValue:a?.email,autoComplete:"new-password"}}),t.jsx(Le,{}),t.jsx(ht,{isDisabled:i,label:{label:y.companyInfo.address,width:$},addressValue:{placeholder:Y(y.companyOfficer.address),address:c?.addressToCreate,onClick:()=>{n(a?.officerType.toLocaleLowerCase().concat("_address"))}}}),t.jsx(Le,{}),t.jsx(rt,{isDisabled:i,label:{label:y.companyOfficer.phone,width:$},text:{name:Ne(e,"phone"),placeholder:Y(y.companyOfficer.phone),defaultValue:a?.phone,autoComplete:"new-password"}})]})}function Po({companyOfficers:e,sectionId:i,style:h,isDisabled:a,onOfficerAddressClick:c}){const{setValue:l,getValues:n}=st(),[p,y]=G.useState(-1),$=T.getLocalizedStrings().companyPassport,r=e.length,d=e.length===1&&e[0].localData?.userId==null,b=n(i),j=()=>{const O={userId:void 0,officerType:`Officer_${r+1}`,name:{firstName:"",lastName:""},email:"",phone:""};l(i,[...b,O])},u=O=>{if(e[O].localData==null||!e[O].localData?.firstName&&!e[O].localData?.lastName&&!e[O].localData?.phone&&!e[O].localData?.email&&!e[O].addressStatus?.addressToCreate){const v=b.filter((D,w)=>w!==p);l(i,v),y(-1)}else y(O)},M=()=>{y(-1)},C=()=>{const O=b.filter((v,D)=>D!==p);l(i,O),y(-1)};return t.jsxs(Eo,{style:h,children:[t.jsx(Ao,{children:$.companyOfficer.title}),e.map((O,v)=>{const D=O.localData,w=O.addressStatus,_=D?.userId==null||D?.userId==="";return t.jsxs(Wo,{children:[(r>1||_)&&!d?t.jsx(zo,{curIndex:v,isNewUser:_,numberOfOfficers:r,deleteConfirmationIndex:p,isDisabled:a,onDeleteClick:u,onCancelClick:M,onRemoveOfficerSection:C}):null,t.jsx(To,{sectionId:`${i}.${v}`,officer:D,officerAddress:w,isDisabled:a,isEmptyCompanyOfficerSection:d,onOfficerAddressClick:c})]},D?.officerType)}),r<=9&&!d?t.jsx(Vo,{isSectionDisabled:a,onAddOfficerSection:j}):t.jsx(Ve,{})]})}const zo=({curIndex:e,isNewUser:i,numberOfOfficers:h,deleteConfirmationIndex:a,isDisabled:c,onDeleteClick:l,onCancelClick:n,onRemoveOfficerSection:p})=>{const y=B(),$=T.getLocalizedStrings().companyPassport;return t.jsxs(Bo,{children:[t.jsx(_o,{children:h>1?`${$.companyOfficer.officer} ${e+1}`:""}),i&&c==null?a===e?t.jsx(Go,{children:t.jsxs(Ho,{children:[$.companyOfficer.deleteConfirmation,t.jsx(qe,{label:$.cancel,onClick:n,style:{width:ze.buttonWidth.value(y),marginLeft:o.sp4,marginRight:o.sp3},size:"small",variant:"secondary"}),t.jsx(qe,{label:$.remove,onClick:p,style:{width:ze.buttonWidth.value(y)},size:"small",variant:"danger"})]})}):t.jsx(qo,{className:"delete-icon-wrapper",onClick:()=>l(e),children:t.jsx(At,{width:I[3],height:I[3],color:L.important})}):null]})},Vo=({isSectionDisabled:e,onAddOfficerSection:i})=>{const h=T.getLocalizedStrings().companyPassport;return e!=null?t.jsx(Ve,{}):t.jsxs(t.Fragment,{children:[t.jsxs(Ro,{onClick:i,children:[t.jsx(Yo,{}),t.jsx(Uo,{children:h.companyOfficer.addOfficer})]}),t.jsx(Ve,{})]})},Ne=(e,i)=>`${e}.${i}`,Eo=s.div`
|
|
207
207
|
display: flex;
|
|
208
208
|
flex-direction: column;
|
|
209
209
|
padding-top: ${o.sp3};
|
|
@@ -279,7 +279,7 @@ import{Q as B,g as gt,aQ as bt,a9 as wt,cE as $t,F as T,V as t,bB as It,ac as Ot
|
|
|
279
279
|
background-color: ${e=>e.theme.colors.grey3};
|
|
280
280
|
min-height: 1px;
|
|
281
281
|
max-height: 1px;
|
|
282
|
-
`,tt={labelWidth:new g(160,160,160),largeLabelWidth:new g(150,215,215)};function Qo(e){const i=B(),h=kt(),[a,
|
|
282
|
+
`,tt={labelWidth:new g(160,160,160),largeLabelWidth:new g(150,215,215)};function Qo(e){const i=B(),h=kt(),[a,c]=G.useState(!1),{companyPassport:l,commonSetUp:{businessVerification:n},common:{documents:p}}=T.getLocalizedStrings(),{fileProps:y,companyFiles:$,deleteFileStatusById:r,updateFileStatusById:d,sectionId:b,isDisabled:j,companyTaxInfo:u,style:M}=e,C=tt.labelWidth.value(i),O=tt.largeLabelWidth.value(i),v=!Zt(h.loggedInUserRole??[]),D=$.find(w=>w.documentType==="tax_ein");return t.jsxs(Xo,{style:M,children:[t.jsx(Jo,{children:l.companyTaxInfo.title}),t.jsxs(Zo,{children:[t.jsx(E,{isDisabled:j,label:{label:l.companyTaxInfo.taxIdOrEIN,width:C},text:{type:"text",name:ie(b,"taxIdOrEIN"),placeholder:l.companyTaxInfo.taxIdOrEINPlaceholder,defaultValue:v===!0?l.protectedContent:u?.taxIdOrEIN,options:{pattern:Nt},autoComplete:"new-password"},protectedInfoText:v===!0?l.companyTaxInfo.adminPrivilegeRequired:void 0}),t.jsx(pe,{}),t.jsx(E,{isDisabled:j,label:{label:l.companyTaxInfo.dunsNumber,width:C},text:{type:"text",name:ie(b,"dunsNumber"),placeholder:l.companyTaxInfo.dunsNumberPlaceholder,defaultValue:u?.dunsNumber,options:{pattern:/^\d{9}$/},autoComplete:"new-password"}}),t.jsx(pe,{}),t.jsx(E,{isDisabled:j,label:{label:l.companyTaxInfo.naicsCode,width:C},text:{type:"text",name:ie(b,"naicsCode"),placeholder:l.companyTaxInfo.naicsCodePlaceholder,defaultValue:u?.naicsCode,options:{pattern:/^([2-9]{1}[0-9]{1}|[1-9]{1}[1-9]{1})\d{0,4}$/},autoComplete:"new-password"}}),t.jsx(pe,{}),t.jsx(E,{isDisabled:j,label:{label:l.companyTaxInfo.sicCode,width:C},text:{type:"text",name:ie(b,"sicCode"),placeholder:l.companyTaxInfo.sicCodePlaceholder,defaultValue:u?.sicCode,options:{pattern:/^\d{2,4}$/},autoComplete:"new-password"}}),t.jsx(pe,{}),t.jsx(ft,{isDisabled:j,label:{label:l.companyTaxInfo.taxesFiledYears,width:C},multiSelectField:{name:ie(b,"taxesFiledYears"),placeholder:l.companyTaxInfo.taxesFiledYearsPlaceholder,defaultValue:{selectedOptions:u?.taxesFiledYears.map(w=>w.toString())??[],allOptions:pt().map(w=>w.toString())}}}),t.jsx(pe,{}),t.jsx(mt,{name:ie(b,"einDocument"),isDisabled:j,sizeLimit:ct,deleteFileStatusById:r,updateFileStatusById:d,filesEndPoint:y.filesEndPoint,authParams:y.authParams,label:{label:n.einDocument,width:O},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:D,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:a,updateFilesEntity:y.updateFilesEntity,onEditFileName:y.onEditFileName,onDeleteFile:y.onDeleteFile,onFileSizeError:w=>c(w)}),t.jsx(Ko,{windowSize:i,isError:a,children:p.formatDocumentText10MB})]})]})}const ie=(e,i)=>`${e}.${i}`,Xo=s.div`
|
|
283
283
|
display: flex;
|
|
284
284
|
flex-direction: column;
|
|
285
285
|
padding-top: ${o.sp3};
|
|
@@ -306,7 +306,7 @@ import{Q as B,g as gt,aQ as bt,a9 as wt,cE as $t,F as T,V as t,bB as It,ac as Ot
|
|
|
306
306
|
border-radius: ${o.sp0} ${o.sp0} ${o.sp2} ${o.sp2};
|
|
307
307
|
text-align: ${e=>e.windowSize==="small"?"initial":"right"};
|
|
308
308
|
color: ${e=>e.isError?L.important:e.theme.colors.grey1};
|
|
309
|
-
`,el={labelWidth:new g(100,100,140)};function tl({sectionId:e,isDisabled:i,primaryContact:h,style:a}){const
|
|
309
|
+
`,el={labelWidth:new g(100,100,140)};function tl({sectionId:e,isDisabled:i,primaryContact:h,style:a}){const c=B(),l=T.getLocalizedStrings().companyPassport,n=el.labelWidth.value(c),p=h==null;return t.jsxs(ol,{style:a,children:[t.jsx(al,{children:l.primaryContact.title}),t.jsxs(ll,{children:[t.jsx(dt,{isDisabled:i,label:{label:l.primaryContact.name,width:n},nameField:{name:ot(e,"name"),placeHolder:{firstName:l.primaryContact.firstNamePlaceholder,lastName:l.primaryContact.lastNamePlaceholder,name:l.primaryContact.namePlaceholder},defaultValue:{firstName:h?.firstName??"",lastName:h?.lastName??""},autoComplete:"new-password",registerOptions:{required:p!==!0},showFullNameError:!0}}),t.jsx(il,{}),t.jsx(E,{isDisabled:i,label:{label:l.primaryContact.email,width:n},text:{type:"email",name:ot(e,"email"),placeholder:Y(l.primaryContact.email),defaultValue:h?.email,autoComplete:"new-password",options:{required:p!==!0}}})]})]})}const ot=(e,i)=>`${e}.${i}`,ol=s.div`
|
|
310
310
|
display: flex;
|
|
311
311
|
flex-direction: column;
|
|
312
312
|
padding-top: ${o.sp3};
|
|
@@ -341,18 +341,18 @@ import{Q as B,g as gt,aQ as bt,a9 as wt,cE as $t,F as T,V as t,bB as It,ac as Ot
|
|
|
341
341
|
justify-content: flex-end;
|
|
342
342
|
align-items: center;
|
|
343
343
|
color: ${e=>e.theme.colors.primary};
|
|
344
|
-
`,rl=()=>t.jsx(sl,{children:"–"}),
|
|
344
|
+
`,rl=()=>t.jsx(sl,{children:"–"}),cl=s.div`
|
|
345
345
|
padding: 6px ${o.sp2};
|
|
346
346
|
white-space: nowrap;
|
|
347
347
|
overflow: hidden;
|
|
348
348
|
text-overflow: ellipsis;
|
|
349
|
-
`,
|
|
349
|
+
`,dl=s(Ie)`
|
|
350
350
|
color: ${e=>e.theme.colors.primary};
|
|
351
351
|
align-items: center;
|
|
352
352
|
justify-content: flex-end;
|
|
353
353
|
display: flex;
|
|
354
354
|
padding: 0 ${o.sp3};
|
|
355
|
-
`,pl=e=>{const{users:i,style:h}=e;return t.jsx(
|
|
355
|
+
`,pl=e=>{const{users:i,style:h}=e;return t.jsx(dl,{style:h,children:i.length!==0?i.filter(a=>!!a.firstName||!!a.lastName).map(a=>t.jsxs(nl,{children:[t.jsx(cl,{children:`${a.firstName} ${a.lastName}`}),t.jsx(Ut,{name:`${a.firstName} ${a.lastName}`,size:o.sp4})]},a.userId)):t.jsx(rl,{})})},U={width:new g(343,580,726),height:new g(I[6],I[6]),controlHeight:new g(I[6],I[6]),paddingTopBottom:new g(I[2],I[2]),marginRight:new g(I[2],I[2]),labelMarginLeft:new g(I[3],I[4]),labelMarginRight:new g(I[3],I[4]),labelMarginTop:new g(I[2],I[2])};function ul({isDisabled:e,label:i,avatarLabels:h,style:a}){const c=B();return t.jsxs(fl,{size:c,style:a,children:[t.jsx($e,{isDisabled:e,label:i.label,style:{marginLeft:U.labelMarginLeft.value(c),marginRight:U.labelMarginRight.value(c),marginTop:U.labelMarginTop.value(c),width:i.width??"auto"}}),t.jsx(pl,{users:h.users,style:{minHeight:U.controlHeight.value(c),display:"flex",flexGrow:1,flexFlow:"row wrap",maxWidth:i.width!=null?`calc(100% - ${i.width}px)`:"auto",...h.style}})]})}const ml=qt.memo(ul,Wt),fl=s.div`
|
|
356
356
|
display: flex;
|
|
357
357
|
flex-direction: row;
|
|
358
358
|
align-items: flex-start;
|
|
@@ -372,7 +372,7 @@ import{Q as B,g as gt,aQ as bt,a9 as wt,cE as $t,F as T,V as t,bB as It,ac as Ot
|
|
|
372
372
|
border-bottom-left-radius: inherit;
|
|
373
373
|
border-bottom-right-radius: inherit;
|
|
374
374
|
}
|
|
375
|
-
`,Te={labelWidth:new g(100,100,140),mediumLabelWidth:new g(140,150,160),largeLabelWidth:new g(160,180,180)};function hl({data:e,companyInfo:i,sectionId:h,isDisabled:a,isZeniUser:
|
|
375
|
+
`,Te={labelWidth:new g(100,100,140),mediumLabelWidth:new g(140,150,160),largeLabelWidth:new g(160,180,180)};function hl({data:e,companyInfo:i,sectionId:h,isDisabled:a,isZeniUser:c,onScheduleClick:l}){const n=B(),{companyPassport:p,dateFormat:{visual:y}}=T.getLocalizedStrings(),$=Te.labelWidth.value(n),r=Te.mediumLabelWidth.value(n),d=Te.largeLabelWidth.value(n),b=e.company.company,{controllers:j,subscriptions:u}=e,{managementInfo:M}=b,C=n==="small"?p.zeniFinanceTeam.scheduleCallPlaceholderSmall:p.zeniFinanceTeam.scheduleCallPlaceholder,O=u.filter(w=>w.plan?.plan.name!=null).map(w=>({text:w.plan?.plan.name,subText:w.subscription.subscription.startDate.format(y.MMMDCommaYYYYformat)})),v=Lt(u.map(w=>w.addOns.map(_=>({text:_.addOn.name,subText:w.subscription.subscription.startDate.format(y.MMMDCommaYYYYformat)})))),D=M.receiverEmails.map(w=>({text:w}));return t.jsxs(xl,{children:[t.jsx(bl,{children:p.zeniFinanceTeam.title}),t.jsxs(gl,{children:[t.jsx(ml,{label:{label:p.zeniFinanceTeam.controller,width:r},avatarLabels:{users:j.map(w=>w.user)}}),t.jsx(be,{}),c===!0?t.jsx(E,{isDisabled:a,label:{label:p.zeniFinanceTeam.scheduleCall,width:r},text:{type:"text",name:yl(h,"meetingLink"),placeholder:C,defaultValue:i?.meetingLink?.toString()??"",autoComplete:"new-password",options:{pattern:Tt}}}):i?.meetingLink!=null?t.jsx(Pt,{label:{label:p.zeniFinanceTeam.scheduleCall,width:r},button:{buttonTitle:p.zeniFinanceTeam.schedule,onClick:()=>l(i.meetingLink)}}):null,D.length>0?t.jsxs(t.Fragment,{children:[t.jsx(be,{}),t.jsx(we,{label:{label:p.zeniFinanceTeam.emailUs,width:$},bullettedLabels:{labels:D,listStyleType:"none"}})]}):null,O.length>0?t.jsxs(t.Fragment,{children:[t.jsx(be,{}),t.jsx(we,{label:{label:p.zeniFinanceTeam.subscriptionPlans,width:d},bullettedLabels:{labels:O,listStyleType:"none"}})]}):null,v.length>0?t.jsxs(t.Fragment,{children:[t.jsx(be,{}),t.jsx(we,{label:{label:p.zeniFinanceTeam.addons,width:r},bullettedLabels:{labels:v,listStyleType:"none"}})]}):null]})]})}const yl=(e,i)=>`${e}.${i}`,xl=s.div`
|
|
376
376
|
display: flex;
|
|
377
377
|
flex-direction: column;
|
|
378
378
|
padding-top: ${o.sp3};
|
|
@@ -393,7 +393,7 @@ import{Q as B,g as gt,aQ as bt,a9 as wt,cE as $t,F as T,V as t,bB as It,ac as Ot
|
|
|
393
393
|
background-color: ${e=>e.theme.colors.grey3};
|
|
394
394
|
min-height: 1px;
|
|
395
395
|
max-height: 1px;
|
|
396
|
-
`,Ee={width:new g(343,580,726),buttonWidth:new g(85,85)},lt="companyPassportPage",Me="companyInfo",Ae="companyIncInfo",We="companyTaxInfo",Be="primaryContact",_e="companyOfficer",Re="zeniFinanceTeam";function Wl(e){const i=B(),h=gt(),{companyPassportView:a,isZeniUser:
|
|
396
|
+
`,Ee={width:new g(343,580,726),buttonWidth:new g(85,85)},lt="companyPassportPage",Me="companyInfo",Ae="companyIncInfo",We="companyTaxInfo",Be="primaryContact",_e="companyOfficer",Re="zeniFinanceTeam";function Wl(e){const i=B(),h=gt(),{companyPassportView:a,isZeniUser:c,filesEndPoint:l,authParams:n,allIndustries:p,allNationalityCountries:y,isCompanyVerified:$,isDisabled:r,isSettings:d=!1,onCompanyDetailsChanged:b,onCompanyOfficerUpdated:j,onNewCompanyOfficerAdded:u,onPrimaryContactDetailsUpdated:M,onNewCompanyOfficerRemoved:C,onSaveAll:O,onAddressClick:v,onScheduleClick:D,onBackClick:w,onResetClick:_,onEditFileName:se,updateFilesEntity:H,onDeleteFile:Se,onClickMenuIcon:je}=e,{companyView:Q,localData:q,deleteFileStatusById:me,updateFileStatusById:re}=a,{companyFiles:K}=q,ce={authParams:n,filesEndPoint:l,onEditFileName:se,onDeleteFile:Se,updateFilesEntity:H},[X,ee]=G.useState(void 0),{companyDetails:De,primaryContact:fe,companyOfficerUpdateStatus:ve,updateStatus:V}=q,{localData:te,addressStatus:W}=De,Z=bt(V.fetchState),oe=Object.values(ve).filter(P=>P.localData!=null),R=wt({mode:"all",defaultValues:it(q,p,y)});G.useEffect(()=>()=>{ee(void 0)},[]),G.useEffect(()=>{Z==="In-Progress"&&(V.fetchState==="Completed"||V.fetchState==="Error")&&(R.reset(it(q,p,y)),X!==V.fetchState&&ee(V.fetchState))},[X,R,Z,V,q,Q,p,y,K]);const de=async(P,S)=>{if(P.includes(Me)||P.includes(Ae)||P.includes(We)||P.includes(Re)){const{companyInfo:k,companyIncInfo:N,companyTaxInfo:m,zeniFinanceTeam:z}=S;b({companyInfo:k,incInfo:N,taxDetails:m,zeniFinanceTeam:z})}else if(P.includes(Be)){M(S.primaryContact);const k=S.companyOfficer.map(N=>N.userId);if(S.primaryContact.userId!=null&&k.includes(S.primaryContact.userId)){const N=k.findIndex(m=>m===S.primaryContact.userId);N>=0&&j({...S.companyOfficer[N],name:S.primaryContact.name,officerType:`Officer_${N+1}`})}}else if(P.includes(_e)){const k=parseInt(P.split(".")[1]);if(k>=0)j({...S.companyOfficer[k],officerType:`Officer_${k+1}`}),S.companyOfficer[k].userId!=null&&S.companyOfficer[k].userId===S.primaryContact.userId&&M({...S.primaryContact,name:S.companyOfficer[k].name});else if(S.companyOfficer.length>oe.length){const N=S.companyOfficer[S.companyOfficer.length-1];u(N)}else{const N=S.companyOfficer.filter(m=>m.officerType!=null);if(N.length<oe.length){const m=N.map((z,xt)=>{const Ye={...z,officerType:`Officer_${xt+1}`};return j(Ye),Ye});N.length<oe.length&&(C(`Officer_${N.length+1}`),R.reset({companyOfficer:m}))}}}};G.useEffect(()=>{const P=R.watch((S,{name:k})=>{k!=null&&S!=null&&$t(()=>de(k,S))});return()=>{P.unsubscribe()}});const Fe=R.handleSubmit(P=>{X!=null&&ee(void 0),O()}),{companyPassport:le,common:{settings:he}}=T.getLocalizedStrings();if(Q==null)throw new Error("Company View is null");return t.jsxs(wl,{children:[t.jsx(It,{title:le.title,backgroundColor:h.colors.grey4,style:{zIndex:3},onBackClick:w,showBackButton:!d,showMenuIcon:d?i==="medium-compact"||i==="small":!1,source:"CompanyPassportPage",onClickMenuIcon:je}),X!=null?t.jsx(fo,{fetchState:X,onRemoveSnackbar:()=>ee(void 0)}):null,t.jsxs($l,{children:[t.jsx(Il,{windowSize:i,children:d?he.infoText.companyDetails:le.quickAccessInfo}),t.jsx(Ot,{...R,children:t.jsxs("form",{id:at(lt),onSubmit:Fe,children:[t.jsx(Do,{sectionId:Me,companyInfo:te?.companyInfo,companyViewData:Q,companyAddress:W,isDisabled:r,isCompanyVerified:$,onCompanyAddressClick:v,allIndustries:p,allNationalityCountries:y}),t.jsx(ho,{sectionId:Ae,updateFileStatusById:re,deleteFileStatusById:me,companyFiles:K,companyIncInfo:te?.incInfo,fileProps:ce,isDisabled:r}),t.jsx(Qo,{sectionId:We,updateFileStatusById:re,deleteFileStatusById:me,companyFiles:K,companyTaxInfo:te?.taxDetails,fileProps:ce,isDisabled:r}),t.jsx(tl,{sectionId:Be,primaryContact:fe.localData,isDisabled:r}),t.jsx(Po,{companyOfficers:oe,sectionId:_e,isDisabled:r,onOfficerAddressClick:v}),t.jsx(hl,{data:Q,companyInfo:te?.companyInfo,isDisabled:r,isZeniUser:c,sectionId:Re,onScheduleClick:D})]})})]}),St(R.formState.dirtyFields)||Qt(q,Q,K)?t.jsx(jt,{formId:at(lt),primaryBtn:{label:le.save,isLoading:V.fetchState==="In-Progress",style:{width:Ee.buttonWidth.value(i)},isDisabled:e.isDisabled!=null},cancelBtn:{label:le.cancel,style:{width:Ee.buttonWidth.value(i)},onClick:()=>{R.reset(),_()}}}):null]})}const at=e=>`${e}_form`,it=(e,i,h)=>{const{companyDetails:a,primaryContact:c,companyOfficerUpdateStatus:l}=e,n=T.getLocalizedStrings().companyPassport,p=a.localData?.incInfo.fileId!=null?[a.localData?.incInfo.fileId]:[],y=a.localData?.taxDetails.fileId!=null?[a.localData?.taxDetails.fileId]:[],$=T.getLocalizedStrings().commonSetUp.businessVerification,r=a.localData?.companyInfo;return{[Me]:{...Dt(a.localData?.companyInfo??{},["meetingLink","companySourceOfFunds","companySourceOfFundsDescription","countriesOfOperations","transactionVolume","transactionVolumeDescription","regulatedStatus","regulatedStatusDescription","usNexus","usNexusTypes","purposeOfAccount","purposeOfAccountDescription"]),businessModel:{selectedOption:r?.businessModel,allOptions:n.companyInfo.allBusinessModels},website:r?.website?.toString()??"",industry:{selectedOption:r?.industry,allOptions:i?.map(d=>d.code)},firstMonthOfFY:r?.firstMonthOfFY,companySourceOfFunds:{selectedOption:r?.companySourceOfFunds,allOptions:Object.keys($.companySourceOfFundOptions)},companySourceOfFundsDescription:r?.companySourceOfFundsDescription,countriesOfOperations:nt(r?.countriesOfOperations,(h??[]).map(d=>d.countryCode)),transactionVolume:{selectedOption:r?.transactionVolume,allOptions:Object.keys($.transactionVolumeOptions??{})},transactionVolumeDescription:r?.transactionVolumeDescription,regulatedStatus:r?.regulatedStatus??"",regulatedStatusDescription:r?.regulatedStatusDescription,usNexus:r?.usNexus??"",usNexusTypes:{selectedOptions:r?.usNexusTypes??[],allOptions:Object.values($.usNexusOptions??{})},purposeOfAccount:{selectedOption:r?.purposeOfAccount,allOptions:Object.keys($.purposeOfAccountOptions??{})},purposeOfAccountDescription:r?.purposeOfAccountDescription},[We]:{...a.localData?.taxDetails,taxesFiledYears:{selectedOptions:a.localData?.taxDetails.taxesFiledYears.map(d=>d.toString())??[],allOptions:pt().map(d=>d.toString())},einDocument:e.companyFiles.find(d=>d.documentType==="tax_ein"),fileIds:y},[Ae]:{typeOfInc:{selectedOption:a.localData?.incInfo?.typeOfInc,allOptions:n.companyIncInfo.allTypesOfIncorporation},stateOfInc:{selectedOption:a.localData?.incInfo?.stateOfInc,allOptions:n.companyIncInfo.allStatesOfIncorporation},incDate:a.localData?.incInfo.incDate?.toDate(),certificateOfIncorporation:e.companyFiles.find(d=>d.documentType==="certificate_of_incorporation"),fileIds:p},[Be]:{userId:c.localData?.userId,name:{firstName:c.localData?.firstName,lastName:c.localData?.lastName},email:c.localData?.email},[_e]:Object.values(l).filter(d=>d.localData!=null).map(d=>{const b=d.localData;return{userId:b.userId,officerType:b.officerType,name:{firstName:b.firstName,lastName:b.lastName},email:b.email,phone:b.phone}}),[Re]:{meetingLink:a.localData?.companyInfo.meetingLink?.toString()??""}}},wl=s.div`
|
|
397
397
|
display: flex;
|
|
398
398
|
min-height: 100%;
|
|
399
399
|
flex-direction: column;
|