@zeniai/web-app-ui 4.14.32-qa → 4.14.33-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-BO7lxW8c-qdj5vCzV.js → ACHDetailsPage-DKTSwNyl-CDIFOfdq.js} +6 -6
- package/dist/assets/{AIPerformancePage-SF-quMkk-BDmetcXO.js → AIPerformancePage-BzTlSxeg-BuDeNPSy.js} +1 -1
- package/dist/assets/AccountInfoPage-CrEEthms-45HqRER7.js +18 -0
- package/dist/assets/{AccountInfoPageContent-DIWh6VaI-Dkx9vqHY.js → AccountInfoPageContent-B0ZnsyrQ-BWluBgsD.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-DloPB9vd-rWnzhgoV.js → AccountLockedInfoModal-B6A-nGIq-Dg3p8NEN.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-BAgQsFiF-DYdVNdU9.js → AccountReconDetailsDrawerPage-BTmjrd8b-CvWGr60v.js} +5 -5
- package/dist/assets/{AccountRow-Dczx5rSu-CLUzbQMi.js → AccountRow-C-Iunc36-CWR0-Stg.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-Ywhto4lV-BJMaNuPG.js → AccountsPromoCardStack-D6xN5A4_-DaMwJmFg.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-B8srmVT6-B2WNvij_.js → AddAddressForCardDrawer-B6tLAOA_-DSLXld5A.js} +1 -1
- package/dist/assets/{AddToWalletPage-k__RW699-Q957aA9Q.js → AddToWalletPage-Bw1oz9Y2-D8T9ntRu.js} +1 -1
- package/dist/assets/{AddressRoutes-CTGxpAi-.js → AddressRoutes-Du2U1_wy.js} +1 -1
- package/dist/assets/{AddressScreen-DEbSWJPO.js → AddressScreen-Do5YL4Hs.js} +1 -1
- package/dist/assets/{AgingReportsPage-BuIXjljE-B0fe8lvN.js → AgingReportsPage-BK3PXwnr-sRb89fRD.js} +6 -6
- package/dist/assets/{AiCfoScreen-Wz3E2wwr.js → AiCfoScreen-m0mtpC7v.js} +1 -1
- package/dist/assets/{AllUserItems-BdgTe4WF-D7yOaoR6.js → AllUserItems-B42zEFpe-Dt3QyoOE.js} +4 -4
- package/dist/assets/ApAgingDetailPage-vzW4qF2Y-Be_AyJp4.js +46 -0
- package/dist/assets/{AppBasePage-DaTueT-x-BnyuOO9Y.js → AppBasePage-yAU5vW5D-DRiBAUPT.js} +1 -1
- package/dist/assets/{AppDrawerContent-CtCI6jpp-Bv1hj7Yn.js → AppDrawerContent-nnh5cFf7-LHEC_nmn.js} +3 -3
- package/dist/assets/{ApprovalRulesSettingsPage-BVxu4soW-GcaZFHeB.js → ApprovalRulesSettingsPage-B-Y2YjpT-Di6q3Tts.js} +1 -1
- package/dist/assets/{ArAgingChart-BK-JyW2V-DrIuZSmt.js → ArAgingChart-CCc6eh55-fg322qhA.js} +2 -2
- package/dist/assets/{ArAgingDetailPage-CvqLu3q8-C5eA5W28.js → ArAgingDetailPage-CYXVPEzK-BXygZJWM.js} +3 -3
- package/dist/assets/{AttachmentView-DQdb3v_e-CLQ1CJA9.js → AttachmentView-DqrQDEWc-bqv6C4yz.js} +1 -1
- package/dist/assets/{BalancesInsightWithToolTip-D4q45w1q-CtGZeK4N.js → BalancesInsightWithToolTip-D1_dZg5k-Cp5teLbH.js} +8 -8
- package/dist/assets/{BankAccountSection-DgbfU8F--CB1estpa.js → BankAccountSection-4vXBKCFA-DKXdSrK9.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-litL0o_Z-Dfhx-kK3.js → BankAccountWarningSection-Dhmxhwx--DZdDHKDy.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-bAj9uB9k-LyDvOxOa.js → BankConnectionsSettingsPage-z52fh-wH-8ecSlDkf.js} +9 -9
- package/dist/assets/{BillDetailPage-CiHal44n-tq0YH1aX.js → BillDetailPage-DRpctLxu-LXI19q8V.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes-ClA5NSEJ.js → BillPayApprovalRoutes-KGuDCnTY.js} +1 -1
- package/dist/assets/BillPayApprovalRuleDetailPage-CJtb4oOG-D3VWhKCe.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-BTOmSLcs-DEq7dW-i.js → BillPayApprovalRulesPage-HG32jtX9-BIhcv1hk.js} +1 -1
- package/dist/assets/{BillPayPromoPage-B5gkQjT2-DXRzGBXG.js → BillPayPromoPage-DwxNDF0k-CcLPK5n4.js} +12 -12
- package/dist/assets/{BillPayRoutes-C3Tb_2Ko.js → BillPayRoutes-Ce5JVkt4.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-DM3r09by-Bvx7NLUi.js → BillPaySetUpPage-B-kmDrpB-DqUJzo3-.js} +6 -6
- package/dist/assets/{BillingSettingsPage-CiTKyJeG-BEh5P0A7.js → BillingSettingsPage-CNZyUOpM-KCtCCu_U.js} +5 -5
- package/dist/assets/{BillsBulkReviewDrawerPage-B6ofRDkg-Cw68W5rP.js → BillsBulkReviewDrawerPage-DbIDTE51-jz6OelMc.js} +1 -1
- package/dist/assets/{BoxItem-C39hQSVg-CwP_fpKm.js → BoxItem-CIyMdw2s-BlAcmWAT.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-BiWEnJET-BhvPSMXm.js → BusinessVerificationPage-DQ34qLUA-DQ_EHnlJ.js} +3 -3
- package/dist/assets/{BusinessVerificationPageScreen-DE3iPWMP.js → BusinessVerificationPageScreen-iODPCcKg.js} +1 -1
- package/dist/assets/{BusyIndication-DmApVsF7-DoBMbi5i.js → BusyIndication-YMYY0Pff-BY32OnMI.js} +1 -1
- package/dist/assets/{CardNumberSubText-FNfrozX6-Cgi1n69q.js → CardNumberSubText-CN1RN7Tf-Crkz5sd9.js} +1 -1
- package/dist/assets/{CashbackDetailPage-DaLICa_v-BJ3TvYfG.js → CashbackDetailPage-CyYkVa0H-YXMN_DEG.js} +11 -11
- package/dist/assets/{ChargeCardDetailPage-B0Aq7zO5-BVHXTaUL.js → ChargeCardDetailPage-DFUAF2OM-DP6SPQkf.js} +28 -28
- package/dist/assets/{ChargeCardListPage-CfRto2rQ-DPjFotcB.js → ChargeCardListPage-BTHDGtJ6-Cjssvtzk.js} +11 -11
- package/dist/assets/{ChargeCardListTable-DMdC4lxo-CtkD7-2q.js → ChargeCardListTable-BiKjkqVs-C2Q47jri.js} +26 -26
- package/dist/assets/{ChargeCardPaymentHistoryPage-BYTmtF_y-BJK0KpD-.js → ChargeCardPaymentHistoryPage-sPGU7qmY-D7s1gonC.js} +10 -10
- package/dist/assets/{ChargeCardPromoPage-AI5bladj-STtaDscO.js → ChargeCardPromoPage-6JwKgWli-CuEACLDU.js} +4 -4
- package/dist/assets/{ChargeCardRoutes-AYQ3MGTW.js → ChargeCardRoutes-R82vHuIV.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-BjhqdubL-ByzKQBoy.js → ChargeCardSetupPage-DmhPAnYT-kDmietjf.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-DCM92s6v-CBr56gpX.js → ChargeCardStatementsPage-DUXupPSN-BYaTogVZ.js} +2 -2
- package/dist/assets/{CheckDepositDrawerPage-CkIxEqHU-Bqm8pa-L.js → CheckDepositDrawerPage-C8nbDVSz-fCr2LZZm.js} +4 -4
- package/dist/assets/{CollapsableReportTable-ClHwXtCj-Bu1ywWDb.js → CollapsableReportTable-C_bWRP7w-ybv6uXaY.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-BY8hFQnp-C-jTOLEo.js → CompanyOfficerDetailsSection-6LXCxWYP-N1CjwGwi.js} +13 -13
- package/dist/assets/{CompanyPassportCard-B3rZE3pg-CPKH7ClD.js → CompanyPassportCard-DVJS9xE7-WQAczivM.js} +1 -1
- package/dist/assets/{CompanyPassportPage-4FXVf3EP-Co0uZqWP.js → CompanyPassportPage-FJ30paB0-B650xBRc.js} +12 -12
- package/dist/assets/{CompanyPassportScreen-D4CGbUvz.js → CompanyPassportScreen-v4ozfRkw.js} +1 -1
- package/dist/assets/{CompleteProfile-B1BoilWd-BY2yFTSv.js → CompleteProfile-D3Im5rsm-DOcwDl2N.js} +1 -1
- package/dist/assets/{ConfettiBurst-CsbAGF65-crGvJolm.js → ConfettiBurst-BJrOe5Fg-B4cWwrd1.js} +1 -1
- package/dist/assets/{ConnectionAuthScreen-CGGnZgbf.js → ConnectionAuthScreen-CRf6FtAm.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-BnMSru9B.js → ConstrainedInnerElement-CgdnMeoA-Dk4QFttG.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-C50eYOFo-Da-aCQ_K.js → CreateOrEditVendorPage-C8dK3_XQ-BF1JDoLL.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-Dxz_SY7N-BpZmjo-8.js → CreditCardPaymentDrawerPage-Dp5mS2Hc-CeHtX3in.js} +6 -6
- package/dist/assets/{CurrencySelectField-D2Ogwvbr-CVVPi1Hr.js → CurrencySelectField-BAQ5aoHk-DH5SrL5M.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-5Sh7hmI9-Ba_aGZs7.js → CustomerOnboardingActivationPage-D8T1akbN-CiWQ4BME.js} +1 -1
- package/dist/assets/CustomerOnboardingAuthScreen-BP0HWrE7.js +1 -0
- package/dist/assets/CustomerOnboardingContainerPage-CGFQ4G4y-B6eAJyRQ.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CL-mOSUp-DLRoDbfb.js → CustomerOnboardingDetailPageSkeleton-DSvvHqR_-B6nZNBwn.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CyL1AK78-CoBuNU82.js → CustomerOnboardingNoStepsPage-CSLO3M7E-qZci9B5e.js} +17 -17
- package/dist/assets/{CustomerOnboardingPage-C8nxJPwo-DuXY1wXZ.js → CustomerOnboardingPage-weza3x24-BkXOFQX9.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-C7FbnHpU-CcKzsuhI.js → CustomerOnboardingProductSuitePage-3YH4y1e1-JkiatwoQ.js} +1 -1
- package/dist/assets/{CustomerOnboardingRoutes-DLfMzGpn.js → CustomerOnboardingRoutes-BH4p4U2x.js} +1 -1
- package/dist/assets/{Dashboard-Bpu-6Sm5-CknMvcgU.js → Dashboard-Bpuy-Pez-CGeVqi25.js} +1 -1
- package/dist/assets/{DashboardReportPage-B1aAikQG-DXGS56N_.js → DashboardReportPage-1p79NBF9-PsndgGNB.js} +1 -1
- package/dist/assets/{DashboardRoutes-xoa0YBhj.js → DashboardRoutes-BpbDpYw3.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-C6xm-p2j-Cianbfu8.js → DashboardSidebarBackgroundAnimation-CBg2tWHO-BrEJtieY.js} +1 -1
- package/dist/assets/{DefaultTenantHome-COn1GZe5.js → DefaultTenantHome-dh0i9bS7.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DEU0DgtI-mNkmtb4n.js → DepositAccTransactionItem-DlztlGZL-BabOldBp.js} +8 -8
- package/dist/assets/{DepositAccTransactionListPage-Bh0dIkE9-Nnv3oKOX.js → DepositAccTransactionListPage-BO43c3Uz-DAiR329Z.js} +6 -6
- package/dist/assets/{DomesticWireDetailScreen-BHvyRZV0.js → DomesticWireDetailScreen-73EFUwYw.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-2WyD73c9-pgZENCnp.js → DomesticWireDetailsPage-SEql3I0P-DopSoItu.js} +4 -4
- package/dist/assets/{DownloadOverlay-B7M2VI7K-CmLEDWdo.js → DownloadOverlay-PhrwF2iZ-DE41QNaR.js} +14 -14
- package/dist/assets/{DrawerPage-DsQTxXa8-b58o_lYS.js → DrawerPage-Bf3AP3Lj-Ca4Hlb-5.js} +1 -1
- package/dist/assets/{DrawerScreen-Bwd7D_PK.js → DrawerScreen-DHeqOl2i.js} +1 -1
- package/dist/assets/{EditPeoplePage-fY0HXvVS-GHbOUDbp.js → EditPeoplePage-B-rBzonN-uBCjqsHV.js} +3 -3
- package/dist/assets/{EditReimbursementDetailPage-D7RUWSTZ-BvTTLT94.js → EditReimbursementDetailPage-CUiIHNgT-8PuUQb7F.js} +14 -14
- package/dist/assets/EntityDetailPage-CvLzsrUE-BBux-0Uo.js +18 -0
- package/dist/assets/{EntityDetailRoutes-Br6vAttH.js → EntityDetailRoutes-DBLMB4dw.js} +1 -1
- package/dist/assets/{EntitySummarySection-0rRkC5V6-Conv00DK.js → EntitySummarySection-mXeSjiuZ-B9FERucG.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-DOGAdZXV-BteA09I4.js → ExpenseAutomationOverviewPage-DQCoy1O9-BZfo9th3.js} +3 -3
- package/dist/assets/{ExpenseAutomationPage-DOsIzX0P-BmRa_16p.js → ExpenseAutomationPage-BeAzQ7Qx-Dz7fhupP.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-DLbUy-Sk.js → ExpenseAutomationRoutes-Ciow3RJ2.js} +1 -1
- package/dist/assets/{ExpressPayPage-CIi6jM8Y-DprwP7jg.js → ExpressPayPage-C-isOU1b-CVmq_SpS.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-BVn6ZUOB-BRGsJkYW.js → FeaturePreviewPage-Cyre9YzV-Cftfc0PA.js} +1 -1
- package/dist/assets/{FeaturePreviewScreen-C7jdaAb-.js → FeaturePreviewScreen-2RPLc4Gf.js} +1 -1
- package/dist/assets/{FollowStepsSection-CvWPHXDW-Dl7cRxYJ.js → FollowStepsSection-DZNWzSvo-BRkqWsPS.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-CS_11bx0-BpB3oVCF.js → GlobalReviewListPage-Dp--ugNc-Dtv4hNaC.js} +1 -1
- package/dist/assets/{InformationCardStack-B9g7W7Xx-ZebmXk33.js → InformationCardStack-D7naFDX0-DgOmsE3E.js} +1 -1
- package/dist/assets/{InsightsCardStack-mvzIc2uY-DiwLXl7c.js → InsightsCardStack-DexUl4h--CD8yzPkl.js} +6 -6
- package/dist/assets/InsightsSection-D9PJ55E6-BZ3NURYW.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-Dwz4ukHF-BsDL-5QK.js → IntegrationsSettingsPage-hFTe3wiP-BhlDRzBS.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-Cm0H9oyf-CSkPID9w.js → InternationalWireSwiftDetailsPage-DLkE5bXp-CEjk6OlM.js} +4 -4
- package/dist/assets/{InternationalWireVerificationPage-woIoME3I-BpkjRAf8.js → InternationalWireVerificationPage-DYGjEqNz-BHv8RAGX.js} +2 -2
- package/dist/assets/{InviteFormPage-DaZ-sJYV-C1pvGdU0.js → InviteFormPage-CGAsWQn7-CTMj3TWe.js} +13 -13
- package/dist/assets/{InvitePageListView-Do7EVQrj-BUNzpXY7.js → InvitePageListView-BSPE9f03-DiWtDrPd.js} +20 -20
- package/dist/assets/InvitePeoplePage-ANvLB-mB-bW0ZLS4w.js +12 -0
- package/dist/assets/{InvoiceUploadSection-DOuTQPee-C986sH-S.js → InvoiceUploadSection-OGMswY7c-CziQJBl6.js} +13 -13
- package/dist/assets/{IssueChargeCardPage-ClMhr27d-C9JNnylK.js → IssueChargeCardPage-sLInqAsW-C2PmO3GP.js} +11 -11
- package/dist/assets/{LabeledAddressValue-B6_PZDTO-B0f_TY3n.js → LabeledAddressValue-DBJ236tZ-DRwoxJhK.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-Cz6tRMoW-BWTMstez.js → LabeledAddressValueField-CAr-IiTa-hz8acdw2.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-BEpAlnvo-CvOvJ8M4.js → LabeledControlledCheckBoxField-BdWZgcQc-Dj_Rq1GV.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-1kTcZMQW-CYG0hGdR.js → LabeledCountryMultiSelectField-C6z1v9S1-B3o5vQAY.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-PiLB1S77-BE8E-NVb.js → LabeledCreatableSingleSelectField-Dhi0n2ky-DMTYZTz6.js} +1 -1
- package/dist/assets/{LabeledDocumentField-Cicw8ABs-BY2NDqms.js → LabeledDocumentField-B3QSq1eM-IGzby_k8.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-BEVVgIGK-Be2ECVYI.js → LabeledDropDownFormattedTextField-B39DlufR-DdaTss6V.js} +1 -1
- package/dist/assets/{LabeledEmailInputField-C6gk3B5x-DNbhSblv.js → LabeledEmailInputField-CY2mGhJG-CWnMQ78-.js} +1 -1
- package/dist/assets/{LabeledNameField-BpfxLnfN-DXNAsDl7.js → LabeledNameField-CYN5kdQi-86Gkfv4K.js} +1 -1
- package/dist/assets/{LabeledSingleSelectField-Utmk8KVy-7bKQ7Lgi.js → LabeledSingleSelectField-CBXzDXMd-Bb2Vdxcj.js} +1 -1
- package/dist/assets/{LabeledText-C56xvYuX-V1W7qANU.js → LabeledText-GEbY3-bB-BUisrQ9a.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CF4oVI17-ITN8UDlC.js → LabeledUserSingleSelectWithSubtitlesField-Do8fziYM-CSkej6UT.js} +4 -4
- package/dist/assets/{LabeledZeniRolesDropDownField-B5rxYfam-Dqb9eTdm.js → LabeledZeniRolesDropDownField-DJfE1qQb-B_HO08cO.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-DbnaYlRA-BZfapfas.js → LinkJETransactionPage-B2ROo3VS-YhdCoxbn.js} +9 -9
- package/dist/assets/{LockCardPage-XHbTmzq8-D2FlG_hq.js → LockCardPage-D2dUPnNL-tuQUusRC.js} +1 -1
- package/dist/assets/{LowBalancePopup-IF7NG9aL-D-kinRkN.js → LowBalancePopup-DTtl3SIc-jw3rRGRn.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-BC6_cyO0-C-40wwsX.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-CdG5oCPl-DLQOqv2b.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-C046BNUz-Du-Hf2Rs.js +1 -0
- package/dist/assets/{MagicLinkRoutes-Ar0GD3LF.js → MagicLinkRoutes-Ce7UoZ3g.js} +1 -1
- package/dist/assets/{MagicLinkSignInScreen-pLIgT_MU.js → MagicLinkSignInScreen-BzoOowms.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-Cyr3p_8a-C1W_67Gu.js → MagicLinkSuccessPage-Ctt1pLiv-DgUpkUDW.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-A4zyF5bg-CJ8qaIqt.js → MagicLinkTitleSection-CtsQ_c44-DD1X6fG2.js} +1 -1
- package/dist/assets/{MailingDetailsSection-DqSOlu2t-yxjH6xtg.js → MailingDetailsSection-DiZwQ9QV-Zw0hJwAt.js} +1 -1
- package/dist/assets/{MobileAppDrawer-BzhvI9uK.js → MobileAppDrawer-qasrJsA4.js} +1 -1
- package/dist/assets/{MoreMenuButton-B1OKwXLg-BGjwJb3U.js → MoreMenuButton--MxUyTqX-BRissmUy.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-DtTjhna--Brf-Lw4g.js → MyBankConnectionsSettingsPage-6ltpx62E-D6KFe-KP.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-CKSWf7I4-BGxkh2i8.js → MyPendingActivationChargeCardListPage-CwDedcXl-Dxd2fyLg.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-WF1pNlyU-Y69pCSd8.js → MyProfileSettingsPage-Bmhu2lrK-CTluZRHn.js} +1 -1
- package/dist/assets/{NavBarWithPicker-DiCaJ8Qy-BkApKnxf.js → NavBarWithPicker-jqJCHGvR-DMu0y4Qb.js} +1 -1
- package/dist/assets/{NavigationArrow-f4Z3TuXg-BOQXlQjz.js → NavigationArrow-DY_BhITD-gGit-4br.js} +1 -1
- package/dist/assets/{NavigationDots-WiVjbUsC-C7Q4WAGV.js → NavigationDots-Kh5ODrCQ-DwZ3hrog.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-kvjjwV8d-DjuH6H6H.js → NewGlobalMerchantPage-BYTROFvX-DwdJUPSt.js} +1 -1
- package/dist/assets/{NoDataChart-DlSLTzZl-C1cnqDKJ.js → NoDataChart-CuiKDcAB-DcvOdNkO.js} +1 -1
- package/dist/assets/{NoDataTable-9vLoRpsR-wzbnukFo.js → NoDataTable-BpH8puX--CKc9Uumk.js} +1 -1
- package/dist/assets/{NotFoundPage-CFlNCHFs-BjAbW1p2.js → NotFoundPage-BKvCYyvc-CVW4jAzU.js} +9 -9
- package/dist/assets/{NotFoundScreen-C4RWEwpc.js → NotFoundScreen-BGyIaLbV.js} +1 -1
- package/dist/assets/{NotificationRoutes-Bauqlg8K.js → NotificationRoutes-g75WljLy.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-KJzE9v4p-ueNqYhCg.js → NotificationSettingsPage-F2xXUCSE-1aLSD_P9.js} +1 -1
- package/dist/assets/{NotificationsListConfig-6sXXtF_E-CoAChzQf.js → NotificationsListConfig-C9r-O2kH-aq3nwp_9.js} +1 -1
- package/dist/assets/{NotificationsPage-D4AmPdo9-CLlXhmZ-.js → NotificationsPage-CZZ9GTVy-CjLasA13.js} +1 -1
- package/dist/assets/{OpExByVendorPage-B5Wtu3ww-BfiVnjOY.js → OpExByVendorPage-Crvcsx0U-D2kbC2Nh.js} +5 -5
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-CakuK-tg.js → OverlayContainerPage-BG9y5C0t-DpfAmCAx.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-CjkaxTx7-BjLqIhEu.js → PandLWithForecastPage-CkDCt5NK-CZTB6HyP.js} +7 -7
- package/dist/assets/{PandLWithForecastRoutes-xJfyiPLc.js → PandLWithForecastRoutes-BIm6SNTl.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-eeLSg7xb-BniLcpKw.js → PaymentAccountSetupBillingAddressSection-D1ZDh1GY-CDM1qPvj.js} +1 -1
- package/dist/assets/{PeoplePage-CQREy6SW-jzMdXXql.js → PeoplePage-D2CtRlrd-By7K7MoK.js} +1 -1
- package/dist/assets/{PeopleRoutes-bZeBcbCa.js → PeopleRoutes-DYEYoT-Z.js} +1 -1
- package/dist/assets/{PerformanceRoutes-Cpf321a_.js → PerformanceRoutes-DfWgoWPO.js} +1 -1
- package/dist/assets/{Preview-CQ45ZFEO.js → Preview-CBFJfLMb.js} +1 -1
- package/dist/assets/{ProductsCarousel-COZZMTcH-B51aQv0u.js → ProductsCarousel-sNagRI0c-61XsnGmO.js} +1 -1
- package/dist/assets/{PromoBaseCards-Bmn6TN2k-Bs7EMABq.js → PromoBaseCards-BUk-u73S-BOYyiMks.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-DYxoiSkA-Dk_DwyWX.js → QBOConnectionDialog-C1rEAxUE-DfW1Uzaj.js} +1 -1
- package/dist/assets/{QBOConnectionScreen-CAL_oIQc.js → QBOConnectionScreen-Rp-2rn0k.js} +1 -1
- package/dist/assets/{QBOSetupSection-Cdz2PDxV-BDBYgiEv.js → QBOSetupSection-iQJCHR-K-Cozk6L0j.js} +1 -1
- package/dist/assets/{ReferralListScreen-qui_lA__.js → ReferralListScreen-CBuGWNNX.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRoutes-Ct12I2wb.js → ReimbursementApprovalRoutes-D0ehNmsg.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-C-QEoqCw-Cs_RbD5G.js → ReimbursementApprovalRuleDetailPage-BPIKZ9v1-_Rw4LFib.js} +5 -5
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-DHXZ840V.js → ReimbursementApprovalRuleDetailScreen--zBLN-vr.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-Ch2sxTFV-DeHruNGf.js → ReimbursementApprovalRulesPage-AE810nQZ-CKLvlvGT.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-DSF6SfKn-BhQpRY9M.js → ReimbursementDetailPage-CYuZJL_J-Dc9Q5SmJ.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-F1ROFd63-B1t5Jond.js → ReimbursementPromoPage-CaxjSwrz-BqYGPT-x.js} +1 -1
- package/dist/assets/{ReimbursementRoutes-1_SI-hn8.js → ReimbursementRoutes-Dw1HmBPZ.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-l2mhLFuo-B54Qng1-.js → ReimbursementSetUpPage-Bw77MBHF-CqZyhccg.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DyPxPnlu-BICgOxHf.js → ReimbursementsBulkReviewDrawerPage-B-svIloS-u7x5I4fB.js} +1 -1
- package/dist/assets/{ReloadCard-CDcJMl9F-CnmKoS62.js → ReloadCard-D5kxTfzJ-CHGlYP1Y.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-DvCk55Hn-DkSGr4BZ.js → ReportTableViewSelector-BZU8yltx-BXz0jYWq.js} +1 -1
- package/dist/assets/{ReportsPage-DfqqKSt3-CLOVf278.js → ReportsPage-CdN9MEVy-VFwi_Sta.js} +5 -5
- package/dist/assets/{ReportsRoutes-DLpbfbDj.js → ReportsRoutes-BxP48mVj.js} +1 -1
- package/dist/assets/{RevenueChart-BONT9upM-DU_a19lO.js → RevenueChart-B_RMeweH-sORV0ExB.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-857bVurA-CbjI1OUT.js → ReviewDetailsPage-a73YIZSO-BwRkWQP6.js} +1 -1
- package/dist/assets/{ReviewOverlay-ClQg7d2j-Dm0fdfqo.js → ReviewOverlay-Ubmz06uP-Dq2e8WZF.js} +1 -1
- package/dist/assets/{RewardsRoutes-EWwY813U.js → RewardsRoutes-kNiN5XKd.js} +1 -1
- package/dist/assets/{RoleWithToolTip-C0G1Hgp_-CRG2xCvX.js → RoleWithToolTip-BYO1YG6N-CpH6tY8x.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CJ_JBtxS-D8uR91rN.js → ScheduleDetailsFixedAssetsPage-vgqilDC8-BtW6gR7z.js} +4 -4
- package/dist/assets/{ScheduleDetailsPage-B1aEwPL--oYlhdTLP.js → ScheduleDetailsPage-DdEeFryA-D3pgpVcx.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-DhU7PI91-LtlMXkac.js → ScheduleSequenceTable-poNEzbqS-Bn1GkRq3.js} +1 -1
- package/dist/assets/{ScreenRoutes-D_5DmJ86.js → ScreenRoutes-D1xPWhMn.js} +2 -2
- package/dist/assets/{SetUpAccountSection-C8dulq9s-B-L9gOQO.js → SetUpAccountSection-BSOGwHCj-BawfFLHE.js} +1 -1
- package/dist/assets/{SettingsRoutes-Bpnzxqw3.js → SettingsRoutes-CQFKHlBE.js} +1 -1
- package/dist/assets/{SetupPagesScreen-BG2iNhNo.js → SetupPagesScreen-Khrg4fmZ.js} +1 -1
- package/dist/assets/{SignIn-wDe7lbGR-DVGzhzCV.js → SignIn-q4J9wRx8-CmY6_2-N.js} +4 -4
- package/dist/assets/{SignInScreen-ChmnsIGN.js → SignInScreen-DE5iszhl.js} +1 -1
- package/dist/assets/{SignOutScreen-C9MY-na5.js → SignOutScreen-BrEmVZ7k.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-BdddUHrW-C_LostVg.js → SpendManagementListViewPage-DKRkSADM-CyVMAS6i.js} +6 -6
- package/dist/assets/{SpendManagementPerTabPage-BBJm3884-DNyU3qBr.js → SpendManagementPerTabPage-Cd30NnXU-CuxG4XXm.js} +21 -21
- package/dist/assets/{SpendManagementSection-6R5y0Hy4-DR8MdoOh.js → SpendManagementSection-CPBOh_J5-VebfRScE.js} +14 -14
- package/dist/assets/{StatementItem-qsoXKx_p-DNQHoMbS.js → StatementItem-NyOORj5f-CGBabGx-.js} +2 -2
- package/dist/assets/{StatementsPage-Cn7WG5-S-Dl_bD5a2.js → StatementsPage-Cp77wyFS-BNWHu83c.js} +2 -2
- package/dist/assets/{StatusSwitcher-D3qCg5J1-CnYYZ1b2.js → StatusSwitcher-DN-yYdli-C38uA7vA.js} +1 -1
- package/dist/assets/{SubTabSwitcher-BXajy75j-B6OxDW3g.js → SubTabSwitcher-D1LNrhUn-k7hSwnGE.js} +1 -1
- package/dist/assets/{SuccessAnimation-CSblamOQ-JSo_khSf.js → SuccessAnimation-DdyAYe1e-CRBZLEcw.js} +1 -1
- package/dist/assets/SummaryCard-DgIPSt4y-BreXikds.js +1 -0
- package/dist/assets/{TaskDetailPage-CrsQnhu1-B_UOgdhU.js → TaskDetailPage-DXTLNhtf-DSitOXq0.js} +1 -1
- package/dist/assets/{TaskListScreen-CQghy863.js → TaskListScreen-DkpddMj-.js} +1 -1
- package/dist/assets/{TaskManagementPage-h3Rb49Jj-pMAnmsYe.js → TaskManagementPage-BaLJR4-7-CF4lQh5a.js} +28 -28
- package/dist/assets/{TaskRoutes-Bzs5ud2d.js → TaskRoutes-FkwKuuJe.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-DpUOmqiR-OEgtOaDl.js → TimeRangeSwitcher-CkgGEwEw-BPD6p-o-.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-BKEtsv_r-BOgf0adS.js → TimeframeSwitcher-B8fpnYS8-DN6x7QeB.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DECnQIMT-BjcEq4P9.js → TimeframeSwitcherWithToggle-DwFo6jY4-D-j20nY7.js} +10 -10
- package/dist/assets/{TopExCard-leQR29Sq-DMP-noC7.js → TopExCard-PayAZZY--CN7knT9a.js} +1 -1
- package/dist/assets/{TopExDetailPage-Dgg7Do6D-Cf1J-rX0.js → TopExDetailPage-Mp2KcYf6-DF6BJLe1.js} +3 -3
- package/dist/assets/{TransactionActivityLogPage-CU2pUJQL-CzX5Q4B2.js → TransactionActivityLogPage-CnmL_hUz-xxBYOo0V.js} +1 -1
- package/dist/assets/{TransactionDetailPage-FT2IPLH7-CX3DG4Pm.js → TransactionDetailPage-Bqlnmn8Y-C-G32l9E.js} +26 -26
- package/dist/assets/{TransactionDetailRoutes-atS2Oh1R.js → TransactionDetailRoutes-Bur6XOBC.js} +1 -1
- package/dist/assets/{TransactionDetailScreen-BglCkwGm.js → TransactionDetailScreen-TsmDBl7P.js} +1 -1
- package/dist/assets/{TransactionList-C2MGkQYM-CU8bIKXQ.js → TransactionList-BOmlsfpv-P61oqFED.js} +11 -11
- package/dist/assets/{TransactionListBig-CZ3jIxzR-h_QlWda5.js → TransactionListBig-CaMT-rq_-CyI8cEhp.js} +1 -1
- package/dist/assets/TransactionListPage-D_dgwnFp-D9ucLBYe.js +35 -0
- package/dist/assets/{TransactionListRoutes-D3x0o31V.js → TransactionListRoutes-Bze4GklF.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-BgcqndCu-DrGCDrHZ.js → TransactionVendorDetailPage-DlXuiPC5-CVKs_i6q.js} +1 -1
- package/dist/assets/{TransferDrawerPage-SirvPH4z-AADMZrtA.js → TransferDrawerPage-C2VcssbM-BdJwka8r.js} +14 -14
- package/dist/assets/{TreasuryOverviewPage-B_WK1aOv-45D8ongN.js → TreasuryOverviewPage-DyyoGY23-8NjmnIXR.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-B_D63Dr2-Mw7kOaR2.js → TreasuryPromoPage-B9Hf7oxZ-CY7Z2jR8.js} +1 -1
- package/dist/assets/{TreasuryRoutes-DevJrQwC.js → TreasuryRoutes-BcEhSPu-.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-BGe0fhBe-CZKzrKEg.js → TreasuryStatementsPage-DOzJzfTG-COamdHZN.js} +2 -2
- package/dist/assets/{TreasuryTaxLetterPage-9gNdkQZp-KOpqpRaG.js → TreasuryTaxLetterPage-BcTBr9x9-DQ6bAdf9.js} +1 -1
- package/dist/assets/{TrendChart-COItOWPp-B0KeVtcc.js → TrendChart-BvXDrgUJ-D_jexAAy.js} +2 -2
- package/dist/assets/{TrendWithTransactions-DgAw_8CI-C5t8dz0y.js → TrendWithTransactions-RCpzdPf3-B6dzBDBs.js} +7 -7
- package/dist/assets/{UncategorizedAccountsMappingPage-B9EziB6Q-Bi-s-0Sv.js → UncategorizedAccountsMappingPage-B1m3iXh5-Ip2N2jHp.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-DGWNyWV1-otb9S_5N.js → UnitIntegrationPage-lVg_8mQ4-CG7xv8GT.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-DWmMz_8y-BoxaUeLm.js → UploadAdditionalDocumentOverlay-DrAWxBXn-_zHsjfu5.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-dh2g8kqu-DmCsxO0l.js → Vendor2FAPopup-C8m_OJEH-D165qdUh.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-JhO6KtMC-CANKU5ry.js +1 -0
- package/dist/assets/{VendorDetailPage-CGqoIODq-BvUdf9jN.js → VendorDetailPage-Y9_hsgjs-C9Wt_5QU.js} +5 -5
- package/dist/assets/VendorDomesticWireDetailsPage-D0RsDHxf-Bxd9GX1z.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-CsnlHrCl-Dg2l5wSd.js → VendorFiling1099EditablePage-CPevpiim-qmsYTkLB.js} +9 -9
- package/dist/assets/{VendorFirstReviewPage-DC1j2sO_-B3hOpd68.js → VendorFirstReviewPage-CXftFNl_-CCYTLrD_.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-Drr00a6C-DzH1osbM.js → VendorInternationalWireDetailsPage-88NtGE3e-C0C0m4pv.js} +6 -6
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CZ5N8G2o-6XH5g7u0.js → VendorInternationalWireSwiftDetailsPage-BTh-VP1b-C-5vzJEN.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-BtdwR8u4-B4AH00Ns.js → VendorsAccountsSection-DorsKXyL-B5FHsSOL.js} +1 -1
- package/dist/assets/{VendorsRoutes-CyRapVh2.js → VendorsRoutes-FQkb12pI.js} +1 -1
- package/dist/assets/{VerifyDevice-Bhr_yHpE-BFsFancv.js → VerifyDevice-DAym8rUN-BlHFuMzS.js} +4 -4
- package/dist/assets/{VideoPlayer-wlJX6lEq-Djxj54Vf.js → VideoPlayer-53OvOC7l-pPI6Q2OV.js} +1 -1
- package/dist/assets/{VideoPopup-BPptwR51-DdCCHHY9.js → VideoPopup-v9quqdro-CKa7Hhxk.js} +2 -2
- package/dist/assets/{WiseConfirmationScreen-CnF85JVe.js → WiseConfirmationScreen-DsF9s3cq.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-CSsu44ls-BxTJP0xn.js → ZeniAccountDetailPage-CFEGqW5l-Cc3o93o-.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-BZwGCrzx--nMPcfZ-.js → ZeniAccountListViewPage-j85TO5tM-D8dMZ6jp.js} +27 -27
- package/dist/assets/ZeniAccountNavBarPieces-Bv34Vsqj-S8eWsLxK.js +33 -0
- package/dist/assets/{ZeniAccountPromoPage-CahV-Rmf-B_a0e4xi.js → ZeniAccountPromoPage-DeHmh4My-CfY9P4dJ.js} +1 -1
- package/dist/assets/{ZeniAccountRoutes-BnCdn_7e.js → ZeniAccountRoutes-CfCvabZR.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-DSNDNKZr-BvWOY3jL.js → ZeniAccountSetupPage-ofkQR72l-CBlKDRVk.js} +1 -1
- package/dist/assets/{ZeniAccountStatementScreen-BOJsnK-P.js → ZeniAccountStatementScreen-CGYScuoU.js} +1 -1
- package/dist/assets/{ZeniAvatar-De0hFvIm-BJi7TJei.js → ZeniAvatar-Ct7MPW2X-BHlw9FbG.js} +1 -1
- package/dist/assets/{ZeniCopyright-BNGdkMOa-CGSddL5N.js → ZeniCopyright-CmCqmJmV-3KycUvio.js} +1 -1
- package/dist/assets/{ZeniDatePicker-CYNEE0pM-CI8_Q6Ab.js → ZeniDatePicker-RNJ2ukKC-BM4oYXJe.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DuD1JtSv-eHMRZi_V.js → ZeniTransferAmountSlider-BpfqM032-CVzLkYGE.js} +1 -1
- package/dist/assets/{accountMappingHelper-FrhvxzcW.js → accountMappingHelper-rwWvpsms.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-BqBidt5n.js → add-to-wallet-DgdBD8_G-CzXhL1Ym.js} +1 -1
- package/dist/assets/{analytics-CVqRc8fh.js → analytics-DIWVqtXV.js} +1 -1
- package/dist/assets/{analyticsHelper-qMWdjEFo.js → analyticsHelper-CLBcUDc5.js} +1 -1
- package/dist/assets/{analyticsHelper-DjQYjslY-D8-DDeg7.js → analyticsHelper-qtejXlXH-UFbrYbZ_.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-B3QTzBHA.js → arrow-south-east-round-PEovUgvH-CWRd961V.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-de_8OjuK.js → auto-transfer-rule-mbafm5D3-Bjm-l3iW.js} +1 -1
- package/dist/assets/{avatar-Dz7aEm3d-B-3VAvb3.js → avatar-Dz7aEm3d-CKqFD1L0.js} +1 -1
- package/dist/assets/{bank-letter-BOcVjN6J-KdddOmyc.js → bank-letter-BOcVjN6J-BhxkRonC.js} +1 -1
- package/dist/assets/{calculateSize-i9QGr8q0-BEKLyEYY.js → calculateSize-CzpGCfNE-CNrV3_Iu.js} +1 -1
- package/dist/assets/{chartTypes-BGl-YMiu-DAKq2IM5.js → chartTypes-BqRsL6eJ-D0sv3zgU.js} +1 -1
- package/dist/assets/{clock-CJkylEKt-CB7HCMZv.js → clock-CJkylEKt-9m-0TbEY.js} +1 -1
- package/dist/assets/common-BxjzMhDO-M6F2cReY.js +1 -0
- package/dist/assets/{commonDimensions-CuKo3wam-nLTnztTJ.js → commonDimensions-CzWWgDTA-C5sl3WWf.js} +1 -1
- package/dist/assets/{commonTypes-CfAg6Jvv-D84w54Iv.js → commonTypes-CF6UyWSv-BQXpwXby.js} +1 -1
- package/dist/assets/{core-AYNw6kyJ.js → core-BAxGDYbL.js} +1 -1
- package/dist/assets/{dash.all.min-Dq_dQY1I.js → dash.all.min-DLVq1nc5.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-E-sgiudi.js → decodeURIComponentSafe-Bypqq6TF.js} +1 -1
- package/dist/assets/{dnd-Dw-riVE4.js → dnd-BEk5qqV2.js} +1 -1
- package/dist/assets/{dollar-round-D18u7nlm-CvsBoEut.js → dollar-round-D18u7nlm-DgPiQ4X2.js} +1 -1
- package/dist/assets/{downloadPdf-Dcd8BY_9-DI4hg2G0.js → downloadPdf-BFFM3Hea-CZaqSBqv.js} +1 -1
- package/dist/assets/{empty-C9c-cai_.js → empty-BWHMm5Kr.js} +1 -1
- package/dist/assets/{empty-CX0U2Ty5.js → empty-C6XM9c0M.js} +1 -1
- package/dist/assets/{epic-B6fOiqme.js → epic-CkteLEKR.js} +1 -1
- package/dist/assets/{filter-cZIFUNvj-lFkn5gVk.js → filter-cZIFUNvj-yDtIQZZZ.js} +1 -1
- package/dist/assets/{getLocaleForTenant-YUfQHJdY.js → getLocaleForTenant-DIET8R83.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-BPwbjUGz.js → gift-box-Cmt9OgIZ-a88q6Sec.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-CaJy2HdS.js → graphic-no-data-l-DU4J8fDt-BXu_Erqy.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-C9pmzSAL.js → graphic-no-data-net-burn-l-CzmycA0m-CDJ9LscK.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-BSOSNqUk.js → handshake-BPg58FML-DXXhI3e_.js} +1 -1
- package/dist/assets/{helper-DkzA3y2L-OUS27pTt.js → helper-COxPEvgL-B99qx9wP.js} +1 -1
- package/dist/assets/{hyperlink-DQyCeXx2-CVVb97aA.js → hyperlink-DQyCeXx2-DDEc353Q.js} +1 -1
- package/dist/assets/{index-NZat51vK.js → index-BUTnHeUk.js} +1 -1
- package/dist/assets/{index-DubSD1fb.js → index-CDtqLLbw.js} +1 -1
- package/dist/assets/{index-Mhz2NAiD.js → index-CVe1fo1a.js} +7 -7
- package/dist/assets/{index-DqcXLX0N.js → index-CVjW2ppf.js} +1 -1
- package/dist/assets/{index-Dm85Hu6Z.js → index-CkLoBdAM.js} +1 -1
- package/dist/assets/{index-wicPWwlB.js → index-rcznrhDB.js} +1 -1
- package/dist/assets/{lexical-B-dyW3-4.js → lexical-eSt6-8-s.js} +1 -1
- package/dist/assets/{liveblocks-DJcRPJQh.js → liveblocks-DIb7UiB5.js} +1 -1
- package/dist/assets/{lottie-DdLBMmzp.js → lottie-DR43ghJ6.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-lABm-2N9-DqEFBCkO.js → mapLoadingInProgressToTreeNode-COOJxneh-Dn5oaOob.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-COcUb2pF-Bv4F43o8.js → mapSectionWithAcOnlyToTreeNode-CcuLqf_I-DlLPz3lr.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-Ci5bdH6P-L9lviHBs.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CCZ9A7A6-m60AXXy6.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CvVUjW74-b4p2F7se.js → mapTimeframeBalancesToTreeNode-Cql9mEn3-BI70JNWv.js} +1 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CIXgJHQz-C3md0v2d.js +1 -0
- package/dist/assets/{media-player-V7uSzi45.js → media-player-t6imgqTs.js} +2 -2
- package/dist/assets/{money-2cg1MuG4-B7YE6t0I.js → money-2cg1MuG4-BKLw88Z7.js} +1 -1
- package/dist/assets/{mui-Ckdcx_YE.js → mui-DcvwYC51.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-NqWvakND.js → page-detail-CWX5S47F-DYwfMchM.js} +1 -1
- package/dist/assets/{page-summary-D7_VQHwN-BvkWkaoT.js → page-summary-D7_VQHwN-Ccsx0X5Z.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-CROMd__p.js → panelSelectedMixin-Cddsb26L-oybQQD8A.js} +1 -1
- package/dist/assets/{pathToGoBack-C_2xxQDe.js → pathToGoBack-DgCvIIns.js} +1 -1
- package/dist/assets/{pdf-CwWlK-Dr.js → pdf-DA3UteIy.js} +3 -3
- package/dist/assets/{pdf-lib-DhaWOBih.js → pdf-lib-CB0YH404.js} +1 -1
- package/dist/assets/{plaid-BhP6n1uc.js → plaid-Dma9BWZs.js} +1 -1
- package/dist/assets/{pusher-8DhjdTCA.js → pusher-BpsMW-yL.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-BoUlFA9D.js → radio-default-CiSgisfh-DhACFBeo.js} +1 -1
- package/dist/assets/{react-CB4dPBRZ.js → react-B399TF4z.js} +3 -3
- package/dist/assets/{react-D-APY71d.js → react-CGustVKo.js} +1 -1
- package/dist/assets/{react-CGVKTtsW.js → react-CHYwPjVO.js} +1 -1
- package/dist/assets/{react-BwCmpEw6.js → react-DIlTJIev.js} +1 -1
- package/dist/assets/{react-D_0srhsg.js → react-DSe89Cs9.js} +1 -1
- package/dist/assets/{react-D4pZVe2B.js → react-DYy5XxA9.js} +1 -1
- package/dist/assets/{react-CE6422aE.js → react-Da-tqkFZ.js} +1 -1
- package/dist/assets/{react-BHDcRwxI.js → react-Gk8q99af.js} +1 -1
- package/dist/assets/{recharts-Dr1JzI4y.js → recharts-LOG_L3Q0.js} +1 -1
- package/dist/assets/{routePaths-DIayl1Jh.js → routePaths-B9s6SzIs.js} +1 -1
- package/dist/assets/{sentry-D-LCra2M.js → sentry-CFYfTv_F.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-D5PHf2Tj.js → shield-DOlUxcFf-DouOIUSu.js} +1 -1
- package/dist/assets/{spend-limit-D6SyboD4-D85B38gI.js → spend-limit-D6SyboD4-DTJkvAlS.js} +1 -1
- package/dist/assets/toCOABalancesWithID-B70YK7cw-CXnt8iTO.js +1 -0
- package/dist/assets/{toChartData-B4ligi4c-p4U01oAp.js → toChartData-CWgd8E5c-DiIGKIgi.js} +1 -1
- package/dist/assets/{transaction-placeholder-CpOwZAMG-Ca0HZ2W6.js → transaction-placeholder-CpOwZAMG-9RLgCBK-.js} +1 -1
- package/dist/assets/{undo-b_3XZ5CX-CSQ0fDLS.js → undo-b_3XZ5CX-4JO3_5lb.js} +1 -1
- package/dist/assets/{unlock-BPWn2I5L-DDdPB9QU.js → unlock-BPWn2I5L-CncAfPJ6.js} +1 -1
- package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-DNsQOTk3.js → upload-reimbursement-receipt-O2N8vcO7-CX9b95cy.js} +1 -1
- package/dist/assets/{uploadAttachment-DgPDimcm-UTkUQwho.js → uploadAttachment-D1ybl0Fy-CsdIaI-4.js} +1 -1
- package/dist/assets/{uploadReceipts-CIgkuVpu-3Ex--Idc.js → uploadReceipts-CIgkuVpu-BTLELte6.js} +1 -1
- package/dist/assets/{url-BK92KGZc.js → url-CG3dVLHq.js} +1 -1
- package/dist/assets/{url-DUid0IO0.js → url-Cds_9Ffk.js} +1 -1
- package/dist/assets/{useDeviceId-BCros22l.js → useDeviceId-Dzb269rv.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-Bx0ivBGf.js → useInitialThreadRequest-D4Yk6niJ.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-Bs4IMufW.js → useLongPress-GCK2COYQ-BCXZNFDE.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BBaxYQlT.js → usp-line-BBd1wKwW-D0lXP7am.js} +1 -1
- package/dist/assets/{utils-CI1RvLss.js → utils-B0HnpOzO.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-CHdaZXOz.js → withTransactionSidePanel-BBzl-sYH.js} +1 -1
- package/dist/assets/{zeni-epic-state-B1zsDZZ4.js → zeni-epic-state-BZiG8B71.js} +3 -3
- package/dist/assets/{zeni-icon-only-Bb7XRMgX.js → zeni-icon-only-DWQkIW-o.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-v8-NT3FJ-CUWvVcbF.js +0 -18
- package/dist/assets/ApAgingDetailPage-6F47t31h-8q8np9Bg.js +0 -46
- package/dist/assets/BillPayApprovalRuleDetailPage-CRBli7lk-CcG8rFJP.js +0 -27
- package/dist/assets/CustomerOnboardingAuthScreen-CTZAVHXC.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-B5kVGk_V-B2LOWvxI.js +0 -1
- package/dist/assets/EntityDetailPage-BDyO7iLI-y9lTygCJ.js +0 -18
- package/dist/assets/InsightsSection-rGyA4lY9-ljgWP3Nl.js +0 -27
- package/dist/assets/InvitePeoplePage-CpD7YoC2-BM5MmdPZ.js +0 -12
- package/dist/assets/MagicLinkACHDetailsPage-DbhqYo7W-BPfQqaKe.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-D0JDLfbz-2wvzfcTR.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DChqrJN7-iL43dQWj.js +0 -1
- package/dist/assets/SummaryCard-B1d4_5lE-BRRY9IEV.js +0 -1
- package/dist/assets/TransactionListPage-PCa4exLO-IbUCrSXm.js +0 -35
- package/dist/assets/VendorACHDetailsPage-C0vIRpRW-BP-CVl2D.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-BVXSOMiH-CqZDNLeP.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-CrNjnkNS-Dqicw5_O.js +0 -33
- package/dist/assets/common-Cws59IN1-tgtgUQp7.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-BDjo5N-i-CqHdHAc2.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CwHF76sn-C9QWz7EU.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B7LYTZXQ-CwYCbZxF.js +0 -1
- package/dist/assets/toCOABalancesWithID-CGYYTIjt-CV8c8HPi.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as Ye,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bo as gl,f9 as wl,s as Je,fw as
|
|
1
|
+
import{e as Ye,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bo as gl,f9 as wl,s as Je,fw as Qe,o,fC as Tl,cd as A,cf as Se,ci as Sl,ew as zl,eu as Nl,ch as Il,cg as J,fD as el,fE as Al,f2 as Bl,cj as He,f1 as ll,ca as ql,f as B,c6 as il,al as _e,ck as Rl,fh as Ol,d as Ee,b6 as jl,f8 as vl,l as Xe,w as De,k as Wl,b3 as Ml,m as q,cM as Ul,z as Gl,fF as Hl,C as Ke,H as Zl,fG as Yl,b4 as Pe,ap as Jl,M as $l,cq as Ql,$ as Xl,b2 as Kl}from"./index-CVe1fo1a.js";import{a as h}from"./sentry-CFYfTv_F.js";import{d as ei,n as r}from"./mui-DcvwYC51.js";import{bs as Ll,FH as li,FI as ol,bG as ii,FG as oi,FF as ti,FD as ai,FE as ri}from"./zeni-epic-state-BZiG8B71.js";import{x as ni,p as si,h as di,g as ci,m as pi,b as ui,f as mi}from"./helper-COxPEvgL-B99qx9wP.js";import{C as Ze}from"./LabeledAddressValueField-CAr-IiTa-hz8acdw2.js";import{b as hi}from"./LabeledCountryMultiSelectField-C6z1v9S1-B3o5vQAY.js";import{D as tl}from"./LabeledCreatableSingleSelectField-Dhi0n2ky-DMTYZTz6.js";import{Y as al}from"./LabeledDocumentField-B3QSq1eM-IGzby_k8.js";import{Z as Fl}from"./LabeledNameField-CYN5kdQi-86Gkfv4K.js";import{p as fi,i as yi,t as bi}from"./commonTypes-CF6UyWSv-BQXpwXby.js";import{r as Cl}from"./avatar-Dz7aEm3d-CKqFD1L0.js";(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new l.Error().stack;u&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[u]="6b4aed75-b43d-405d-bc3f-aff99ffc02ce",l._sentryDebugIdIdentifier="sentry-dbid-6b4aed75-b43d-405d-bc3f-aff99ffc02ce")}catch{}})();const{commonSetUp:xi}=se.getLocalizedStrings(),{businessVerification:rl}=xi,Oe={iconSize:new _(q[6],q[10]),gap:new _(q[2],q[3])},_l={title:new Ee("smallSemiBold","standardSemiBold"),description:new Ee("smallRegular","standardRegular")},Dl=()=>{const[l]=Gl("Secure"),u=Ye();return e.jsxs(gi,{windowSize:u,children:[l!=null?e.jsx(wi,{windowSize:u,animationData:l,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):e.jsx(Si,{windowSize:u}),e.jsxs(Ii,{children:[e.jsx(Oi,{windowSize:u,children:rl.securityMessageTitle}),e.jsx(ji,{windowSize:u,children:rl.securityMessageDescription})]})]})},gi=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: ${l=>l.windowSize==="small"?"flex-start":"center"};
|
|
4
4
|
gap: ${l=>Oe.gap.valuePx(l.windowSize)};
|
|
@@ -36,7 +36,7 @@ import{e as Ye,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bo as gl,f9 as wl
|
|
|
36
36
|
align-items: flex-end;
|
|
37
37
|
margin-left: ${o.sp2};
|
|
38
38
|
margin-top: ${o.sp1};
|
|
39
|
-
`,U={width:new _(343,580,726),labelWidth:new _(115,145,155),mediumLabelWidth:new _(140,160,170),largeLabelWidth:new _(150,210,244),extraLargeLabelWidth:new _(160,240,292),largeLabelDocumentWidth:new _(150,210,252),paddingBottom:new _(q[3],q[2]),containerRowGap:new _(12,q[3])},Li={title:new Ee("standardMedium","largeMedium")},Fi=se.getLocalizedStrings(),{dateFormat:{visual:Ci},commonSetUp:_i,companyPassport:nl,common:{documents:sl,optional:Di,yes:dl,no:cl}}=Fi,t=_i.businessVerification,Ei=h.forwardRef(({allIndustries:l,fileProps:u,productType:j,companyDetails:f,allNationalityCountries:R,connectedAccountProvider:L,businessVerificationProps:G,isDisabled:i,style:te,sectionId:a,showInfoTooltip:de=!0,isCompleted:ce=!1,showCompletedIcon:ae=!1,hideNewOnboardingFields:re=!1,showTreasuryFields:g=!1,sectionHeader:X,optionalFields:c=[],onCompanyAddressClick:pe,onRegisteredAddressClick:D},Q)=>{const b=Ye(),w=ei(),{watch:k,setValue:ue,formState:{errors:y}}=xl(),m=k(p(a,"companySourceOfFunds")),S=k(p(a,"transactionVolume")),H=k(p(a,"purposeOfAccount")),me=k(p(a,"regulatedStatus")),ke=k(p(a,"usNexus")),K=k(p(a,"companyIndustryType")),V=U.labelWidth.value(b),E=U.mediumLabelWidth.value(b),v=U.largeLabelWidth.value(b),ee=U.extraLargeLabelWidth.value(b),he=U.largeLabelDocumentWidth.value(b),x=t.productType[j],je=f?.companyFiles.find(n=>n.documentType==="certificate_of_incorporation"),ve=f?.companyFiles.find(n=>n.documentType==="tax_ein"),le=f?.companyDescription,Z=f?.companyLegalName,$=f?.website,Y=f?.typeOfIncorporation,W=f?.stateOfIncorporation,P=f?.countriesOfOperations,Ve=f?.incDate,Te=f?.companyIndustry,fe=f?.companyIndustryType,ze=f?.companySubIndustry,ye=f?.companySourceOfFunds,$e=f?.transactionVolume,s=f?.purposeOfAccount,Ne=f?.regulatedStatus,Ae=f?.usNexus,T=f?.phone,ie=f?.taxIdOrEIN,be=f?.primaryContactLocalData,oe=f?.deleteFileStatusById??{},Le=f?.updateFileStatusById??{},Be=f?.addressStatus?.addressToCreate,F=f?.registeredAddressStatus?.addressToCreate,[xe,qe]=h.useState(!1),[ge,Re]=h.useState(!1),z=n=>!(i!=null&&!n||re),Fe=z(fe),We=(i==null||Array.isArray(P)&&P.length>0)&&!re,Me=z(W),d=z(ye),C=z($e),ne=z(s),we=z(Ne),O=z(Ae),kl=t.sourceOfFundOptions,Ue=K?.selectedOption??fe;return e.jsxs(Pi,{style:te,ref:Q,windowSize:b,children:[e.jsx(ki,{children:e.jsxs(Ri,{children:[e.jsxs(Ti,{children:[ae===!0?e.jsx(zi,{children:ce?e.jsx(Ni,{}):e.jsx(Ai,{})}):null,e.jsx(Vi,{windowSize:b,children:X??t.confirmCompanyDetails})]}),de?e.jsx(Bi,{children:e.jsx(gl,{variant:"small-description",display:"flex",maxWidth:"280px",data:t.confirmCompanyDetailsTooltip,placement:b==="small"||j==="onboarding"?"bottom":"right",children:e.jsx(qi,{})})}):null,j==="onboarding"&&X!=null?e.jsx(El,{text:Di}):null,G?.companyVerificationStatus!=null?e.jsx(Mi,{tagTitle:G.companyVerificationStatus.name,textColor:wl(G.companyVerificationStatus.code),showLoader:G?.isRefreshingViewInBackground}):null]})}),e.jsxs(Wi,{children:[e.jsx(Dl,{}),e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:t.companyLegalNameLabel,width:v},text:{type:"text",name:p(a,"companyLegalName"),placeholder:t.companyLegalNamePlaceholder,defaultValue:Z,options:{required:i==null&&c.includes("companyLegalName")===!1}},additionalInfoLabel:t.companyLegalNameError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:t.companyDescriptionLabel,width:E},text:{type:"text",name:p(a,"companyDescription"),placeholder:t.addProductPlaceholder,defaultValue:le,options:{required:i==null&&c.includes("companyDescription")===!1}},additionalInfoLabel:t.companyDescriptionError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(Ze,{isDisabled:i,label:{label:t.registeredAddressLabel,width:E},addressValueField:{name:p(a,"registeredAddress"),placeholder:t.registeredAddressPlaceholder,defaultValue:F,registerOptions:{validate:n=>c.includes("registeredAddress")!==!1||!(i==null&&n==null)},onClick:()=>{D?.("company_registered_address")}},additionalInfoLabel:t.registeredAddressError.replace("_product_type_",x),showAdditionalInfoLabel:!1}),e.jsx(I,{}),e.jsx(Ze,{isDisabled:i,label:{label:t.companyAddressLabel,width:E},addressValueField:{name:p(a,"companyAddress"),placeholder:t.companyAddressPlaceholder,defaultValue:Be,registerOptions:{validate:n=>c.includes("companyAddress")!==!1||!(i==null&&n==null)},onClick:()=>{pe?.("company_address")}},additionalInfoLabel:t.companyAddressError.replace("_product_type_",x),showAdditionalInfoLabel:!1}),e.jsx(I,{}),e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:t.companyWebsiteLabel,width:V},text:{type:"url",name:p(a,"companyWebsite"),placeholder:t.companyWebsitePlaceholder,defaultValue:$?.toString()??"",options:{required:i==null&&c.includes("companyWebsite")===!1}},additionalInfoLabel:t.companyWebsiteError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(Gi,{windowSize:b,"data-suppress-hover":i!=null||void 0,children:Fe?e.jsxs(e.Fragment,{children:[e.jsx(J,{label:{label:t.companyIndustryLabel,width:V},singleSelectField:{singleSelect:{name:p(a,"companyIndustryType"),placeholder:t.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ni,isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:fe,allOptions:[...li]},registerOptions:{required:i==null&&c.includes("companyIndustryType")===!1,validate:n=>c.includes("companyIndustryType")!==!1||!(i==null&&!n?.selectedOption)},onSelectChange:n=>{ue(p(a,"companySubIndustry"),{selectedOption:null,allOptions:ol(n)})}},isFunctional:!0,errorInfoLabel:t.companyIndustryError.replace("_product_type_",x),style:{padding:0,margin:0,outline:"none",paddingRight:o.sp2}}),Ue!=null&&e.jsx(J,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:p(a,"companySubIndustry"),placeholder:t.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:n=>mi(n,Ue),isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:ze,allOptions:ol(Ue)},registerOptions:{required:i==null&&c.includes("companySubIndustry")===!1,validate:n=>c.includes("companySubIndustry")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,keepFocusedStyle:!0,errorInfoLabel:t.companySubIndustryError.replace("_product_type_",x),additionalInfoLabel:i==null?t.companyIndustryAdditionalInfo:void 0,style:{outline:"none",paddingBottom:o.sp0,paddingRight:o.sp0,width:"100%"}})]}):e.jsx(J,{label:{label:t.companyIndustryLabel,width:V},singleSelectField:{singleSelect:{name:p(a,"companyIndustry"),placeholder:t.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:n=>l.find(Ce=>Ce.code===n)?.name??n,isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:Te,allOptions:l?.map(n=>n.code)??[]},registerOptions:{required:i==null&&c.includes("companyIndustry")===!1,validate:n=>c.includes("companyIndustry")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,errorInfoLabel:t.companyIndustryError.replace("_product_type_",x),additionalInfoLabel:i==null?t.companyIndustryAdditionalInfo:void 0,style:{padding:0,margin:0,outline:"none",paddingRight:o.sp2}})}),e.jsx(I,{}),e.jsx(tl,{label:{label:t.companyTypeOfIncorporationLabel,width:v},isDisabled:i,creatableSingleSelectField:{name:p(a,"typeOfIncorporation"),placeholder:t.companyTypeOfIncorporationPlaceholder,defaultValue:{selectedOption:Y,allOptions:nl.companyIncInfo.allTypesOfIncorporation},registerOptions:{required:i==null&&c.includes("typeOfIncorporation")===!1,validate:n=>c.includes("typeOfIncorporation")!==!1||!(i==null&&!n?.selectedOption)}},errorInfoLabel:t.companyTypeOfIncorporationError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(Sl,{isDisabled:i,label:{label:t.companyIncDateLabel,width:v},style:{paddingBottom:U.paddingBottom.valuePx(b)},dateField:{name:p(a,"incDate"),placeholder:t.companyIncDatePlaceholder,defaultValue:Ve,dateFormat:Ci.defaultInput,maxDate:Ll(),minDate:ii("01 Jan 1900"),autoComplete:"off",registerOptions:{required:i==null&&c.includes("incDate")===!1}},additionalInfoLabel:t.companyIncDateError.replace("_product_type_",x)}),e.jsx(I,{}),Me?e.jsxs(e.Fragment,{children:[e.jsx(tl,{label:{label:t.companyStateOfIncorporationLabel,width:v},isDisabled:i,creatableSingleSelectField:{name:p(a,"stateOfIncorporation"),placeholder:t.companyStateOfIncorporationPlaceholder,defaultValue:{selectedOption:W,allOptions:nl.companyIncInfo.allStatesOfIncorporation},registerOptions:{required:i==null&&c.includes("stateOfIncorporation")===!1,validate:n=>c.includes("stateOfIncorporation")!==!1||!(i==null&&!n?.selectedOption)}},errorInfoLabel:t.companyStateOfIncorporationError.replace("_product_type_",x)}),e.jsx(I,{})]}):null,We?e.jsxs(e.Fragment,{children:[e.jsx(hi,{label:{label:t.countriesOfOperationsLabel,width:v},isDisabled:i,additionalInfoLabel:i==null?t.countriesOfOperationsAdditionalInfo:void 0,errorInfoLabel:t.countriesOfOperationsError.replace("_product_type_",x),multiSelectField:{name:p(a,"countriesOfOperations"),placeholder:t.countriesOfOperationsPlaceholder,defaultValue:ql(P,(R??[]).map(n=>n.countryCode)),registerOptions:{validate:n=>!!c.includes("countriesOfOperations")||!(i==null&&n.selectedOptions.length===0)}}}),e.jsx(I,{})]}):null,d?e.jsxs(e.Fragment,{children:[e.jsx(J,{label:{label:t.companySourceOfFundsLabel,width:v},singleSelectField:{singleSelect:{name:p(a,"companySourceOfFunds"),placeholder:t.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:si,isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:ye,allOptions:[...oi]},registerOptions:{required:i==null&&c.includes("companySourceOfFunds")===!1,validate:n=>c.includes("companySourceOfFunds")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,errorInfoLabel:t.companySourceOfFundsError.replace("_product_type_",x),additionalContent:fi.includes(m?.selectedOption)?e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:p(a,"companySourceOfFundsDescription"),placeholder:t.descriptionPlaceholder,style:{backgroundColor:y[a]!=null&&y[a]?.companySourceOfFundsDescription!=null?B.importantLight:w.colors.background},options:{required:i==null}},additionalInfoLabel:t.companySourceOfFundsDescriptionError,style:{position:"relative",top:0,left:-v,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:i!=null||y[a]!=null&&y[a]?.companySourceOfFundsDescription!=null?void 0:t.companySourceOfFundsAdditionalInfo,additionalInfoStyle:{color:w.colors.hero}}),e.jsx(I,{})]}):null,C?e.jsxs(e.Fragment,{children:[e.jsx(J,{label:{label:t.transactionVolumeLabel,width:ee},singleSelectField:{singleSelect:{name:p(a,"transactionVolume"),placeholder:t.transactionVolumePlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:di,isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:$e,allOptions:[...ti]},registerOptions:{required:i==null&&c.includes("transactionVolume")===!1,validate:n=>c.includes("transactionVolume")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,errorInfoLabel:t.transactionVolumeError.replace("_product_type_",x),additionalContent:yi.includes(S?.selectedOption)?e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:p(a,"transactionVolumeDescription"),placeholder:t.descriptionPlaceholder,style:{backgroundColor:y[a]!=null&&y[a]?.transactionVolumeDescription!=null?B.importantLight:w.colors.background},options:{required:i==null}},additionalInfoLabel:t.transactionVolumeDescriptionError,style:{position:"relative",top:0,left:-ee,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:i!=null||y[a]!=null&&y[a]?.transactionVolumeDescription!=null?void 0:t.transactionVolumeAdditionalInfo,additionalInfoStyle:{color:w.colors.hero}}),e.jsx(I,{})]}):null,ne?e.jsxs(e.Fragment,{children:[e.jsx(J,{label:{label:t.purposeOfAccountLabel,width:v},singleSelectField:{singleSelect:{name:p(a,"purposeOfAccount"),placeholder:t.purposeOfAccountPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ci,isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s,allOptions:[...ai]},registerOptions:{required:i==null&&c.includes("purposeOfAccount")===!1,validate:n=>c.includes("purposeOfAccount")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,errorInfoLabel:t.purposeOfAccountError.replace("_product_type_",x),additionalContent:bi.includes(H?.selectedOption)?e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:p(a,"purposeOfAccountDescription"),placeholder:t.descriptionPlaceholder,style:{backgroundColor:y[a]!=null&&y[a]?.purposeOfAccountDescription!=null?B.importantLight:w.colors.background},options:{required:i==null}},additionalInfoLabel:t.purposeOfAccountDescriptionError,style:{position:"relative",top:0,left:-v,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:i!=null||y[a]!=null&&y[a]?.purposeOfAccountDescription!=null?void 0:t.purposeOfAccountAdditionalInfo,additionalInfoStyle:{color:w.colors.hero}}),e.jsx(I,{})]}):null,we?e.jsxs(e.Fragment,{children:[e.jsxs(ul,{windowSize:b,"data-suppress-hover":i!=null||void 0,children:[e.jsxs(ml,{children:[e.jsx(il,{label:t.regulatedStatusLabel,htmlFor:p(a,"regulatedStatus"),isDisabled:i,style:{width:v,color:i==="disabled"?w.colors.grey1:w.colors.hero}}),e.jsxs(hl,{labelWidth:v,windowSize:b,children:[e.jsx(_e,{label:{label:dl},style:{paddingRight:`${o.sp4}`,width:"auto"},radioField:{name:p(a,"regulatedStatus"),id:`${p(a,"regulatedStatus")}.yes`,value:"yes",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small",registerOptions:{required:i==null&&c.includes("regulatedStatus")===!1}},isDisabled:i,isContainerClickable:!0}),e.jsx(_e,{label:{label:cl},style:{width:"auto"},radioField:{name:p(a,"regulatedStatus"),id:`${p(a,"regulatedStatus")}.no`,value:"no",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small",registerOptions:{required:i==null&&c.includes("regulatedStatus")===!1}},isDisabled:i,isContainerClickable:!0})]})]}),me==="yes"&&e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},text:{type:"text",name:p(a,"regulatedStatusDescription"),placeholder:t.regulatedStatusDescriptionPlaceholder,style:{backgroundColor:y[a]!=null&&y[a]?.regulatedStatusDescription!=null?B.importantLight:w.colors.background},options:{required:i==null,shouldUnregister:!0}},additionalInfoLabel:t.regulatedStatusDescriptionError,style:{outline:"none",width:"100%",padding:0}}),y[a]!=null&&y[a]?.regulatedStatus!=null?e.jsx(Ge,{windowSize:b,children:t.regulatedStatusError.replace("_product_type_",x)}):y[a]!=null&&y[a]?.regulatedStatusDescription!=null?null:i==null?e.jsx(fl,{windowSize:b,children:t.regulatedStatusAdditionalInfo}):null]}),e.jsx(I,{})]}):null,O?e.jsxs(e.Fragment,{children:[e.jsxs(ul,{windowSize:b,"data-suppress-hover":i!=null||void 0,children:[e.jsxs(ml,{children:[e.jsx(il,{label:t.usNexusLabel,htmlFor:p(a,"usNexus"),isDisabled:i,style:{width:v,color:i==="disabled"?w.colors.grey1:w.colors.hero}}),e.jsxs(hl,{labelWidth:v,windowSize:b,children:[e.jsx(_e,{label:{label:dl},style:{paddingRight:`${o.sp4}`,width:"auto"},radioField:{name:p(a,"usNexus"),id:`${p(a,"usNexus")}.yes`,value:"yes",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small",registerOptions:{required:i==null&&c.includes("usNexus")===!1}},isDisabled:i,isContainerClickable:!0}),e.jsx(_e,{label:{label:cl},style:{width:"auto"},radioField:{name:p(a,"usNexus"),id:`${p(a,"usNexus")}.no`,value:"no",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small",registerOptions:{required:i==null&&c.includes("usNexus")===!1}},isDisabled:i,isContainerClickable:!0})]})]}),ke==="yes"&&e.jsxs(e.Fragment,{children:[e.jsx(Ui,{hasError:y[a]!=null&&y[a]?.usNexusTypes!=null,children:e.jsx(pi,{isDisabled:i,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},multiSelectField:{name:p(a,"usNexusTypes"),placeholder:t.usNexusPlaceholder,getOptionLabel:ui,defaultValue:{selectedOptions:f?.usNexusTypes??[],allOptions:[...ri]},registerOptions:{required:i==null,shouldUnregister:!0,validate:n=>{const Ce=n?.selectedOptions;return Ce!=null&&Ce.length>0}}},style:{outline:"none",margin:0,padding:0,width:"100%"}})}),y[a]!=null&&y[a]?.usNexusTypes!=null&&e.jsx(Ge,{windowSize:b,children:t.usNexusTypesError})]}),y[a]!=null&&y[a]?.usNexus!=null?e.jsx(Ge,{windowSize:b,children:t.usNexusError.replace("_product_type_",x)}):y[a]!=null&&y[a]?.usNexusTypes!=null?null:i==null?e.jsx(fl,{windowSize:b,children:t.usNexusAdditionalInfo}):null]}),e.jsx(I,{})]}):null,e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:t.companyTaxIdLabel,width:V},text:{type:"text",name:p(a,"companyTaxId"),placeholder:t.companyTaxIdPlaceholder,defaultValue:ie,options:{required:i==null&&c.includes("companyTaxId")===!1,pattern:Rl},autoComplete:"new-password"},additionalInfoLabel:t.companyTaxIdError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(Il,{isDisabled:i,label:{label:t.companyPhoneLabel,width:V},text:{name:p(a,"companyPhone"),placeholder:Se(t.companyPhoneLabel),defaultValue:T,autoComplete:"new-password",options:{required:i==null&&c.includes("companyPhone")===!1}},errorInfoLabel:t.companyPhoneError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(Fl,{isDisabled:i,label:{label:t.companyPrimaryContactNameLabel,width:v},nameField:{name:p(a,"primaryContactName"),placeHolder:{firstName:t.firstNamePlaceholder,lastName:t.lastNamePlaceholder,name:t.namePlaceholder},defaultValue:{firstName:be?.firstName??"",lastName:be?.lastName??""},registerOptions:{required:i==null&&c.includes("primaryContactName")===!1,validate:n=>!!n||i!=null||c.includes("primaryContactName")},showFullNameError:!0},errorInfoLabel:t.companyPrimaryContactNameError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:t.companyPrimaryContactEmailLabel,width:v},text:{type:"email",name:p(a,"primaryContactEmail"),placeholder:t.companyPrimaryContactEmailPlaceholder,defaultValue:be?.email,options:{required:i==null&&c.includes("primaryContactEmail")===!1}},additionalInfoLabel:t.companyPrimaryContactEmailError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(al,{name:p(a,"certificateOfIncorporation"),isDisabled:i,sizeLimit:He,deleteFileStatusById:oe,updateFileStatusById:Le,filesEndPoint:u.filesEndPoint,authParams:u.authParams,label:{label:t.certificateOfIncorporation,width:he},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:je,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:i==null&&c.includes("certificateOfIncorporation")===!1&&L==="unit"},additionalInfoLabel:t.certOfIncopDocumentError.replace("_product_type_",x),hasError:xe,updateFilesEntity:u.updateFilesEntity,onEditFileName:u.onEditFileName,onDeleteFile:u.onDeleteFile,onFileSizeError:n=>qe(n)}),xe||i==null&&je==null?e.jsx(pl,{windowSize:b,isError:xe,children:sl.formatDocumentText10MB}):null,e.jsx(I,{}),e.jsx(al,{name:p(a,"ein"),isDisabled:i,sizeLimit:He,deleteFileStatusById:oe,updateFileStatusById:Le,filesEndPoint:u.filesEndPoint,authParams:u.authParams,label:{label:t.einDocument,width:he},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:ve,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:i==null&&c.includes("ein")===!1},additionalInfoLabel:t.einDocumentError.replace("_product_type_",x),hasError:ge,updateFilesEntity:u.updateFilesEntity,onEditFileName:u.onEditFileName,onDeleteFile:u.onDeleteFile,onFileSizeError:n=>Re(n)}),ge||i==null&&ve==null?e.jsx(pl,{windowSize:b,isError:ge,children:sl.formatDocumentText10MB}):null,e.jsx(I,{}),g===!0?e.jsxs(e.Fragment,{children:[e.jsx(J,{label:{label:t.sourceOfFundsLabel,width:V},singleSelectField:{singleSelect:{name:p(a,"sourceOfFunds"),placeholder:t.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:n=>kl[n]??n,isDisabled:i,showTickMark:!1,menuPlacement:"top",sortOptions:!1},defaultValue:{selectedOption:f?.sourceOfFunds,allOptions:Object.keys(t.sourceOfFundOptions)},registerOptions:{required:i==null&&c.includes("sourceOfFunds")===!1,validate:n=>c.includes("sourceOfFunds")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,errorInfoLabel:t.sourceOfFundsError.replace("_product_type_",x)}),e.jsx(I,{})]}):null]})]})});Ei.displayName="Company Details Section";const p=(l,u)=>`${l}.${u}`,Pi=r.div`
|
|
39
|
+
`,U={width:new _(343,580,726),labelWidth:new _(115,145,155),mediumLabelWidth:new _(140,160,170),largeLabelWidth:new _(150,210,244),extraLargeLabelWidth:new _(160,240,292),largeLabelDocumentWidth:new _(150,210,252),paddingBottom:new _(q[3],q[2]),containerRowGap:new _(12,q[3])},Li={title:new Ee("standardMedium","largeMedium")},Fi=se.getLocalizedStrings(),{dateFormat:{visual:Ci},commonSetUp:_i,companyPassport:nl,common:{documents:sl,optional:Di,yes:dl,no:cl}}=Fi,t=_i.businessVerification,Ei=h.forwardRef(({allIndustries:l,fileProps:u,productType:j,companyDetails:f,allNationalityCountries:R,connectedAccountProvider:L,businessVerificationProps:G,isDisabled:i,style:te,sectionId:a,showInfoTooltip:de=!0,isCompleted:ce=!1,showCompletedIcon:ae=!1,hideNewOnboardingFields:re=!1,showTreasuryFields:g=!1,sectionHeader:Q,optionalFields:c=[],onCompanyAddressClick:pe,onRegisteredAddressClick:D},X)=>{const b=Ye(),w=ei(),{watch:k,setValue:ue,formState:{errors:y}}=xl(),m=k(p(a,"companySourceOfFunds")),S=k(p(a,"transactionVolume")),H=k(p(a,"purposeOfAccount")),me=k(p(a,"regulatedStatus")),ke=k(p(a,"usNexus")),K=k(p(a,"companyIndustryType")),V=U.labelWidth.value(b),E=U.mediumLabelWidth.value(b),v=U.largeLabelWidth.value(b),ee=U.extraLargeLabelWidth.value(b),he=U.largeLabelDocumentWidth.value(b),x=t.productType[j],je=f?.companyFiles.find(n=>n.documentType==="certificate_of_incorporation"),ve=f?.companyFiles.find(n=>n.documentType==="tax_ein"),le=f?.companyDescription,Z=f?.companyLegalName,$=f?.website,Y=f?.typeOfIncorporation,W=f?.stateOfIncorporation,P=f?.countriesOfOperations,Ve=f?.incDate,Te=f?.companyIndustry,fe=f?.companyIndustryType,ze=f?.companySubIndustry,ye=f?.companySourceOfFunds,$e=f?.transactionVolume,s=f?.purposeOfAccount,Ne=f?.regulatedStatus,Ae=f?.usNexus,T=f?.phone,ie=f?.taxIdOrEIN,be=f?.primaryContactLocalData,oe=f?.deleteFileStatusById??{},Le=f?.updateFileStatusById??{},Be=f?.addressStatus?.addressToCreate,F=f?.registeredAddressStatus?.addressToCreate,[xe,qe]=h.useState(!1),[ge,Re]=h.useState(!1),z=n=>!(i!=null&&!n||re),Fe=z(fe),We=(i==null||Array.isArray(P)&&P.length>0)&&!re,Me=z(W),d=z(ye),C=z($e),ne=z(s),we=z(Ne),O=z(Ae),kl=t.sourceOfFundOptions,Ue=K?.selectedOption??fe;return e.jsxs(Pi,{style:te,ref:X,windowSize:b,children:[e.jsx(ki,{children:e.jsxs(Ri,{children:[e.jsxs(Ti,{children:[ae===!0?e.jsx(zi,{children:ce?e.jsx(Ni,{}):e.jsx(Ai,{})}):null,e.jsx(Vi,{windowSize:b,children:Q??t.confirmCompanyDetails})]}),de?e.jsx(Bi,{children:e.jsx(gl,{variant:"small-description",display:"flex",maxWidth:"280px",data:t.confirmCompanyDetailsTooltip,placement:b==="small"||j==="onboarding"?"bottom":"right",children:e.jsx(qi,{})})}):null,j==="onboarding"&&Q!=null?e.jsx(El,{text:Di}):null,G?.companyVerificationStatus!=null?e.jsx(Mi,{tagTitle:G.companyVerificationStatus.name,textColor:wl(G.companyVerificationStatus.code),showLoader:G?.isRefreshingViewInBackground}):null]})}),e.jsxs(Wi,{children:[e.jsx(Dl,{}),e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:t.companyLegalNameLabel,width:v},text:{type:"text",name:p(a,"companyLegalName"),placeholder:t.companyLegalNamePlaceholder,defaultValue:Z,options:{required:i==null&&c.includes("companyLegalName")===!1}},additionalInfoLabel:t.companyLegalNameError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:t.companyDescriptionLabel,width:E},text:{type:"text",name:p(a,"companyDescription"),placeholder:t.addProductPlaceholder,defaultValue:le,options:{required:i==null&&c.includes("companyDescription")===!1}},additionalInfoLabel:t.companyDescriptionError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(Ze,{isDisabled:i,label:{label:t.registeredAddressLabel,width:E},addressValueField:{name:p(a,"registeredAddress"),placeholder:t.registeredAddressPlaceholder,defaultValue:F,registerOptions:{validate:n=>c.includes("registeredAddress")!==!1||!(i==null&&n==null)},onClick:()=>{D?.("company_registered_address")}},additionalInfoLabel:t.registeredAddressError.replace("_product_type_",x),showAdditionalInfoLabel:!1}),e.jsx(I,{}),e.jsx(Ze,{isDisabled:i,label:{label:t.companyAddressLabel,width:E},addressValueField:{name:p(a,"companyAddress"),placeholder:t.companyAddressPlaceholder,defaultValue:Be,registerOptions:{validate:n=>c.includes("companyAddress")!==!1||!(i==null&&n==null)},onClick:()=>{pe?.("company_address")}},additionalInfoLabel:t.companyAddressError.replace("_product_type_",x),showAdditionalInfoLabel:!1}),e.jsx(I,{}),e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:t.companyWebsiteLabel,width:V},text:{type:"url",name:p(a,"companyWebsite"),placeholder:t.companyWebsitePlaceholder,defaultValue:$?.toString()??"",options:{required:i==null&&c.includes("companyWebsite")===!1}},additionalInfoLabel:t.companyWebsiteError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(Gi,{windowSize:b,"data-suppress-hover":i!=null||void 0,children:Fe?e.jsxs(e.Fragment,{children:[e.jsx(J,{label:{label:t.companyIndustryLabel,width:V},singleSelectField:{singleSelect:{name:p(a,"companyIndustryType"),placeholder:t.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ni,isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:fe,allOptions:[...li]},registerOptions:{required:i==null&&c.includes("companyIndustryType")===!1,validate:n=>c.includes("companyIndustryType")!==!1||!(i==null&&!n?.selectedOption)},onSelectChange:n=>{ue(p(a,"companySubIndustry"),{selectedOption:null,allOptions:ol(n)})}},isFunctional:!0,errorInfoLabel:t.companyIndustryError.replace("_product_type_",x),style:{padding:0,margin:0,outline:"none",paddingRight:o.sp2}}),Ue!=null&&e.jsx(J,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:p(a,"companySubIndustry"),placeholder:t.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:n=>mi(n,Ue),isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:ze,allOptions:ol(Ue)},registerOptions:{required:i==null&&c.includes("companySubIndustry")===!1,validate:n=>c.includes("companySubIndustry")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,keepFocusedStyle:!0,errorInfoLabel:t.companySubIndustryError.replace("_product_type_",x),additionalInfoLabel:i==null?t.companyIndustryAdditionalInfo:void 0,style:{outline:"none",paddingBottom:o.sp0,paddingRight:o.sp0,width:"100%"}})]}):e.jsx(J,{label:{label:t.companyIndustryLabel,width:V},singleSelectField:{singleSelect:{name:p(a,"companyIndustry"),placeholder:t.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:n=>l.find(Ce=>Ce.code===n)?.name??n,isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:Te,allOptions:l?.map(n=>n.code)??[]},registerOptions:{required:i==null&&c.includes("companyIndustry")===!1,validate:n=>c.includes("companyIndustry")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,errorInfoLabel:t.companyIndustryError.replace("_product_type_",x),additionalInfoLabel:i==null?t.companyIndustryAdditionalInfo:void 0,style:{padding:0,margin:0,outline:"none",paddingRight:o.sp2}})}),e.jsx(I,{}),e.jsx(tl,{label:{label:t.companyTypeOfIncorporationLabel,width:v},isDisabled:i,creatableSingleSelectField:{name:p(a,"typeOfIncorporation"),placeholder:t.companyTypeOfIncorporationPlaceholder,defaultValue:{selectedOption:Y,allOptions:nl.companyIncInfo.allTypesOfIncorporation},registerOptions:{required:i==null&&c.includes("typeOfIncorporation")===!1,validate:n=>c.includes("typeOfIncorporation")!==!1||!(i==null&&!n?.selectedOption)}},errorInfoLabel:t.companyTypeOfIncorporationError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(Sl,{isDisabled:i,label:{label:t.companyIncDateLabel,width:v},style:{paddingBottom:U.paddingBottom.valuePx(b)},dateField:{name:p(a,"incDate"),placeholder:t.companyIncDatePlaceholder,defaultValue:Ve,dateFormat:Ci.defaultInput,maxDate:Ll(),minDate:ii("01 Jan 1900"),autoComplete:"off",registerOptions:{required:i==null&&c.includes("incDate")===!1}},additionalInfoLabel:t.companyIncDateError.replace("_product_type_",x)}),e.jsx(I,{}),Me?e.jsxs(e.Fragment,{children:[e.jsx(tl,{label:{label:t.companyStateOfIncorporationLabel,width:v},isDisabled:i,creatableSingleSelectField:{name:p(a,"stateOfIncorporation"),placeholder:t.companyStateOfIncorporationPlaceholder,defaultValue:{selectedOption:W,allOptions:nl.companyIncInfo.allStatesOfIncorporation},registerOptions:{required:i==null&&c.includes("stateOfIncorporation")===!1,validate:n=>c.includes("stateOfIncorporation")!==!1||!(i==null&&!n?.selectedOption)}},errorInfoLabel:t.companyStateOfIncorporationError.replace("_product_type_",x)}),e.jsx(I,{})]}):null,We?e.jsxs(e.Fragment,{children:[e.jsx(hi,{label:{label:t.countriesOfOperationsLabel,width:v},isDisabled:i,additionalInfoLabel:i==null?t.countriesOfOperationsAdditionalInfo:void 0,errorInfoLabel:t.countriesOfOperationsError.replace("_product_type_",x),multiSelectField:{name:p(a,"countriesOfOperations"),placeholder:t.countriesOfOperationsPlaceholder,defaultValue:ql(P,(R??[]).map(n=>n.countryCode)),registerOptions:{validate:n=>!!c.includes("countriesOfOperations")||!(i==null&&n.selectedOptions.length===0)}}}),e.jsx(I,{})]}):null,d?e.jsxs(e.Fragment,{children:[e.jsx(J,{label:{label:t.companySourceOfFundsLabel,width:v},singleSelectField:{singleSelect:{name:p(a,"companySourceOfFunds"),placeholder:t.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:si,isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:ye,allOptions:[...oi]},registerOptions:{required:i==null&&c.includes("companySourceOfFunds")===!1,validate:n=>c.includes("companySourceOfFunds")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,errorInfoLabel:t.companySourceOfFundsError.replace("_product_type_",x),additionalContent:fi.includes(m?.selectedOption)?e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:p(a,"companySourceOfFundsDescription"),placeholder:t.descriptionPlaceholder,style:{backgroundColor:y[a]!=null&&y[a]?.companySourceOfFundsDescription!=null?B.importantLight:w.colors.background},options:{required:i==null}},additionalInfoLabel:t.companySourceOfFundsDescriptionError,style:{position:"relative",top:0,left:-v,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:i!=null||y[a]!=null&&y[a]?.companySourceOfFundsDescription!=null?void 0:t.companySourceOfFundsAdditionalInfo,additionalInfoStyle:{color:w.colors.hero}}),e.jsx(I,{})]}):null,C?e.jsxs(e.Fragment,{children:[e.jsx(J,{label:{label:t.transactionVolumeLabel,width:ee},singleSelectField:{singleSelect:{name:p(a,"transactionVolume"),placeholder:t.transactionVolumePlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:di,isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:$e,allOptions:[...ti]},registerOptions:{required:i==null&&c.includes("transactionVolume")===!1,validate:n=>c.includes("transactionVolume")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,errorInfoLabel:t.transactionVolumeError.replace("_product_type_",x),additionalContent:yi.includes(S?.selectedOption)?e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:p(a,"transactionVolumeDescription"),placeholder:t.descriptionPlaceholder,style:{backgroundColor:y[a]!=null&&y[a]?.transactionVolumeDescription!=null?B.importantLight:w.colors.background},options:{required:i==null}},additionalInfoLabel:t.transactionVolumeDescriptionError,style:{position:"relative",top:0,left:-ee,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:i!=null||y[a]!=null&&y[a]?.transactionVolumeDescription!=null?void 0:t.transactionVolumeAdditionalInfo,additionalInfoStyle:{color:w.colors.hero}}),e.jsx(I,{})]}):null,ne?e.jsxs(e.Fragment,{children:[e.jsx(J,{label:{label:t.purposeOfAccountLabel,width:v},singleSelectField:{singleSelect:{name:p(a,"purposeOfAccount"),placeholder:t.purposeOfAccountPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ci,isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s,allOptions:[...ai]},registerOptions:{required:i==null&&c.includes("purposeOfAccount")===!1,validate:n=>c.includes("purposeOfAccount")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,errorInfoLabel:t.purposeOfAccountError.replace("_product_type_",x),additionalContent:bi.includes(H?.selectedOption)?e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:p(a,"purposeOfAccountDescription"),placeholder:t.descriptionPlaceholder,style:{backgroundColor:y[a]!=null&&y[a]?.purposeOfAccountDescription!=null?B.importantLight:w.colors.background},options:{required:i==null}},additionalInfoLabel:t.purposeOfAccountDescriptionError,style:{position:"relative",top:0,left:-v,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:i!=null||y[a]!=null&&y[a]?.purposeOfAccountDescription!=null?void 0:t.purposeOfAccountAdditionalInfo,additionalInfoStyle:{color:w.colors.hero}}),e.jsx(I,{})]}):null,we?e.jsxs(e.Fragment,{children:[e.jsxs(ul,{windowSize:b,"data-suppress-hover":i!=null||void 0,children:[e.jsxs(ml,{children:[e.jsx(il,{label:t.regulatedStatusLabel,htmlFor:p(a,"regulatedStatus"),isDisabled:i,style:{width:v,color:i==="disabled"?w.colors.grey1:w.colors.hero}}),e.jsxs(hl,{labelWidth:v,windowSize:b,children:[e.jsx(_e,{label:{label:dl},style:{paddingRight:`${o.sp4}`,width:"auto"},radioField:{name:p(a,"regulatedStatus"),id:`${p(a,"regulatedStatus")}.yes`,value:"yes",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small",registerOptions:{required:i==null&&c.includes("regulatedStatus")===!1}},isDisabled:i,isContainerClickable:!0}),e.jsx(_e,{label:{label:cl},style:{width:"auto"},radioField:{name:p(a,"regulatedStatus"),id:`${p(a,"regulatedStatus")}.no`,value:"no",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small",registerOptions:{required:i==null&&c.includes("regulatedStatus")===!1}},isDisabled:i,isContainerClickable:!0})]})]}),me==="yes"&&e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},text:{type:"text",name:p(a,"regulatedStatusDescription"),placeholder:t.regulatedStatusDescriptionPlaceholder,style:{backgroundColor:y[a]!=null&&y[a]?.regulatedStatusDescription!=null?B.importantLight:w.colors.background},options:{required:i==null,shouldUnregister:!0}},additionalInfoLabel:t.regulatedStatusDescriptionError,style:{outline:"none",width:"100%",padding:0}}),y[a]!=null&&y[a]?.regulatedStatus!=null?e.jsx(Ge,{windowSize:b,children:t.regulatedStatusError.replace("_product_type_",x)}):y[a]!=null&&y[a]?.regulatedStatusDescription!=null?null:i==null?e.jsx(fl,{windowSize:b,children:t.regulatedStatusAdditionalInfo}):null]}),e.jsx(I,{})]}):null,O?e.jsxs(e.Fragment,{children:[e.jsxs(ul,{windowSize:b,"data-suppress-hover":i!=null||void 0,children:[e.jsxs(ml,{children:[e.jsx(il,{label:t.usNexusLabel,htmlFor:p(a,"usNexus"),isDisabled:i,style:{width:v,color:i==="disabled"?w.colors.grey1:w.colors.hero}}),e.jsxs(hl,{labelWidth:v,windowSize:b,children:[e.jsx(_e,{label:{label:dl},style:{paddingRight:`${o.sp4}`,width:"auto"},radioField:{name:p(a,"usNexus"),id:`${p(a,"usNexus")}.yes`,value:"yes",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small",registerOptions:{required:i==null&&c.includes("usNexus")===!1}},isDisabled:i,isContainerClickable:!0}),e.jsx(_e,{label:{label:cl},style:{width:"auto"},radioField:{name:p(a,"usNexus"),id:`${p(a,"usNexus")}.no`,value:"no",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small",registerOptions:{required:i==null&&c.includes("usNexus")===!1}},isDisabled:i,isContainerClickable:!0})]})]}),ke==="yes"&&e.jsxs(e.Fragment,{children:[e.jsx(Ui,{hasError:y[a]!=null&&y[a]?.usNexusTypes!=null,children:e.jsx(pi,{isDisabled:i,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},multiSelectField:{name:p(a,"usNexusTypes"),placeholder:t.usNexusPlaceholder,getOptionLabel:ui,defaultValue:{selectedOptions:f?.usNexusTypes??[],allOptions:[...ri]},registerOptions:{required:i==null,shouldUnregister:!0,validate:n=>{const Ce=n?.selectedOptions;return Ce!=null&&Ce.length>0}}},style:{outline:"none",margin:0,padding:0,width:"100%"}})}),y[a]!=null&&y[a]?.usNexusTypes!=null&&e.jsx(Ge,{windowSize:b,children:t.usNexusTypesError})]}),y[a]!=null&&y[a]?.usNexus!=null?e.jsx(Ge,{windowSize:b,children:t.usNexusError.replace("_product_type_",x)}):y[a]!=null&&y[a]?.usNexusTypes!=null?null:i==null?e.jsx(fl,{windowSize:b,children:t.usNexusAdditionalInfo}):null]}),e.jsx(I,{})]}):null,e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:t.companyTaxIdLabel,width:V},text:{type:"text",name:p(a,"companyTaxId"),placeholder:t.companyTaxIdPlaceholder,defaultValue:ie,options:{required:i==null&&c.includes("companyTaxId")===!1,pattern:Rl},autoComplete:"new-password"},additionalInfoLabel:t.companyTaxIdError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(Il,{isDisabled:i,label:{label:t.companyPhoneLabel,width:V},text:{name:p(a,"companyPhone"),placeholder:Se(t.companyPhoneLabel),defaultValue:T,autoComplete:"new-password",options:{required:i==null&&c.includes("companyPhone")===!1}},errorInfoLabel:t.companyPhoneError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(Fl,{isDisabled:i,label:{label:t.companyPrimaryContactNameLabel,width:v},nameField:{name:p(a,"primaryContactName"),placeHolder:{firstName:t.firstNamePlaceholder,lastName:t.lastNamePlaceholder,name:t.namePlaceholder},defaultValue:{firstName:be?.firstName??"",lastName:be?.lastName??""},registerOptions:{required:i==null&&c.includes("primaryContactName")===!1,validate:n=>!!n||i!=null||c.includes("primaryContactName")},showFullNameError:!0},errorInfoLabel:t.companyPrimaryContactNameError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:t.companyPrimaryContactEmailLabel,width:v},text:{type:"email",name:p(a,"primaryContactEmail"),placeholder:t.companyPrimaryContactEmailPlaceholder,defaultValue:be?.email,options:{required:i==null&&c.includes("primaryContactEmail")===!1}},additionalInfoLabel:t.companyPrimaryContactEmailError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(al,{name:p(a,"certificateOfIncorporation"),isDisabled:i,sizeLimit:He,deleteFileStatusById:oe,updateFileStatusById:Le,filesEndPoint:u.filesEndPoint,authParams:u.authParams,label:{label:t.certificateOfIncorporation,width:he},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:je,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:i==null&&c.includes("certificateOfIncorporation")===!1&&L==="unit"},additionalInfoLabel:t.certOfIncopDocumentError.replace("_product_type_",x),hasError:xe,updateFilesEntity:u.updateFilesEntity,onEditFileName:u.onEditFileName,onDeleteFile:u.onDeleteFile,onFileSizeError:n=>qe(n)}),xe||i==null&&je==null?e.jsx(pl,{windowSize:b,isError:xe,children:sl.formatDocumentText10MB}):null,e.jsx(I,{}),e.jsx(al,{name:p(a,"ein"),isDisabled:i,sizeLimit:He,deleteFileStatusById:oe,updateFileStatusById:Le,filesEndPoint:u.filesEndPoint,authParams:u.authParams,label:{label:t.einDocument,width:he},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:ve,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:i==null&&c.includes("ein")===!1},additionalInfoLabel:t.einDocumentError.replace("_product_type_",x),hasError:ge,updateFilesEntity:u.updateFilesEntity,onEditFileName:u.onEditFileName,onDeleteFile:u.onDeleteFile,onFileSizeError:n=>Re(n)}),ge||i==null&&ve==null?e.jsx(pl,{windowSize:b,isError:ge,children:sl.formatDocumentText10MB}):null,e.jsx(I,{}),g===!0?e.jsxs(e.Fragment,{children:[e.jsx(J,{label:{label:t.sourceOfFundsLabel,width:V},singleSelectField:{singleSelect:{name:p(a,"sourceOfFunds"),placeholder:t.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:n=>kl[n]??n,isDisabled:i,showTickMark:!1,menuPlacement:"top",sortOptions:!1},defaultValue:{selectedOption:f?.sourceOfFunds,allOptions:Object.keys(t.sourceOfFundOptions)},registerOptions:{required:i==null&&c.includes("sourceOfFunds")===!1,validate:n=>c.includes("sourceOfFunds")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,errorInfoLabel:t.sourceOfFundsError.replace("_product_type_",x)}),e.jsx(I,{})]}):null]})]})});Ei.displayName="Company Details Section";const p=(l,u)=>`${l}.${u}`,Pi=r.div`
|
|
40
40
|
display: flex;
|
|
41
41
|
flex-direction: column;
|
|
42
42
|
row-gap: ${l=>U.containerRowGap.valuePx(l.windowSize)};
|
|
@@ -173,16 +173,16 @@ import{e as Ye,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bo as gl,f9 as wl
|
|
|
173
173
|
display: flex;
|
|
174
174
|
align-items: center;
|
|
175
175
|
justify-content: flex-end;
|
|
176
|
-
`;function Zi({allUsers:l,onSelectedUserChanged:u,selectedUser:j,disable:f=!1,pickerStyles:{optionBackgroundColor:R,selectedOptionBackgroundColor:L,optionTextStyle:G,titleTextStyle:i,backgroundColor:te,titleTextAlignment:a,selectedOptionColor:de,customStyleConfig:ce}={},customization:{placeholderLabel:ae}={},showAddUser:re=!0}){const g=bl(),[
|
|
176
|
+
`;function Zi({allUsers:l,onSelectedUserChanged:u,selectedUser:j,disable:f=!1,pickerStyles:{optionBackgroundColor:R,selectedOptionBackgroundColor:L,optionTextStyle:G,titleTextStyle:i,backgroundColor:te,titleTextAlignment:a,selectedOptionColor:de,customStyleConfig:ce}={},customization:{placeholderLabel:ae}={},showAddUser:re=!0}){const g=bl(),[Q,c]=h.useState(!1),pe=(m=>m.map(S=>({...S,value:S.userId,label:S.firstName!=""||S.lastName!=""?`${S.firstName} ${S.lastName}`:S.email})))(l).sort((m,S)=>m.label.localeCompare(S.label)),D=j!=null?(m=>({...m,value:m.userId,label:m.firstName!=""||m.lastName!=""?`${m.firstName} ${m.lastName}`:m.email}))(j):void 0,X=R??g.colors.grey5,b=te??g.colors.grey5,w=L??g.colors.grey3,k=G??De.smallRegular.cssObject,ue=i??k,y={control:(m,S)=>({...m,border:0,height:"100%",backgroundColor:b,fill:S.selectProps.menuIsOpen===!0?g.colors.primary:g.colors.grey1,boxShadow:b,">div:last-child":{color:Q?g.colors.primary:g.colors.grey1},":active":{backgroundColor:b},":hover":{fill:g.colors.primary,">div:last-child":{color:g.colors.primary}},minHeight:"auto",cursor:"pointer",flexDirection:"column",">div>div>svg":{color:g.colors.grey1,">path":{color:g.colors.grey5,fill:"currentcolor"}}}),container:m=>({...m,backgroundColor:b,height:"100%"}),singleValue:m=>({...m,margin:0,minWidth:void 0,backgroundColor:void 0,">div":{borderRadius:0,padding:o.sp0,borderLeftStyle:"none",borderWidth:1,borderColor:g.colors.grey1,color:"unset"},">div>div>div>div:last-child":{display:"block",...De.standardRegular.cssObject}}),valueContainer:m=>({...m,maxWidth:"100%",cursor:"pointer",height:"100%",...ue,overflow:"visible",minWidth:"auto",padding:0,display:"flex",justifyContent:a??"flex-start",alignItems:"center",flexWrap:"nowrap",flexDirection:"row",">div":{width:"inherit"}}),menu:(m,S)=>({...m,backgroundColor:X,borderRadius:q[1],boxShadow:`${o.sp0} 2px ${o.sp2} ${g.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:3,width:236,margin:`6px ${o.sp0}`,right:"-11%",">div":{flexDirection:"column",maxHeight:200,overflowY:"auto",borderRadius:o.sp1,padding:`${o.sp1} ${o.sp0}`,">div":{width:"-webkit-fill-available"}},...ce?.menu?.(m,S)}),menuList:m=>({...m,borderRadius:q[1]}),placeholder:(m,S)=>({...m,margin:0,width:"100%",color:S.isFocused?g.colors.primary:"currentColor",paddingRight:o.sp2,...De.standardRegular.cssObject,">div>div>svg>circle":{fill:g.colors.grey1}}),noOptionsMessage:m=>({...m,...De.smallRegular.cssObject,padding:`10px ${o.sp3} 9px ${o.sp3}`,color:g.colors.hero}),option:(m,{isDisabled:S,isSelected:H,isFocused:me})=>({...m,...k,color:H?de??g.colors.champion:g.colors.hero,backgroundColor:H?w:me?g.colors.background:X,cursor:S?"not-allowed":H?"default":"pointer","svg:nth-of-type(2)":{display:"none"},":hover":{backgroundColor:g.colors.background,color:g.colors.primary},"& label":{paddingRight:"10px",cursor:S?"not-allowed":H?"inherit":"pointer"},">div>div>div:first-of-type":{display:"flex"}}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({}),indicatorsContainer:()=>({height:"100%",display:"flex",alignItems:"center"})};return e.jsx(Wl,{onClickAway:()=>{c(!1)},children:e.jsx(Hi,{children:e.jsx(Ml,{isMulti:!1,menuPlacement:"auto",minMenuHeight:200,maxMenuHeight:200,menuIsOpen:Q,menuShouldScrollIntoView:!1,defaultValue:D,value:D,noOptionsMessage:()=>se.getLocalizedStrings().cockpit.management.noPerson,onInputChange:m=>{m!==""&&c(!0)},onMenuOpen:()=>{c(!0)},placeholder:e.jsx(Ji,{children:e.jsx("div",{children:ae??"Select..."})}),components:{Option:to,DropdownIndicator:uo,IndicatorSeparator:mo,SingleValue:so,ValueContainer:co,MenuList:({children:m,...S})=>e.jsxs(Pe.ValueContainer,{...S,children:[m,re===!0?e.jsxs(po,{hasSelectedUser:!!j,onClick:()=>{u(void 0),c(!1)},children:[e.jsx(eo,{}),e.jsx("div",{children:ae??"Add User"})]}):null]})},hideSelectedOptions:!1,closeMenuOnSelect:!1,styles:y,options:pe,isDisabled:f,onChange:m=>{u(m),c(!1)},isClearable:!1,isSearchable:!1},Ul())})})}const Yi=r.div``,Ji=r.div`
|
|
177
177
|
display: flex;
|
|
178
178
|
align-items: center;
|
|
179
179
|
color: ${l=>l.theme.colors.grey1};
|
|
180
180
|
fill: ${l=>l.theme.colors.grey1};
|
|
181
|
-
`,
|
|
181
|
+
`,Qi=r.div`
|
|
182
182
|
display: flex;
|
|
183
183
|
align-items: center;
|
|
184
184
|
margin-right: ${o.sp2};
|
|
185
|
-
`,
|
|
185
|
+
`,Xi=r(Cl)`
|
|
186
186
|
width: ${o.sp4};
|
|
187
187
|
height: ${o.sp4};
|
|
188
188
|
color: ${l=>l.theme.colors.hero};
|
|
@@ -191,12 +191,12 @@ import{e as Ye,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bo as gl,f9 as wl
|
|
|
191
191
|
flex-direction: row;
|
|
192
192
|
align-items: center;
|
|
193
193
|
justify-content: space-between;
|
|
194
|
-
`,eo=r(
|
|
194
|
+
`,eo=r(Ql)`
|
|
195
195
|
height: ${o.sp4};
|
|
196
196
|
width: ${o.sp4};
|
|
197
197
|
margin-right: ${o.sp2};
|
|
198
198
|
color: inherit;
|
|
199
|
-
`,lo=r(
|
|
199
|
+
`,lo=r(Xl)`
|
|
200
200
|
height: 12px;
|
|
201
201
|
width: 12px;
|
|
202
202
|
color: ${l=>l.theme.colors.hero};
|
|
@@ -209,7 +209,7 @@ import{e as Ye,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bo as gl,f9 as wl
|
|
|
209
209
|
width: ${o.sp4};
|
|
210
210
|
border-radius: 50%;
|
|
211
211
|
justify-content: center;
|
|
212
|
-
`,to=l=>{const{data:u,options:j,isSelected:f}=l,R=j.findIndex(L=>L.value===u.value);return e.jsx(Yi,{children:e.jsx(Pe.Option,{...l,children:e.jsxs(Ki,{children:[e.jsxs(ao,{children:[e.jsx(ro,{children:u?.photo!==void 0?e.jsx(Pl,{src:u?.photo.href,alt:se.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:L})=>{L.onerror=null,L.src=Je},loading:"lazy"}):e.jsx(
|
|
212
|
+
`,to=l=>{const{data:u,options:j,isSelected:f}=l,R=j.findIndex(L=>L.value===u.value);return e.jsx(Yi,{children:e.jsx(Pe.Option,{...l,children:e.jsxs(Ki,{children:[e.jsxs(ao,{children:[e.jsx(ro,{children:u?.photo!==void 0?e.jsx(Pl,{src:u?.photo.href,alt:se.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:L})=>{L.onerror=null,L.src=Je},loading:"lazy"}):e.jsx(Qe,{firstName:u?.firstName??"",lastName:u?.lastName??"",size:`${o.sp4}`,index:R})}),e.jsx("label",{children:l.label})]}),!!f&&e.jsx(io,{children:e.jsx(oo,{})})]})})})},ao=r.div`
|
|
213
213
|
width: 100%;
|
|
214
214
|
display: flex;
|
|
215
215
|
align-items: center;
|
|
@@ -217,12 +217,12 @@ import{e as Ye,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bo as gl,f9 as wl
|
|
|
217
217
|
display: flex;
|
|
218
218
|
align-items: center;
|
|
219
219
|
margin-right: ${o.sp2};
|
|
220
|
-
`,no=r(
|
|
220
|
+
`,no=r(Xe)`
|
|
221
221
|
padding: ${o.sp0} ${o.sp2};
|
|
222
222
|
white-space: nowrap;
|
|
223
223
|
overflow: hidden;
|
|
224
224
|
text-overflow: ellipsis;
|
|
225
|
-
`,so=({children:l,data:u,...j})=>{const{options:f}=j.selectProps,R=f.findIndex(L=>L.value===u.value);return e.jsx(Pe.MultiValueLabel,{...j,children:e.jsxs(ho,{children:[u?.photo!==void 0?e.jsx(Pl,{src:u?.photo.href,alt:se.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:L})=>{L.onerror=null,L.src=Je},loading:"lazy"}):e.jsx(
|
|
225
|
+
`,so=({children:l,data:u,...j})=>{const{options:f}=j.selectProps,R=f.findIndex(L=>L.value===u.value);return e.jsx(Pe.MultiValueLabel,{...j,children:e.jsxs(ho,{children:[u?.photo!==void 0?e.jsx(Pl,{src:u?.photo.href,alt:se.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:L})=>{L.onerror=null,L.src=Je},loading:"lazy"}):e.jsx(Qe,{firstName:u?.firstName??"",lastName:u?.lastName??"",size:`${o.sp4}`,index:R}),e.jsx(no,{children:l})]})})},co=({children:l,...u})=>e.jsxs(Pe.ValueContainer,{...u,children:[u.selectProps.value==null?e.jsx(Qi,{children:e.jsx(Xi,{})}):null,l]}),po=r(Ke)`
|
|
226
226
|
color: ${l=>l.hasSelectedUser?l.theme.colors.hero:l.theme.colors.primary};
|
|
227
227
|
display: flex;
|
|
228
228
|
padding: ${o.sp2} 12px;
|
|
@@ -237,7 +237,7 @@ import{e as Ye,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bo as gl,f9 as wl
|
|
|
237
237
|
display: flex;
|
|
238
238
|
flex-direction: row;
|
|
239
239
|
cursor: pointer;
|
|
240
|
-
`,Ie={width:new _(343,580,726),labelWidth:new _(115,145,155),largeLabelWidth:new _(160,240,240),veryLargeLabelWidth:new _(150,240,245),containerRowGap:new _(12,q[3])},fo={title:new Ee("standardMedium","largeMedium")};function Go({companyOfficerData:l,isDisabled:u,allOfficers:j,allNationalityCountries:f,isRefreshingViewInBackground:R,connectedAccountProvider:L,style:G,isPopupOpen:i,sectionId:te,filesEndPoint:a,authParams:de,showInfoTooltip:ce=!0,isCompleted:ae=!1,showCompletedIcon:re=!1,showOfficerSelect:g=!0,showVerificationTag:
|
|
240
|
+
`,Ie={width:new _(343,580,726),labelWidth:new _(115,145,155),largeLabelWidth:new _(160,240,240),veryLargeLabelWidth:new _(150,240,245),containerRowGap:new _(12,q[3])},fo={title:new Ee("standardMedium","largeMedium")};function Go({companyOfficerData:l,isDisabled:u,allOfficers:j,allNationalityCountries:f,isRefreshingViewInBackground:R,connectedAccountProvider:L,style:G,isPopupOpen:i,sectionId:te,filesEndPoint:a,authParams:de,showInfoTooltip:ce=!0,isCompleted:ae=!1,showCompletedIcon:re=!1,showOfficerSelect:g=!0,showVerificationTag:Q=!0,isForTreasury:c=!1,isOverlay:pe=!1,productType:D,companyTitles:X,sectionHeader:b,optionalFields:w=[],onOfficerAddressClick:k,onDeleteFile:ue,onEditFileName:y,updateFilesEntity:m,openPopup:S,onGetOtp:H,onVerifyOtp:me,onResendOtp:ke,verifiedPhoneNumber:K,onPhoneVerified:V}){const E=Ye(),v=bl(),{getValues:ee,setValue:he}=xl(),x=j.length>0,[je,ve]=h.useState(!1),le=x?Object.values(l).findIndex(d=>d?.isSelectedForVerification===!0):0,Z=`Officer_${le<0?1:le+1}`;h.useEffect(()=>{V!=null&&l[Z]?.phone!=null&&l[Z].isPhoneVerified===!0&&V(l[Z]?.phone??"")},[]);const $=`${te}.${le}`,Y=l[Z],W=c?Y?.treasuryUserVerificationStatus:Y?.userVerificationStatus,P=j.find(d=>d.userId===Y?.userId),Ve=j.sort((d,C)=>(d.firstName||d.lastName?`${d.firstName} ${d.lastName}`:d.email).localeCompare(C.firstName||C.lastName?`${C.firstName} ${C.lastName}`:C.email)),Te=x?Ve.findIndex(d=>d.userId===Y?.userId):0,fe=l[Z]?.deleteFileStatusById??{},ze=l[Z]?.updateFileStatusById??{},ye=ee(`${$}.selectDocument.selectDocumentType`),{common:{optional:$e},commonSetUp:{businessVerification:s},dateFormat:{visual:Ne},cockpit:Ae}=se.getLocalizedStrings(),T=D==="onboarding"?s.productType.business_verification:s.productType[D],ie=Ie.labelWidth.value(E),be=Ie.veryLargeLabelWidth.value(E),oe=Ie.largeLabelWidth.value(E),Le=E==="small"?s.companyRolePlaceholderSmall:s.companyRolePlaceholder,Be=E==="small"?s.protectedSsnTextSmall:s.protectedSsnText,F=W?.code==="pending_review"||W?.code==="verified"?"readonly":u,xe=F!=null||!x||W?.code==="require_info",qe=P?.firstName||P?.lastName?`${P?.firstName} ${P?.lastName}`:s.addOfficer,ge=Y?.userId!=null?s.confirmIdentityDetails:s.confirmIdentityDetailsNewOfficer,Re=d=>X.find(C=>C.code===d)?.name??d,z=Y?.otpverificationStatus?.fetchState,Fe=Vl(z);h.useEffect(()=>{V!=null&&Fe==="In-Progress"&&z==="Completed"&&V(ee(`${$}.phone`))},[Fe,z]);const We=(d,C)=>{me(d,C)},Me=()=>{const d=ee(`${$}.phone`);return d==null||Hl(d)?s.phoneError.replace("_product_type_",T):s.phoneErrorForOnboarding};return e.jsxs(yo,{style:G,windowSize:E,children:[e.jsxs(bo,{windowSize:E,isOverlay:pe,children:[e.jsxs(Lo,{children:[e.jsxs(go,{children:[re===!0?e.jsx(wo,{children:ae?e.jsx(So,{}):e.jsx(Io,{})}):null,e.jsx(xo,{windowSize:E,children:b??ge})]}),ce?e.jsx(Oo,{children:e.jsx(gl,{variant:"small-description",maxWidth:"275px",data:s.confirmIdentityDetailsTooltip,display:"flex",placement:E==="small"||D==="onboarding"?"bottom":"right",children:e.jsx(jo,{})})}):null,D==="onboarding"&&b!=null?e.jsx(El,{text:$e}):null,W!=null&&Q?e.jsx(_o,{tagTitle:W?.name,textColor:wl(W.code),showLoader:R}):null]}),g?xe?x?e.jsxs(Co,{children:[P?.photo!==void 0?e.jsx(vo,{src:P?.photo.href,alt:Ae.userProfileAltText,onError:({currentTarget:d})=>{d.onerror=null,d.src=Je},loading:"lazy"}):e.jsx(Qe,{firstName:P?.firstName??"",lastName:P?.lastName??"",size:`${o.sp4}`,index:Te}),e.jsx(yl,{children:`${qe}`})]}):e.jsxs(Do,{children:[e.jsx(Eo,{children:e.jsx(Po,{})}),e.jsx(yl,{children:`${s.addOfficer}`})]}):e.jsx($o,{children:e.jsx(Zi,{selectedUser:P,allUsers:j,onSelectedUserChanged:d=>{const C=Object.values(l).findIndex(ne=>ne?.userId===d?.userId);he(`${$}.isSelectedForVerification`,!1),he(`${te}.${C}.isSelectedForVerification`,!0)},customization:{placeholderLabel:s.addOfficer},showAddUser:j.length<=9,pickerStyles:{backgroundColor:v.colors.grey5,selectedOptionBackgroundColor:v.colors.background,customStyleConfig:E==="small"?{menu:()=>({right:"initial",left:0})}:void 0}})}):null]}),Object.values(l).map((d,C)=>{if(le!==C)return null;const ne=Tl(d?.documentTypeSelectedForVerification),we=d?.userFiles??[];return e.jsxs(Fo,{children:[e.jsx(Dl,{}),e.jsx(Fl,{isDisabled:F,label:{label:s.name,width:ie},nameField:{name:N($,"name"),placeHolder:{firstName:s.firstNamePlaceholder,lastName:s.lastNamePlaceholder,name:s.namePlaceholder},defaultValue:{firstName:d?.firstName??"",lastName:d?.lastName??""},registerOptions:{required:w.includes("name")===!1,validate:O=>w.includes("name")!==!1||!!O},showFullNameError:!0},errorInfoLabel:s.nameError.replace("_product_type_",T)}),e.jsx(M,{}),d?.userId==null?e.jsxs(e.Fragment,{children:[e.jsx(A,{isDisabled:F,showAdditionalInfoLabel:!1,label:{label:s.email,width:ie},text:{type:"email",name:N($,"email"),placeholder:Se(s.email),defaultValue:d?.email,options:{required:w.includes("email")===!1}},additionalInfoLabel:s.emailDescription.replace("_product_type_",T)}),e.jsx(M,{})]}):null,e.jsx(Sl,{isDisabled:F,label:{label:s.dobLabel,width:oe},dateField:{name:N($,"dob"),type:"text",defaultValue:d?.birthday,placeholder:Se(s.dobLabel),dateFormat:Ne.defaultInput,maxDate:Ll().subtract(L==="unit"?18:13,"years"),registerOptions:{required:w.includes("dob")===!1},autoComplete:"off"},additionalInfoLabel:s.dobDescription.replace("_product_type_",T),isMasked:!0}),e.jsx(M,{}),e.jsx(zl,{isDisabled:F,label:{label:s.nationalityLabel,width:ie},showAdditionalInfoLabel:D!=="onboarding",additionalInfoLabel:s.nationalityDescription.replace("_product_type_",T),countrySelectField:{name:N($,"nationalityCountryCode"),placeholder:s.nationalityPlaceholder,defaultValue:Nl(d?.nationalityCountryCode,f.map(O=>O.countryCode)),registerOptions:{validate:O=>!(O==null||!O.selectedOption)}}}),e.jsx(M,{}),e.jsx(Ze,{isDisabled:F,label:{label:s.address,width:ie},addressValueField:{name:N($,"officerAddress"),placeholder:Se(s.address),defaultValue:d?.addressStatus?.addressToCreate,registerOptions:{validate:O=>w.includes("officerAddress")!==!1||!(F==null&&O==null)},onClick:()=>{k(d?.officerType.toLocaleLowerCase().concat("_address"))}},additionalInfoLabel:D==="onboarding"?s.addressAdditionInfo:s.addressError.replace("_product_type_",T),showAdditionalInfoLabel:!0}),e.jsx(M,{}),e.jsx(Il,{isDisabled:F,label:{label:s.phone,width:ie},text:{name:N($,"phone"),placeholder:Se(s.phone),defaultValue:d?.phone,autoComplete:"new-password",options:{required:w.includes("phone")===!1}},errorInfoLabel:Me(),verificationErrorInfoLabel:s.phoneValidationError,isPopupOpen:i,phoneVerifyButtonProps:{otpChallenge:d?.otpChallenge,showOtpButton:L==="unit",onGetOtp:H,onVerifyOtp:We,onResendOtp:ke,isPhoneVerified:K!=""&&D==="onboarding"?K!=null&&K!==""&&ee(`${$}.phone`)===K:d?.isPhoneVerified??!1,phoneVerificationStatus:d?.otpverificationStatus,getOtpStatus:d?.sendOtpStatus,openPopup:S,verifiedPhoneNumber:K,focusNotRequired:!0}}),e.jsx(M,{}),e.jsx(J,{label:{label:s.companyRoleLabel,width:oe},singleSelectField:{singleSelect:{name:N($,"role"),placeholder:Le,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:Re,isDisabled:F,showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:d?.titleAtCompany,allOptions:X?.map(O=>O.code)??[]},registerOptions:{required:w.includes("role")===!1,validate:O=>w.includes("role")!==!1||!(F==null&&!O?.selectedOption)}},isFunctional:!0,errorInfoLabel:s.companyRoleDescription.replace("_product_type_",T)}),e.jsx(M,{}),e.jsx(el,{isDisabled:F,showAdditionalInfoLabel:!1,label:{label:s.companyOwnershipLabel,width:oe},formattedTextField:{type:"number",name:N($,"ownership"),defaultValue:d?.ownershipInCompany,placeholder:s.companyOwnershipPlaceholder,returnValueType:"floatValue",suffix:"%",allowNegative:!1,isNumericString:!1,registerOptions:{required:w.includes("ownership")===!1,validate:O=>O==null||O>0&&O<=100,max:100},autoComplete:"new-password"},additionalInfoLabel:D==="onboarding"?s.companyOwnershipDescriptionForOnboarding:s.companyOwnershipDescription}),e.jsx(M,{}),e.jsx(el,{isDisabled:F,showAdditionalInfoLabel:!1,label:{label:s.ssnLabel,width:oe},formattedTextField:{type:"text",name:N($,"ssn"),placeholder:s.addSSNPlaceholder,defaultValue:d?.ssn,format:"###-##-####",registerOptions:{required:w.includes("ssn")===!1,pattern:Al},autoComplete:"new-password",maxLength:9,allowLeadingZeros:!0},protectedInfoText:F!=null&&d?.ssn?Be:void 0,additionalInfoLabel:s.ssnDescription.replace("_product_type_",T),isMasked:!0}),e.jsx(M,{}),e.jsx(Bl,{name:N($,"selectDocument"),officerIndex:le,sizeLimit:He,filesEndPoint:a,authParams:de,onEditFileName:y,acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],label:{width:be},allFiles:we,updateFilesEntity:m,deleteFileStatusById:fe,updateFileStatusById:ze,onDeleteFile:ue,isDisabled:F,menuPlacement:D==="onboarding"&&ne==null?"top":"auto",defaultValue:{defaultSelectDocumentType:ne,allSelectDocumentType:["driverLicense","passport","ssnCard"],files:{front:ll(!0,we,ye),back:ll(!1,we,ye)}},registerOptions:{required:w.includes("selectDocument")===!1},hasError:je,additionalInfoLabel:s.companyIdDescription.replace("_product_type_",T),onFileSizeError:O=>ve(O),isPopupOpen:i,openPopup:S,companyOfficerName:{firstName:d?.firstName??"",lastName:d?.lastName??""}})]},$)})]})}const N=(l,u)=>`${l}.${u}`,yo=r.div`
|
|
241
241
|
display: flex;
|
|
242
242
|
flex-direction: column;
|
|
243
243
|
row-gap: ${l=>Ie.containerRowGap.valuePx(l.windowSize)};
|
|
@@ -301,7 +301,7 @@ import{e as Ye,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bo as gl,f9 as wl
|
|
|
301
301
|
background-color: ${l=>l.theme.colors.grey3};
|
|
302
302
|
min-height: 1px;
|
|
303
303
|
max-height: 1px;
|
|
304
|
-
`,Co=r(
|
|
304
|
+
`,Co=r(Xe)`
|
|
305
305
|
display: flex;
|
|
306
306
|
flex-direction: row;
|
|
307
307
|
justify-content: flex-end;
|
|
@@ -315,7 +315,7 @@ import{e as Ye,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bo as gl,f9 as wl
|
|
|
315
315
|
`,_o=r(vl)`
|
|
316
316
|
width: max-content;
|
|
317
317
|
margin-left: ${o.sp3};
|
|
318
|
-
`,Do=r(
|
|
318
|
+
`,Do=r(Xe)`
|
|
319
319
|
display: flex;
|
|
320
320
|
flex-direction: row;
|
|
321
321
|
justify-content: flex-end;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as r,a3 as E,a4 as x,O as p,o as l,b as M,aa as w,C as g,ab as H}from"./index-
|
|
1
|
+
import{V as r,a3 as E,a4 as x,O as p,o as l,b as M,aa as w,C as g,ab as H}from"./index-CVe1fo1a.js";import{n as o}from"./mui-DcvwYC51.js";import{c as j}from"./SummaryCard-DgIPSt4y-BreXikds.js";import{a as t}from"./sentry-CFYfTv_F.js";import"./pdf-DA3UteIy.js";import"./zeni-epic-state-BZiG8B71.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";import"./ReloadCard-D5kxTfzJ-CHGlYP1Y.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="266939df-87e8-4e42-8add-824b13aaf069",e._sentryDebugIdIdentifier="sentry-dbid-266939df-87e8-4e42-8add-824b13aaf069")}catch{}})();const y=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon: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}))},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon: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"}))},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon: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"}))}],B=o(w)`
|
|
2
2
|
margin: ${l.sp5};
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
`,D=o.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as V,V as t,c6 as ne,x as m,c7 as vt,m as h,y as Ft,a7 as Ct,T as Tt,c8 as kt,O as z,a_ as Lt,A as Nt,c9 as Pt,a9 as zt,ca as nt,cb as Et,a8 as Vt,o as a,l as we,cc as st,cd as P,ce as qe,cf as A,cg as ee,f as L,al as fe,ch as rt,ci as Mt,cj as dt,_ as At,ck as Wt,cl as Bt,cm as _t,cn as Rt,co as Yt,aQ as Ut,ab as qt,at as Q,C as Ie,a as He,cp as Ht,S as Gt,cq as Zt,bH as Jt,cr as Xt,H as Qt,cs as Kt}from"./index-
|
|
1
|
+
import{e as V,V as t,c6 as ne,x as m,c7 as vt,m as h,y as Ft,a7 as Ct,T as Tt,c8 as kt,O as z,a_ as Lt,A as Nt,c9 as Pt,a9 as zt,ca as nt,cb as Et,a8 as Vt,o as a,l as we,cc as st,cd as P,ce as qe,cf as A,cg as ee,f as L,al as fe,ch as rt,ci as Mt,cj as dt,_ as At,ck as Wt,cl as Bt,cm as _t,cn as Rt,co as Yt,aQ as Ut,ab as qt,at as Q,C as Ie,a as He,cp as Ht,S as Gt,cq as Zt,bH as Jt,cr as Xt,H as Qt,cs as Kt}from"./index-CVe1fo1a.js";import{a as Y,b as ea}from"./sentry-CFYfTv_F.js";import{n,d as ta,k as aa}from"./mui-DcvwYC51.js";import{FC as la,FD as ct,FE as pt,FF as mt,FG as ut,FH as ht,bR as ft,FI as ke,bG as oa,bs as Le,bE as ia,FJ as na}from"./zeni-epic-state-BZiG8B71.js";import{D as yt}from"./LabeledCreatableSingleSelectField-Dhi0n2ky-DMTYZTz6.js";import{Y as gt}from"./LabeledDocumentField-B3QSq1eM-IGzby_k8.js";import{e as sa}from"./LabeledSingleSelectField-CBXzDXMd-Bb2Vdxcj.js";import{p as ra,i as da,t as ca}from"./commonTypes-CF6UyWSv-BQXpwXby.js";import{b as pa}from"./LabeledCountryMultiSelectField-C6z1v9S1-B3o5vQAY.js";import{x as ma,f as ua,p as ha,h as fa,m as bt,b as ya,g as ga}from"./helper-COxPEvgL-B99qx9wP.js";import{$ as xt}from"./LabeledAddressValue-DBJ236tZ-DRwoxJhK.js";import{Z as wt}from"./LabeledNameField-CYN5kdQi-86Gkfv4K.js";import"./pdf-DA3UteIy.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="e7bd8210-d7c0-4315-b492-709b11905114",e._sentryDebugIdIdentifier="sentry-dbid-e7bd8210-d7c0-4315-b492-709b11905114")}catch{}})();const W={width:new m(343,580,726),height:new m(h[6],h[6]),controlHeight:new m(h[6],h[6]),paddingTopBottom:new m(h[2],h[2]),marginRight:new m(h[2],h[2]),labelMarginLeft:new m(h[3],h[4]),labelMarginRight:new m(h[3],h[4]),labelMarginTop:new m(h[2],h[2])};function ba({isDisabled:e,label:o,button:p,style:i}){const r=V();return t.jsxs(xa,{size:r,style:i,children:[t.jsx(ne,{isDisabled:e,label:o.label,style:{marginLeft:W.labelMarginLeft.value(r),marginRight:W.labelMarginRight.value(r),marginTop:W.labelMarginTop.value(r),width:o.width??"auto"}}),t.jsx(vt,{...p,style:{minHeight:W.controlHeight.value(r),display:"flex",flexGrow:1,...p.style}})]})}const xa=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -67,7 +67,7 @@ import{e as V,V as t,c6 as ne,x as m,c7 as vt,m as h,y as Ft,a7 as Ct,T as Tt,c8
|
|
|
67
67
|
&:hover {
|
|
68
68
|
color: ${L.primaryDark};
|
|
69
69
|
}
|
|
70
|
-
`,Ca=e=>{const o=z.getLocalizedStrings().companyPassport.snackBar;return e==="Error"?o.failedText:o.successText};function Ta(e){const o=V(),{fetchState:p,onRemoveSnackbar:i}=e;Y.useEffect(()=>{setTimeout(i,5e3)});const r=z.getLocalizedStrings().companyPassport.snackBar,l=p==="Completed";return t.jsxs(Ia,{windowSize:o,children:[l?t.jsx($a,{}):t.jsx(Sa,{}),t.jsxs(Da,{windowSize:o,children:[t.jsx(va,{isSuccess:l,children:l?r.success:r.error}),t.jsx(Oa,{children:t.jsx(ja,{children:Ca(p)})})]}),t.jsx(Fa,{onClick:i,children:t.jsx(Vt,{})})]})}const ye={labelWidth:new m(110,145,180),largeLabelWidth:new m(150,215,215),largeLabelDocumentWidth:new m(150,210,252),paddingBottom:new m(h[3],h[2])};function ka(e){const o=V(),[p,i]=Y.useState(!1),{companyPassport:r,commonSetUp:{businessVerification:l},common:{documents:s}}=z.getLocalizedStrings(),{fileProps:f,companyFiles:y,deleteFileStatusById:u,updateFileStatusById:d,sectionId:I,isDisabled:O,companyIncInfo:$,style:j}=e,S=ye.labelWidth.value(o),g=ye.largeLabelWidth.value(o),C=ye.largeLabelDocumentWidth.value(o),{dateFormat:{visual:c},companyPassport:T}=z.getLocalizedStrings(),
|
|
70
|
+
`,Ca=e=>{const o=z.getLocalizedStrings().companyPassport.snackBar;return e==="Error"?o.failedText:o.successText};function Ta(e){const o=V(),{fetchState:p,onRemoveSnackbar:i}=e;Y.useEffect(()=>{setTimeout(i,5e3)});const r=z.getLocalizedStrings().companyPassport.snackBar,l=p==="Completed";return t.jsxs(Ia,{windowSize:o,children:[l?t.jsx($a,{}):t.jsx(Sa,{}),t.jsxs(Da,{windowSize:o,children:[t.jsx(va,{isSuccess:l,children:l?r.success:r.error}),t.jsx(Oa,{children:t.jsx(ja,{children:Ca(p)})})]}),t.jsx(Fa,{onClick:i,children:t.jsx(Vt,{})})]})}const ye={labelWidth:new m(110,145,180),largeLabelWidth:new m(150,215,215),largeLabelDocumentWidth:new m(150,210,252),paddingBottom:new m(h[3],h[2])};function ka(e){const o=V(),[p,i]=Y.useState(!1),{companyPassport:r,commonSetUp:{businessVerification:l},common:{documents:s}}=z.getLocalizedStrings(),{fileProps:f,companyFiles:y,deleteFileStatusById:u,updateFileStatusById:d,sectionId:I,isDisabled:O,companyIncInfo:$,style:j}=e,S=ye.labelWidth.value(o),g=ye.largeLabelWidth.value(o),C=ye.largeLabelDocumentWidth.value(o),{dateFormat:{visual:c},companyPassport:T}=z.getLocalizedStrings(),b=y.find(q=>q.documentType==="certificate_of_incorporation"),U=o==="small"?r.companyIncInfo.stateOfIncPlaceholderSmall:r.companyIncInfo.stateOfIncPlaceholder,le=o==="small"?r.companyIncInfo.typeOfIncPlaceholderSmall:r.companyIncInfo.typeOfIncPlaceholder;return t.jsxs(La,{style:j,children:[t.jsx(Pa,{children:r.companyIncInfo.title}),t.jsxs(Na,{children:[t.jsx(yt,{label:{label:T.companyIncInfo.typeOfInc,width:g},isDisabled:O,creatableSingleSelectField:{name:ge(I,"typeOfInc"),placeholder:le,defaultValue:{selectedOption:$?.typeOfInc,allOptions:r.companyIncInfo.allTypesOfIncorporation}}}),t.jsx(De,{}),t.jsx(sa,{label:{label:T.companyIncInfo.stateOfInc,width:g},isDisabled:O,singleSelectField:{name:ge(I,"stateOfInc"),placeholder:U,defaultValue:{selectedOption:$?.stateOfInc,allOptions:r.companyIncInfo.allStatesOfIncorporation}}}),t.jsx(De,{}),t.jsx(Mt,{isDisabled:O,label:{label:r.companyIncInfo.incDate,width:S},style:{paddingBottom:ye.paddingBottom.valuePx(o)},dateField:{name:ge(I,"incDate"),placeholder:A(r.companyIncInfo.incDate),defaultValue:$?.incDate,dateFormat:c.defaultInput,maxDate:Le(),minDate:oa("01 Jan 1900"),autoComplete:"off"}}),t.jsx(De,{}),t.jsx(gt,{name:ge(I,"certificateOfIncorporation"),isDisabled:O,sizeLimit:dt,deleteFileStatusById:u,updateFileStatusById:d,filesEndPoint:f.filesEndPoint,authParams:f.authParams,label:{label:l.certificateOfIncorporation,width:C},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:b,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:p,updateFilesEntity:f.updateFilesEntity,onEditFileName:f.onEditFileName,onDeleteFile:f.onDeleteFile,onFileSizeError:q=>i(q)}),t.jsx(za,{windowSize:o,isError:p,children:s.formatDocumentText10MB})]})]})}const ge=(e,o)=>`${e}.${o}`,La=n.div`
|
|
71
71
|
display: flex;
|
|
72
72
|
flex-direction: column;
|
|
73
73
|
padding-top: ${a.sp3};
|
|
@@ -111,7 +111,7 @@ import{e as V,V as t,c6 as ne,x as m,c7 as vt,m as h,y as Ft,a7 as Ct,T as Tt,c8
|
|
|
111
111
|
width: fit-content;
|
|
112
112
|
margin-left: auto;
|
|
113
113
|
margin-bottom: ${a.sp2};
|
|
114
|
-
`,Aa=e=>{const{labels:o,style:p,listStyleType:i="disc"}=e;return t.jsx(Ea,{style:{...p,listStyleType:i},children:o.filter(r=>r!=null&&r.text!="").map((r,l)=>t.jsxs(Va,{isCancelled:r.status==="cancelled",children:[r.text,r.subText!=null?t.jsxs(Ma,{children:["Started: ",r.subText]}):null]},`${r.text}_${l}`))})},ae={width:new m(343,580,726),paddingTopBottom:new m(h[3],h[3]),marginRight:new m(h[2],h[2]),labelMarginLeft:new m(h[3],h[4]),labelMarginRight:new m(h[3],h[4])};function
|
|
114
|
+
`,Aa=e=>{const{labels:o,style:p,listStyleType:i="disc"}=e;return t.jsx(Ea,{style:{...p,listStyleType:i},children:o.filter(r=>r!=null&&r.text!="").map((r,l)=>t.jsxs(Va,{isCancelled:r.status==="cancelled",children:[r.text,r.subText!=null?t.jsxs(Ma,{children:["Started: ",r.subText]}):null]},`${r.text}_${l}`))})},ae={width:new m(343,580,726),paddingTopBottom:new m(h[3],h[3]),marginRight:new m(h[2],h[2]),labelMarginLeft:new m(h[3],h[4]),labelMarginRight:new m(h[3],h[4])};function xe({isDisabled:e,label:o,bullettedLabels:p,style:i}){const r=V();return p.labels.length>0?t.jsxs(Wa,{size:r,style:i,children:[t.jsx(ne,{isDisabled:e,label:o.label,style:{marginLeft:ae.labelMarginLeft.value(r),marginRight:ae.labelMarginRight.value(r),width:o.width??"auto"}}),t.jsx(Aa,{...p,style:{maxWidth:o.width!=null?`calc(100% - ${o.width}px)`:"auto"}})]}):null}const Wa=n.div`
|
|
115
115
|
display: flex;
|
|
116
116
|
flex-direction: row;
|
|
117
117
|
align-items: flex-start;
|
|
@@ -132,7 +132,7 @@ import{e as V,V as t,c6 as ne,x as m,c7 as vt,m as h,y as Ft,a7 as Ct,T as Tt,c8
|
|
|
132
132
|
border-bottom-left-radius: inherit;
|
|
133
133
|
border-bottom-right-radius: inherit;
|
|
134
134
|
}
|
|
135
|
-
`,ie={labelWidth:new m(110,110,140),mediumLabelWidth:new m(140,140,160),largeLabelWidth:new m(170,170,180),extraLargeLabelWidth:new m(200,250,300),regulatedStatusMaxWidth:new m(343,580,726)},$t=z.getLocalizedStrings(),b=$t.commonSetUp.businessVerification,{companyPassport:F,dateFormat:{analytics:Ge},common:{yes:Ze,no:Je}}=$t;function Ba({companyViewData:e,allIndustries:o,allNationalityCountries:p,companyInfo:i,companyAddress:r,sectionId:l,isDisabled:s,isCompanyVerified:f,onCompanyAddressClick:y,style:u}){const d=V(),I=ie.labelWidth.value(d),O=ie.mediumLabelWidth.value(d),$=ie.largeLabelWidth.value(d),j=ie.extraLargeLabelWidth.value(d),S=ta(),{watch:g,setValue:C,formState:{errors:c}}=st(),T=e.company.company.companyInfo,x=k=>{const D=i?.[k];return D!=null&&(!(typeof D=="string"&&D===""||Array.isArray(D)&&D.length===0)||f===!1)},U=x("companySubIndustry"),le=x("countriesOfOperations"),q=x("transactionVolume"),$e=x("regulatedStatus"),Se=x("usNexus"),H=x("purposeOfAccount"),_=x("companySourceOfFunds"),se=g(w(l,"companySourceOfFunds")),re=g(w(l,"transactionVolume")),K=g(w(l,"regulatedStatus")),de=g(w(l,"usNexus")),G=g(w(l,"purposeOfAccount")),Z=g(w(l,"companyIndustryType")),ce=Z?.selectedOption??i?.companyIndustryType,Oe=d==="small"?F.companyInfo.businessModelPlaceholderSmall:F.companyInfo.businessModelPlaceholder;return t.jsxs(Ra,{style:u,children:[t.jsx(Ua,{children:F.companyInfo.title}),t.jsxs(Ya,{children:[t.jsx(P,{isDisabled:s,label:{label:F.companyInfo.companyName,width:$},text:{type:"text",name:w(l,"companyName"),placeholder:A(F.companyInfo.companyName),defaultValue:i?.companyName,autoComplete:"new-password",options:{required:!!T.name,pattern:qe}}}),t.jsx(E,{}),t.jsx(P,{isDisabled:s,label:{label:F.companyInfo.legalName,width:O},text:{type:"text",name:w(l,"legalName"),placeholder:A(F.companyInfo.legalName),defaultValue:i?.legalName,autoComplete:"new-password",options:{required:!!T.companyLegalName,pattern:qe}}}),t.jsx(E,{}),t.jsx(P,{isDisabled:s,label:{label:F.companyInfo.website,width:I},text:{type:"url",name:w(l,"website"),placeholder:A(F.companyInfo.website),defaultValue:i?.website?.toString()??"",autoComplete:"new-password"}}),t.jsx(E,{}),U?t.jsx(t.Fragment,{children:t.jsxs(qa,{"data-suppress-hover":s!=null||void 0,children:[t.jsx(ee,{label:{label:b.companyIndustryLabel,width:I},singleSelectField:{singleSelect:{name:w(l,"companyIndustryType"),placeholder:b.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ma,isDisabled:s,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:i?.companyIndustryType,allOptions:[...ht]},onSelectChange:k=>{C(w(l,"subIndustry"),{selectedOption:void 0,allOptions:ke(k)})}},isFunctional:!0,errorInfoLabel:b.companyIndustryError.replace("_product_type_","company"),style:{padding:0,margin:0,outline:"none",paddingRight:a.sp2}}),ce!=null&&t.jsx(ee,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:w(l,"subIndustry"),placeholder:b.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:k=>ua(k,ce),isDisabled:s,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:i?.companySubIndustry,allOptions:ke(Z?.selectedOption)}},isFunctional:!0,keepFocusedStyle:!0,errorInfoLabel:b.companySubIndustryError.replace("_product_type_","company"),additionalInfoLabel:s==null?b.companyIndustryAdditionalInfo:void 0,additionalInfoStyle:{color:S.colors.hero},style:{outline:"none",paddingBottom:a.sp0,width:"100%"}})]})}):t.jsx(ee,{label:{label:F.companyInfo.industry,width:I},singleSelectField:{singleSelect:{name:w(l,"industry"),placeholder:F.companyInfo.industryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:k=>o.find(D=>D.code===k)?.name??k,isDisabled:s,showTickMark:!0},defaultValue:{selectedOption:i?.industry,allOptions:o?.map(k=>k.code)??[]}},isFunctional:!0}),t.jsx(E,{}),t.jsx(yt,{isDisabled:s,label:{label:F.companyInfo.businessModel,width:$},creatableSingleSelectField:{name:w(l,"businessModel"),placeholder:Oe,defaultValue:{selectedOption:i?.businessModel,allOptions:F.companyInfo.allBusinessModels}}}),le&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsx(pa,{label:{label:b.countriesOfOperationsLabel,width:$},isDisabled:s,additionalInfoLabel:s==null?b.countriesOfOperationsAdditionalInfo:void 0,multiSelectField:{name:w(l,"countriesOfOperations"),placeholder:b.countriesOfOperationsPlaceholder,defaultValue:nt(i?.countriesOfOperations,(p??[]).map(k=>k.countryCode))}})]}),_&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsx(ee,{label:{label:b.companySourceOfFundsLabel,width:$},singleSelectField:{singleSelect:{name:w(l,"companySourceOfFunds"),placeholder:b.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ha,isDisabled:s,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:i?.companySourceOfFunds,allOptions:[...ut]}},isFunctional:!0,additionalContent:ra.includes(se?.selectedOption)?t.jsx(P,{isDisabled:s,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:w(l,"companySourceOfFundsDescription"),placeholder:b.descriptionPlaceholder,style:{backgroundColor:c[l]!=null&&c[l]?.companySourceOfFundsDescription!=null?L.importantLight:S.colors.background},options:{}},additionalInfoLabel:b.companySourceOfFundsDescriptionError,style:{position:"relative",top:0,left:-$,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:s!=null||c[l]!=null&&c[l]?.companySourceOfFundsDescription!=null?void 0:b.companySourceOfFundsAdditionalInfo,additionalInfoStyle:{color:S.colors.hero}})]}),q&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsx(ee,{label:{label:b.transactionVolumeLabel,width:j},singleSelectField:{singleSelect:{name:w(l,"transactionVolume"),placeholder:b.transactionVolumePlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:fa,isDisabled:s,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:i?.transactionVolume,allOptions:[...mt]}},isFunctional:!0,additionalContent:da.includes(re?.selectedOption)?t.jsx(P,{isDisabled:s,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:w(l,"transactionVolumeDescription"),placeholder:b.descriptionPlaceholder,style:{backgroundColor:c[l]!=null&&c[l]?.transactionVolumeDescription!=null?L.importantLight:S.colors.background},options:{}},additionalInfoLabel:b.transactionVolumeDescriptionError,style:{position:"relative",top:0,left:-j,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:s!=null||c[l]!=null&&c[l]?.transactionVolumeDescription!=null?void 0:b.transactionVolumeAdditionalInfo,additionalInfoStyle:{color:S.colors.hero}})]}),$e&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsxs(Xe,{windowSize:d,"data-suppress-hover":s!=null||void 0,children:[t.jsxs(Qe,{children:[t.jsx(ne,{label:b.regulatedStatusLabel,htmlFor:w(l,"regulatedStatus"),isDisabled:s,style:{width:$,color:s==="disabled"?S.colors.grey1:S.colors.hero}}),t.jsxs(Ke,{labelWidth:$,windowSize:d,children:[t.jsx(fe,{label:{label:Ze},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:w(l,"regulatedStatus"),id:`${w(l,"regulatedStatus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:s,isContainerClickable:!0}),t.jsx(fe,{label:{label:Je},style:{width:"auto"},radioField:{name:w(l,"regulatedStatus"),id:`${w(l,"regulatedStatus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:s,isContainerClickable:!0})]})]}),K==="yes"&&t.jsx(P,{isDisabled:s,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},text:{type:"text",name:w(l,"regulatedStatusDescription"),placeholder:b.regulatedStatusDescriptionPlaceholder,style:{backgroundColor:c[l]!=null&&c[l]?.regulatedStatusDescription!=null?L.importantLight:S.colors.background},options:{}},additionalInfoLabel:b.regulatedStatusDescriptionError,style:{outline:"none",width:"100%",padding:0}}),c[l]!=null&&c[l]?.regulatedStatus!=null?t.jsx(ve,{windowSize:d,children:b.regulatedStatusError.replace("_product_type_","company details")}):c[l]!=null&&c[l]?.regulatedStatusDescription!=null?null:s==null?t.jsx(et,{windowSize:d,children:b.regulatedStatusAdditionalInfo}):null]})]}),Se&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsxs(Xe,{windowSize:d,"data-suppress-hover":s!=null||void 0,children:[t.jsxs(Qe,{children:[t.jsx(ne,{label:b.usNexusLabel,htmlFor:w(l,"usNexus"),isDisabled:s,style:{width:$,color:s==="disabled"?S.colors.grey1:S.colors.hero}}),t.jsxs(Ke,{labelWidth:$,windowSize:d,children:[t.jsx(fe,{label:{label:Ze},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:w(l,"usNexus"),id:`${w(l,"usNexus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:s,isContainerClickable:!0}),t.jsx(fe,{label:{label:Je},style:{width:"auto"},radioField:{name:w(l,"usNexus"),id:`${w(l,"usNexus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:s,isContainerClickable:!0})]})]}),de==="yes"&&t.jsxs(t.Fragment,{children:[t.jsx(Ha,{hasError:c[l]!=null&&c[l]?.usNexusTypes!=null,children:t.jsx(xt,{isDisabled:s,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},multiSelectField:{name:w(l,"usNexusTypes"),placeholder:b.usNexusPlaceholder,getOptionLabel:ya,defaultValue:{selectedOptions:i?.usNexusTypes??[],allOptions:[...pt]},registerOptions:{required:s==null,shouldUnregister:!0,validate:k=>{const D=k?.selectedOptions;return D!=null&&D.length>0}}},style:{outline:"none",margin:0,padding:0,width:"100%"}})}),c[l]!=null&&c[l]?.usNexusTypes!=null&&t.jsx(ve,{windowSize:d,children:b.usNexusTypesError})]}),c[l]!=null&&c[l]?.usNexus!=null?t.jsx(ve,{windowSize:d,children:b.usNexusError.replace("_product_type_","company details")}):c[l]!=null&&c[l]?.usNexusTypes!=null?null:s==null?t.jsx(et,{windowSize:d,children:b.usNexusAdditionalInfo}):null]})]}),H&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsx(ee,{label:{label:b.purposeOfAccountLabel,width:j},singleSelectField:{singleSelect:{name:w(l,"purposeOfAccount"),placeholder:b.purposeOfAccountPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ga,isDisabled:s,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:i?.purposeOfAccount,allOptions:[...ct]}},isFunctional:!0,additionalContent:ca.includes(G?.selectedOption)?t.jsx(P,{isDisabled:s,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:w(l,"purposeOfAccountDescription"),placeholder:b.descriptionPlaceholder,style:{backgroundColor:c[l]!=null&&c[l]?.purposeOfAccountDescription!=null?L.importantLight:S.colors.background},options:{}},additionalInfoLabel:b.purposeOfAccountDescriptionError,style:{position:"relative",top:0,left:-j,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:s!=null||c[l]!=null&&c[l]?.purposeOfAccountDescription!=null?void 0:b.purposeOfAccountAdditionalInfo,additionalInfoStyle:{color:S.colors.hero}})]}),t.jsx(E,{}),t.jsx(bt,{isDisabled:s,label:{label:F.companyInfo.address,width:I},addressValue:{placeholder:A(F.companyInfo.address),address:r?.addressToCreate,onClick:()=>y("company_address")}}),t.jsx(E,{}),t.jsx(rt,{isDisabled:s,label:{label:F.companyInfo.phone,width:I},text:{name:w(l,"phone"),placeholder:A(F.companyInfo.phone),defaultValue:i?.phone,autoComplete:"new-password"}}),t.jsx(E,{}),t.jsx(be,{label:{label:F.companyInfo.fiscalYear,width:I},bullettedLabels:{labels:[{text:_a(i?.firstMonthOfFY??1)}],listStyleType:"none"}})]})]})}const _a=e=>{const{fiscalYearMonths:o}=na(e);return`${Le().month(o[0]-1).format(Ge.MMMFormat)} to ${Le().month(o[11]-1).format(Ge.MMMFormat)}`},w=(e,o)=>`${e}.${o}`,Ra=n.div`
|
|
135
|
+
`,ie={labelWidth:new m(110,110,140),mediumLabelWidth:new m(140,140,160),largeLabelWidth:new m(170,170,180),extraLargeLabelWidth:new m(200,250,300),regulatedStatusMaxWidth:new m(343,580,726)},$t=z.getLocalizedStrings(),x=$t.commonSetUp.businessVerification,{companyPassport:F,dateFormat:{analytics:Ge},common:{yes:Ze,no:Je}}=$t;function Ba({companyViewData:e,allIndustries:o,allNationalityCountries:p,companyInfo:i,companyAddress:r,sectionId:l,isDisabled:s,isCompanyVerified:f,onCompanyAddressClick:y,style:u}){const d=V(),I=ie.labelWidth.value(d),O=ie.mediumLabelWidth.value(d),$=ie.largeLabelWidth.value(d),j=ie.extraLargeLabelWidth.value(d),S=ta(),{watch:g,setValue:C,formState:{errors:c}}=st(),T=e.company.company.companyInfo,b=k=>{const D=i?.[k];return D!=null&&(!(typeof D=="string"&&D===""||Array.isArray(D)&&D.length===0)||f===!1)},U=b("companySubIndustry"),le=b("countriesOfOperations"),q=b("transactionVolume"),$e=b("regulatedStatus"),Se=b("usNexus"),H=b("purposeOfAccount"),_=b("companySourceOfFunds"),se=g(w(l,"companySourceOfFunds")),re=g(w(l,"transactionVolume")),K=g(w(l,"regulatedStatus")),de=g(w(l,"usNexus")),G=g(w(l,"purposeOfAccount")),Z=g(w(l,"companyIndustryType")),ce=Z?.selectedOption??i?.companyIndustryType,Oe=d==="small"?F.companyInfo.businessModelPlaceholderSmall:F.companyInfo.businessModelPlaceholder;return t.jsxs(Ra,{style:u,children:[t.jsx(Ua,{children:F.companyInfo.title}),t.jsxs(Ya,{children:[t.jsx(P,{isDisabled:s,label:{label:F.companyInfo.companyName,width:$},text:{type:"text",name:w(l,"companyName"),placeholder:A(F.companyInfo.companyName),defaultValue:i?.companyName,autoComplete:"new-password",options:{required:!!T.name,pattern:qe}}}),t.jsx(E,{}),t.jsx(P,{isDisabled:s,label:{label:F.companyInfo.legalName,width:O},text:{type:"text",name:w(l,"legalName"),placeholder:A(F.companyInfo.legalName),defaultValue:i?.legalName,autoComplete:"new-password",options:{required:!!T.companyLegalName,pattern:qe}}}),t.jsx(E,{}),t.jsx(P,{isDisabled:s,label:{label:F.companyInfo.website,width:I},text:{type:"url",name:w(l,"website"),placeholder:A(F.companyInfo.website),defaultValue:i?.website?.toString()??"",autoComplete:"new-password"}}),t.jsx(E,{}),U?t.jsx(t.Fragment,{children:t.jsxs(qa,{"data-suppress-hover":s!=null||void 0,children:[t.jsx(ee,{label:{label:x.companyIndustryLabel,width:I},singleSelectField:{singleSelect:{name:w(l,"companyIndustryType"),placeholder:x.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ma,isDisabled:s,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:i?.companyIndustryType,allOptions:[...ht]},onSelectChange:k=>{C(w(l,"subIndustry"),{selectedOption:void 0,allOptions:ke(k)})}},isFunctional:!0,errorInfoLabel:x.companyIndustryError.replace("_product_type_","company"),style:{padding:0,margin:0,outline:"none",paddingRight:a.sp2}}),ce!=null&&t.jsx(ee,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:w(l,"subIndustry"),placeholder:x.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:k=>ua(k,ce),isDisabled:s,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:i?.companySubIndustry,allOptions:ke(Z?.selectedOption)}},isFunctional:!0,keepFocusedStyle:!0,errorInfoLabel:x.companySubIndustryError.replace("_product_type_","company"),additionalInfoLabel:s==null?x.companyIndustryAdditionalInfo:void 0,additionalInfoStyle:{color:S.colors.hero},style:{outline:"none",paddingBottom:a.sp0,width:"100%"}})]})}):t.jsx(ee,{label:{label:F.companyInfo.industry,width:I},singleSelectField:{singleSelect:{name:w(l,"industry"),placeholder:F.companyInfo.industryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:k=>o.find(D=>D.code===k)?.name??k,isDisabled:s,showTickMark:!0},defaultValue:{selectedOption:i?.industry,allOptions:o?.map(k=>k.code)??[]}},isFunctional:!0}),t.jsx(E,{}),t.jsx(yt,{isDisabled:s,label:{label:F.companyInfo.businessModel,width:$},creatableSingleSelectField:{name:w(l,"businessModel"),placeholder:Oe,defaultValue:{selectedOption:i?.businessModel,allOptions:F.companyInfo.allBusinessModels}}}),le&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsx(pa,{label:{label:x.countriesOfOperationsLabel,width:$},isDisabled:s,additionalInfoLabel:s==null?x.countriesOfOperationsAdditionalInfo:void 0,multiSelectField:{name:w(l,"countriesOfOperations"),placeholder:x.countriesOfOperationsPlaceholder,defaultValue:nt(i?.countriesOfOperations,(p??[]).map(k=>k.countryCode))}})]}),_&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsx(ee,{label:{label:x.companySourceOfFundsLabel,width:$},singleSelectField:{singleSelect:{name:w(l,"companySourceOfFunds"),placeholder:x.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ha,isDisabled:s,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:i?.companySourceOfFunds,allOptions:[...ut]}},isFunctional:!0,additionalContent:ra.includes(se?.selectedOption)?t.jsx(P,{isDisabled:s,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:w(l,"companySourceOfFundsDescription"),placeholder:x.descriptionPlaceholder,style:{backgroundColor:c[l]!=null&&c[l]?.companySourceOfFundsDescription!=null?L.importantLight:S.colors.background},options:{}},additionalInfoLabel:x.companySourceOfFundsDescriptionError,style:{position:"relative",top:0,left:-$,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:s!=null||c[l]!=null&&c[l]?.companySourceOfFundsDescription!=null?void 0:x.companySourceOfFundsAdditionalInfo,additionalInfoStyle:{color:S.colors.hero}})]}),q&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsx(ee,{label:{label:x.transactionVolumeLabel,width:j},singleSelectField:{singleSelect:{name:w(l,"transactionVolume"),placeholder:x.transactionVolumePlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:fa,isDisabled:s,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:i?.transactionVolume,allOptions:[...mt]}},isFunctional:!0,additionalContent:da.includes(re?.selectedOption)?t.jsx(P,{isDisabled:s,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:w(l,"transactionVolumeDescription"),placeholder:x.descriptionPlaceholder,style:{backgroundColor:c[l]!=null&&c[l]?.transactionVolumeDescription!=null?L.importantLight:S.colors.background},options:{}},additionalInfoLabel:x.transactionVolumeDescriptionError,style:{position:"relative",top:0,left:-j,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:s!=null||c[l]!=null&&c[l]?.transactionVolumeDescription!=null?void 0:x.transactionVolumeAdditionalInfo,additionalInfoStyle:{color:S.colors.hero}})]}),$e&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsxs(Xe,{windowSize:d,"data-suppress-hover":s!=null||void 0,children:[t.jsxs(Qe,{children:[t.jsx(ne,{label:x.regulatedStatusLabel,htmlFor:w(l,"regulatedStatus"),isDisabled:s,style:{width:$,color:s==="disabled"?S.colors.grey1:S.colors.hero}}),t.jsxs(Ke,{labelWidth:$,windowSize:d,children:[t.jsx(fe,{label:{label:Ze},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:w(l,"regulatedStatus"),id:`${w(l,"regulatedStatus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:s,isContainerClickable:!0}),t.jsx(fe,{label:{label:Je},style:{width:"auto"},radioField:{name:w(l,"regulatedStatus"),id:`${w(l,"regulatedStatus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:s,isContainerClickable:!0})]})]}),K==="yes"&&t.jsx(P,{isDisabled:s,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},text:{type:"text",name:w(l,"regulatedStatusDescription"),placeholder:x.regulatedStatusDescriptionPlaceholder,style:{backgroundColor:c[l]!=null&&c[l]?.regulatedStatusDescription!=null?L.importantLight:S.colors.background},options:{}},additionalInfoLabel:x.regulatedStatusDescriptionError,style:{outline:"none",width:"100%",padding:0}}),c[l]!=null&&c[l]?.regulatedStatus!=null?t.jsx(ve,{windowSize:d,children:x.regulatedStatusError.replace("_product_type_","company details")}):c[l]!=null&&c[l]?.regulatedStatusDescription!=null?null:s==null?t.jsx(et,{windowSize:d,children:x.regulatedStatusAdditionalInfo}):null]})]}),Se&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsxs(Xe,{windowSize:d,"data-suppress-hover":s!=null||void 0,children:[t.jsxs(Qe,{children:[t.jsx(ne,{label:x.usNexusLabel,htmlFor:w(l,"usNexus"),isDisabled:s,style:{width:$,color:s==="disabled"?S.colors.grey1:S.colors.hero}}),t.jsxs(Ke,{labelWidth:$,windowSize:d,children:[t.jsx(fe,{label:{label:Ze},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:w(l,"usNexus"),id:`${w(l,"usNexus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:s,isContainerClickable:!0}),t.jsx(fe,{label:{label:Je},style:{width:"auto"},radioField:{name:w(l,"usNexus"),id:`${w(l,"usNexus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:s,isContainerClickable:!0})]})]}),de==="yes"&&t.jsxs(t.Fragment,{children:[t.jsx(Ha,{hasError:c[l]!=null&&c[l]?.usNexusTypes!=null,children:t.jsx(bt,{isDisabled:s,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},multiSelectField:{name:w(l,"usNexusTypes"),placeholder:x.usNexusPlaceholder,getOptionLabel:ya,defaultValue:{selectedOptions:i?.usNexusTypes??[],allOptions:[...pt]},registerOptions:{required:s==null,shouldUnregister:!0,validate:k=>{const D=k?.selectedOptions;return D!=null&&D.length>0}}},style:{outline:"none",margin:0,padding:0,width:"100%"}})}),c[l]!=null&&c[l]?.usNexusTypes!=null&&t.jsx(ve,{windowSize:d,children:x.usNexusTypesError})]}),c[l]!=null&&c[l]?.usNexus!=null?t.jsx(ve,{windowSize:d,children:x.usNexusError.replace("_product_type_","company details")}):c[l]!=null&&c[l]?.usNexusTypes!=null?null:s==null?t.jsx(et,{windowSize:d,children:x.usNexusAdditionalInfo}):null]})]}),H&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsx(ee,{label:{label:x.purposeOfAccountLabel,width:j},singleSelectField:{singleSelect:{name:w(l,"purposeOfAccount"),placeholder:x.purposeOfAccountPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ga,isDisabled:s,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:i?.purposeOfAccount,allOptions:[...ct]}},isFunctional:!0,additionalContent:ca.includes(G?.selectedOption)?t.jsx(P,{isDisabled:s,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:w(l,"purposeOfAccountDescription"),placeholder:x.descriptionPlaceholder,style:{backgroundColor:c[l]!=null&&c[l]?.purposeOfAccountDescription!=null?L.importantLight:S.colors.background},options:{}},additionalInfoLabel:x.purposeOfAccountDescriptionError,style:{position:"relative",top:0,left:-j,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:s!=null||c[l]!=null&&c[l]?.purposeOfAccountDescription!=null?void 0:x.purposeOfAccountAdditionalInfo,additionalInfoStyle:{color:S.colors.hero}})]}),t.jsx(E,{}),t.jsx(xt,{isDisabled:s,label:{label:F.companyInfo.address,width:I},addressValue:{placeholder:A(F.companyInfo.address),address:r?.addressToCreate,onClick:()=>y("company_address")}}),t.jsx(E,{}),t.jsx(rt,{isDisabled:s,label:{label:F.companyInfo.phone,width:I},text:{name:w(l,"phone"),placeholder:A(F.companyInfo.phone),defaultValue:i?.phone,autoComplete:"new-password"}}),t.jsx(E,{}),t.jsx(xe,{label:{label:F.companyInfo.fiscalYear,width:I},bullettedLabels:{labels:[{text:_a(i?.firstMonthOfFY??1)}],listStyleType:"none"}})]})]})}const _a=e=>{const{fiscalYearMonths:o}=na(e);return`${Le().month(o[0]-1).format(Ge.MMMFormat)} to ${Le().month(o[11]-1).format(Ge.MMMFormat)}`},w=(e,o)=>`${e}.${o}`,Ra=n.div`
|
|
136
136
|
display: flex;
|
|
137
137
|
flex-direction: column;
|
|
138
138
|
padding-top: ${a.sp3};
|
|
@@ -223,7 +223,7 @@ import{e as V,V as t,c6 as ne,x as m,c7 as vt,m as h,y as Ft,a7 as Ct,T as Tt,c8
|
|
|
223
223
|
& .select-control {
|
|
224
224
|
background-color: ${e=>e.hasError===!0?L.importantLight:e.theme.colors.background} !important;
|
|
225
225
|
}
|
|
226
|
-
`,Ne={labelWidth:new m(110,110,140),buttonWidth:new m(70,70)};function Ga({sectionId:e,isDisabled:o,style:p,officer:i,officerAddress:r,isEmptyCompanyOfficerSection:l,onOfficerAddressClick:s}){const f=V(),y=z.getLocalizedStrings().companyPassport,u=Ne.labelWidth.value(f),d=l&&(i==null||!i.firstName&&!i.lastName&&!i.phone&&!i.email&&!r),I=i?.userId==null||i?.userId==="";return t.jsxs(Ka,{style:p,children:[t.jsx(wt,{isDisabled:o,label:{label:y.companyOfficer.name,width:u},nameField:{name:Fe(e,"name"),placeHolder:{firstName:y.companyOfficer.firstNamePlaceholder,lastName:y.companyOfficer.lastNamePlaceholder,name:y.companyOfficer.namePlaceholder},defaultValue:{firstName:i?.firstName??"",lastName:i?.lastName??""},autoComplete:"new-password",registerOptions:{required:d!==!0},showFullNameError:!0}}),t.jsx(Ce,{}),t.jsx(P,{isDisabled:I?o:"readonly",label:{label:y.companyOfficer.email,width:u},text:{type:"email",name:Fe(e,"email"),placeholder:A(y.companyOfficer.email),options:{required:d!==!0&&I},defaultValue:i?.email,autoComplete:"new-password"}}),t.jsx(Ce,{}),t.jsx(
|
|
226
|
+
`,Ne={labelWidth:new m(110,110,140),buttonWidth:new m(70,70)};function Ga({sectionId:e,isDisabled:o,style:p,officer:i,officerAddress:r,isEmptyCompanyOfficerSection:l,onOfficerAddressClick:s}){const f=V(),y=z.getLocalizedStrings().companyPassport,u=Ne.labelWidth.value(f),d=l&&(i==null||!i.firstName&&!i.lastName&&!i.phone&&!i.email&&!r),I=i?.userId==null||i?.userId==="";return t.jsxs(Ka,{style:p,children:[t.jsx(wt,{isDisabled:o,label:{label:y.companyOfficer.name,width:u},nameField:{name:Fe(e,"name"),placeHolder:{firstName:y.companyOfficer.firstNamePlaceholder,lastName:y.companyOfficer.lastNamePlaceholder,name:y.companyOfficer.namePlaceholder},defaultValue:{firstName:i?.firstName??"",lastName:i?.lastName??""},autoComplete:"new-password",registerOptions:{required:d!==!0},showFullNameError:!0}}),t.jsx(Ce,{}),t.jsx(P,{isDisabled:I?o:"readonly",label:{label:y.companyOfficer.email,width:u},text:{type:"email",name:Fe(e,"email"),placeholder:A(y.companyOfficer.email),options:{required:d!==!0&&I},defaultValue:i?.email,autoComplete:"new-password"}}),t.jsx(Ce,{}),t.jsx(xt,{isDisabled:o,label:{label:y.companyInfo.address,width:u},addressValue:{placeholder:A(y.companyOfficer.address),address:r?.addressToCreate,onClick:()=>{s(i?.officerType.toLocaleLowerCase().concat("_address"))}}}),t.jsx(Ce,{}),t.jsx(rt,{isDisabled:o,label:{label:y.companyOfficer.phone,width:u},text:{name:Fe(e,"phone"),placeholder:A(y.companyOfficer.phone),defaultValue:i?.phone,autoComplete:"new-password"}})]})}function Za({companyOfficers:e,sectionId:o,style:p,isDisabled:i,onOfficerAddressClick:r}){const{setValue:l,getValues:s}=st(),[f,y]=Y.useState(-1),u=z.getLocalizedStrings().companyPassport,d=e.length,I=e.length===1&&e[0].localData?.userId==null,O=s(o),$=g=>{if(e[g].localData!=null&&(e[g].localData?.firstName||e[g].localData?.lastName||e[g].localData?.phone||e[g].localData?.email||e[g].addressStatus?.addressToCreate))y(g);else{const C=O.filter((c,T)=>T!==f);l(o,C),y(-1)}},j=()=>{y(-1)},S=()=>{const g=O.filter((C,c)=>c!==f);l(o,g),y(-1)};return t.jsxs(Qa,{style:p,children:[t.jsx(el,{children:u.companyOfficer.title}),e.map((g,C)=>{const c=g.localData,T=g.addressStatus,b=c?.userId==null||c?.userId==="";return t.jsxs(tl,{children:[(d>1||b)&&!I?t.jsx(Ja,{curIndex:C,isNewUser:b,numberOfOfficers:d,deleteConfirmationIndex:f,isDisabled:i,onDeleteClick:$,onCancelClick:j,onRemoveOfficerSection:S}):null,t.jsx(Ga,{sectionId:`${o}.${C}`,officer:c,officerAddress:T,isDisabled:i,isEmptyCompanyOfficerSection:I,onOfficerAddressClick:r})]},c?.officerType)}),d<=9&&!I?t.jsx(Xa,{isSectionDisabled:i,onAddOfficerSection:()=>{const g={userId:void 0,officerType:`Officer_${d+1}`,name:{firstName:"",lastName:""},email:"",phone:""};l(o,[...O,g])}}):t.jsx(Pe,{})]})}const Ja=({curIndex:e,isNewUser:o,numberOfOfficers:p,deleteConfirmationIndex:i,isDisabled:r,onDeleteClick:l,onCancelClick:s,onRemoveOfficerSection:f})=>{const y=V(),u=z.getLocalizedStrings().companyPassport;return t.jsxs(al,{children:[t.jsx(ll,{children:p>1?`${u.companyOfficer.officer} ${e+1}`:""}),o&&r==null?i===e?t.jsx(rl,{children:t.jsxs(dl,{children:[u.companyOfficer.deleteConfirmation,t.jsx(He,{label:u.cancel,onClick:s,style:{width:Ne.buttonWidth.value(y),marginLeft:a.sp4,marginRight:a.sp3},size:"small",variant:"secondary"}),t.jsx(He,{label:u.remove,onClick:f,style:{width:Ne.buttonWidth.value(y)},size:"small",variant:"danger"})]})}):t.jsx(sl,{className:"delete-icon-wrapper",onClick:()=>l(e),children:t.jsx(Ht,{width:h[3],height:h[3],color:L.important})}):null]})},Xa=({isSectionDisabled:e,onAddOfficerSection:o})=>{const p=z.getLocalizedStrings().companyPassport;return e!=null?t.jsx(Pe,{}):t.jsxs(t.Fragment,{children:[t.jsxs(ol,{onClick:o,children:[t.jsx(il,{}),t.jsx(nl,{children:p.companyOfficer.addOfficer})]}),t.jsx(Pe,{})]})},Fe=(e,o)=>`${e}.${o}`,Qa=n.div`
|
|
227
227
|
display: flex;
|
|
228
228
|
flex-direction: column;
|
|
229
229
|
padding-top: ${a.sp3};
|
|
@@ -299,7 +299,7 @@ import{e as V,V as t,c6 as ne,x as m,c7 as vt,m as h,y as Ft,a7 as Ct,T as Tt,c8
|
|
|
299
299
|
background-color: ${e=>e.theme.colors.grey3};
|
|
300
300
|
min-height: 1px;
|
|
301
301
|
max-height: 1px;
|
|
302
|
-
`,tt={labelWidth:new m(160,160,160),largeLabelWidth:new m(150,215,215)};function cl(e){const o=V(),p=At(),[i,r]=Y.useState(!1),{companyPassport:l,commonSetUp:{businessVerification:s},common:{documents:f}}=z.getLocalizedStrings(),{fileProps:y,companyFiles:u,deleteFileStatusById:d,updateFileStatusById:I,sectionId:O,isDisabled:$,companyTaxInfo:j,style:S}=e,g=tt.labelWidth.value(o),C=tt.largeLabelWidth.value(o),c=!ia(p.loggedInUserRole??[]),T=u.find(
|
|
302
|
+
`,tt={labelWidth:new m(160,160,160),largeLabelWidth:new m(150,215,215)};function cl(e){const o=V(),p=At(),[i,r]=Y.useState(!1),{companyPassport:l,commonSetUp:{businessVerification:s},common:{documents:f}}=z.getLocalizedStrings(),{fileProps:y,companyFiles:u,deleteFileStatusById:d,updateFileStatusById:I,sectionId:O,isDisabled:$,companyTaxInfo:j,style:S}=e,g=tt.labelWidth.value(o),C=tt.largeLabelWidth.value(o),c=!ia(p.loggedInUserRole??[]),T=u.find(b=>b.documentType==="tax_ein");return t.jsxs(pl,{style:S,children:[t.jsx(ul,{children:l.companyTaxInfo.title}),t.jsxs(ml,{children:[t.jsx(P,{isDisabled:$,label:{label:l.companyTaxInfo.taxIdOrEIN,width:g},text:{type:"text",name:te(O,"taxIdOrEIN"),placeholder:l.companyTaxInfo.taxIdOrEINPlaceholder,defaultValue:c===!0?l.protectedContent:j?.taxIdOrEIN,options:{pattern:Wt},autoComplete:"new-password"},protectedInfoText:c===!0?l.companyTaxInfo.adminPrivilegeRequired:void 0}),t.jsx(oe,{}),t.jsx(P,{isDisabled:$,label:{label:l.companyTaxInfo.dunsNumber,width:g},text:{type:"text",name:te(O,"dunsNumber"),placeholder:l.companyTaxInfo.dunsNumberPlaceholder,defaultValue:j?.dunsNumber,options:{pattern:/^\d{9}$/},autoComplete:"new-password"}}),t.jsx(oe,{}),t.jsx(P,{isDisabled:$,label:{label:l.companyTaxInfo.naicsCode,width:g},text:{type:"text",name:te(O,"naicsCode"),placeholder:l.companyTaxInfo.naicsCodePlaceholder,defaultValue:j?.naicsCode,options:{pattern:/^([2-9]{1}[0-9]{1}|[1-9]{1}[1-9]{1})\d{0,4}$/},autoComplete:"new-password"}}),t.jsx(oe,{}),t.jsx(P,{isDisabled:$,label:{label:l.companyTaxInfo.sicCode,width:g},text:{type:"text",name:te(O,"sicCode"),placeholder:l.companyTaxInfo.sicCodePlaceholder,defaultValue:j?.sicCode,options:{pattern:/^\d{2,4}$/},autoComplete:"new-password"}}),t.jsx(oe,{}),t.jsx(bt,{isDisabled:$,label:{label:l.companyTaxInfo.taxesFiledYears,width:g},multiSelectField:{name:te(O,"taxesFiledYears"),placeholder:l.companyTaxInfo.taxesFiledYearsPlaceholder,defaultValue:{selectedOptions:j?.taxesFiledYears.map(b=>b.toString())??[],allOptions:ft().map(b=>b.toString())}}}),t.jsx(oe,{}),t.jsx(gt,{name:te(O,"einDocument"),isDisabled:$,sizeLimit:dt,deleteFileStatusById:d,updateFileStatusById:I,filesEndPoint:y.filesEndPoint,authParams:y.authParams,label:{label:s.einDocument,width:C},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:T,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:i,updateFilesEntity:y.updateFilesEntity,onEditFileName:y.onEditFileName,onDeleteFile:y.onDeleteFile,onFileSizeError:b=>r(b)}),t.jsx(hl,{windowSize:o,isError:i,children:f.formatDocumentText10MB})]})]})}const te=(e,o)=>`${e}.${o}`,pl=n.div`
|
|
303
303
|
display: flex;
|
|
304
304
|
flex-direction: column;
|
|
305
305
|
padding-top: ${a.sp3};
|
|
@@ -326,19 +326,19 @@ import{e as V,V as t,c6 as ne,x as m,c7 as vt,m as h,y as Ft,a7 as Ct,T as Tt,c8
|
|
|
326
326
|
border-radius: ${a.sp0} ${a.sp0} ${a.sp2} ${a.sp2};
|
|
327
327
|
text-align: ${e=>e.windowSize==="small"?"initial":"right"};
|
|
328
328
|
color: ${e=>e.isError?L.important:e.theme.colors.grey1};
|
|
329
|
-
`,fl={labelWidth:new m(100,100,140)};function yl({sectionId:e,isDisabled:o,primaryContact:p,style:i}){const r=V(),l=z.getLocalizedStrings().companyPassport,s=fl.labelWidth.value(r),f=p==null;return t.jsxs(gl,{style:i,children:[t.jsx(
|
|
329
|
+
`,fl={labelWidth:new m(100,100,140)};function yl({sectionId:e,isDisabled:o,primaryContact:p,style:i}){const r=V(),l=z.getLocalizedStrings().companyPassport,s=fl.labelWidth.value(r),f=p==null;return t.jsxs(gl,{style:i,children:[t.jsx(xl,{children:l.primaryContact.title}),t.jsxs(bl,{children:[t.jsx(wt,{isDisabled:o,label:{label:l.primaryContact.name,width:s},nameField:{name:at(e,"name"),placeHolder:{firstName:l.primaryContact.firstNamePlaceholder,lastName:l.primaryContact.lastNamePlaceholder,name:l.primaryContact.namePlaceholder},defaultValue:{firstName:p?.firstName??"",lastName:p?.lastName??""},autoComplete:"new-password",registerOptions:{required:f!==!0},showFullNameError:!0}}),t.jsx(wl,{}),t.jsx(P,{isDisabled:o,label:{label:l.primaryContact.email,width:s},text:{type:"email",name:at(e,"email"),placeholder:A(l.primaryContact.email),defaultValue:p?.email,autoComplete:"new-password",options:{required:f!==!0}}})]})]})}const at=(e,o)=>`${e}.${o}`,gl=n.div`
|
|
330
330
|
display: flex;
|
|
331
331
|
flex-direction: column;
|
|
332
332
|
padding-top: ${a.sp3};
|
|
333
333
|
padding-bottom: ${a.sp9};
|
|
334
|
-
`,
|
|
334
|
+
`,bl=n.div`
|
|
335
335
|
display: flex;
|
|
336
336
|
flex-direction: column;
|
|
337
337
|
background-color: ${e=>e.theme.colors.grey5};
|
|
338
338
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
339
339
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
340
340
|
border-radius: ${a.sp2};
|
|
341
|
-
`,
|
|
341
|
+
`,xl=n(Q)`
|
|
342
342
|
color: ${e=>e.theme.colors.champion};
|
|
343
343
|
margin-bottom: ${a.sp3};
|
|
344
344
|
`,wl=n.div`
|
|
@@ -392,7 +392,7 @@ import{e as V,V as t,c6 as ne,x as m,c7 as vt,m as h,y as Ft,a7 as Ct,T as Tt,c8
|
|
|
392
392
|
border-bottom-left-radius: inherit;
|
|
393
393
|
border-bottom-right-radius: inherit;
|
|
394
394
|
}
|
|
395
|
-
`,Te={labelWidth:new m(100,100,140),mediumLabelWidth:new m(140,150,160),largeLabelWidth:new m(160,180,180)};function Cl({data:e,companyInfo:o,sectionId:p,isDisabled:i,isZeniUser:r,onScheduleClick:l}){const s=V(),{companyPassport:f,dateFormat:{visual:y}}=z.getLocalizedStrings(),u=Te.labelWidth.value(s),d=Te.mediumLabelWidth.value(s),I=Te.largeLabelWidth.value(s),O=e.company.company,{controllers:$,subscriptions:j}=e,{managementInfo:S}=O,g=s==="small"?f.zeniFinanceTeam.scheduleCallPlaceholderSmall:f.zeniFinanceTeam.scheduleCallPlaceholder,C=j.filter(
|
|
395
|
+
`,Te={labelWidth:new m(100,100,140),mediumLabelWidth:new m(140,150,160),largeLabelWidth:new m(160,180,180)};function Cl({data:e,companyInfo:o,sectionId:p,isDisabled:i,isZeniUser:r,onScheduleClick:l}){const s=V(),{companyPassport:f,dateFormat:{visual:y}}=z.getLocalizedStrings(),u=Te.labelWidth.value(s),d=Te.mediumLabelWidth.value(s),I=Te.largeLabelWidth.value(s),O=e.company.company,{controllers:$,subscriptions:j}=e,{managementInfo:S}=O,g=s==="small"?f.zeniFinanceTeam.scheduleCallPlaceholderSmall:f.zeniFinanceTeam.scheduleCallPlaceholder,C=j.filter(b=>b.plan?.plan.name!=null).map(b=>({text:b.plan?.plan.name,subText:b.subscription.subscription.startDate.format(y.MMMDCommaYYYYformat)})),c=Bt(j.map(b=>b.addOns.map(U=>({text:U.addOn.name,subText:b.subscription.subscription.startDate.format(y.MMMDCommaYYYYformat)})))),T=S.receiverEmails.map(b=>({text:b}));return t.jsxs(kl,{children:[t.jsx(Nl,{children:f.zeniFinanceTeam.title}),t.jsxs(Ll,{children:[t.jsx(vl,{label:{label:f.zeniFinanceTeam.controller,width:d},avatarLabels:{users:$.map(b=>b.user)}}),t.jsx(be,{}),r===!0?t.jsx(P,{isDisabled:i,label:{label:f.zeniFinanceTeam.scheduleCall,width:d},text:{type:"text",name:Tl(p,"meetingLink"),placeholder:g,defaultValue:o?.meetingLink?.toString()??"",autoComplete:"new-password",options:{pattern:_t}}}):o?.meetingLink!=null?t.jsx(ba,{label:{label:f.zeniFinanceTeam.scheduleCall,width:d},button:{buttonTitle:f.zeniFinanceTeam.schedule,onClick:()=>l(o.meetingLink)}}):null,T.length>0?t.jsxs(t.Fragment,{children:[t.jsx(be,{}),t.jsx(xe,{label:{label:f.zeniFinanceTeam.emailUs,width:u},bullettedLabels:{labels:T,listStyleType:"none"}})]}):null,C.length>0?t.jsxs(t.Fragment,{children:[t.jsx(be,{}),t.jsx(xe,{label:{label:f.zeniFinanceTeam.subscriptionPlans,width:I},bullettedLabels:{labels:C,listStyleType:"none"}})]}):null,c.length>0?t.jsxs(t.Fragment,{children:[t.jsx(be,{}),t.jsx(xe,{label:{label:f.zeniFinanceTeam.addons,width:d},bullettedLabels:{labels:c,listStyleType:"none"}})]}):null]})]})}const Tl=(e,o)=>`${e}.${o}`,kl=n.div`
|
|
396
396
|
display: flex;
|
|
397
397
|
flex-direction: column;
|
|
398
398
|
padding-top: ${a.sp3};
|
|
@@ -407,13 +407,13 @@ import{e as V,V as t,c6 as ne,x as m,c7 as vt,m as h,y as Ft,a7 as Ct,T as Tt,c8
|
|
|
407
407
|
`,Nl=n(Q)`
|
|
408
408
|
color: ${e=>e.theme.colors.champion};
|
|
409
409
|
margin-bottom: ${a.sp3};
|
|
410
|
-
`,
|
|
410
|
+
`,be=n.div`
|
|
411
411
|
display: flex;
|
|
412
412
|
flex: 1;
|
|
413
413
|
background-color: ${e=>e.theme.colors.grey3};
|
|
414
414
|
min-height: 1px;
|
|
415
415
|
max-height: 1px;
|
|
416
|
-
`,ze={width:new m(343,580,726),buttonWidth:new m(85,85)},lt="companyPassportPage",Ee="companyInfo",Ve="companyIncInfo",Me="companyTaxInfo",Ae="primaryContact",We="companyOfficer",Be="zeniFinanceTeam";function oo(e){const o=V(),p=Ft(),{companyPassportView:i,isZeniUser:r,filesEndPoint:l,authParams:s,allIndustries:f,allNationalityCountries:y,isCompanyVerified:u,isDisabled:d,isSettings:I=!1,onCompanyDetailsChanged:O,onCompanyOfficerUpdated:$,onNewCompanyOfficerAdded:j,onPrimaryContactDetailsUpdated:S,onNewCompanyOfficerRemoved:g,onSaveAll:C,onAddressClick:c,onScheduleClick:T,onBackClick:
|
|
416
|
+
`,ze={width:new m(343,580,726),buttonWidth:new m(85,85)},lt="companyPassportPage",Ee="companyInfo",Ve="companyIncInfo",Me="companyTaxInfo",Ae="primaryContact",We="companyOfficer",Be="zeniFinanceTeam";function oo(e){const o=V(),p=Ft(),{companyPassportView:i,isZeniUser:r,filesEndPoint:l,authParams:s,allIndustries:f,allNationalityCountries:y,isCompanyVerified:u,isDisabled:d,isSettings:I=!1,onCompanyDetailsChanged:O,onCompanyOfficerUpdated:$,onNewCompanyOfficerAdded:j,onPrimaryContactDetailsUpdated:S,onNewCompanyOfficerRemoved:g,onSaveAll:C,onAddressClick:c,onScheduleClick:T,onBackClick:b,onResetClick:U,onEditFileName:le,updateFilesEntity:q,onDeleteFile:$e,onClickMenuIcon:Se}=e,{companyView:H,localData:_,deleteFileStatusById:se,updateFileStatusById:re}=i,{companyFiles:K}=_,de={authParams:s,filesEndPoint:l,onEditFileName:le,onDeleteFile:$e,updateFilesEntity:q},[G,Z]=Y.useState(void 0),{companyDetails:ce,primaryContact:Oe,companyOfficerUpdateStatus:k,updateStatus:D}=_,{localData:pe,addressStatus:St}=ce,_e=Ct(D.fetchState),me=Object.values(k).filter(he=>he.localData!=null),R=Tt({mode:"all",defaultValues:it(_,f,y)});Y.useEffect(()=>()=>{Z(void 0)},[]),Y.useEffect(()=>{_e==="In-Progress"&&(D.fetchState==="Completed"||D.fetchState==="Error")&&(R.reset(it(_,f,y)),G!==D.fetchState&&Z(D.fetchState))},[G,R,_e,D,_,H,f,y,K]),Y.useEffect(()=>{const he=R.watch((Re,{name:Ye})=>{Ye!=null&&Re!=null&&kt(()=>(async(J,v)=>{if(J.includes(Ee)||J.includes(Ve)||J.includes(Me)||J.includes(Be)){const{companyInfo:M,companyIncInfo:N,companyTaxInfo:X,zeniFinanceTeam:je}=v;O({companyInfo:M,incInfo:N,taxDetails:X,zeniFinanceTeam:je})}else if(J.includes(Ae)){S(v.primaryContact);const M=v.companyOfficer.map(N=>N.userId);if(v.primaryContact.userId!=null&&M.includes(v.primaryContact.userId)){const N=M.findIndex(X=>X===v.primaryContact.userId);N>=0&&$({...v.companyOfficer[N],name:v.primaryContact.name,officerType:`Officer_${N+1}`})}}else if(J.includes(We)){const M=parseInt(J.split(".")[1]);if(M>=0)$({...v.companyOfficer[M],officerType:`Officer_${M+1}`}),v.companyOfficer[M].userId!=null&&v.companyOfficer[M].userId===v.primaryContact.userId&&S({...v.primaryContact,name:v.companyOfficer[M].name});else if(v.companyOfficer.length>me.length){const N=v.companyOfficer[v.companyOfficer.length-1];j(N)}else{const N=v.companyOfficer.filter(X=>X.officerType!=null);if(N.length<me.length){const X=N.map((je,Dt)=>{const Ue={...je,officerType:`Officer_${Dt+1}`};return $(Ue),Ue});N.length<me.length&&(g(`Officer_${N.length+1}`),R.reset({companyOfficer:X}))}}}})(Ye,Re))});return()=>{he.unsubscribe()}});const Ot=R.handleSubmit(he=>{G!=null&&Z(void 0),C()}),{companyPassport:ue,common:{settings:jt}}=z.getLocalizedStrings();if(H==null)throw new Error("Company View is null");return t.jsxs(Pl,{children:[t.jsx(Lt,{title:ue.title,backgroundColor:p.colors.grey4,style:{zIndex:3},onBackClick:b,showBackButton:!I,showMenuIcon:!!I&&(o==="medium-compact"||o==="small"),source:"CompanyPassportPage",onClickMenuIcon:Se}),G!=null?t.jsx(Ta,{fetchState:G,onRemoveSnackbar:()=>Z(void 0)}):null,t.jsxs(zl,{children:[t.jsx(El,{windowSize:o,children:I?jt.infoText.companyDetails:ue.quickAccessInfo}),t.jsx(Nt,{...R,children:t.jsxs("form",{id:ot(lt),onSubmit:Ot,children:[t.jsx(Ba,{sectionId:Ee,companyInfo:pe?.companyInfo,companyViewData:H,companyAddress:St,isDisabled:d,isCompanyVerified:u,onCompanyAddressClick:c,allIndustries:f,allNationalityCountries:y}),t.jsx(ka,{sectionId:Ve,updateFileStatusById:re,deleteFileStatusById:se,companyFiles:K,companyIncInfo:pe?.incInfo,fileProps:de,isDisabled:d}),t.jsx(cl,{sectionId:Me,updateFileStatusById:re,deleteFileStatusById:se,companyFiles:K,companyTaxInfo:pe?.taxDetails,fileProps:de,isDisabled:d}),t.jsx(yl,{sectionId:Ae,primaryContact:Oe.localData,isDisabled:d}),t.jsx(Za,{companyOfficers:me,sectionId:We,isDisabled:d,onOfficerAddressClick:c}),t.jsx(Cl,{data:H,companyInfo:pe?.companyInfo,isDisabled:d,isZeniUser:r,sectionId:Be,onScheduleClick:T})]})})]}),Pt(R.formState.dirtyFields)||la(_,H,K)?t.jsx(zt,{formId:ot(lt),primaryBtn:{label:ue.save,isLoading:D.fetchState==="In-Progress",style:{width:ze.buttonWidth.value(o)},isDisabled:e.isDisabled!=null},cancelBtn:{label:ue.cancel,style:{width:ze.buttonWidth.value(o)},onClick:()=>{R.reset(),U()}}}):null]})}const ot=e=>`${e}_form`,it=(e,o,p)=>{const{companyDetails:i,primaryContact:r,companyOfficerUpdateStatus:l}=e,s=z.getLocalizedStrings().companyPassport,f=i.localData?.incInfo.fileId!=null?[i.localData?.incInfo.fileId]:[],y=i.localData?.taxDetails.fileId!=null?[i.localData?.taxDetails.fileId]:[],u=i.localData?.companyInfo;return{[Ee]:{...Et(i.localData?.companyInfo??{},["meetingLink","companySourceOfFunds","companySourceOfFundsDescription","countriesOfOperations","transactionVolume","transactionVolumeDescription","regulatedStatus","regulatedStatusDescription","usNexus","usNexusTypes","purposeOfAccount","purposeOfAccountDescription","companyIndustryType","companySubIndustry"]),businessModel:{selectedOption:u?.businessModel,allOptions:s.companyInfo.allBusinessModels},website:u?.website?.toString()??"",industry:{selectedOption:u?.industry,allOptions:o?.map(d=>d.code)},companyIndustryType:{selectedOption:u?.companyIndustryType,allOptions:[...ht]},subIndustry:{selectedOption:u?.companySubIndustry,allOptions:ke(u?.companyIndustryType)},firstMonthOfFY:u?.firstMonthOfFY,companySourceOfFunds:{selectedOption:u?.companySourceOfFunds,allOptions:[...ut]},companySourceOfFundsDescription:u?.companySourceOfFundsDescription,countriesOfOperations:nt(u?.countriesOfOperations,(p??[]).map(d=>d.countryCode)),transactionVolume:{selectedOption:u?.transactionVolume,allOptions:[...mt]},transactionVolumeDescription:u?.transactionVolumeDescription,regulatedStatus:u?.regulatedStatus??"",regulatedStatusDescription:u?.regulatedStatusDescription,usNexus:u?.usNexus??"",usNexusTypes:{selectedOptions:u?.usNexusTypes??[],allOptions:[...pt]},purposeOfAccount:{selectedOption:u?.purposeOfAccount,allOptions:[...ct]},purposeOfAccountDescription:u?.purposeOfAccountDescription},[Me]:{...i.localData?.taxDetails,taxesFiledYears:{selectedOptions:i.localData?.taxDetails.taxesFiledYears.map(d=>d.toString())??[],allOptions:ft().map(d=>d.toString())},einDocument:e.companyFiles.find(d=>d.documentType==="tax_ein"),fileIds:y},[Ve]:{typeOfInc:{selectedOption:i.localData?.incInfo?.typeOfInc,allOptions:s.companyIncInfo.allTypesOfIncorporation},stateOfInc:{selectedOption:i.localData?.incInfo?.stateOfInc,allOptions:s.companyIncInfo.allStatesOfIncorporation},incDate:i.localData?.incInfo.incDate?.toDate(),certificateOfIncorporation:e.companyFiles.find(d=>d.documentType==="certificate_of_incorporation"),fileIds:f},[Ae]:{userId:r.localData?.userId,name:{firstName:r.localData?.firstName,lastName:r.localData?.lastName},email:r.localData?.email},[We]:Object.values(l).filter(d=>d.localData!=null).map(d=>{const I=d.localData;return{userId:I.userId,officerType:I.officerType,name:{firstName:I.firstName,lastName:I.lastName},email:I.email,phone:I.phone}}),[Be]:{meetingLink:i.localData?.companyInfo.meetingLink?.toString()??""}}},Pl=n.div`
|
|
417
417
|
display: flex;
|
|
418
418
|
min-height: 100%;
|
|
419
419
|
flex-direction: column;
|