@zeniai/web-cockpit-ui 1.15.11-dev → 1.15.12-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-CR6ypd9o-CPuvu8Ya.js → ACHDetailsPage-BY65AQjO-Cl2Tlmft.js} +3 -3
- package/dist/assets/{AIPerformancePage-C1OU9y7O-Cy2fQhSN.js → AIPerformancePage-B0a7EX_p-BepCOVvT.js} +17 -17
- package/dist/assets/AccountInfoPage-DUYpaV3v-CL9yEZEk.js +18 -0
- package/dist/assets/{AccountInfoPageContent-CrSVf_Od-DxUVjtpH.js → AccountInfoPageContent-BsSGhNw9-Bhg40nPQ.js} +13 -13
- package/dist/assets/{AccountLockedInfoModal-DNU_J1FV-BrQt7SPM.js → AccountLockedInfoModal-uPOYP0OH-gMh9hb_c.js} +3 -3
- package/dist/assets/{AccountReconDetailsDrawerPage-DghCIWni-WUADgsvH.js → AccountReconDetailsDrawerPage-BgPmbG_g-9wGOY4BN.js} +6 -6
- package/dist/assets/{AccountRow-CYv0Uw-I-DQCZ-Htb.js → AccountRow-B9ZIzZy7-C9nPv4rY.js} +22 -22
- package/dist/assets/{AccountsPromoCardStack-BANu3wYt-CQ0iVQrx.js → AccountsPromoCardStack-BLcpWU3T-CV6K5Y9x.js} +8 -8
- package/dist/assets/AddAddressForCardDrawer-B1oucxyM-I6biD8O7.js +6 -0
- package/dist/assets/{AddToWalletPage-C8keLYK6-Bn2sefuz.js → AddToWalletPage-B1GVnxRf-CndQH9vq.js} +7 -7
- package/dist/assets/{AgingReportsPage-L84_Ka8x-B6lkNbiG.js → AgingReportsPage-Bpp4te8m-HodwoOcT.js} +3 -3
- package/dist/assets/{AllUserItems-Duwm6ypi-CNUX4dOE.js → AllUserItems-CzugF5fn-8WnbDsqH.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-MH7SN7mP-D7GEtWSd.js → ApAgingDetailPage-CyUQeZY0-DHH2Dilv.js} +4 -4
- package/dist/assets/{AppBasePage-DpK4Drat-Bt4q9XbU.js → AppBasePage-Di7hObbX-uZJvqLhK.js} +6 -6
- package/dist/assets/{AppDrawerContent-CR_WXwBz-CFNPiFQp.js → AppDrawerContent-KdrUuifo-DcEK8qwb.js} +5 -5
- package/dist/assets/{ApprovalRulesSettingsPage-DD2E4NU5-DpHAD8Ti.js → ApprovalRulesSettingsPage-BRIgTh7x-CF-Pagn9.js} +1 -1
- package/dist/assets/{ArAgingChart-q1DoAAzl-IMdyrhPv.js → ArAgingChart-DeE5uhiT-BcI5cuvH.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-BKqFTdkz-kMEm6GPZ.js → ArAgingDetailPage-CFiIUBWl-BXhWrXr_.js} +2 -2
- package/dist/assets/{AttachmentView-CwbFyo5O-DSfNvuAU.js → AttachmentView-CfacSLcU-gwYezuYM.js} +7 -7
- package/dist/assets/{BankAccountSection-DNYhcdas-Ddz8QKzl.js → BankAccountSection-Bm8vdxFd-DKKdvH8R.js} +6 -6
- package/dist/assets/{BankAccountWarningSection-B6AIe7nT-BcHAPM_q.js → BankAccountWarningSection-M3w6kP33-ChP5wvhC.js} +13 -13
- package/dist/assets/{BankConnectionsSettingsPage-BQSAz9yS-R3TufSTo.js → BankConnectionsSettingsPage-Dfrp0CKz-Dc4Qac0T.js} +9 -9
- package/dist/assets/{BillDetailPage-CJMkS2TO-CUCvdJLF.js → BillDetailPage-BA1D1bO3-Ofkt6QPd.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-CWCmHWbz-BO-G290w.js → BillPayApprovalRuleDetailPage-DR8YzZt1-CQcbdF34.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-0_wlhyx9-CKOGyW5d.js → BillPayApprovalRulesPage-CfZ4aSPM-C6nI7yKc.js} +11 -11
- package/dist/assets/{BillPayPromoPage-CKOYCq5V-C6OfnMF1.js → BillPayPromoPage-CP9Nvd2Q-CSZ8mSrV.js} +4 -4
- package/dist/assets/{BillPaySetUpPage-Dibv-FD4-kIfalP85.js → BillPaySetUpPage-BwEONKu_-DARv5ESb.js} +6 -6
- package/dist/assets/{BillingSettingsPage-CG9gklV0-CGGGPaut.js → BillingSettingsPage-DicGyWCt-DwbmjVcE.js} +6 -6
- package/dist/assets/{BillsBulkReviewDrawerPage-Cgof7dpG-BwYBq9-d.js → BillsBulkReviewDrawerPage-fS3-YEdi-DKZKHDla.js} +1 -1
- package/dist/assets/{BoxItem-DD7d5_ky-D2d9aLr-.js → BoxItem-Cr0Y9YBV-C2AawtqJ.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-KfKed7nf-Bzkiryv0.js → BusinessVerificationPage-CvL9cdJm-Drj-tMQU.js} +3 -3
- package/dist/assets/CardNumberSubText-CXBKzGK5-CCtn2y_n.js +21 -0
- package/dist/assets/{CashbackDetailPage-D1ejnH4R-BltiUdCI.js → CashbackDetailPage-DOdPOiws-CAJxdhJ3.js} +11 -11
- package/dist/assets/{ChargeCardDetailPage-Cvs-BEKp-Bqa3oM5k.js → ChargeCardDetailPage-DfhAyysD-Cgd92Yem.js} +1 -1
- package/dist/assets/{ChargeCardListPage-CW0WF8w6-DBIJI8Xw.js → ChargeCardListPage-Bnnu4TVk-DFZAYaNm.js} +20 -20
- package/dist/assets/{ChargeCardListTable-43l6tEOp-BbcKoGZ2.js → ChargeCardListTable-D7zGM8uo-70otSDDQ.js} +40 -40
- package/dist/assets/{ChargeCardPaymentHistoryPage-fpQhp74g-BLq-AFt8.js → ChargeCardPaymentHistoryPage-U00GbINt-BIwIfF30.js} +13 -13
- package/dist/assets/ChargeCardPromoPage-BpBiwjfr-DWB9eQGN.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-CFR2KfLW-Bj3pYNfL.js → ChargeCardSetupPage-Duj6901M-CIASuReJ.js} +4 -4
- package/dist/assets/{ChargeCardStatementsPage-BMYUlzTk-CZ02SfTF.js → ChargeCardStatementsPage-IkU86L31-ClrDQTtP.js} +4 -4
- package/dist/assets/{CheckDepositDrawerPage-BXWeeMR7-BYN5c48i.js → CheckDepositDrawerPage-fHeTkRJF-CdLdCkIH.js} +13 -13
- package/dist/assets/{CollapsableReportTable-CZJ_4MUf-TH_6P-Y_.js → CollapsableReportTable-DUo-9gOh-B_gwOhYJ.js} +32 -32
- package/dist/assets/{CompanyOfficerDetailsSection-b2itwQOK-DbOlSBag.js → CompanyOfficerDetailsSection-DzDZe6MU-DWguMF6d.js} +10 -10
- package/dist/assets/{CompanyPassportCard-C5C3AykH-DcHAKmoT.js → CompanyPassportCard-BwiwJ82k-WRVY9XX8.js} +4 -4
- package/dist/assets/{CompanyPassportPage-D9zWgLlj-CWyCqrqW.js → CompanyPassportPage-Bz3rzG9k-e3d2ccIM.js} +15 -15
- package/dist/assets/{CompleteProfile-CMnTwbXr-DZqd8rFQ.js → CompleteProfile-CRXV-nNq-DpRL426l.js} +2 -2
- package/dist/assets/ConfettiBurst-CapRdPno-Dlg4XvfD.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-CthcMxEa-PQhPjSjB.js → CreateOrEditVendorPage-BjPotKnf-De1W0m4N.js} +12 -12
- package/dist/assets/{CreditCardPaymentDrawerPage-LD349Ert-C4Wbd8yP.js → CreditCardPaymentDrawerPage-BTZ2Lph6-DMwCUXwV.js} +13 -13
- package/dist/assets/{CurrencySelectField-iXGB-cNy-BRjQHy5W.js → CurrencySelectField-DY0HeU0G-CSYPXeIb.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-BuZrVCRr-DQvZbF43.js → CustomerOnboardingActivationPage-BIKXkkcY-IFMHYYO1.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-DZfFYnVw-BG6Jz35S.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-L4WssPjU-BL2-a44j.js → CustomerOnboardingDetailPageSkeleton-DYiAmFsM-C0-Ot9Uw.js} +9 -9
- package/dist/assets/{CustomerOnboardingNoStepsPage-Bqv6vbYJ-B4xhs9JC.js → CustomerOnboardingNoStepsPage-gssFllMT-DT9hupvU.js} +9 -9
- package/dist/assets/{CustomerOnboardingPage-D7YVlzdy-GqcXPa-d.js → CustomerOnboardingPage-CBJHj8BH-KUidrPxI.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-DLzC-lxj-pVKJNYgp.js → CustomerOnboardingProductSuitePage-2V3vSjB8-BYRuju-o.js} +12 -12
- package/dist/assets/{Dashboard-BgpeTLE--ZF2wZzkh.js → Dashboard-BVvkfPf9-hp4sQi7A.js} +1 -1
- package/dist/assets/{DashboardReportPage-DJtJdsj5-D0j90p2O.js → DashboardReportPage-DHQ79h9V-C3FgTbgA.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-CL6vWi6p-DaXPDfmE.js → DashboardSidebarBackgroundAnimation-B8Q-YA_s-DLXiBeQj.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-B8Kledeo-BlVCqg6w.js → DepositAccTransactionItem-DZnqI7IQ-DR0NgZ86.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-DYBIAd7n-gVv7-TK3.js → DepositAccTransactionListPage-BMNdp-3Q-CyOUea8P.js} +4 -4
- package/dist/assets/{DomesticWireDetailsPage-Bm-bfxSa-rYZYhMWI.js → DomesticWireDetailsPage-CCP6xoW_-BlmZjbpt.js} +1 -1
- package/dist/assets/{DownloadOverlay-CAfyh0W2-BJk2KPOA.js → DownloadOverlay-B2bK30rG-B-m5Mv2I.js} +18 -18
- package/dist/assets/{DrawerPage-DUeVKq0Q-DB8bkP9s.js → DrawerPage-BRJDrBlv-D28-uO54.js} +8 -8
- package/dist/assets/{EditPeoplePage-dVrpOcc1-DgbweCi9.js → EditPeoplePage-I8E1Rs3x-DbyrgA_C.js} +6 -6
- package/dist/assets/{EditReimbursementDetailPage-xWwm-k8T-Hs0cdO6C.js → EditReimbursementDetailPage-C7BPmFMR-DTPMhwLH.js} +19 -19
- package/dist/assets/EntityDetailPage-BraBJ2k1-Wq1E4JPl.js +18 -0
- package/dist/assets/{EntitySummarySection-CTU-YsQl-CSwZth_c.js → EntitySummarySection-DPmL3Bnf-CHA6TrKp.js} +5 -5
- package/dist/assets/{ExpenseAutomationOverviewPage-DCbcWM84-DHrtqP9f.js → ExpenseAutomationOverviewPage-CDaO_5Vj-gZyomnai.js} +12 -12
- package/dist/assets/{ExpenseAutomationPage-DbFQ6EeA-C0i_UBmZ.js → ExpenseAutomationPage-DUenmMQD-Yh_8CeIf.js} +59 -59
- package/dist/assets/{ExpressPayPage-DMLKT4Nf-6YIrNvk0.js → ExpressPayPage-DxO1mXNE-DeRja-sm.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-DFsZRRmZ-KGYTIegX.js → FeaturePreviewPage-BWPNZcYs-CdJLxzVS.js} +1 -1
- package/dist/assets/{FollowStepsSection-DkBj9-hs-mJdSbXed.js → FollowStepsSection-DhVGeocZ-Ddk_z58q.js} +6 -6
- package/dist/assets/{GlobalReviewListPage-D1fbfssG-CByDE9EN.js → GlobalReviewListPage-8eiQXg7N-pPWYTyKl.js} +5 -5
- package/dist/assets/{InformationCardStack-CBsOTiOc-CgAe3fDD.js → InformationCardStack-CHVjIv01-Y1Eih__r.js} +2 -2
- package/dist/assets/{InsightsCardStack-BEpCIgoE-Bd7MJjyH.js → InsightsCardStack-x_tohY2Z-DNptH2Sv.js} +2 -2
- package/dist/assets/{InsightsSection-DcKb1p5B-QoDxUPcZ.js → InsightsSection-D7g00fg7-Bl1k6KMG.js} +2 -2
- package/dist/assets/{IntegrationsSettingsPage-CMEV5P0b-3g_v4D8X.js → IntegrationsSettingsPage-DVRtPRi9-ig1iJJpM.js} +10 -10
- package/dist/assets/{InternationalWireSwiftDetailsPage-Bukfo0LC-DGIPKWPe.js → InternationalWireSwiftDetailsPage-DnWbUuiD-CIWMoecY.js} +11 -11
- package/dist/assets/{InternationalWireVerificationPage-nZvCemaM-DntrzxyD.js → InternationalWireVerificationPage-CHvUYgd8-B9TQJM22.js} +3 -3
- package/dist/assets/{InviteFormPage-BpgeFttq-BbrTw2ZL.js → InviteFormPage-Cw0TIkwc-D0dTmTLg.js} +25 -25
- package/dist/assets/{InvitePageListView-B6wJomGk-pTRfOIaC.js → InvitePageListView-B4gEzFp2-1aqNeIHc.js} +19 -19
- package/dist/assets/{InvitePeoplePage-BArRXjlz-BHQlwXvg.js → InvitePeoplePage-Bnsqv_IY-DhNBoZS8.js} +5 -5
- package/dist/assets/{InvoiceUploadSection-CTqSftrm-CyVrgEkl.js → InvoiceUploadSection-CW4hHmAi-DKFSw8te.js} +20 -20
- package/dist/assets/{IssueChargeCardPage-DYG5IXrC-D-2m3p9R.js → IssueChargeCardPage-sM826Uvu-DMhbp0aa.js} +21 -21
- package/dist/assets/{LabeledAddressValue-D09c5wJR-784mespz.js → LabeledAddressValue-AuzW29LK-99vdzqZR.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-Cac2YPpN-Ba7qdzlE.js → LabeledAddressValueField-C_KatgTA-ByiPbJgm.js} +1 -1
- package/dist/assets/LabeledControlledCheckBoxField-CEd7DSmU-mOU-S2fp.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-DdqOGBwp-DSHkYk9h.js → LabeledCountryMultiSelectField-CffMX6f1-C44H-4q3.js} +12 -12
- package/dist/assets/{LabeledCreatableSingleSelectField-K0xUavli-THytCXMe.js → LabeledCreatableSingleSelectField-CoS6DIi_-DTDCa09f.js} +2 -2
- package/dist/assets/LabeledDocumentField-CVBhbPHv-9665D02s.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-Dms9ziRv-CJQkVxrk.js → LabeledDropDownFormattedTextField-CNru68eT-GPSUv36b.js} +5 -5
- package/dist/assets/{LabeledMultiSelectField-X5GGPnfG-0qUfOlj0.js → LabeledMultiSelectField-CTqXa2Rh-Cxu9DNT8.js} +1 -1
- package/dist/assets/{LabeledText-BJrI_PVT-oE-g3K8U.js → LabeledText-Da0Yn6u8-CFgd90E4.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BmMN3W3F-BzPJ9P_-.js → LabeledUserSingleSelectWithSubtitlesField-CE332GjA-BafYQ_Pm.js} +9 -9
- package/dist/assets/{LabeledZeniRolesDropDownField-PsaKyCCY-EbSrXIJy.js → LabeledZeniRolesDropDownField-DU4-ho4X-DQBIg45w.js} +7 -7
- package/dist/assets/{LinkJETransactionPage-BDIpw0zn-B_cGLw9N.js → LinkJETransactionPage-Dx4OE1-O-HLvvvZHd.js} +9 -9
- package/dist/assets/{LockCardPage-ChGk6VJX-BzQI96FY.js → LockCardPage-B3P6wcK_-Ckpg2eew.js} +23 -23
- package/dist/assets/{LowBalancePopup-Bv3kKmAV-DSB2Ymlf.js → LowBalancePopup-Dp1vEYQQ-DIw_NRSy.js} +5 -5
- package/dist/assets/MagicLinkACHDetailsPage-BeRQFYX3-CrMUHXPB.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-C1DDZC2_-CWTR8m-D.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DyDp04Vn-UtoyLAup.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-ySlQc8oV-BspPWH9Z.js → MagicLinkSuccessPage-Iva17nX0-DhK2jGAZ.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-C_OYT1do-NbVFRCAZ.js → MagicLinkTitleSection-B726bP_P-CoT1ZO_f.js} +1 -1
- package/dist/assets/MailingDetailsSection-IQJY4Yl0-C_b76P8R.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-CxaXh1Aj-CwKK_h51.js → MyBankConnectionsSettingsPage-Ad6xGN08-JjXBlik9.js} +6 -6
- package/dist/assets/{MyPendingActivationChargeCardListPage-B9mNbLDd-Db1Atl2l.js → MyPendingActivationChargeCardListPage-BYZ61huS-YKZjMs5X.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-DDERIXlZ-CjalvgMv.js → MyProfileSettingsPage-bEru4GQJ-Cj303JTH.js} +6 -6
- package/dist/assets/{NavBarWithPicker-BJ_8PHPv-B6R9nMuM.js → NavBarWithPicker-BAKrtv3g-BXBcsUFZ.js} +4 -4
- package/dist/assets/{NavigationArrow-9HOMBxoh-CWFuMeOE.js → NavigationArrow-CKvBs9-h-DGD1r2EE.js} +1 -1
- package/dist/assets/{NavigationDots-DPf5iy8f-DNlf5jCf.js → NavigationDots-BdcVrwsL-D_WEvn6f.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-1MfUlwkA-Dx3DZ-ZO.js → NewGlobalMerchantPage-Cx38uQAS-BBICE4OG.js} +7 -7
- package/dist/assets/{NoDataChart-CDHiYyiO-DHWgty-U.js → NoDataChart-BbyxZE2g-CtN5BYbf.js} +2 -2
- package/dist/assets/{NoDataTable-BoAJZxdS-ClNYPP1-.js → NoDataTable-BNZWGvtm-S9Fe9Ovx.js} +1 -1
- package/dist/assets/{NotFoundPage-C-EoeDss-DqOvJ6YN.js → NotFoundPage-CssnEz-k-ccXdF3op.js} +7 -7
- package/dist/assets/{NotificationSettingsPage-BfFNx-vu-Byo7BJZr.js → NotificationSettingsPage-DmgxnO9I-BH2rOJH7.js} +15 -15
- package/dist/assets/{NotificationsListConfig-CBQwRqMo-DVBdjTys.js → NotificationsListConfig-DdMKLqFI-DwvXMwFg.js} +1 -1
- package/dist/assets/{NotificationsPage-BPfRskWZ-_QOFXGgt.js → NotificationsPage-B9XIE39J-CejudHUF.js} +12 -12
- package/dist/assets/{OpExByVendorPage-BLI8h8LP-PGQ9bnDo.js → OpExByVendorPage-5wnFvYXt-D6A9jnRY.js} +4 -4
- package/dist/assets/{OverlayContainerPage-IDTUbuAC-B16J5Isr.js → OverlayContainerPage-IDTUbuAC-dv-sDcTQ.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DvT1WQdL-CPylI6Uc.js → PandLWithForecastPage-CrtKdSaD-CYng6puq.js} +7 -7
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CyfKYJV3-CnunCi1o.js → PaymentAccountSetupBillingAddressSection-CQki5l4P-CuMomXeK.js} +9 -9
- package/dist/assets/{PeoplePage-BHfn-oLF-CGOapKvG.js → PeoplePage-BCjxJl1y-JBCpiTMQ.js} +10 -10
- package/dist/assets/{Preview-B9tjpKKL.js → Preview-DMKZka6j.js} +1 -1
- package/dist/assets/{ProductsCarousel-ChWN6HhX-DEhcI5NW.js → ProductsCarousel-BYvlY6Jl-BJ6Pqq3q.js} +1 -1
- package/dist/assets/{PromoBaseCards-BWpqciJW-DEw7mp3r.js → PromoBaseCards-6vRaZnUg-CBqkAept.js} +12 -12
- package/dist/assets/{QBOConnectionDialog-D9wVm2ga-jv2cIUQM.js → QBOConnectionDialog-C-v9bhUW-CtiRv4Zj.js} +2 -2
- package/dist/assets/{QBOSetupSection-CR7JQ_H9-CokKwnfI.js → QBOSetupSection-DPhwp1AB-DxJDpMHr.js} +11 -11
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-RTvnT_vl-D0AOYl_B.js → ReimbursementApprovalRuleDetailPage-Crz8RArL-DQzyot-2.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-Dbs4lLSo-5JjLiWWQ.js → ReimbursementApprovalRulesPage-CHrPVveg-DDlyKkun.js} +13 -13
- package/dist/assets/{ReimbursementDetailPage-COF-QqKR-BLj9_Zcn.js → ReimbursementDetailPage-BlfifQuc-DXXQTfQu.js} +8 -8
- package/dist/assets/{ReimbursementPromoPage-DSHynwPv-CMfUTDoh.js → ReimbursementPromoPage-B6rhhOye-CmIRL-Wr.js} +12 -12
- package/dist/assets/{ReimbursementSetUpPage-CafAtAVr-BdH5_Uu6.js → ReimbursementSetUpPage-BQwRjKZ5-CWVOKlly.js} +7 -7
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Cz8keUEO-C42JglzT.js → ReimbursementsBulkReviewDrawerPage-BTaFn0Mh-DXx1vhRK.js} +1 -1
- package/dist/assets/{ReloadCard-Bf1jxC4B-CjPHohhm.js → ReloadCard-DETUOoLJ-Dww2RtAQ.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-DOQm7O9r-DcS436ql.js → ReportTableViewSelector-DSDclygb-CPmwPKtZ.js} +29 -29
- package/dist/assets/{ReportsPage-Deg59aYB-VaMTaqOC.js → ReportsPage-BrmMmYET-qm3o80ge.js} +4 -4
- package/dist/assets/{RevenueChart-C1RR_51e-Bn1LRvSc.js → RevenueChart-B711QWTX-ztc9NA65.js} +17 -17
- package/dist/assets/{ReviewDetailsPage-D3bqGZYb-DmpMCAqo.js → ReviewDetailsPage-Bkw0FfE--BL2mmyys.js} +52 -52
- package/dist/assets/{ReviewOverlay-CKB9LulM-CUNk2W-s.js → ReviewOverlay-CkB3Z8hH-CX5FMXRQ.js} +11 -11
- package/dist/assets/{RoleWithToolTip-BGlbeXtJ-BQ5iinOT.js → RoleWithToolTip-CkpqxMzB-CgYpd1vG.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-D4OkyPNa-6prKuM88.js → ScheduleDetailsFixedAssetsPage-C-4zVu03-B-3H4CNH.js} +9 -9
- package/dist/assets/{ScheduleDetailsPage-9oUScaFD-Czq02-r0.js → ScheduleDetailsPage-D4mYRUnv-CIK0kUkx.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-CuOC0Niz-BzAvMkBB.js → ScheduleSequenceTable-q-031a_C-Cl6g3k1V.js} +8 -8
- package/dist/assets/{ScreenRoutes-DhG0rKVC.js → ScreenRoutes-D9-sd0S3.js} +1 -1
- package/dist/assets/{SetUpAccountSection-CK2Ibij3-DvyPJ8FZ.js → SetUpAccountSection-Mm8JelXc-DJkSxyLc.js} +6 -6
- package/dist/assets/{SignIn-CLLS0cqt-G1jKv-f1.js → SignIn-faWXqi7o-BVPJ-uzq.js} +16 -16
- package/dist/assets/{SignInScreen-BdhVUUiU.js → SignInScreen-DTTr8TvQ.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-C1hg05PB-BMXGChah.js → SpendManagementListViewPage-BLWEPKWO-zjDi64vH.js} +6 -6
- package/dist/assets/{SpendManagementPerTabPage-7uggjzlM-BBdEOhcD.js → SpendManagementPerTabPage-vZNK6DuA-DHQi0ok2.js} +23 -23
- package/dist/assets/{SpendManagementSection-DFiL_yNI-ca-vlRub.js → SpendManagementSection-CeDmloNd-CJQVf2yR.js} +1 -1
- package/dist/assets/StatementItem-CJShifEl-gXZiawe9.js +31 -0
- package/dist/assets/StatementsPage-BRxP-Jwn-CibgKP9E.js +58 -0
- package/dist/assets/{StatusSwitcher-DPzwQ_o1-DkaIBc47.js → StatusSwitcher-CPuONMOx-IUewbXcR.js} +1 -1
- package/dist/assets/{SubTabSwitcher-Dztt2rN9-DqHo5u0Z.js → SubTabSwitcher-ibTbIxr5-87SzITqK.js} +1 -1
- package/dist/assets/SummaryCard-vWpHXMPE-j4-YbXA_.js +1 -0
- package/dist/assets/{TaskManagementPage-BRAt26fv-om-zuIgh.js → TaskManagementPage-COs5ebo9-LStJ5YyB.js} +22 -22
- package/dist/assets/{TimeRangeSwitcher-DMCbeOcI-C4mgjK4U.js → TimeRangeSwitcher-fD5vvYGO-Cg6AHBEd.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-YCgPbEnk-CJUz-kg1.js → TimeframeSwitcher-BYXKRKtc-BTNUudrw.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-BBJP1nmh-D1jTbV4O.js → TimeframeSwitcherWithToggle-f92qNjEk-CshyNxhp.js} +2 -2
- package/dist/assets/{TopExCard-LesAF7Ot-CWhGtv9n.js → TopExCard-Bs4nI9Q9-C9Jpq9jc.js} +10 -10
- package/dist/assets/{TopExDetailPage-BTG2W95T-CAgJv3QR.js → TopExDetailPage-B0kS11k0-IiO7dIt-.js} +8 -8
- package/dist/assets/{TransactionDetailPage-BqHVfK2K-CBoMen48.js → TransactionDetailPage-BXl6y7sy-B_wNV2dF.js} +1 -1
- package/dist/assets/{TransactionList-CGmpQyNM-BGohJsUE.js → TransactionList-BYXPQXN1-C2WkgSOj.js} +11 -11
- package/dist/assets/{TransactionListBig-CSYpIxGa-Bd2xJZzC.js → TransactionListBig-lrbHUS38-D0fzERPt.js} +16 -16
- package/dist/assets/{TransactionListPage-CV5U_pA6-DsUhS_R3.js → TransactionListPage-OOLJzsmw-Dmoozb9S.js} +2 -2
- package/dist/assets/{TransactionVendorDetailPage-DvqHmq7y-C8mjIShR.js → TransactionVendorDetailPage-CmjrngD2-DvxXX996.js} +4 -4
- package/dist/assets/{TransferDrawerPage-Cm5reG35-B5qd6-NU.js → TransferDrawerPage-CnFrzA_M-C6390hZV.js} +15 -15
- package/dist/assets/{TreasuryOverviewPage-CwcehiRb-BBfaI9Ls.js → TreasuryOverviewPage-CGxccIcU-CgXb0qH5.js} +25 -25
- package/dist/assets/{TreasuryPromoPage-BagqhZgO-BswlnynL.js → TreasuryPromoPage-BmMVa8cX-BOYWbSX7.js} +8 -8
- package/dist/assets/{TreasuryStatementsPage-o-ID2nvn-DTg8AAgQ.js → TreasuryStatementsPage-DL94A9mN-DZ6yoZ74.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-D9f3ohGF-DEP20r26.js → TreasuryTaxLetterPage-BJ9-ZsCQ-DnDmd1Op.js} +2 -2
- package/dist/assets/{TrendChart-CqxpheW7-DiPHNgeC.js → TrendChart-ClyJQTBF-TLthRW_O.js} +1 -1
- package/dist/assets/{TrendWithTransactions-CK_je__x-C1Qk91i9.js → TrendWithTransactions-D4m4sVkf-DJ-5Yugx.js} +4 -4
- package/dist/assets/{UncategorizedAccountsMappingPage-BBYQFJxE-nEmuJTEW.js → UncategorizedAccountsMappingPage-BLwx8CVj-dhOY5qHO.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-ULhazfl5-DPlYAGvC.js → UnitIntegrationPage-CgbOyIBt-nz_B7FQx.js} +10 -10
- package/dist/assets/{UploadAdditionalDocumentOverlay-BPNLdaLG-DQNAWd7N.js → UploadAdditionalDocumentOverlay-CmVwCxA2-BL_6rNZZ.js} +1 -1
- package/dist/assets/Vendor2FAPopup-DQtP0bm--CecMTi1i.js +1 -0
- package/dist/assets/VendorACHDetailsPage-CuCteqbL-CrfAmoz7.js +1 -0
- package/dist/assets/{VendorDetailPage-DPiVnh93-CAOlBr9d.js → VendorDetailPage-CFkDOdUe-B1GqtBiD.js} +93 -93
- package/dist/assets/VendorDomesticWireDetailsPage-Cr1fyB0u-N7obKAAe.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-CFrvW8qi-C-v6Mx4-.js → VendorFiling1099EditablePage-Bkn9p2Sf-xXTYWhq9.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-CRLGuw2s-wfeT2fAg.js → VendorFirstReviewPage-CKvnB4Q7-wJi46XXQ.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-CV11lzdw-BWhlaMax.js → VendorInternationalWireDetailsPage--B2XU_hP-CbzsnIo2.js} +8 -8
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CJFB7SEO-BecYrM5_.js +1 -0
- package/dist/assets/{VendorsAccountsSection-vd0V4UXY-BNPavepY.js → VendorsAccountsSection-DJP1yZx7-OlnsbsSP.js} +3 -3
- package/dist/assets/{VerifyDevice-DbyjJVTH-_0YHPiw6.js → VerifyDevice-dFsnt44d-C1LsKxM_.js} +3 -3
- package/dist/assets/{VideoPlayer-CoI7aj8a-B3tmTxCF.js → VideoPlayer-Dy6rImBJ-QOYygi-i.js} +2 -2
- package/dist/assets/{VideoPopup-Bp7fCV1r-BulLqsQx.js → VideoPopup-DM5Buf4j-CFLugl6n.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-jMslD0FX-CrUmOPLP.js → WarningsDrawerPage-C8i8v3rq-BqkJBNMa.js} +5 -5
- package/dist/assets/{ZeniAccountDetailPage-C1Vq8cMd-BzjwyTwn.js → ZeniAccountDetailPage-CI7znfzM-Vqgai5nW.js} +12 -12
- package/dist/assets/{ZeniAccountListViewPage-BNTb04x5-DcvhdCN4.js → ZeniAccountListViewPage-CBnYQpc8-Dv81IpSI.js} +7 -7
- package/dist/assets/{ZeniAccountNavBarPieces-ByYrxg3x-w6kmpmKh.js → ZeniAccountNavBarPieces-sMjtAlej-CO7nbf-u.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-BCkk0NbR-juw5u7mQ.js → ZeniAccountPromoPage-B_NJMHHV-DWsuBCOP.js} +13 -13
- package/dist/assets/{ZeniAccountSetupPage-ClZTjZhF-C_sOqJTM.js → ZeniAccountSetupPage-C9cJ0F8e-BF5g947U.js} +1 -1
- package/dist/assets/{ZeniCopyright-C8wXM9Gr-qMGnv8al.js → ZeniCopyright-DzWFQiAt-07AcK5yb.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-NAR_1h8K-DARDrTsk.js → ZeniTransferAmountSlider-B424bcSV-CHepSJQx.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-flwj0i1s.js → add-to-wallet-DgdBD8_G-pWZi41H8.js} +1 -1
- package/dist/assets/{analytics-EizVTK6x.js → analytics-BvXI56dE.js} +1 -1
- package/dist/assets/{analyticsHelper-DjynPp_X-s29on7ka.js → analyticsHelper-CzevEN9D-BUYGstD0.js} +1 -1
- package/dist/assets/{analyticsHelper-BRPQgKH6.js → analyticsHelper-DP-LgJhR.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-DbFUNUBk.js → arrow-south-east-round-PEovUgvH-B9_UwdI_.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-T83isyAA.js → auto-transfer-rule-mbafm5D3-CRwly3T1.js} +1 -1
- package/dist/assets/{chartTypes-CXNoxZp_-CJ_wyUtd.js → chartTypes-n3TS0IBf-DRx7aLxA.js} +1 -1
- package/dist/assets/{commonDimensions-i9Qxk1O2-XYIUogON.js → commonDimensions-6BcP8EhU-CPpjZ-C4.js} +1 -1
- package/dist/assets/{commonTypes-CcEHeA3z-sEqnsPbS.js → commonTypes-Q1WP-Ym3-Cmq2uCPt.js} +1 -1
- package/dist/assets/{constants-BGXrwDfx.js → constants-B97TsRRb.js} +1 -1
- package/dist/assets/{core-C5wq1_Bk.js → core-CIefpDlV.js} +1 -1
- package/dist/assets/{dash.all.min-B4_top4V.js → dash.all.min-RUznf6Xj.js} +1 -1
- package/dist/assets/{detailCommon-DVTOw71--Wk0Evzej.js → detailCommon-D3YbmSu3-CiTGsaNF.js} +7 -7
- package/dist/assets/{downloadPdf-1-N8Pf0G-CMW67koi.js → downloadPdf-Bf11NXjY-DUwuSlsF.js} +1 -1
- package/dist/assets/{empty-fb3xJ2Vb.js → empty-BQQX0XD1.js} +1 -1
- package/dist/assets/{empty-DuP8pCf7.js → empty-DJIJO66a.js} +1 -1
- package/dist/assets/{epic-4LjfR2JF.js → epic-C6ygjjdM.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-BtixTK1k.js → gift-box-Cmt9OgIZ-BWCTqneo.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt--UnjJCr0.js → graphic-no-data-l-DU4J8fDt-C8GXOUxr.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-8oQBXM_J.js → graphic-no-data-net-burn-l-CzmycA0m-BQAFQuCs.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-BSCdA5zo.js → handshake-BPg58FML-BCnezDN8.js} +1 -1
- package/dist/assets/{index-tW1FBxGF.js → index-BzA0Xv0P.js} +1 -1
- package/dist/assets/{index-Ko3PkHk3.js → index-CQs92n2L.js} +1 -1
- package/dist/assets/{index-CzJUh-iK.js → index-DAj0zPwk.js} +1 -1
- package/dist/assets/{index-J8KI2Uyc.js → index-DtRGsySN.js} +1 -1
- package/dist/assets/{index-DVgY55Ab.js → index-WEj6FS32.js} +10 -8
- package/dist/assets/{index-_TIifI_v.js → index-rikpsdq-.js} +1 -1
- package/dist/assets/{index-DqRCO-H6.js → index-smQbM7l5.js} +1 -1
- package/dist/assets/{lexical-xuKHFvUb.js → lexical-Dp1JhPKz.js} +1 -1
- package/dist/assets/{liveblocks-B14TpO3l.js → liveblocks-CrODURpx.js} +1 -1
- package/dist/assets/{lottie-BIQaRIZs.js → lottie-hIwSKdQS.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-UA-QQZJo-DsDuha6V.js → mapLoadingInProgressToTreeNode-BArKDqgr-Ce9uxfyP.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode--y3nO5uZ-DP42yTzT.js → mapSectionWithAcOnlyToTreeNode-BCmFQbuz-BJl1ilV_.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-DdwRxjlP-Bw1NwZTY.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CR-gDA51-Dr9tcN9g.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-ClmNRrTo-Covijrhn.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-aD-96xtj-BAIV3Qln.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DT4LUXl9-COTrRRrU.js} +1 -1
- package/dist/assets/{mui-CR-wYMmN.js → mui-BTtN6lbG.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-Dp0GDjdb.js → page-detail-CWX5S47F-vL4oE1Hd.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-CInIhD3e.js → radio-default-CiSgisfh-CzTG_UVX.js} +1 -1
- package/dist/assets/{react-D2cRiLcJ.js → react-BZDhaeWn.js} +1 -1
- package/dist/assets/{react-C8urvt-z.js → react-CZT8R2xg.js} +1 -1
- package/dist/assets/{react-D_2r5dmn.js → react-D8h_J9ua.js} +1 -1
- package/dist/assets/{react-BW87X3sj.js → react-DTawl0rf.js} +1 -1
- package/dist/assets/{react-DHV7aTmN.js → react-FdUpWGdd.js} +2 -2
- package/dist/assets/{react-CCZeJYV_.js → react-RUf-G1wy.js} +1 -1
- package/dist/assets/{react-BHi_eEiU.js → react-dGc0O2tO.js} +1 -1
- package/dist/assets/{react-CcqTmi2W.js → react-yNxKnTJa.js} +1 -1
- package/dist/assets/{recharts-C3mrSjO2.js → recharts-BfU_srYC.js} +1 -1
- package/dist/assets/{sentry-DMXY90dB.js → sentry-B0WgNUxa.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-BYs2EC5i.js → shield-DOlUxcFf-Z1Xg2OMK.js} +1 -1
- package/dist/assets/toCOABalancesWithID-BzzH0Io4-q6KiTxht.js +1 -0
- package/dist/assets/{toChartData-Dv-QcYgv-C4sd-ifC.js → toChartData-Bl-lEYbQ-Cv_10vbn.js} +1 -1
- package/dist/assets/{uploadAttachment-DSmux1Yp-Dl4ms4pR.js → uploadAttachment-B_0cN84g-C7pQHANb.js} +8 -8
- package/dist/assets/{uploadReceipts-DJRtId-4-CHJq-raT.js → uploadReceipts-DJRtId-4-B1jpX457.js} +1 -1
- package/dist/assets/{url-20Ls3nS_.js → url-CHEcUoer.js} +1 -1
- package/dist/assets/{url-DojBAuFA.js → url-D-l_68oE.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-C5_U_XBl.js → useLongPress-GCK2COYQ-BysG3lqG.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-l2et8N9o.js → usp-line-BBd1wKwW-ZROsAmzr.js} +1 -1
- package/dist/assets/{utils-BCuN6woZ.js → utils-DZQMbqmw.js} +1 -1
- package/dist/assets/{zeni-epic-state-BXMuLX_S.js → zeni-epic-state-DnAAAEmj.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-CyJ0eFqc-oDTaIYye.js +0 -18
- package/dist/assets/AddAddressForCardDrawer-D1XOklKz-D41jak46.js +0 -6
- package/dist/assets/CardNumberSubText-sE2DGwYG-B174guLL.js +0 -21
- package/dist/assets/ChargeCardPromoPage-D0np03A--Bpq9wCjH.js +0 -222
- package/dist/assets/ConfettiBurst-BRie0bid-CKCgsLzT.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-DrNstqxI-DBMIRSp3.js +0 -1
- package/dist/assets/EntityDetailPage-Cpdbw3XR-C8k1xBJc.js +0 -18
- package/dist/assets/LabeledControlledCheckBoxField--EmdYCME-BUoRkObt.js +0 -16
- package/dist/assets/LabeledDocumentField--JZn0qDn-Ck_rkdmF.js +0 -41
- package/dist/assets/MagicLinkACHDetailsPage-D4Vmz8ms-ItRZ63_N.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-B7C30ROh-C843OBvj.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DVFrpmvm-COXfeIQs.js +0 -1
- package/dist/assets/MailingDetailsSection-CTPCXpZR-Dv3Iye8Q.js +0 -21
- package/dist/assets/StatementItem-CdytKcBE-CavJc8fo.js +0 -31
- package/dist/assets/StatementsPage-DU32IYXF-Dj_pMhMm.js +0 -58
- package/dist/assets/SummaryCard-D3ev0zFr-CHfcyxTY.js +0 -1
- package/dist/assets/Vendor2FAPopup-C3Z-3poJ-Cxx265s1.js +0 -1
- package/dist/assets/VendorACHDetailsPage-DnB2b-v_-C755XLlO.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-BbfatdWd-DhsLa-3A.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-D3asjWH_-BXIinpkC.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-BOG_274U-C0W1M9EX.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Btd_0ZvL-CEgQnhXV.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-LWHXAvJU-B42MwYQ_.js +0 -1
- package/dist/assets/toCOABalancesWithID-C_7wlYeT-C3P4q5bp.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{J as Qe,g as xl,cI as wl,F as de,y as E,aQ as Ul,V as l,bS as Ol,fF as Il,ap as Ke,f$ as Xe,o as i,g9 as Hl,cT as Sl,cJ as $,cL as Oe,cQ as jl,eZ as Gl,eX as Zl,cO as vl,cM as K,ga as tl,gb as Jl,fx as Yl,cR as Je,fw as al,gc as Ql,p as B,cN as il,b1 as De,cS as Kl,fN as Ll,a as Ne,bJ as _l,fE as Cl,al as el,f_ as Fl,b as Ee,ao as Xl,bG as et,u as R,dj as lt,av as tt,gd as at,ai as ll,am as it,ge as ot,bH as Pe,b5 as rt,d as Dl,c_ as st,at as nt,bF as dt}from"./index-WEj6FS32.js";import{a as h}from"./sentry-B0WgNUxa.js";import{a as ct,n as s}from"./mui-BTtN6lbG.js";import{bh as El,bL as ut}from"./zeni-epic-state-DnAAAEmj.js";import{W as Ye}from"./LabeledAddressValueField-C_KatgTA-ByiPbJgm.js";import{b as pt}from"./LabeledCountryMultiSelectField-CffMX6f1-C44H-4q3.js";import{I as ol}from"./LabeledCreatableSingleSelectField-CoS6DIi_-DTDCa09f.js";import{Y as rl}from"./LabeledDocumentField-CVBhbPHv-9665D02s.js";import{d as mt}from"./LabeledMultiSelectField-CTqXa2Rh-Cxu9DNT8.js";import{p as ht,i as ft,t as gt}from"./commonTypes-Q1WP-Ym3-Cmq2uCPt.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="ddf16989-6957-4fb5-8627-004036310a26",e._sentryDebugIdIdentifier="sentry-dbid-ddf16989-6957-4fb5-8627-004036310a26")}catch{}})();const yt=e=>h.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{opacity:.2,d:"M50.5391 6.01221C51.2636 6.01238 51.9584 6.29976 52.4707 6.81201L62.6016 16.9429C63.1141 17.4553 63.4022 18.1507 63.4023 18.8755V66.1353C63.4023 66.86 63.1149 67.5554 62.6025 68.0679C62.09 68.5804 61.3947 68.8686 60.6699 68.8687H14.2109C13.4862 68.8687 12.7908 68.5804 12.2783 68.0679C11.7658 67.5554 11.4775 66.8601 11.4775 66.1353V8.74463C11.4775 8.01982 11.7658 7.32453 12.2783 6.81201C12.7908 6.29962 13.4862 6.01221 14.2109 6.01221H50.5391Z",fill:"#97C3B9"}),h.createElement("path",{d:"M60.5227 61.2642V61.2318M60.5227 61.2318V15.9951C60.5226 15.2704 60.2346 14.5753 59.722 14.0629L49.5911 3.93209C49.0787 3.41953 48.3837 3.1315 47.659 3.13135H11.3306C10.6057 3.13135 9.91062 3.41928 9.3981 3.9318C8.88559 4.44431 8.59766 5.13944 8.59766 5.86425V63.2551C8.59766 63.9799 8.88559 64.6751 9.3981 65.1876C9.91062 65.7001 10.6057 65.988 11.3306 65.988H57.7898C58.5147 65.988 59.2098 65.7001 59.7223 65.1876C60.2348 64.6751 60.5227 64.0737 60.5227 63.2551C60.5227 62.4365 60.5227 61.2318 60.5227 61.2318Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M46.8682 3.13135V12.9335C46.8682 13.2545 46.9371 13.5724 47.0709 13.869C47.2048 14.1656 47.401 14.4351 47.6483 14.6621C47.8956 14.8891 48.1893 15.0692 48.5124 15.1921C48.8356 15.3149 49.1819 15.3781 49.5317 15.3781H60.2144",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("g",{clipPath:"url(#clip0_1350_23850)"},h.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),h.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),h.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),h.createElement("g",{clipPath:"url(#clip1_1350_23850)"},h.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),h.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),h.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),h.createElement("g",{clipPath:"url(#clip2_1350_23850)"},h.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),h.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),h.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),h.createElement("g",{clipPath:"url(#clip3_1350_23850)"},h.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),h.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),h.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),h.createElement("defs",null,h.createElement("clipPath",{id:"clip0_1350_23850"},h.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),h.createElement("clipPath",{id:"clip1_1350_23850"},h.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),h.createElement("clipPath",{id:"clip2_1350_23850"},h.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),h.createElement("clipPath",{id:"clip3_1350_23850"},h.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:bt}=de.getLocalizedStrings(),{businessVerification:sl}=bt,Se={iconSize:new E(R[6],R[10]),gap:new E(R[2],R[3])},Nl={title:new Ne("smallSemiBold","standardSemiBold"),description:new Ne("smallRegular","standardRegular")},Pl=()=>{const[e]=tt("Secure"),c=Qe();return l.jsxs(xt,{windowSize:c,children:[e!=null?l.jsx(wt,{windowSize:c,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):l.jsx(Ot,{windowSize:c}),l.jsxs(It,{children:[l.jsx(St,{windowSize:c,children:sl.securityMessageTitle}),l.jsx(jt,{windowSize:c,children:sl.securityMessageDescription})]})]})},xt=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
4
4
|
gap: ${e=>Se.gap.valuePx(e.windowSize)};
|
|
@@ -8,7 +8,7 @@ import{Q as Je,g as xl,cI as wl,F as de,y as E,aQ as Ul,V as l,bS as Ol,fF as Il
|
|
|
8
8
|
width: ${e=>Se.iconSize.valuePx(e.windowSize)};
|
|
9
9
|
height: ${e=>Se.iconSize.valuePx(e.windowSize)};
|
|
10
10
|
display: block;
|
|
11
|
-
`,Ot=s(
|
|
11
|
+
`,Ot=s(yt)`
|
|
12
12
|
width: ${e=>Se.iconSize.valuePx(e.windowSize)};
|
|
13
13
|
height: ${e=>Se.iconSize.valuePx(e.windowSize)};
|
|
14
14
|
color: ${e=>e.theme.colors.success};
|
|
@@ -36,7 +36,7 @@ import{Q as Je,g as xl,cI as wl,F as de,y as E,aQ as Ul,V as l,bS as Ol,fF as Il
|
|
|
36
36
|
align-items: flex-end;
|
|
37
37
|
margin-left: ${i.sp2};
|
|
38
38
|
margin-top: ${i.sp1};
|
|
39
|
-
`,G={width:new E(343,580,726),labelWidth:new E(115,145,155),mediumLabelWidth:new E(140,160,170),largeLabelWidth:new E(150,210,244),extraLargeLabelWidth:new E(160,240,292),largeLabelDocumentWidth:new E(150,210,252),paddingBottom:new E(R[3],R[2]),containerRowGap:new E(12,R[3])},_t={title:new Ne("standardMedium","largeMedium")},Ct=de.getLocalizedStrings(),{dateFormat:{visual:Ft},commonSetUp:Dt,companyPassport:nl,common:{documents:dl,optional:Et,yes:cl,no:ul}}=Ct,t=Dt.businessVerification,Nt=t.sourceOfFundOptions,Pt=t.companySourceOfFundOptions,Vt=t.transactionVolumeOptions,kt=t.purposeOfAccountOptions,pl=t.usNexusOptions,Tt=t.companyIndustryOptions,zt=h.forwardRef(({allIndustries:e,fileProps:c,productType:b,companyDetails:m,allNationalityCountries:M,connectedAccountProvider:C,businessVerificationProps:W,isDisabled:a,style:ae,sectionId:o,showInfoTooltip:ce=!0,isCompleted:ue=!1,showCompletedIcon:ie=!1,showTreasuryFields:pe=!1,sectionHeader:w,optionalFields:p=[],onCompanyAddressClick:q,onRegisteredAddressClick:me},N)=>{const x=Je(),j=ct(),{watch:S,setValue:oe,formState:{errors:y}}=wl(),he=S(u(o,"companySourceOfFunds")),fe=S(u(o,"transactionVolume")),f=S(u(o,"purposeOfAccount")),F=S(u(o,"regulatedStatus")),Z=S(u(o,"usNexus")),X=S(u(o,"companyIndustry")),ee=r=>{oe(u(o,"companySubIndustry"),{selectedOption:null,allOptions:I(r)})},T=G.labelWidth.value(x),P=G.mediumLabelWidth.value(x),v=G.largeLabelWidth.value(x),le=G.extraLargeLabelWidth.value(x),ye=G.largeLabelDocumentWidth.value(x),g=t.productType[b],je=m?.companyFiles.find(r=>r.documentType==="certificate_of_incorporation"),ve=m?.companyFiles.find(r=>r.documentType==="tax_ein"),te=m?.companyDescription,Q=m?.companyLegalName,L=m?.website,Y=m?.typeOfIncorporation,U=m?.stateOfIncorporation,V=m?.countriesOfOperations,Ve=m?.incDate,re=m?.companyIndustry,Le=m?.companySubIndustry,ke=W?.companyVerificationStatus?.code==="verified",_e=Le!=null||!ke,Te=X?.selectedOption??re,d=m?.phone,ze=m?.taxIdOrEIN,ge=m?.primaryContactLocalData,k=m?.deleteFileStatusById??{},J=m?.updateFileStatusById??{},Ae=m?.addressStatus?.addressToCreate,se=m?.registeredAddressStatus?.addressToCreate,[be,$e]=h.useState(!1),[_,Be]=h.useState(!1),Re=m?.companySourceOfFunds,Me=m?.transactionVolume,We=m?.purposeOfAccount,qe=m?.regulatedStatus,xe=m?.usNexus,Ce=a==null||!!U,Ue=a==null||Array.isArray(V)&&V.length>0,He=a==null||!!Re,Ge=a==null||!!Me,n=a==null||!!We,D=a==null||!!qe,ne=a==null||!!xe,we=r=>Tt[r]??r,Fe=t.companySubIndustryOptions,I=r=>{if(r==null||r==="")return[];const z=Fe[r];return z!=null?Object.keys(z):[]},Tl=r=>{const z=X?.selectedOption;return z==null||z===""?r:Fe[z]?.[r]??r},zl=r=>Nt[r]??r,Al=r=>Pt[r]??r,$l=r=>Vt[r]??r,Bl=r=>kt[r]??r,Rl=r=>pl[r]??r,Ml=Object.values(pl),Wl=(m?.usNexusTypes??[]).map(Rl),ql=r=>e.find(z=>z.code===r)?.name??r;return l.jsxs(At,{style:ae,ref:N,windowSize:x,children:[l.jsx($t,{children:l.jsxs(Gt,{children:[l.jsxs(Rt,{children:[ie===!0?l.jsx(Mt,{children:ue?l.jsx(Wt,{}):l.jsx(qt,{})}):null,l.jsx(Bt,{windowSize:x,children:w??t.confirmCompanyDetails})]}),ce?l.jsx(Ut,{children:l.jsx(Ol,{variant:"small-description",display:"flex",maxWidth:"280px",data:t.confirmCompanyDetailsTooltip,placement:x==="small"||b==="onboarding"?"bottom":"right",children:l.jsx(Ht,{})})}):null,b==="onboarding"&&w!=null?l.jsx(Vl,{text:Et}):null,W?.companyVerificationStatus!=null?l.jsx(Qt,{tagTitle:W.companyVerificationStatus.name,textColor:Il(W.companyVerificationStatus.code),showLoader:W?.isRefreshingViewInBackground}):null]})}),l.jsxs(Zt,{children:[l.jsx(Pl,{}),l.jsx($,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:t.companyLegalNameLabel,width:v},text:{type:"text",name:u(o,"companyLegalName"),placeholder:t.companyLegalNamePlaceholder,defaultValue:Q,options:{required:a==null&&p.includes("companyLegalName")===!1}},additionalInfoLabel:t.companyLegalNameError.replace("_product_type_",g)}),l.jsx(O,{}),l.jsx($,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:t.companyDescriptionLabel,width:P},text:{type:"text",name:u(o,"companyDescription"),placeholder:t.addProductPlaceholder,defaultValue:te,options:{required:a==null&&p.includes("companyDescription")===!1}},additionalInfoLabel:t.companyDescriptionError.replace("_product_type_",g)}),l.jsx(O,{}),l.jsx(Ye,{isDisabled:a,label:{label:t.registeredAddressLabel,width:P},addressValueField:{name:u(o,"registeredAddress"),placeholder:t.registeredAddressPlaceholder,defaultValue:se,registerOptions:{validate:r=>p.includes("registeredAddress")===!1?!(a==null&&r==null):!0},onClick:()=>{me?.("company_registered_address")}},additionalInfoLabel:t.registeredAddressError.replace("_product_type_",g),showAdditionalInfoLabel:!1}),l.jsx(O,{}),l.jsx(Ye,{isDisabled:a,label:{label:t.companyAddressLabel,width:P},addressValueField:{name:u(o,"companyAddress"),placeholder:t.companyAddressPlaceholder,defaultValue:Ae,registerOptions:{validate:r=>p.includes("companyAddress")===!1?!(a==null&&r==null):!0},onClick:()=>{q?.("company_address")}},additionalInfoLabel:t.companyAddressError.replace("_product_type_",g),showAdditionalInfoLabel:!1}),l.jsx(O,{}),l.jsx($,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:t.companyWebsiteLabel,width:T},text:{type:"url",name:u(o,"companyWebsite"),placeholder:t.companyWebsitePlaceholder,defaultValue:L?.toString()??"",options:{required:a==null&&p.includes("companyWebsite")===!1}},additionalInfoLabel:t.companyWebsiteError.replace("_product_type_",g)}),l.jsx(O,{}),l.jsx(Jt,{windowSize:x,"data-suppress-hover":a!=null?!0:void 0,children:_e?l.jsxs(l.Fragment,{children:[l.jsx(K,{label:{label:t.companyIndustryLabel,width:T},singleSelectField:{singleSelect:{name:u(o,"companyIndustry"),placeholder:t.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:we,isDisabled:a,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:re,allOptions:Object.keys(t.companyIndustryOptions)},registerOptions:{required:a==null&&p.includes("companyIndustry")===!1,validate:r=>p.includes("companyIndustry")===!1?!(a==null&&!r?.selectedOption):!0},onSelectChange:ee},isFunctional:!0,errorInfoLabel:t.companyIndustryError.replace("_product_type_",g),style:{padding:0,margin:0,outline:"none",paddingRight:i.sp2}}),Te!=null&&l.jsx(K,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:u(o,"companySubIndustry"),placeholder:t.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:Tl,isDisabled:a,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:Le,allOptions:I(X?.selectedOption??re)},registerOptions:{required:a==null&&p.includes("companySubIndustry")===!1,validate:r=>p.includes("companySubIndustry")===!1?!(a==null&&!r?.selectedOption):!0}},isFunctional:!0,keepFocusedStyle:!0,errorInfoLabel:t.companySubIndustryError.replace("_product_type_",g),additionalInfoLabel:a==null?t.companyIndustryAdditionalInfo:void 0,style:{outline:"none",paddingBottom:i.sp0,paddingRight:i.sp0,width:"100%"}})]}):l.jsx(K,{label:{label:t.companyIndustryLabel,width:T},singleSelectField:{singleSelect:{name:u(o,"companyIndustry"),placeholder:t.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ql,isDisabled:a,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:re,allOptions:e?.map(r=>r.code)??[]},registerOptions:{required:a==null&&p.includes("companyIndustry")===!1,validate:r=>p.includes("companyIndustry")===!1?!(a==null&&!r?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:t.companyIndustryError.replace("_product_type_",g),additionalInfoLabel:a==null?t.companyIndustryAdditionalInfo:void 0,style:{padding:0,margin:0,outline:"none",paddingRight:i.sp2}})}),l.jsx(O,{}),l.jsx(ol,{label:{label:t.companyTypeOfIncorporationLabel,width:v},isDisabled:a,creatableSingleSelectField:{name:u(o,"typeOfIncorporation"),placeholder:t.companyTypeOfIncorporationPlaceholder,defaultValue:{selectedOption:Y,allOptions:nl.companyIncInfo.allTypesOfIncorporation},registerOptions:{required:a==null&&p.includes("typeOfIncorporation")===!1,validate:r=>p.includes("typeOfIncorporation")===!1?!(a==null&&!r?.selectedOption):!0}},errorInfoLabel:t.companyTypeOfIncorporationError.replace("_product_type_",g)}),l.jsx(O,{}),l.jsx(jl,{isDisabled:a,label:{label:t.companyIncDateLabel,width:v},style:{paddingBottom:G.paddingBottom.valuePx(x)},dateField:{name:u(o,"incDate"),placeholder:t.companyIncDatePlaceholder,defaultValue:Ve,dateFormat:Ft.defaultInput,maxDate:El(),minDate:ut("01 Jan 1900"),autoComplete:"off",registerOptions:{required:a==null&&p.includes("incDate")===!1}},additionalInfoLabel:t.companyIncDateError.replace("_product_type_",g)}),l.jsx(O,{}),Ce?l.jsxs(l.Fragment,{children:[l.jsx(ol,{label:{label:t.companyStateOfIncorporationLabel,width:v},isDisabled:a,creatableSingleSelectField:{name:u(o,"stateOfIncorporation"),placeholder:t.companyStateOfIncorporationPlaceholder,defaultValue:{selectedOption:U,allOptions:nl.companyIncInfo.allStatesOfIncorporation},registerOptions:{required:a==null&&p.includes("stateOfIncorporation")===!1,validate:r=>p.includes("stateOfIncorporation")===!1?!(a==null&&!r?.selectedOption):!0}},errorInfoLabel:t.companyStateOfIncorporationError.replace("_product_type_",g)}),l.jsx(O,{})]}):null,Ue?l.jsxs(l.Fragment,{children:[l.jsx(pt,{label:{label:t.countriesOfOperationsLabel,width:v},isDisabled:a,additionalInfoLabel:a==null?t.countriesOfOperationsAdditionalInfo:void 0,errorInfoLabel:t.countriesOfOperationsError.replace("_product_type_",g),multiSelectField:{name:u(o,"countriesOfOperations"),placeholder:t.countriesOfOperationsPlaceholder,defaultValue:Jl(V,(M??[]).map(r=>r.countryCode)),registerOptions:{validate:r=>p.includes("countriesOfOperations")?!0:!(a==null&&r.selectedOptions.length===0)}}}),l.jsx(O,{})]}):null,He?l.jsxs(l.Fragment,{children:[l.jsx(K,{label:{label:t.companySourceOfFundsLabel,width:v},singleSelectField:{singleSelect:{name:u(o,"companySourceOfFunds"),placeholder:t.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:Al,isDisabled:a,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:m?.companySourceOfFunds,allOptions:Object.keys(t.companySourceOfFundOptions)},registerOptions:{required:a==null&&p.includes("companySourceOfFunds")===!1,validate:r=>p.includes("companySourceOfFunds")===!1?!(a==null&&!r?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:t.companySourceOfFundsError.replace("_product_type_",g),additionalContent:ht.includes(he?.selectedOption)?l.jsx($,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:u(o,"companySourceOfFundsDescription"),placeholder:t.descriptionPlaceholder,style:{backgroundColor:y[o]!=null&&y[o]?.companySourceOfFundsDescription!=null?B.importantLight:j.colors.background},options:{required:a==null}},additionalInfoLabel:t.companySourceOfFundsDescriptionError,style:{position:"relative",top:0,left:-v,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:a!=null||y[o]!=null&&y[o]?.companySourceOfFundsDescription!=null?void 0:t.companySourceOfFundsAdditionalInfo,additionalInfoStyle:{color:j.colors.hero}}),l.jsx(O,{})]}):null,Ge?l.jsxs(l.Fragment,{children:[l.jsx(K,{label:{label:t.transactionVolumeLabel,width:le},singleSelectField:{singleSelect:{name:u(o,"transactionVolume"),placeholder:t.transactionVolumePlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:$l,isDisabled:a,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:m?.transactionVolume,allOptions:Object.keys(t.transactionVolumeOptions)},registerOptions:{required:a==null&&p.includes("transactionVolume")===!1,validate:r=>p.includes("transactionVolume")===!1?!(a==null&&!r?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:t.transactionVolumeError.replace("_product_type_",g),additionalContent:ft.includes(fe?.selectedOption)?l.jsx($,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:u(o,"transactionVolumeDescription"),placeholder:t.descriptionPlaceholder,style:{backgroundColor:y[o]!=null&&y[o]?.transactionVolumeDescription!=null?B.importantLight:j.colors.background},options:{required:a==null}},additionalInfoLabel:t.transactionVolumeDescriptionError,style:{position:"relative",top:0,left:-le,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:a!=null||y[o]!=null&&y[o]?.transactionVolumeDescription!=null?void 0:t.transactionVolumeAdditionalInfo,additionalInfoStyle:{color:j.colors.hero}}),l.jsx(O,{})]}):null,n?l.jsxs(l.Fragment,{children:[l.jsx(K,{label:{label:t.purposeOfAccountLabel,width:v},singleSelectField:{singleSelect:{name:u(o,"purposeOfAccount"),placeholder:t.purposeOfAccountPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:Bl,isDisabled:a,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:m?.purposeOfAccount,allOptions:Object.keys(t.purposeOfAccountOptions)},registerOptions:{required:a==null&&p.includes("purposeOfAccount")===!1,validate:r=>p.includes("purposeOfAccount")===!1?!(a==null&&!r?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:t.purposeOfAccountError.replace("_product_type_",g),additionalContent:yt.includes(f?.selectedOption)?l.jsx($,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:u(o,"purposeOfAccountDescription"),placeholder:t.descriptionPlaceholder,style:{backgroundColor:y[o]!=null&&y[o]?.purposeOfAccountDescription!=null?B.importantLight:j.colors.background},options:{required:a==null}},additionalInfoLabel:t.purposeOfAccountDescriptionError,style:{position:"relative",top:0,left:-v,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:a!=null||y[o]!=null&&y[o]?.purposeOfAccountDescription!=null?void 0:t.purposeOfAccountAdditionalInfo,additionalInfoStyle:{color:j.colors.hero}}),l.jsx(O,{})]}):null,D?l.jsxs(l.Fragment,{children:[l.jsxs(hl,{windowSize:x,"data-suppress-hover":a!=null?!0:void 0,children:[l.jsxs(fl,{children:[l.jsx(il,{label:t.regulatedStatusLabel,htmlFor:u(o,"regulatedStatus"),isDisabled:a,style:{width:v,color:a==="disabled"?j.colors.grey1:j.colors.hero}}),l.jsxs(yl,{labelWidth:v,windowSize:x,children:[l.jsx(De,{label:{label:cl},style:{paddingRight:`${i.sp4}`,width:"auto"},radioField:{name:u(o,"regulatedStatus"),id:`${u(o,"regulatedStatus")}.yes`,value:"yes",style:{height:`${i.sp3}`,width:`${i.sp3}`},radioSize:"small",registerOptions:{required:a==null&&p.includes("regulatedStatus")===!1}},isDisabled:a,isContainerClickable:!0}),l.jsx(De,{label:{label:ul},style:{width:"auto"},radioField:{name:u(o,"regulatedStatus"),id:`${u(o,"regulatedStatus")}.no`,value:"no",style:{height:`${i.sp3}`,width:`${i.sp3}`},radioSize:"small",registerOptions:{required:a==null&&p.includes("regulatedStatus")===!1}},isDisabled:a,isContainerClickable:!0})]})]}),F==="yes"&&l.jsx($,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},text:{type:"text",name:u(o,"regulatedStatusDescription"),placeholder:t.regulatedStatusDescriptionPlaceholder,style:{backgroundColor:y[o]!=null&&y[o]?.regulatedStatusDescription!=null?B.importantLight:j.colors.background},options:{required:a==null,shouldUnregister:!0}},additionalInfoLabel:t.regulatedStatusDescriptionError,style:{outline:"none",width:"100%",padding:0}}),y[o]!=null&&y[o]?.regulatedStatus!=null?l.jsx(Ze,{windowSize:x,children:t.regulatedStatusError.replace("_product_type_",g)}):y[o]!=null&&y[o]?.regulatedStatusDescription!=null?null:a==null?l.jsx(gl,{windowSize:x,children:t.regulatedStatusAdditionalInfo}):null]}),l.jsx(O,{})]}):null,ne?l.jsxs(l.Fragment,{children:[l.jsxs(hl,{windowSize:x,"data-suppress-hover":a!=null?!0:void 0,children:[l.jsxs(fl,{children:[l.jsx(il,{label:t.usNexusLabel,htmlFor:u(o,"usNexus"),isDisabled:a,style:{width:v,color:a==="disabled"?j.colors.grey1:j.colors.hero}}),l.jsxs(yl,{labelWidth:v,windowSize:x,children:[l.jsx(De,{label:{label:cl},style:{paddingRight:`${i.sp4}`,width:"auto"},radioField:{name:u(o,"usNexus"),id:`${u(o,"usNexus")}.yes`,value:"yes",style:{height:`${i.sp3}`,width:`${i.sp3}`},radioSize:"small",registerOptions:{required:a==null&&p.includes("usNexus")===!1}},isDisabled:a,isContainerClickable:!0}),l.jsx(De,{label:{label:ul},style:{width:"auto"},radioField:{name:u(o,"usNexus"),id:`${u(o,"usNexus")}.no`,value:"no",style:{height:`${i.sp3}`,width:`${i.sp3}`},radioSize:"small",registerOptions:{required:a==null&&p.includes("usNexus")===!1}},isDisabled:a,isContainerClickable:!0})]})]}),Z==="yes"&&l.jsxs(l.Fragment,{children:[l.jsx(Yt,{hasError:y[o]!=null&&y[o]?.usNexusTypes!=null,children:l.jsx(mt,{isDisabled:a,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},multiSelectField:{name:u(o,"usNexusTypes"),placeholder:t.usNexusPlaceholder,defaultValue:{selectedOptions:Wl,allOptions:Ml},registerOptions:{required:a==null,shouldUnregister:!0,validate:r=>{const z=r?.selectedOptions;return z!=null&&z.length>0}}},style:{outline:"none",margin:0,padding:0,width:"100%"}})}),y[o]!=null&&y[o]?.usNexusTypes!=null&&l.jsx(Ze,{windowSize:x,children:t.usNexusTypesError})]}),y[o]!=null&&y[o]?.usNexus!=null?l.jsx(Ze,{windowSize:x,children:t.usNexusError.replace("_product_type_",g)}):y[o]!=null&&y[o]?.usNexusTypes!=null?null:a==null?l.jsx(gl,{windowSize:x,children:t.usNexusAdditionalInfo}):null]}),l.jsx(O,{})]}):null,l.jsx($,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:t.companyTaxIdLabel,width:T},text:{type:"text",name:u(o,"companyTaxId"),placeholder:t.companyTaxIdPlaceholder,defaultValue:ze,options:{required:a==null&&p.includes("companyTaxId")===!1,pattern:Kl},autoComplete:"new-password"},additionalInfoLabel:t.companyTaxIdError.replace("_product_type_",g)}),l.jsx(O,{}),l.jsx(vl,{isDisabled:a,label:{label:t.companyPhoneLabel,width:T},text:{name:u(o,"companyPhone"),placeholder:Oe(t.companyPhoneLabel),defaultValue:d,autoComplete:"new-password",options:{required:a==null&&p.includes("companyPhone")===!1}},errorInfoLabel:t.companyPhoneError.replace("_product_type_",g)}),l.jsx(O,{}),l.jsx(Sl,{isDisabled:a,label:{label:t.companyPrimaryContactNameLabel,width:v},nameField:{name:u(o,"primaryContactName"),placeHolder:{firstName:t.firstNamePlaceholder,lastName:t.lastNamePlaceholder,name:t.namePlaceholder},defaultValue:{firstName:ge?.firstName??"",lastName:ge?.lastName??""},registerOptions:{required:a==null&&p.includes("primaryContactName")===!1,validate:r=>!!r||a!=null||p.includes("primaryContactName")},showFullNameError:!0},errorInfoLabel:t.companyPrimaryContactNameError.replace("_product_type_",g)}),l.jsx(O,{}),l.jsx($,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:t.companyPrimaryContactEmailLabel,width:v},text:{type:"email",name:u(o,"primaryContactEmail"),placeholder:t.companyPrimaryContactEmailPlaceholder,defaultValue:ge?.email,options:{required:a==null&&p.includes("primaryContactEmail")===!1}},additionalInfoLabel:t.companyPrimaryContactEmailError.replace("_product_type_",g)}),l.jsx(O,{}),l.jsx(rl,{name:u(o,"certificateOfIncorporation"),isDisabled:a,sizeLimit:Qe,deleteFileStatusById:k,updateFileStatusById:J,filesEndPoint:c.filesEndPoint,authParams:c.authParams,label:{label:t.certificateOfIncorporation,width:ye},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:a==null&&p.includes("certificateOfIncorporation")===!1&&C==="unit"},additionalInfoLabel:t.certOfIncopDocumentError.replace("_product_type_",g),hasError:be,updateFilesEntity:c.updateFilesEntity,onEditFileName:c.onEditFileName,onDeleteFile:c.onDeleteFile,onFileSizeError:r=>$e(r)}),be||!(a!=null||je!=null)?l.jsx(ml,{windowSize:x,isError:be,children:dl.formatDocumentText10MB}):null,l.jsx(O,{}),l.jsx(rl,{name:u(o,"ein"),isDisabled:a,sizeLimit:Qe,deleteFileStatusById:k,updateFileStatusById:J,filesEndPoint:c.filesEndPoint,authParams:c.authParams,label:{label:t.einDocument,width:ye},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:a==null&&p.includes("ein")===!1},additionalInfoLabel:t.einDocumentError.replace("_product_type_",g),hasError:_,updateFilesEntity:c.updateFilesEntity,onEditFileName:c.onEditFileName,onDeleteFile:c.onDeleteFile,onFileSizeError:r=>Be(r)}),_||!(a!=null||ve!=null)?l.jsx(ml,{windowSize:x,isError:_,children:dl.formatDocumentText10MB}):null,l.jsx(O,{}),pe===!0?l.jsxs(l.Fragment,{children:[l.jsx(K,{label:{label:t.sourceOfFundsLabel,width:T},singleSelectField:{singleSelect:{name:u(o,"sourceOfFunds"),placeholder:t.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:zl,isDisabled:a,showTickMark:!1,menuPlacement:"top",sortOptions:!1},defaultValue:{selectedOption:m?.sourceOfFunds,allOptions:Object.keys(t.sourceOfFundOptions)},registerOptions:{required:a==null&&p.includes("sourceOfFunds")===!1,validate:r=>p.includes("sourceOfFunds")===!1?!(a==null&&!r?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:t.sourceOfFundsError.replace("_product_type_",g)}),l.jsx(O,{})]}):null]})]})});zt.displayName="Company Details Section";const u=(e,c)=>`${e}.${c}`,At=s.div`
|
|
39
|
+
`,G={width:new E(343,580,726),labelWidth:new E(115,145,155),mediumLabelWidth:new E(140,160,170),largeLabelWidth:new E(150,210,244),extraLargeLabelWidth:new E(160,240,292),largeLabelDocumentWidth:new E(150,210,252),paddingBottom:new E(R[3],R[2]),containerRowGap:new E(12,R[3])},_t={title:new Ne("standardMedium","largeMedium")},Ct=de.getLocalizedStrings(),{dateFormat:{visual:Ft},commonSetUp:Dt,companyPassport:nl,common:{documents:dl,optional:Et,yes:cl,no:ul}}=Ct,t=Dt.businessVerification,Nt=t.sourceOfFundOptions,Pt=t.companySourceOfFundOptions,Vt=t.transactionVolumeOptions,kt=t.purposeOfAccountOptions,pl=t.usNexusOptions,Tt=t.companyIndustryOptions,zt=h.forwardRef(({allIndustries:e,fileProps:c,productType:b,companyDetails:m,allNationalityCountries:M,connectedAccountProvider:C,businessVerificationProps:W,isDisabled:a,style:ae,sectionId:o,showInfoTooltip:ce=!0,isCompleted:ue=!1,showCompletedIcon:ie=!1,showTreasuryFields:pe=!1,sectionHeader:w,optionalFields:p=[],onCompanyAddressClick:q,onRegisteredAddressClick:me},N)=>{const x=Qe(),j=ct(),{watch:S,setValue:oe,formState:{errors:g}}=wl(),he=S(u(o,"companySourceOfFunds")),fe=S(u(o,"transactionVolume")),f=S(u(o,"purposeOfAccount")),F=S(u(o,"regulatedStatus")),Z=S(u(o,"usNexus")),X=S(u(o,"companyIndustry")),ee=r=>{oe(u(o,"companySubIndustry"),{selectedOption:null,allOptions:I(r)})},T=G.labelWidth.value(x),P=G.mediumLabelWidth.value(x),v=G.largeLabelWidth.value(x),le=G.extraLargeLabelWidth.value(x),ge=G.largeLabelDocumentWidth.value(x),y=t.productType[b],je=m?.companyFiles.find(r=>r.documentType==="certificate_of_incorporation"),ve=m?.companyFiles.find(r=>r.documentType==="tax_ein"),te=m?.companyDescription,J=m?.companyLegalName,L=m?.website,Y=m?.typeOfIncorporation,U=m?.stateOfIncorporation,V=m?.countriesOfOperations,Ve=m?.incDate,re=m?.companyIndustry,Le=m?.companySubIndustry,ke=W?.companyVerificationStatus?.code==="verified",_e=Le!=null||!ke,Te=X?.selectedOption??re,d=m?.phone,ze=m?.taxIdOrEIN,ye=m?.primaryContactLocalData,k=m?.deleteFileStatusById??{},Q=m?.updateFileStatusById??{},Ae=m?.addressStatus?.addressToCreate,se=m?.registeredAddressStatus?.addressToCreate,[be,$e]=h.useState(!1),[_,Be]=h.useState(!1),Re=m?.companySourceOfFunds,Me=m?.transactionVolume,We=m?.purposeOfAccount,qe=m?.regulatedStatus,xe=m?.usNexus,Ce=a==null||!!U,Ue=a==null||Array.isArray(V)&&V.length>0,He=a==null||!!Re,Ge=a==null||!!Me,n=a==null||!!We,D=a==null||!!qe,ne=a==null||!!xe,we=r=>Tt[r]??r,Fe=t.companySubIndustryOptions,I=r=>{if(r==null||r==="")return[];const z=Fe[r];return z!=null?Object.keys(z):[]},Tl=r=>{const z=X?.selectedOption;return z==null||z===""?r:Fe[z]?.[r]??r},zl=r=>Nt[r]??r,Al=r=>Pt[r]??r,$l=r=>Vt[r]??r,Bl=r=>kt[r]??r,Rl=r=>pl[r]??r,Ml=Object.values(pl),Wl=(m?.usNexusTypes??[]).map(Rl),ql=r=>e.find(z=>z.code===r)?.name??r;return l.jsxs(At,{style:ae,ref:N,windowSize:x,children:[l.jsx($t,{children:l.jsxs(Gt,{children:[l.jsxs(Rt,{children:[ie===!0?l.jsx(Mt,{children:ue?l.jsx(Wt,{}):l.jsx(qt,{})}):null,l.jsx(Bt,{windowSize:x,children:w??t.confirmCompanyDetails})]}),ce?l.jsx(Ut,{children:l.jsx(Ol,{variant:"small-description",display:"flex",maxWidth:"280px",data:t.confirmCompanyDetailsTooltip,placement:x==="small"||b==="onboarding"?"bottom":"right",children:l.jsx(Ht,{})})}):null,b==="onboarding"&&w!=null?l.jsx(Vl,{text:Et}):null,W?.companyVerificationStatus!=null?l.jsx(Jt,{tagTitle:W.companyVerificationStatus.name,textColor:Il(W.companyVerificationStatus.code),showLoader:W?.isRefreshingViewInBackground}):null]})}),l.jsxs(Zt,{children:[l.jsx(Pl,{}),l.jsx($,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:t.companyLegalNameLabel,width:v},text:{type:"text",name:u(o,"companyLegalName"),placeholder:t.companyLegalNamePlaceholder,defaultValue:J,options:{required:a==null&&p.includes("companyLegalName")===!1}},additionalInfoLabel:t.companyLegalNameError.replace("_product_type_",y)}),l.jsx(O,{}),l.jsx($,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:t.companyDescriptionLabel,width:P},text:{type:"text",name:u(o,"companyDescription"),placeholder:t.addProductPlaceholder,defaultValue:te,options:{required:a==null&&p.includes("companyDescription")===!1}},additionalInfoLabel:t.companyDescriptionError.replace("_product_type_",y)}),l.jsx(O,{}),l.jsx(Ye,{isDisabled:a,label:{label:t.registeredAddressLabel,width:P},addressValueField:{name:u(o,"registeredAddress"),placeholder:t.registeredAddressPlaceholder,defaultValue:se,registerOptions:{validate:r=>p.includes("registeredAddress")===!1?!(a==null&&r==null):!0},onClick:()=>{me?.("company_registered_address")}},additionalInfoLabel:t.registeredAddressError.replace("_product_type_",y),showAdditionalInfoLabel:!1}),l.jsx(O,{}),l.jsx(Ye,{isDisabled:a,label:{label:t.companyAddressLabel,width:P},addressValueField:{name:u(o,"companyAddress"),placeholder:t.companyAddressPlaceholder,defaultValue:Ae,registerOptions:{validate:r=>p.includes("companyAddress")===!1?!(a==null&&r==null):!0},onClick:()=>{q?.("company_address")}},additionalInfoLabel:t.companyAddressError.replace("_product_type_",y),showAdditionalInfoLabel:!1}),l.jsx(O,{}),l.jsx($,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:t.companyWebsiteLabel,width:T},text:{type:"url",name:u(o,"companyWebsite"),placeholder:t.companyWebsitePlaceholder,defaultValue:L?.toString()??"",options:{required:a==null&&p.includes("companyWebsite")===!1}},additionalInfoLabel:t.companyWebsiteError.replace("_product_type_",y)}),l.jsx(O,{}),l.jsx(Qt,{windowSize:x,"data-suppress-hover":a!=null?!0:void 0,children:_e?l.jsxs(l.Fragment,{children:[l.jsx(K,{label:{label:t.companyIndustryLabel,width:T},singleSelectField:{singleSelect:{name:u(o,"companyIndustry"),placeholder:t.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:we,isDisabled:a,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:re,allOptions:Object.keys(t.companyIndustryOptions)},registerOptions:{required:a==null&&p.includes("companyIndustry")===!1,validate:r=>p.includes("companyIndustry")===!1?!(a==null&&!r?.selectedOption):!0},onSelectChange:ee},isFunctional:!0,errorInfoLabel:t.companyIndustryError.replace("_product_type_",y),style:{padding:0,margin:0,outline:"none",paddingRight:i.sp2}}),Te!=null&&l.jsx(K,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:u(o,"companySubIndustry"),placeholder:t.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:Tl,isDisabled:a,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:Le,allOptions:I(X?.selectedOption??re)},registerOptions:{required:a==null&&p.includes("companySubIndustry")===!1,validate:r=>p.includes("companySubIndustry")===!1?!(a==null&&!r?.selectedOption):!0}},isFunctional:!0,keepFocusedStyle:!0,errorInfoLabel:t.companySubIndustryError.replace("_product_type_",y),additionalInfoLabel:a==null?t.companyIndustryAdditionalInfo:void 0,style:{outline:"none",paddingBottom:i.sp0,paddingRight:i.sp0,width:"100%"}})]}):l.jsx(K,{label:{label:t.companyIndustryLabel,width:T},singleSelectField:{singleSelect:{name:u(o,"companyIndustry"),placeholder:t.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ql,isDisabled:a,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:re,allOptions:e?.map(r=>r.code)??[]},registerOptions:{required:a==null&&p.includes("companyIndustry")===!1,validate:r=>p.includes("companyIndustry")===!1?!(a==null&&!r?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:t.companyIndustryError.replace("_product_type_",y),additionalInfoLabel:a==null?t.companyIndustryAdditionalInfo:void 0,style:{padding:0,margin:0,outline:"none",paddingRight:i.sp2}})}),l.jsx(O,{}),l.jsx(ol,{label:{label:t.companyTypeOfIncorporationLabel,width:v},isDisabled:a,creatableSingleSelectField:{name:u(o,"typeOfIncorporation"),placeholder:t.companyTypeOfIncorporationPlaceholder,defaultValue:{selectedOption:Y,allOptions:nl.companyIncInfo.allTypesOfIncorporation},registerOptions:{required:a==null&&p.includes("typeOfIncorporation")===!1,validate:r=>p.includes("typeOfIncorporation")===!1?!(a==null&&!r?.selectedOption):!0}},errorInfoLabel:t.companyTypeOfIncorporationError.replace("_product_type_",y)}),l.jsx(O,{}),l.jsx(jl,{isDisabled:a,label:{label:t.companyIncDateLabel,width:v},style:{paddingBottom:G.paddingBottom.valuePx(x)},dateField:{name:u(o,"incDate"),placeholder:t.companyIncDatePlaceholder,defaultValue:Ve,dateFormat:Ft.defaultInput,maxDate:El(),minDate:ut("01 Jan 1900"),autoComplete:"off",registerOptions:{required:a==null&&p.includes("incDate")===!1}},additionalInfoLabel:t.companyIncDateError.replace("_product_type_",y)}),l.jsx(O,{}),Ce?l.jsxs(l.Fragment,{children:[l.jsx(ol,{label:{label:t.companyStateOfIncorporationLabel,width:v},isDisabled:a,creatableSingleSelectField:{name:u(o,"stateOfIncorporation"),placeholder:t.companyStateOfIncorporationPlaceholder,defaultValue:{selectedOption:U,allOptions:nl.companyIncInfo.allStatesOfIncorporation},registerOptions:{required:a==null&&p.includes("stateOfIncorporation")===!1,validate:r=>p.includes("stateOfIncorporation")===!1?!(a==null&&!r?.selectedOption):!0}},errorInfoLabel:t.companyStateOfIncorporationError.replace("_product_type_",y)}),l.jsx(O,{})]}):null,Ue?l.jsxs(l.Fragment,{children:[l.jsx(pt,{label:{label:t.countriesOfOperationsLabel,width:v},isDisabled:a,additionalInfoLabel:a==null?t.countriesOfOperationsAdditionalInfo:void 0,errorInfoLabel:t.countriesOfOperationsError.replace("_product_type_",y),multiSelectField:{name:u(o,"countriesOfOperations"),placeholder:t.countriesOfOperationsPlaceholder,defaultValue:Ql(V,(M??[]).map(r=>r.countryCode)),registerOptions:{validate:r=>p.includes("countriesOfOperations")?!0:!(a==null&&r.selectedOptions.length===0)}}}),l.jsx(O,{})]}):null,He?l.jsxs(l.Fragment,{children:[l.jsx(K,{label:{label:t.companySourceOfFundsLabel,width:v},singleSelectField:{singleSelect:{name:u(o,"companySourceOfFunds"),placeholder:t.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:Al,isDisabled:a,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:m?.companySourceOfFunds,allOptions:Object.keys(t.companySourceOfFundOptions)},registerOptions:{required:a==null&&p.includes("companySourceOfFunds")===!1,validate:r=>p.includes("companySourceOfFunds")===!1?!(a==null&&!r?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:t.companySourceOfFundsError.replace("_product_type_",y),additionalContent:ht.includes(he?.selectedOption)?l.jsx($,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:u(o,"companySourceOfFundsDescription"),placeholder:t.descriptionPlaceholder,style:{backgroundColor:g[o]!=null&&g[o]?.companySourceOfFundsDescription!=null?B.importantLight:j.colors.background},options:{required:a==null}},additionalInfoLabel:t.companySourceOfFundsDescriptionError,style:{position:"relative",top:0,left:-v,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:a!=null||g[o]!=null&&g[o]?.companySourceOfFundsDescription!=null?void 0:t.companySourceOfFundsAdditionalInfo,additionalInfoStyle:{color:j.colors.hero}}),l.jsx(O,{})]}):null,Ge?l.jsxs(l.Fragment,{children:[l.jsx(K,{label:{label:t.transactionVolumeLabel,width:le},singleSelectField:{singleSelect:{name:u(o,"transactionVolume"),placeholder:t.transactionVolumePlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:$l,isDisabled:a,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:m?.transactionVolume,allOptions:Object.keys(t.transactionVolumeOptions)},registerOptions:{required:a==null&&p.includes("transactionVolume")===!1,validate:r=>p.includes("transactionVolume")===!1?!(a==null&&!r?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:t.transactionVolumeError.replace("_product_type_",y),additionalContent:ft.includes(fe?.selectedOption)?l.jsx($,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:u(o,"transactionVolumeDescription"),placeholder:t.descriptionPlaceholder,style:{backgroundColor:g[o]!=null&&g[o]?.transactionVolumeDescription!=null?B.importantLight:j.colors.background},options:{required:a==null}},additionalInfoLabel:t.transactionVolumeDescriptionError,style:{position:"relative",top:0,left:-le,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:a!=null||g[o]!=null&&g[o]?.transactionVolumeDescription!=null?void 0:t.transactionVolumeAdditionalInfo,additionalInfoStyle:{color:j.colors.hero}}),l.jsx(O,{})]}):null,n?l.jsxs(l.Fragment,{children:[l.jsx(K,{label:{label:t.purposeOfAccountLabel,width:v},singleSelectField:{singleSelect:{name:u(o,"purposeOfAccount"),placeholder:t.purposeOfAccountPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:Bl,isDisabled:a,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:m?.purposeOfAccount,allOptions:Object.keys(t.purposeOfAccountOptions)},registerOptions:{required:a==null&&p.includes("purposeOfAccount")===!1,validate:r=>p.includes("purposeOfAccount")===!1?!(a==null&&!r?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:t.purposeOfAccountError.replace("_product_type_",y),additionalContent:gt.includes(f?.selectedOption)?l.jsx($,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:u(o,"purposeOfAccountDescription"),placeholder:t.descriptionPlaceholder,style:{backgroundColor:g[o]!=null&&g[o]?.purposeOfAccountDescription!=null?B.importantLight:j.colors.background},options:{required:a==null}},additionalInfoLabel:t.purposeOfAccountDescriptionError,style:{position:"relative",top:0,left:-v,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:a!=null||g[o]!=null&&g[o]?.purposeOfAccountDescription!=null?void 0:t.purposeOfAccountAdditionalInfo,additionalInfoStyle:{color:j.colors.hero}}),l.jsx(O,{})]}):null,D?l.jsxs(l.Fragment,{children:[l.jsxs(hl,{windowSize:x,"data-suppress-hover":a!=null?!0:void 0,children:[l.jsxs(fl,{children:[l.jsx(il,{label:t.regulatedStatusLabel,htmlFor:u(o,"regulatedStatus"),isDisabled:a,style:{width:v,color:a==="disabled"?j.colors.grey1:j.colors.hero}}),l.jsxs(gl,{labelWidth:v,windowSize:x,children:[l.jsx(De,{label:{label:cl},style:{paddingRight:`${i.sp4}`,width:"auto"},radioField:{name:u(o,"regulatedStatus"),id:`${u(o,"regulatedStatus")}.yes`,value:"yes",style:{height:`${i.sp3}`,width:`${i.sp3}`},radioSize:"small",registerOptions:{required:a==null&&p.includes("regulatedStatus")===!1}},isDisabled:a,isContainerClickable:!0}),l.jsx(De,{label:{label:ul},style:{width:"auto"},radioField:{name:u(o,"regulatedStatus"),id:`${u(o,"regulatedStatus")}.no`,value:"no",style:{height:`${i.sp3}`,width:`${i.sp3}`},radioSize:"small",registerOptions:{required:a==null&&p.includes("regulatedStatus")===!1}},isDisabled:a,isContainerClickable:!0})]})]}),F==="yes"&&l.jsx($,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},text:{type:"text",name:u(o,"regulatedStatusDescription"),placeholder:t.regulatedStatusDescriptionPlaceholder,style:{backgroundColor:g[o]!=null&&g[o]?.regulatedStatusDescription!=null?B.importantLight:j.colors.background},options:{required:a==null,shouldUnregister:!0}},additionalInfoLabel:t.regulatedStatusDescriptionError,style:{outline:"none",width:"100%",padding:0}}),g[o]!=null&&g[o]?.regulatedStatus!=null?l.jsx(Ze,{windowSize:x,children:t.regulatedStatusError.replace("_product_type_",y)}):g[o]!=null&&g[o]?.regulatedStatusDescription!=null?null:a==null?l.jsx(yl,{windowSize:x,children:t.regulatedStatusAdditionalInfo}):null]}),l.jsx(O,{})]}):null,ne?l.jsxs(l.Fragment,{children:[l.jsxs(hl,{windowSize:x,"data-suppress-hover":a!=null?!0:void 0,children:[l.jsxs(fl,{children:[l.jsx(il,{label:t.usNexusLabel,htmlFor:u(o,"usNexus"),isDisabled:a,style:{width:v,color:a==="disabled"?j.colors.grey1:j.colors.hero}}),l.jsxs(gl,{labelWidth:v,windowSize:x,children:[l.jsx(De,{label:{label:cl},style:{paddingRight:`${i.sp4}`,width:"auto"},radioField:{name:u(o,"usNexus"),id:`${u(o,"usNexus")}.yes`,value:"yes",style:{height:`${i.sp3}`,width:`${i.sp3}`},radioSize:"small",registerOptions:{required:a==null&&p.includes("usNexus")===!1}},isDisabled:a,isContainerClickable:!0}),l.jsx(De,{label:{label:ul},style:{width:"auto"},radioField:{name:u(o,"usNexus"),id:`${u(o,"usNexus")}.no`,value:"no",style:{height:`${i.sp3}`,width:`${i.sp3}`},radioSize:"small",registerOptions:{required:a==null&&p.includes("usNexus")===!1}},isDisabled:a,isContainerClickable:!0})]})]}),Z==="yes"&&l.jsxs(l.Fragment,{children:[l.jsx(Yt,{hasError:g[o]!=null&&g[o]?.usNexusTypes!=null,children:l.jsx(mt,{isDisabled:a,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},multiSelectField:{name:u(o,"usNexusTypes"),placeholder:t.usNexusPlaceholder,defaultValue:{selectedOptions:Wl,allOptions:Ml},registerOptions:{required:a==null,shouldUnregister:!0,validate:r=>{const z=r?.selectedOptions;return z!=null&&z.length>0}}},style:{outline:"none",margin:0,padding:0,width:"100%"}})}),g[o]!=null&&g[o]?.usNexusTypes!=null&&l.jsx(Ze,{windowSize:x,children:t.usNexusTypesError})]}),g[o]!=null&&g[o]?.usNexus!=null?l.jsx(Ze,{windowSize:x,children:t.usNexusError.replace("_product_type_",y)}):g[o]!=null&&g[o]?.usNexusTypes!=null?null:a==null?l.jsx(yl,{windowSize:x,children:t.usNexusAdditionalInfo}):null]}),l.jsx(O,{})]}):null,l.jsx($,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:t.companyTaxIdLabel,width:T},text:{type:"text",name:u(o,"companyTaxId"),placeholder:t.companyTaxIdPlaceholder,defaultValue:ze,options:{required:a==null&&p.includes("companyTaxId")===!1,pattern:Kl},autoComplete:"new-password"},additionalInfoLabel:t.companyTaxIdError.replace("_product_type_",y)}),l.jsx(O,{}),l.jsx(vl,{isDisabled:a,label:{label:t.companyPhoneLabel,width:T},text:{name:u(o,"companyPhone"),placeholder:Oe(t.companyPhoneLabel),defaultValue:d,autoComplete:"new-password",options:{required:a==null&&p.includes("companyPhone")===!1}},errorInfoLabel:t.companyPhoneError.replace("_product_type_",y)}),l.jsx(O,{}),l.jsx(Sl,{isDisabled:a,label:{label:t.companyPrimaryContactNameLabel,width:v},nameField:{name:u(o,"primaryContactName"),placeHolder:{firstName:t.firstNamePlaceholder,lastName:t.lastNamePlaceholder,name:t.namePlaceholder},defaultValue:{firstName:ye?.firstName??"",lastName:ye?.lastName??""},registerOptions:{required:a==null&&p.includes("primaryContactName")===!1,validate:r=>!!r||a!=null||p.includes("primaryContactName")},showFullNameError:!0},errorInfoLabel:t.companyPrimaryContactNameError.replace("_product_type_",y)}),l.jsx(O,{}),l.jsx($,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:t.companyPrimaryContactEmailLabel,width:v},text:{type:"email",name:u(o,"primaryContactEmail"),placeholder:t.companyPrimaryContactEmailPlaceholder,defaultValue:ye?.email,options:{required:a==null&&p.includes("primaryContactEmail")===!1}},additionalInfoLabel:t.companyPrimaryContactEmailError.replace("_product_type_",y)}),l.jsx(O,{}),l.jsx(rl,{name:u(o,"certificateOfIncorporation"),isDisabled:a,sizeLimit:Je,deleteFileStatusById:k,updateFileStatusById:Q,filesEndPoint:c.filesEndPoint,authParams:c.authParams,label:{label:t.certificateOfIncorporation,width:ge},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:a==null&&p.includes("certificateOfIncorporation")===!1&&C==="unit"},additionalInfoLabel:t.certOfIncopDocumentError.replace("_product_type_",y),hasError:be,updateFilesEntity:c.updateFilesEntity,onEditFileName:c.onEditFileName,onDeleteFile:c.onDeleteFile,onFileSizeError:r=>$e(r)}),be||!(a!=null||je!=null)?l.jsx(ml,{windowSize:x,isError:be,children:dl.formatDocumentText10MB}):null,l.jsx(O,{}),l.jsx(rl,{name:u(o,"ein"),isDisabled:a,sizeLimit:Je,deleteFileStatusById:k,updateFileStatusById:Q,filesEndPoint:c.filesEndPoint,authParams:c.authParams,label:{label:t.einDocument,width:ge},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:a==null&&p.includes("ein")===!1},additionalInfoLabel:t.einDocumentError.replace("_product_type_",y),hasError:_,updateFilesEntity:c.updateFilesEntity,onEditFileName:c.onEditFileName,onDeleteFile:c.onDeleteFile,onFileSizeError:r=>Be(r)}),_||!(a!=null||ve!=null)?l.jsx(ml,{windowSize:x,isError:_,children:dl.formatDocumentText10MB}):null,l.jsx(O,{}),pe===!0?l.jsxs(l.Fragment,{children:[l.jsx(K,{label:{label:t.sourceOfFundsLabel,width:T},singleSelectField:{singleSelect:{name:u(o,"sourceOfFunds"),placeholder:t.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:zl,isDisabled:a,showTickMark:!1,menuPlacement:"top",sortOptions:!1},defaultValue:{selectedOption:m?.sourceOfFunds,allOptions:Object.keys(t.sourceOfFundOptions)},registerOptions:{required:a==null&&p.includes("sourceOfFunds")===!1,validate:r=>p.includes("sourceOfFunds")===!1?!(a==null&&!r?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:t.sourceOfFundsError.replace("_product_type_",y)}),l.jsx(O,{})]}):null]})]})});zt.displayName="Company Details Section";const u=(e,c)=>`${e}.${c}`,At=s.div`
|
|
40
40
|
display: flex;
|
|
41
41
|
flex-direction: column;
|
|
42
42
|
row-gap: ${e=>G.containerRowGap.valuePx(e.windowSize)};
|
|
@@ -94,7 +94,7 @@ import{Q as Je,g as xl,cI as wl,F as de,y as E,aQ as Ul,V as l,bS as Ol,fF as Il
|
|
|
94
94
|
background-color: ${e=>e.theme.colors.grey3};
|
|
95
95
|
min-height: 1px;
|
|
96
96
|
max-height: 1px;
|
|
97
|
-
`,
|
|
97
|
+
`,Jt=s(Cl)`
|
|
98
98
|
width: max-content;
|
|
99
99
|
margin-left: ${i.sp3};
|
|
100
100
|
`,hl=s.div`
|
|
@@ -123,7 +123,7 @@ import{Q as Je,g as xl,cI as wl,F as de,y as E,aQ as Ul,V as l,bS as Ol,fF as Il
|
|
|
123
123
|
align-items: center;
|
|
124
124
|
margin-top: ${i.sp2};
|
|
125
125
|
margin-bottom: ${i.sp2};
|
|
126
|
-
`,
|
|
126
|
+
`,gl=s.div`
|
|
127
127
|
display: flex;
|
|
128
128
|
flex-direction: row;
|
|
129
129
|
width: ${e=>`calc(100% - ${e.labelWidth}px)`};
|
|
@@ -131,7 +131,7 @@ import{Q as Je,g as xl,cI as wl,F as de,y as E,aQ as Ul,V as l,bS as Ol,fF as Il
|
|
|
131
131
|
justify-content: flex-end;
|
|
132
132
|
flex-grow: 1;
|
|
133
133
|
padding-right: ${i.sp3};
|
|
134
|
-
`,
|
|
134
|
+
`,yl=s(ll)`
|
|
135
135
|
color: ${e=>e.theme.colors.hero};
|
|
136
136
|
text-align: right;
|
|
137
137
|
padding-right: ${i.sp3};
|
|
@@ -147,7 +147,7 @@ import{Q as Je,g as xl,cI as wl,F as de,y as E,aQ as Ul,V as l,bS as Ol,fF as Il
|
|
|
147
147
|
& .select-control {
|
|
148
148
|
background-color: ${e=>e.hasError===!0?B.importantLight:e.theme.colors.background} !important;
|
|
149
149
|
}
|
|
150
|
-
`,
|
|
150
|
+
`,Qt=s.div`
|
|
151
151
|
display: flex;
|
|
152
152
|
flex-direction: column;
|
|
153
153
|
padding: ${i.sp2} ${i.sp2} ${i.sp2} ${i.sp0};
|
|
@@ -173,7 +173,7 @@ import{Q as Je,g as xl,cI as wl,F as de,y as E,aQ as Ul,V as l,bS as Ol,fF as Il
|
|
|
173
173
|
display: flex;
|
|
174
174
|
align-items: center;
|
|
175
175
|
justify-content: flex-end;
|
|
176
|
-
`,Xt=(e,c)=>e.map(b=>({...b,value:b.userId,label:b.firstName!=""||b.lastName!=""?`${b.firstName} ${b.lastName}`:b.email})),ea=(e,c)=>({...e,value:e.userId,label:e.firstName!=""||e.lastName!=""?`${e.firstName} ${e.lastName}`:e.email});function la({allUsers:e,onSelectedUserChanged:c,selectedUser:b,disable:m=!1,pickerStyles:{optionBackgroundColor:M,selectedOptionBackgroundColor:C,optionTextStyle:W,titleTextStyle:a,backgroundColor:ae,titleTextAlignment:o,selectedOptionColor:ce,customStyleConfig:ue}={},customization:{placeholderLabel:ie}={},showAddUser:pe=!0}){const w=xl(),[p,q]=h.useState(!1),me=Xt(e).sort((f,F)=>f.label.localeCompare(F.label)),N=b!=null?ea(b):void 0,x=M??w.colors.grey5,j=ae??w.colors.grey5,S=C??w.colors.grey3,oe=W??Ee.smallRegular.cssObject,
|
|
176
|
+
`,Xt=(e,c)=>e.map(b=>({...b,value:b.userId,label:b.firstName!=""||b.lastName!=""?`${b.firstName} ${b.lastName}`:b.email})),ea=(e,c)=>({...e,value:e.userId,label:e.firstName!=""||e.lastName!=""?`${e.firstName} ${e.lastName}`:e.email});function la({allUsers:e,onSelectedUserChanged:c,selectedUser:b,disable:m=!1,pickerStyles:{optionBackgroundColor:M,selectedOptionBackgroundColor:C,optionTextStyle:W,titleTextStyle:a,backgroundColor:ae,titleTextAlignment:o,selectedOptionColor:ce,customStyleConfig:ue}={},customization:{placeholderLabel:ie}={},showAddUser:pe=!0}){const w=xl(),[p,q]=h.useState(!1),me=Xt(e).sort((f,F)=>f.label.localeCompare(F.label)),N=b!=null?ea(b):void 0,x=M??w.colors.grey5,j=ae??w.colors.grey5,S=C??w.colors.grey3,oe=W??Ee.smallRegular.cssObject,g=a??oe,he={control:(f,F)=>({...f,border:0,height:"100%",backgroundColor:j,fill:F.selectProps.menuIsOpen===!0?w.colors.primary:w.colors.grey1,boxShadow:j,">div:last-child":{color:p?w.colors.primary:w.colors.grey1},":active":{backgroundColor:j},":hover":{fill:w.colors.primary,">div:last-child":{color:w.colors.primary}},minHeight:"auto",cursor:"pointer",flexDirection:"column",">div>div>svg":{color:w.colors.grey1,">path":{color:w.colors.grey5,fill:"currentcolor"}}}),container:f=>({...f,backgroundColor:j,height:"100%"}),singleValue:f=>({...f,margin:0,minWidth:void 0,backgroundColor:void 0,">div":{borderRadius:0,padding:i.sp0,borderLeftStyle:"none",borderWidth:1,borderColor:w.colors.grey1,color:"unset"},">div>div>div>div:last-child":{display:"block",...Ee.standardRegular.cssObject}}),valueContainer:f=>({...f,maxWidth:"100%",cursor:"pointer",height:"100%",...g,overflow:"visible",minWidth:"auto",padding:0,display:"flex",justifyContent:o??"flex-start",alignItems:"center",flexWrap:"nowrap",flexDirection:"row",">div":{width:"inherit"}}),menu:(f,F)=>({...f,backgroundColor:x,borderRadius:R[1],boxShadow:`${i.sp0} 2px ${i.sp2} ${w.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:3,width:236,margin:`6px ${i.sp0}`,right:"-11%",">div":{flexDirection:"column",maxHeight:200,overflowY:"auto",borderRadius:i.sp1,padding:`${i.sp1} ${i.sp0}`,">div":{width:"-webkit-fill-available"}},...ue?.menu?.(f,F)}),menuList:f=>({...f,borderRadius:R[1]}),placeholder:(f,F)=>({...f,margin:0,width:"100%",color:F.isFocused?w.colors.primary:"currentColor",paddingRight:i.sp2,...Ee.standardRegular.cssObject,">div>div>svg>circle":{fill:w.colors.grey1}}),noOptionsMessage:f=>({...f,...Ee.smallRegular.cssObject,padding:`10px ${i.sp3} 9px ${i.sp3}`,color:w.colors.hero}),option:(f,{isDisabled:F,isSelected:Z,isFocused:X})=>({...f,...oe,color:Z?ce??w.colors.champion:w.colors.hero,backgroundColor:Z?S:X?w.colors.background:x,cursor:F?"not-allowed":Z?"default":"pointer","svg:nth-of-type(2)":{display:"none"},":hover":{backgroundColor:w.colors.background,color:w.colors.primary},"& label":{paddingRight:"10px",cursor:F?"not-allowed":Z?"inherit":"pointer"},">div>div>div:first-of-type":{display:"flex"}}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({}),indicatorsContainer:()=>({height:"100%",display:"flex",alignItems:"center"})},fe=({children:f,...F})=>l.jsxs(Pe.ValueContainer,{...F,children:[f,pe===!0?l.jsxs(ya,{hasSelectedUser:!!b,onClick:()=>{c(void 0),q(!1)},children:[l.jsx(sa,{}),l.jsx("div",{children:ie??"Add User"})]}):null]});return l.jsx(Xl,{onClickAway:()=>{q(!1)},children:l.jsx(Kt,{children:l.jsx(et,{isMulti:!1,menuPlacement:"auto",minMenuHeight:200,maxMenuHeight:200,menuIsOpen:p,menuShouldScrollIntoView:!1,defaultValue:N,value:N,noOptionsMessage:()=>de.getLocalizedStrings().cockpit.management.noPerson,onInputChange:f=>{f!==""&&q(!0)},onMenuOpen:()=>{q(!0)},placeholder:l.jsx(aa,{children:l.jsx("div",{children:ie??"Select..."})}),components:{Option:ua,DropdownIndicator:ba,IndicatorSeparator:xa,SingleValue:fa,ValueContainer:ga,MenuList:fe},hideSelectedOptions:!1,closeMenuOnSelect:!1,styles:he,options:me,isDisabled:m,onChange:f=>{c(f),q(!1)},isClearable:!1,isSearchable:!1},lt())})})}const ta=s.div``,aa=s.div`
|
|
177
177
|
display: flex;
|
|
178
178
|
align-items: center;
|
|
179
179
|
color: ${e=>e.theme.colors.grey1};
|
|
@@ -222,7 +222,7 @@ import{Q as Je,g as xl,cI as wl,F as de,y as E,aQ as Ul,V as l,bS as Ol,fF as Il
|
|
|
222
222
|
white-space: nowrap;
|
|
223
223
|
overflow: hidden;
|
|
224
224
|
text-overflow: ellipsis;
|
|
225
|
-
`,fa=({children:e,data:c,...b})=>{const{options:m}=b.selectProps,M=m.findIndex(C=>C.value===c.value);return l.jsx(Pe.MultiValueLabel,{...b,children:l.jsxs(wa,{children:[c?.photo!==void 0?l.jsx(kl,{src:c?.photo.href,alt:de.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:C})=>{C.onerror=null,C.src=Ke},loading:"lazy"}):l.jsx(Xe,{firstName:c?.firstName??"",lastName:c?.lastName??"",size:`${i.sp4}`,index:M}),l.jsx(ha,{children:e})]})})},
|
|
225
|
+
`,fa=({children:e,data:c,...b})=>{const{options:m}=b.selectProps,M=m.findIndex(C=>C.value===c.value);return l.jsx(Pe.MultiValueLabel,{...b,children:l.jsxs(wa,{children:[c?.photo!==void 0?l.jsx(kl,{src:c?.photo.href,alt:de.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:C})=>{C.onerror=null,C.src=Ke},loading:"lazy"}):l.jsx(Xe,{firstName:c?.firstName??"",lastName:c?.lastName??"",size:`${i.sp4}`,index:M}),l.jsx(ha,{children:e})]})})},ga=({children:e,...c})=>l.jsxs(Pe.ValueContainer,{...c,children:[c.selectProps.value==null?l.jsx(ia,{children:l.jsx(oa,{})}):null,e]}),ya=s(ll)`
|
|
226
226
|
color: ${e=>e.hasSelectedUser?e.theme.colors.hero:e.theme.colors.primary};
|
|
227
227
|
display: flex;
|
|
228
228
|
padding: ${i.sp2} 12px;
|
|
@@ -237,7 +237,7 @@ import{Q as Je,g as xl,cI as wl,F as de,y as E,aQ as Ul,V as l,bS as Ol,fF as Il
|
|
|
237
237
|
display: flex;
|
|
238
238
|
flex-direction: row;
|
|
239
239
|
cursor: pointer;
|
|
240
|
-
`,Ie={width:new E(343,580,726),labelWidth:new E(115,145,155),largeLabelWidth:new E(160,240,240),veryLargeLabelWidth:new E(150,240,245),containerRowGap:new E(12,R[3])},Oa={title:new Ne("standardMedium","largeMedium")};function Ya({companyOfficerData:e,isDisabled:c,allOfficers:b,allNationalityCountries:m,isRefreshingViewInBackground:M,connectedAccountProvider:C,style:W,isPopupOpen:a,sectionId:ae,filesEndPoint:o,authParams:ce,showInfoTooltip:ue=!0,isCompleted:ie=!1,showCompletedIcon:pe=!1,showOfficerSelect:w=!0,showVerificationTag:p=!0,isForTreasury:q=!1,isOverlay:me=!1,productType:N,companyTitles:x,sectionHeader:j,optionalFields:S=[],onOfficerAddressClick:oe,onDeleteFile:
|
|
240
|
+
`,Ie={width:new E(343,580,726),labelWidth:new E(115,145,155),largeLabelWidth:new E(160,240,240),veryLargeLabelWidth:new E(150,240,245),containerRowGap:new E(12,R[3])},Oa={title:new Ne("standardMedium","largeMedium")};function Ya({companyOfficerData:e,isDisabled:c,allOfficers:b,allNationalityCountries:m,isRefreshingViewInBackground:M,connectedAccountProvider:C,style:W,isPopupOpen:a,sectionId:ae,filesEndPoint:o,authParams:ce,showInfoTooltip:ue=!0,isCompleted:ie=!1,showCompletedIcon:pe=!1,showOfficerSelect:w=!0,showVerificationTag:p=!0,isForTreasury:q=!1,isOverlay:me=!1,productType:N,companyTitles:x,sectionHeader:j,optionalFields:S=[],onOfficerAddressClick:oe,onDeleteFile:g,onEditFileName:he,updateFilesEntity:fe,openPopup:f,onGetOtp:F,onVerifyOtp:Z,onResendOtp:X,verifiedPhoneNumber:ee,onPhoneVerified:T}){const P=Qe(),v=xl(),{getValues:le,setValue:ge}=wl(),y=b.length>0,[je,ve]=h.useState(!1),te=y?Object.values(e).findIndex(n=>n?.isSelectedForVerification===!0):0,J=`Officer_${te<0?1:te+1}`;h.useEffect(()=>{T!=null&&e[J]?.phone!=null&&e[J].isPhoneVerified===!0&&T(e[J]?.phone??"")},[]);const L=`${ae}.${te}`,Y=e[J],U=q?Y?.treasuryUserVerificationStatus:Y?.userVerificationStatus,V=b.find(n=>n.userId===Y?.userId),Ve=b.sort((n,D)=>(n.firstName||n.lastName?`${n.firstName} ${n.lastName}`:n.email).localeCompare(D.firstName||D.lastName?`${D.firstName} ${D.lastName}`:D.email)),re=y?Ve.findIndex(n=>n.userId===Y?.userId):0,Le=e[J]?.deleteFileStatusById??{},ke=e[J]?.updateFileStatusById??{},_e=le(`${L}.selectDocument.selectDocumentType`),{common:{optional:Te},commonSetUp:{businessVerification:d},dateFormat:{visual:ze},cockpit:ye}=de.getLocalizedStrings(),k=N==="onboarding"?d.productType.business_verification:d.productType[N],Q=Ie.labelWidth.value(P),Ae=Ie.veryLargeLabelWidth.value(P),se=Ie.largeLabelWidth.value(P),be=P==="small"?d.companyRolePlaceholderSmall:d.companyRolePlaceholder,$e=P==="small"?d.protectedSsnTextSmall:d.protectedSsnText,_=U?.code==="pending_review"||U?.code==="verified"?"readonly":c,Be=_!=null||!y||U?.code==="require_info",Re=V?.firstName||V?.lastName?`${V?.firstName} ${V?.lastName}`:d.addOfficer,Me=Y?.userId!=null?d.confirmIdentityDetails:d.confirmIdentityDetailsNewOfficer,We={menu:()=>({right:"initial",left:0})},qe=n=>x.find(D=>D.code===n)?.name??n,xe=Y?.otpverificationStatus?.fetchState,Ce=Ul(xe);h.useEffect(()=>{T!=null&&Ce==="In-Progress"&&xe==="Completed"&&T(le(`${L}.phone`))},[Ce,xe]);const Ue=(n,D)=>{Z(n,D)},He=()=>ee==null||ee===""?!1:le(`${L}.phone`)===ee,Ge=()=>{const n=le(`${L}.phone`);return n!=null&&!at(n)?d.phoneErrorForOnboarding:d.phoneError.replace("_product_type_",k)};return l.jsxs(Ia,{style:W,windowSize:P,children:[l.jsxs(Sa,{windowSize:P,isOverlay:me,children:[l.jsxs(Pa,{children:[l.jsxs(va,{children:[pe===!0?l.jsx(La,{children:ie?l.jsx(_a,{}):l.jsx(Ca,{})}):null,l.jsx(ja,{windowSize:P,children:j??Me})]}),ue?l.jsx(Fa,{children:l.jsx(Ol,{variant:"small-description",maxWidth:"275px",data:d.confirmIdentityDetailsTooltip,display:"flex",placement:P==="small"||N==="onboarding"?"bottom":"right",children:l.jsx(Da,{})})}):null,N==="onboarding"&&j!=null?l.jsx(Vl,{text:Te}):null,U!=null&&p?l.jsx(Ta,{tagTitle:U?.name,textColor:Il(U.code),showLoader:M}):null]}),w?Be?y?l.jsxs(ka,{children:[V?.photo!==void 0?l.jsx(Ea,{src:V?.photo.href,alt:ye.userProfileAltText,onError:({currentTarget:n})=>{n.onerror=null,n.src=Ke},loading:"lazy"}):l.jsx(Xe,{firstName:V?.firstName??"",lastName:V?.lastName??"",size:`${i.sp4}`,index:re}),l.jsx(bl,{children:`${Re}`})]}):l.jsxs(za,{children:[l.jsx(Aa,{children:l.jsx($a,{})}),l.jsx(bl,{children:`${d.addOfficer}`})]}):l.jsx(Na,{children:l.jsx(la,{selectedUser:V,allUsers:b,onSelectedUserChanged:n=>{const D=Object.values(e).findIndex(ne=>ne?.userId===n?.userId);ge(`${L}.isSelectedForVerification`,!1),ge(`${ae}.${D}.isSelectedForVerification`,!0)},customization:{placeholderLabel:d.addOfficer},showAddUser:b.length<=9,pickerStyles:{backgroundColor:v.colors.grey5,selectedOptionBackgroundColor:v.colors.background,customStyleConfig:P==="small"?We:void 0}})}):null]}),Object.values(e).map((n,D)=>{if(te!==D)return null;const ne=Hl(n?.documentTypeSelectedForVerification),we=n?.userFiles??[],Fe=()=>ee!=""&&N==="onboarding"?He():n?.isPhoneVerified??!1;return l.jsxs(Va,{children:[l.jsx(Pl,{}),l.jsx(Sl,{isDisabled:_,label:{label:d.name,width:Q},nameField:{name:A(L,"name"),placeHolder:{firstName:d.firstNamePlaceholder,lastName:d.lastNamePlaceholder,name:d.namePlaceholder},defaultValue:{firstName:n?.firstName??"",lastName:n?.lastName??""},registerOptions:{required:S.includes("name")===!1,validate:I=>S.includes("name")===!1?!!I:!0},showFullNameError:!0},errorInfoLabel:d.nameError.replace("_product_type_",k)}),l.jsx(H,{}),n?.userId==null?l.jsxs(l.Fragment,{children:[l.jsx($,{isDisabled:_,showAdditionalInfoLabel:!1,label:{label:d.email,width:Q},text:{type:"email",name:A(L,"email"),placeholder:Oe(d.email),defaultValue:n?.email,options:{required:S.includes("email")===!1}},additionalInfoLabel:d.emailDescription.replace("_product_type_",k)}),l.jsx(H,{})]}):null,l.jsx(jl,{isDisabled:_,label:{label:d.dobLabel,width:se},dateField:{name:A(L,"dob"),type:"text",defaultValue:n?.birthday,placeholder:Oe(d.dobLabel),dateFormat:ze.defaultInput,maxDate:El().subtract(C==="unit"?18:13,"years"),registerOptions:{required:S.includes("dob")===!1},autoComplete:"off"},additionalInfoLabel:d.dobDescription.replace("_product_type_",k),isMasked:!0}),l.jsx(H,{}),l.jsx(Gl,{isDisabled:_,label:{label:d.nationalityLabel,width:Q},showAdditionalInfoLabel:N!=="onboarding",additionalInfoLabel:d.nationalityDescription.replace("_product_type_",k),countrySelectField:{name:A(L,"nationalityCountryCode"),placeholder:d.nationalityPlaceholder,defaultValue:Zl(n?.nationalityCountryCode,m.map(I=>I.countryCode)),registerOptions:{validate:I=>!!(I!=null&&I.selectedOption)}}}),l.jsx(H,{}),l.jsx(Ye,{isDisabled:_,label:{label:d.address,width:Q},addressValueField:{name:A(L,"officerAddress"),placeholder:Oe(d.address),defaultValue:n?.addressStatus?.addressToCreate,registerOptions:{validate:I=>S.includes("officerAddress")===!1?!(_==null&&I==null):!0},onClick:()=>{oe(n?.officerType.toLocaleLowerCase().concat("_address"))}},additionalInfoLabel:N==="onboarding"?d.addressAdditionInfo:d.addressError.replace("_product_type_",k),showAdditionalInfoLabel:!0}),l.jsx(H,{}),l.jsx(vl,{isDisabled:_,label:{label:d.phone,width:Q},text:{name:A(L,"phone"),placeholder:Oe(d.phone),defaultValue:n?.phone,autoComplete:"new-password",options:{required:S.includes("phone")===!1}},errorInfoLabel:Ge(),verificationErrorInfoLabel:d.phoneValidationError,isPopupOpen:a,phoneVerifyButtonProps:{otpChallenge:n?.otpChallenge,showOtpButton:C==="unit",onGetOtp:F,onVerifyOtp:Ue,onResendOtp:X,isPhoneVerified:Fe(),phoneVerificationStatus:n?.otpverificationStatus,getOtpStatus:n?.sendOtpStatus,openPopup:f,verifiedPhoneNumber:ee,focusNotRequired:!0}}),l.jsx(H,{}),l.jsx(K,{label:{label:d.companyRoleLabel,width:se},singleSelectField:{singleSelect:{name:A(L,"role"),placeholder:be,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:qe,isDisabled:_,showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:n?.titleAtCompany,allOptions:x?.map(I=>I.code)??[]},registerOptions:{required:S.includes("role")===!1,validate:I=>S.includes("role")===!1?!(_==null&&!I?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:d.companyRoleDescription.replace("_product_type_",k)}),l.jsx(H,{}),l.jsx(tl,{isDisabled:_,showAdditionalInfoLabel:!1,label:{label:d.companyOwnershipLabel,width:se},formattedTextField:{type:"number",name:A(L,"ownership"),defaultValue:n?.ownershipInCompany,placeholder:d.companyOwnershipPlaceholder,returnValueType:"floatValue",suffix:"%",allowNegative:!1,isNumericString:!1,registerOptions:{required:S.includes("ownership")===!1,validate:I=>I!=null?I>0&&I<=100:!0,max:100},autoComplete:"new-password"},additionalInfoLabel:N==="onboarding"?d.companyOwnershipDescriptionForOnboarding:d.companyOwnershipDescription}),l.jsx(H,{}),l.jsx(tl,{isDisabled:_,showAdditionalInfoLabel:!1,label:{label:d.ssnLabel,width:se},formattedTextField:{type:"text",name:A(L,"ssn"),placeholder:d.addSSNPlaceholder,defaultValue:n?.ssn,format:"###-##-####",registerOptions:{required:S.includes("ssn")===!1,pattern:Jl},autoComplete:"new-password",maxLength:9,allowLeadingZeros:!0},protectedInfoText:_!=null&&n?.ssn?$e:void 0,additionalInfoLabel:d.ssnDescription.replace("_product_type_",k),isMasked:!0}),l.jsx(H,{}),l.jsx(Yl,{name:A(L,"selectDocument"),officerIndex:te,sizeLimit:Je,filesEndPoint:o,authParams:ce,onEditFileName:he,acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],label:{width:Ae},allFiles:we,updateFilesEntity:fe,deleteFileStatusById:Le,updateFileStatusById:ke,onDeleteFile:g,isDisabled:_,menuPlacement:N==="onboarding"&&ne==null?"top":"auto",defaultValue:{defaultSelectDocumentType:ne,allSelectDocumentType:["driverLicense","passport","ssnCard"],files:{front:al(!0,we,_e),back:al(!1,we,_e)}},registerOptions:{required:S.includes("selectDocument")===!1},hasError:je,additionalInfoLabel:d.companyIdDescription.replace("_product_type_",k),onFileSizeError:I=>ve(I),isPopupOpen:a,openPopup:f,companyOfficerName:{firstName:n?.firstName??"",lastName:n?.lastName??""}})]},L)})]})}const A=(e,c)=>`${e}.${c}`,Ia=s.div`
|
|
241
241
|
display: flex;
|
|
242
242
|
flex-direction: column;
|
|
243
243
|
row-gap: ${e=>Ie.containerRowGap.valuePx(e.windowSize)};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import{V as r,aL as E,aM as x,F as p,o as l,aP as M,aS as w,ai as y,aT as H}from"./index-
|
|
1
|
+
import{V as r,aL as E,aM as x,F as p,o as l,aP as M,aS as w,ai as y,aT as H}from"./index-WEj6FS32.js";import{n as o}from"./mui-BTtN6lbG.js";import{c as j}from"./SummaryCard-vWpHXMPE-j4-YbXA_.js";import{a as t}from"./sentry-B0WgNUxa.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./zeni-epic-state-DnAAAEmj.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";import"./ReloadCard-DETUOoLJ-Dww2RtAQ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="d702b321-a20a-46da-abf6-b592002657f7",e._sentryDebugIdIdentifier="sentry-dbid-d702b321-a20a-46da-abf6-b592002657f7")}catch{}})();const B=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M25.8382 19.5283C25.8382 19.5283 31.0943 15.1988 31.0943 12.6045C31.0943 11.998 30.7236 11.9138 30.2856 11.9138H20.0263V6.72512C20.0263 6.27027 19.6556 5.9165 19.2176 5.9165H2.74197C2.28712 5.9165 1.93335 6.28712 1.93335 6.72512V20.3706C1.93335 20.8255 2.30397 21.1792 2.74197 21.1792H11.182V27.1765H30.3025C30.7573 27.1765 31.1111 26.8733 31.1111 26.4858C31.0943 24.5822 27.4892 20.9434 25.8382 19.5283Z",fill:"#95C1B7"}),t.createElement("path",{d:"M18.9987 20.1516H1.69754C1.24269 20.1516 0.888916 19.781 0.888916 19.343V5.69754C0.888916 5.24269 1.25953 4.88892 1.69754 4.88892H18.19C18.6449 4.88892 18.9987 5.25953 18.9987 5.69754V20.1516Z",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M18.9987 10.8862H29.2581C29.7129 10.8862 30.0667 10.9705 30.0667 11.5769C30.0667 14.1713 24.8107 18.5007 24.8107 18.5007C26.4616 19.9158 30.0667 23.5546 30.0667 25.4583C30.0667 25.8457 29.6961 26.149 29.2581 26.149H10.1376V20.1517",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M18.9987 20.1516L10.1376 26.1489",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M14.8545 16.3949H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 12.5203H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 8.62878H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),D=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M29.1471 12.9199H19.384V2.69038C19.384 2.2561 19.0302 1.91833 18.612 1.91833H4.13618C3.7019 1.91833 3.36414 2.27219 3.36414 2.69038V30.3391C3.36414 30.7734 3.71799 31.1112 4.13618 31.1112H17.5665H18.612H29.1471C29.5814 31.1112 29.9192 30.7573 29.9192 30.3391V13.692C29.9192 13.2738 29.5653 12.9199 29.1471 12.9199Z",fill:"#97C3B9"}),t.createElement("path",{d:"M26.2595 15.4934H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 25H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 20H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 15H5.53552",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 25H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 20H21",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 10H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 5.36316H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M18.242 30.0978V1.66096C18.242 1.22668 17.8882 0.888916 17.47 0.888916H2.99421C2.55994 0.888916 2.22217 1.24277 2.22217 1.66096V29.3097C2.22217 29.744 2.57602 30.0818 2.99421 30.0818H17.47",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M16.4246 30.0978H28.0052C28.4395 30.0978 28.7772 29.744 28.7772 29.3258V12.6625C28.7772 12.2283 28.4234 11.8905 28.0052 11.8905H18.1617",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10})),b=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M16.3966 31.1111C24.5135 31.1111 31.0936 24.5311 31.0936 16.4141C31.0936 8.29723 24.5135 1.71716 16.3966 1.71716C8.27965 1.71716 1.69958 8.29723 1.69958 16.4141C1.69958 24.5311 8.27965 31.1111 16.3966 31.1111Z",fill:"#97C3B9"}),t.createElement("path",{d:"M15.5859 30.2829C23.7028 30.2829 30.2829 23.7028 30.2829 15.5859C30.2829 7.46898 23.7028 0.888916 15.5859 0.888916C7.46898 0.888916 0.888916 7.46898 0.888916 15.5859C0.888916 23.7028 7.46898 30.2829 15.5859 30.2829Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M3.76135 15.9559C3.76135 20.1148 6.01701 23.745 9.36524 25.6834",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M8.81897 19.9034C8.81897 17.3658 11.85 15.304 15.5859 15.304C19.3219 15.304 22.3529 17.3658 22.3529 19.9034C22.3529 24.8729 8.81897 24.9257 8.81897 19.9034Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M15.5859 13.2245C17.1626 13.2245 18.4407 11.9464 18.4407 10.3697C18.4407 8.79304 17.1626 7.51489 15.5859 7.51489C14.0092 7.51489 12.7311 8.79304 12.7311 10.3697C12.7311 11.9464 14.0092 13.2245 15.5859 13.2245Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M27.0404 15.6035C27.0404 11.4446 24.7848 7.81443 21.4365 5.87598",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),g=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon:D},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:b},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:B}],v=o(w)`
|
|
2
2
|
margin: ${l.sp5};
|
|
3
3
|
justify-content: space-between;
|
|
4
|
-
`,
|
|
4
|
+
`,L=o.div`
|
|
5
5
|
display: flex;
|
|
6
6
|
flex: 0 1 auto;
|
|
7
7
|
flex-direction: row;
|
|
8
8
|
align-items: center;
|
|
9
9
|
margin-bottom: ${l.sp3};
|
|
10
|
-
`,
|
|
10
|
+
`,W=o(y)`
|
|
11
11
|
color: ${e=>e.theme.colors.champion};
|
|
12
12
|
`,I=o.div`
|
|
13
13
|
display: flex;
|
|
@@ -39,4 +39,4 @@ import{V as r,aL as E,aM as x,F as p,o as l,aP as M,aS as w,ai as y,aT as H}from
|
|
|
39
39
|
width: 100%;
|
|
40
40
|
height: 1px;
|
|
41
41
|
background-color: ${e=>e.theme.colors.grey3};
|
|
42
|
-
`;function Y({card:e,actions:s,data:d,dndProps:n}){return r.jsx(E,{isDragging:n?.draggedCardType!=null,isDragOver:n?.dragOverCard===e.cardType,draggable:!0,onDragStart:i=>n?.onDragStart(e.cardType,i),onDragOver:i=>n?.onDragOver(i,e.cardType),onDragLeave:i=>n?.onDragLeave(i),onDrop:i=>n?.onDrop(i,e.cardType),dimension:e.dimension,children:r.jsx(j,{card:e,actions:s,children:r.jsx(x,{dimension:e.dimension,style:{cursor:"pointer"},onClick:()=>s.onCardClick(e.cardIndex,e.cardType),"data-testid":M("dashboard",e.cardType),children:r.jsxs(
|
|
42
|
+
`;function Y({card:e,actions:s,data:d,dndProps:n}){return r.jsx(E,{isDragging:n?.draggedCardType!=null,isDragOver:n?.dragOverCard===e.cardType,draggable:!0,onDragStart:i=>n?.onDragStart(e.cardType,i),onDragOver:i=>n?.onDragOver(i,e.cardType),onDragLeave:i=>n?.onDragLeave(i),onDrop:i=>n?.onDrop(i,e.cardType),dimension:e.dimension,children:r.jsx(j,{card:e,actions:s,children:r.jsx(x,{dimension:e.dimension,style:{cursor:"pointer"},onClick:()=>s.onCardClick(e.cardIndex,e.cardType),"data-testid":M("dashboard",e.cardType),children:r.jsxs(v,{children:[r.jsx(L,{children:r.jsx(W,{children:p.getLocalizedStrings().companyPassportCard.title})}),g.map((i,c)=>{const{title:m,key:a,Icon:h}=i;return r.jsxs(I,{children:[r.jsxs(T,{children:[r.jsx($,{children:r.jsx(h,{height:l.sp5,width:l.sp5})}),r.jsxs(_,{children:[r.jsx(N,{children:m}),r.jsx(S,{data:d?.companyView,itemKey:a})]})]}),c!==g.length-1?r.jsx(A,{}):null]},i.key)})]})})})},e.cardIndex)}const S=({itemKey:e,data:s})=>{const d=s?.companyOfficers,n=s?.company,i=n?.company.companyInfo,c=n?.company.incInfo,m=()=>r.jsx(V,{children:"—"});switch(e){case"company_legal_name":return i?.companyLegalName==null||i.companyLegalName===""?r.jsx(m,{}):r.jsx(k,{children:i?.companyLegalName});case"company_officer":{if(d==null||d?.length===0)return r.jsx(m,{});const a=d.slice(0,10).sort((u,f)=>u.user.createTime?.isAfter(f.user.createTime)===!0?1:-1),h=[a[0].user.firstName,a[0].user.lastName].join("").trim();return r.jsxs(k,{children:[a[0].user.firstName!=null&&a[0].user.firstName!==""?r.jsxs(C,{children:[a[0].user.firstName," "]}):null,r.jsx(C,{children:a[0].user.lastName}),a[0].user.email!=null?r.jsx(C,{children:`${h.length>0?", ":""}${a[0].user.email}`}):null]})}case"company_inc":return c?.companyIncType==null||c.companyIncType===""?r.jsx(m,{}):r.jsx(k,{children:c?.companyIncType});default:return null}};export{Y as default};
|