@zeniai/web-cockpit-ui 1.15.35-qa → 1.15.36-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-CdyuCPU8-Cc9AcSrc.js → ACHDetailsPage-MTECJ5f2-BdLHfYkw.js} +1 -1
- package/dist/assets/{AIPerformancePage-GW2UlhRu-LCcni55-.js → AIPerformancePage-2DnUDrYW-DNI5xeF8.js} +21 -21
- package/dist/assets/AccountInfoPage-BDjC13Ii-CDV-bwh1.js +18 -0
- package/dist/assets/{AccountInfoPageContent-Dn6yodzf-CnavH9Km.js → AccountInfoPageContent-Uf69Ma0g-4oOZ211N.js} +7 -7
- package/dist/assets/{AccountLockedInfoModal-7MLTBsWb-D0R-VIax.js → AccountLockedInfoModal-BXcJh14l-Cm1Sq52s.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-CUvBGVmt-BU4gFlYH.js → AccountReconDetailsDrawerPage-Cswyt1rh-8EGrj1WM.js} +6 -6
- package/dist/assets/{AccountRow-t-WESYF_-CAxThHrd.js → AccountRow-CwQ210NA-5WmGHDfQ.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-C0Ht_d_M-AWi1njok.js → AccountsPromoCardStack-DdAZdIl7-B1nFN92E.js} +15 -15
- package/dist/assets/{AddAddressForCardDrawer-CpDfjROc-NuYhekBS.js → AddAddressForCardDrawer-B2tfTCJl-DqVInXyI.js} +1 -1
- package/dist/assets/{AddToWalletPage-CPYp6JZP-4pViGsS0.js → AddToWalletPage-CYheOozR-CDrN1v1e.js} +6 -6
- package/dist/assets/{AgingReportsPage-BRChA3Xv-C_Zgtox3.js → AgingReportsPage-DzKHZ2gU-D4NK3bB8.js} +13 -13
- package/dist/assets/{AllUserItems-CUlWgl79-CPuh3MLd.js → AllUserItems-M13M7Dn--CMRF0XPg.js} +3 -3
- package/dist/assets/{ApAgingDetailPage-D7u_ghQp-BO50wskp.js → ApAgingDetailPage-CeCfzyaW-xN1KSuw8.js} +6 -6
- package/dist/assets/{AppBasePage-bvoaHTtg-BZ9G1r1W.js → AppBasePage-lNsHzKPV-BUTBPJJ7.js} +1 -1
- package/dist/assets/{AppDrawerContent-DYDi-djG-CB6Hm-0Q.js → AppDrawerContent-D7S-TGMT-BmwuU2JQ.js} +1 -1
- package/dist/assets/ApprovalRulesSettingsPage-CEb5R3Um-BCMBYXPC.js +47 -0
- package/dist/assets/{ArAgingChart-DBuqIeaR-bg4RQvn8.js → ArAgingChart-BtWnAFp_-C5Q_9k5d.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-ALGyVMJV-BZSF2nd3.js → ArAgingDetailPage-b4XNEmrz-DygKBFbD.js} +2 -2
- package/dist/assets/{AttachmentView-BIeDapyc-Dy-ghSP2.js → AttachmentView-BNh7psmU-Bbw5Dndi.js} +1 -1
- package/dist/assets/{BankAccountSection-BQKaKFnm-DXAkbQt8.js → BankAccountSection-DvxISEWF-B3bfDW0E.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-DeUkht1G-Dr6bgRCP.js → BankAccountWarningSection-BigSAlOf-giEPP_Qk.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-qldLiM1M-B7n052An.js → BankConnectionsSettingsPage-BmV84xpM-hAhHGA_U.js} +1 -1
- package/dist/assets/{BillDetailPage-BPqPHZcD-BLaS3lNQ.js → BillDetailPage-bGScpKo1-C8_DAvpa.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-FW3E7XSE-BuOLvGKr.js → BillPayApprovalRuleDetailPage-WL_3iqlY-CEGOsAwB.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-BGotlrLK-Dnlxb0ei.js → BillPayApprovalRulesPage-DzXO3OA3-CuNf74rj.js} +1 -1
- package/dist/assets/{BillPayPromoPage-DvoccD5_-BbvDxZBM.js → BillPayPromoPage-CWXg38Zn-QLqd2JeT.js} +4 -4
- package/dist/assets/{BillPaySetUpPage-DhjIDy8h-DjCT2F-Q.js → BillPaySetUpPage-S29c7luv-BjKkNycA.js} +1 -1
- package/dist/assets/{BillingSettingsPage-CmO4DZ-a-DfLL-3xJ.js → BillingSettingsPage-B4UuM5oI-CnNIbUJQ.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-4vzF3bG9-CYnUuRpA.js → BillsBulkReviewDrawerPage-DnU8hO98-C1ox6sAt.js} +1 -1
- package/dist/assets/{BoxItem-B6i9yx2h-BXmANcI9.js → BoxItem-BuOARLA6-BfKpH1iW.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-DuEh8MkZ-C6NEKtFI.js → BusinessVerificationPage-C-2WkF1k-BNJjkTCX.js} +8 -8
- package/dist/assets/{CardNumberSubText-BEVRq2PI-DDGQHtM7.js → CardNumberSubText-B5F6n20g-B4j-P-Yo.js} +1 -1
- package/dist/assets/{CashbackDetailPage--SHtNWGE-B7q_3WKk.js → CashbackDetailPage-B8BWFurd-CEzxQv9t.js} +11 -11
- package/dist/assets/{ChargeCardDetailPage-EFRUpv7y-CRSyItBH.js → ChargeCardDetailPage-CUwelhv9-_Qmyewum.js} +1 -1
- package/dist/assets/{ChargeCardListPage-CFB5EHCZ-Q_LF4khU.js → ChargeCardListPage-OM6V0_w4-DmRwOrEA.js} +7 -7
- package/dist/assets/{ChargeCardListTable-DM_h-dzr-JfLZMhMV.js → ChargeCardListTable-BLQucs67-dVRRo8zw.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-CPZj9te2-D70Jr31B.js → ChargeCardPaymentHistoryPage-Ctli7jP9-Dv4R4N7Z.js} +7 -7
- package/dist/assets/{ChargeCardPromoPage-BWwBfycu-Dr4jE1df.js → ChargeCardPromoPage-87W_Pmcc-CL32Gm8l.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-Epn4xe2x-CtGXIQfR.js → ChargeCardSetupPage-C2ut28_d-oEr-F107.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-Bu7OdYhw-DLIqhr4K.js → ChargeCardStatementsPage-B0pW9c8L-BOQfbOjy.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-DQnqizMV-Das21vqy.js → CheckDepositDrawerPage-B6amchCs-DmayI2eG.js} +1 -1
- package/dist/assets/{CollapsableReportTable-CSVzLWq_-CEaOtd9D.js → CollapsableReportTable-CKZMra2N-DVHlppQA.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-Pwtunf36-wXG4kPwP.js → CompanyOfficerDetailsSection-BaDN_HWQ-Df10Iqha.js} +13 -13
- package/dist/assets/{CompanyPassportCard-DfPPft95-DYon-nbO.js → CompanyPassportCard-CVmFwsYx-YUIsTO7p.js} +4 -4
- package/dist/assets/{CompanyPassportPage-aNL_m3a2-BNzT9aja.js → CompanyPassportPage-Bo-fHKTg-pFmh0JY_.js} +15 -15
- package/dist/assets/{CompleteProfile-DmeE0Xjt-Bu6rPbEQ.js → CompleteProfile-D8_3QPfk-Cc_sI1mw.js} +1 -1
- package/dist/assets/{ConfettiBurst-s04ELXDS-BR_CtkF9.js → ConfettiBurst-BxK3gOov-DRtasWE2.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-TJzIXuNi.js → ConstrainedInnerElement-BeIpAPjB-BSv5CT9e.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-D3oCIz1P-3fRPViQO.js → CreateOrEditVendorPage-Cx-QXXom-B8MFa7Ua.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-DPXaPj4B-CIxVZ_ux.js → CreditCardPaymentDrawerPage-D_VntONF-BdSVEQJx.js} +1 -1
- package/dist/assets/{CurrencySelectField-CtKQBmBI-_7Z7zjF5.js → CurrencySelectField-CvMIDpOa-D4F-_rjZ.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-DCQvUK8d-CwcuXdB6.js → CustomerOnboardingActivationPage-BNx_JIsl-C1rccu3S.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-Dbz1NTUm-D53gumsw.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BVJ6jsqR-BkC7DbU8.js → CustomerOnboardingDetailPageSkeleton-CDkqTFSM-Be1MlRsD.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-DQcf1Pyg-DmFCTQmR.js → CustomerOnboardingNoStepsPage-B7nn9pa6-kAh8a-Yt.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-CLNt38t0-CISsxaNz.js → CustomerOnboardingPage-B0UsbJ1P-CYm4CD54.js} +5 -5
- package/dist/assets/{CustomerOnboardingProductSuitePage-SyWJAHJ5-BLo87ZGI.js → CustomerOnboardingProductSuitePage-CTHXj545-fzvlTLym.js} +2 -2
- package/dist/assets/{Dashboard-DW6P3oLC-JmOZT2AT.js → Dashboard-mxMZYpEW-DiLuYwxX.js} +1 -1
- package/dist/assets/{DashboardReportPage-Cp04-QUV-iSoe8_J3.js → DashboardReportPage-Dy9QVA7Z-Cz6343vo.js} +25 -25
- package/dist/assets/{DashboardSidebarBackgroundAnimation-CKoyjUHm-wsCB2Mj1.js → DashboardSidebarBackgroundAnimation-Bp7cCBwN-DxhEIL5n.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-kZL4La9A-px-IlxCa.js → DepositAccTransactionItem-qG9GvyAi-Cn-YxRbF.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-C_GPoFDS-C20Qv67v.js → DepositAccTransactionListPage-DY6ckLcN-BoxQBeYY.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-CL-gGug5-CFzt84md.js → DomesticWireDetailsPage-DQDdpsym-DorJ__Th.js} +1 -1
- package/dist/assets/{DownloadOverlay-JdIA_Qvk-C3WZFyzU.js → DownloadOverlay-Calb-h8P-CpaxI-5F.js} +29 -29
- package/dist/assets/{DrawerPage-_F2zRGIo-Bbd9X4eR.js → DrawerPage-CtJFKuFL-CYYKg7Ek.js} +1 -1
- package/dist/assets/{EditPeoplePage-Cqd73zkA-Ch9gkw4G.js → EditPeoplePage-D6AHuPcm-7B9Bydt9.js} +3 -3
- package/dist/assets/{EditReimbursementDetailPage--T5T_fJG-DCRo-lmo.js → EditReimbursementDetailPage-D6_fdX7E-DuCCCgtB.js} +3 -3
- package/dist/assets/{EntityDetailPage-CAu9l8_o-BuX4TBGi.js → EntityDetailPage-8XBPRJ2z-Blkh-rZa.js} +4 -4
- package/dist/assets/{EntitySummarySection-D1QM7cY6-CCQcM2Q7.js → EntitySummarySection-CRobZFdA-5ICB6kMK.js} +6 -6
- package/dist/assets/{ExpenseAutomationOverviewPage-pciCiajG-Bavician.js → ExpenseAutomationOverviewPage-BJAWD2jM-D1xeNN02.js} +46 -46
- package/dist/assets/ExpenseAutomationPage-CUMFF1DE-qGZ-fhdP.js +3001 -0
- package/dist/assets/{ExpressPayPage-BCMf-60G-Baid2jkl.js → ExpressPayPage-nqBKZ3fl-GqF5wwC1.js} +10 -10
- package/dist/assets/{FeaturePreviewPage-Dj5OXPVN-C18ni9NB.js → FeaturePreviewPage-C_IsnbRF-CRsggv2B.js} +1 -1
- package/dist/assets/{FollowStepsSection-ZwhfJWnC-DJAXwgDf.js → FollowStepsSection-3Pp2we-C-BklcQOfQ.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-AZtnVYVQ-DMam3PuI.js → GlobalReviewListPage-BmXesyUc-Bz2HEI-M.js} +1 -1
- package/dist/assets/{InformationCardStack-D8cmcS4k-bRtRxft3.js → InformationCardStack-DNpn0-gM-GyRbPKpL.js} +5 -5
- package/dist/assets/{InsightsCardStack-CRbYGyti-BvZbD4Jj.js → InsightsCardStack-B2WhxVyz-B8IW9DSU.js} +1 -1
- package/dist/assets/{InsightsSection-B7cEUOjq-C4wpk5vd.js → InsightsSection-C2CwZPel-DBGYdL2D.js} +5 -5
- package/dist/assets/{IntegrationsSettingsPage-Cu70a3gO-C_bOu9Zi.js → IntegrationsSettingsPage-DIaqGx79-DcwRlZ2W.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-D_RuMP2E-BR38wYj0.js → InternationalWireSwiftDetailsPage-COOKMFsG-CgyBiXO1.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-CqpE7nR5-Cxc90JyU.js → InternationalWireVerificationPage-DmEbE8mB-y7aFV84D.js} +1 -1
- package/dist/assets/{InviteFormPage-BU3bkjN3-GXBF_TIM.js → InviteFormPage-B25ubjDZ-rc60wJWK.js} +1 -1
- package/dist/assets/{InvitePageListView-BfRPKPse-CRF5Iqdy.js → InvitePageListView-VsLAIeB2-sN4Mjomj.js} +25 -25
- package/dist/assets/{InvitePeoplePage-DFfZPbsO-CxUypzJ8.js → InvitePeoplePage-CtsAK9qA-Cy85-R6z.js} +2 -2
- package/dist/assets/InvoiceUploadSection-CTWcHIik-Ch45PmQD.js +140 -0
- package/dist/assets/{IssueChargeCardPage-BB83Aeyd-DU83Twkc.js → IssueChargeCardPage-BjFDSjnT-B6eRPv5Y.js} +1 -1
- package/dist/assets/{LabeledAddressValue-CK-YJ1cO-C4LJb4Ec.js → LabeledAddressValue-DTtkpbQD-CqjAk_yZ.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-BppwMtJ1-T6lPuNrW.js → LabeledAddressValueField-CGnp-ruv-DcIYlcxL.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-zpbzob1x-De_sFAdL.js → LabeledControlledCheckBoxField-D59MWScK-u0D-4rtN.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-DrZ69tWB-CbkU60Cq.js → LabeledCountryMultiSelectField-H2s6dgDh-Bk8gsi9y.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-D-rSPg1Y-BEoWM6os.js → LabeledCreatableSingleSelectField-DcMbc854-D5zvfJ8D.js} +1 -1
- package/dist/assets/{LabeledDocumentField-CBQeAeRc-CsNYjjwd.js → LabeledDocumentField-sF7Zoa0k-CZ654oCL.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-5t5k_pgq-3N767TYR.js → LabeledDropDownFormattedTextField-CQV1Uzgm-NA-GZk2j.js} +1 -1
- package/dist/assets/{LabeledText-tLPpd4Wp-Dn15jABZ.js → LabeledText-BacKeQ9P-B1Cd96zY.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-D5zZUAVV-Uprdm1T5.js → LabeledUserSingleSelectWithSubtitlesField-BwgY-iwq-BfcihsXM.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-DZ9boJMt-Ddaj0gyJ.js → LabeledZeniRolesDropDownField-DckQcAsv-jt45kZxB.js} +18 -18
- package/dist/assets/{LinkJETransactionPage-C99UMrwp-DGyiLhz2.js → LinkJETransactionPage-CJh4FFpC-BBBjUecH.js} +5 -5
- package/dist/assets/{LockCardPage-DE5Zw1p--DDhMx2Zw.js → LockCardPage-CPcRTCZE-D_H0owTv.js} +8 -8
- package/dist/assets/{LowBalancePopup-BD9saCcf-Bd0FezoJ.js → LowBalancePopup-D8GK2H9h-hjWBZs2C.js} +2 -2
- package/dist/assets/MagicLinkACHDetailsPage-D25qjc2G-9NeAFmog.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-D8_ky1S0-jwkJvUEx.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-CvLwoWmx-CZ38-i1G.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-BxXyF-Sp-BLAQ6Wfq.js → MagicLinkSuccessPage-B_BENTTd-DbqViuOL.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DajyP-ys-DhZ3lo9u.js → MagicLinkTitleSection-QKzoOrdi-Bpjf7BPR.js} +1 -1
- package/dist/assets/MailingDetailsSection-CAqhq5HH-B7PPRTQj.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-BE1pUnaR-rY5WmdmI.js → MyBankConnectionsSettingsPage-CLyQgTUj-BbnMCn1U.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-CviCM09N-TrpArtHh.js → MyPendingActivationChargeCardListPage-_Fkdh2qv-Sopb8zUc.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-iREvm7LK-aaE3zkBS.js → MyProfileSettingsPage-DxmJa0cf-DxXUJqnD.js} +1 -1
- package/dist/assets/{NavBarWithPicker-r-K_Pjsb-BM59aAtt.js → NavBarWithPicker-CV8HLA6I-BUWTCujT.js} +1 -1
- package/dist/assets/{NavigationArrow-CKhWji3v-DrK7JvGJ.js → NavigationArrow-C0hMKZ32-hISa84Ue.js} +1 -1
- package/dist/assets/{NavigationDots-OShASt5i-BCPaSs2y.js → NavigationDots-CjCXOKoW-CbK19jrp.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-2-kYqTDF-ClE9Trkz.js → NewGlobalMerchantPage-DbL_f9K3-BJU60EMT.js} +1 -1
- package/dist/assets/{NoDataChart-BN3zyJkX-d_10V5tE.js → NoDataChart-gYvI6yr8-viHJ3bQ-.js} +1 -1
- package/dist/assets/{NoDataTable-D0cyK_1j-CRU7hu0R.js → NoDataTable-BKZwVTXZ-T0eI1Zo0.js} +1 -1
- package/dist/assets/{NotFoundPage-yrt6kuPH-CTx1x3zQ.js → NotFoundPage-BYY5isHm-DDhBeJOV.js} +2 -2
- package/dist/assets/{NotificationSettingsPage-CX3Hkg6o-Bee4no-2.js → NotificationSettingsPage-DjW6to0g-1y2D4DgT.js} +16 -16
- package/dist/assets/{NotificationsListConfig-Cyzhla-8-29lmg0oi.js → NotificationsListConfig-CVq2sl6h-Bw-0i4Ig.js} +1 -1
- package/dist/assets/{NotificationsPage-O7M0pMnc-daR4laOH.js → NotificationsPage-CRP4cafk-C5rQyA0T.js} +21 -21
- package/dist/assets/{OpExByVendorPage-DpMGBmkQ-BofNUHsQ.js → OpExByVendorPage-DFhGNQND-Dk5383RE.js} +1 -1
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-BNxbiugm.js → OverlayContainerPage-D4QU0p4o-DKdfSoPP.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-Cbt0YlVL-CIaTrEzj.js → PandLWithForecastPage-C7HbHAwT-jbJyIaCy.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-B2xEqKKc-CBFbBa1P.js → PaymentAccountSetupBillingAddressSection-CrOLi3CM-uLcqJFNN.js} +7 -7
- package/dist/assets/{PeoplePage-CUr5cz1w-_V-Q3GTv.js → PeoplePage-C70ShoQt-BQS3GQ43.js} +13 -13
- package/dist/assets/{Preview-CEK51ZCO.js → Preview-CIzSWHQo.js} +1 -1
- package/dist/assets/{ProductsCarousel-t8HIs4J6-BEITBT2Y.js → ProductsCarousel-CWjvhORp-CeSyV6gs.js} +1 -1
- package/dist/assets/{PromoBaseCards-6Uh8eokP-CcA7wxXm.js → PromoBaseCards-C_MPWCdo-BQaVgUEA.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-BbmqcpYW-BQKok7bH.js → QBOConnectionDialog-DG8GBxXu-BOORcaKP.js} +1 -1
- package/dist/assets/{QBOSetupSection-u5dKqaH8-HpPTyv_J.js → QBOSetupSection-D0xw7uYo-BIeky-6i.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-DxSrYBkv-B54Dk5Is.js → ReimbursementApprovalRuleDetailPage-D7Nssw7C-DE7B3Va0.js} +6 -6
- package/dist/assets/{ReimbursementApprovalRulesPage-BL2GpJIG-DcDYMr7J.js → ReimbursementApprovalRulesPage-ALLu5Bn2-CwTr897n.js} +1 -1
- package/dist/assets/ReimbursementDetailPage-DtUem4gd-DWGZKWlX.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-DuwxKGGm-CHsOOSFl.js → ReimbursementPromoPage-BMJx4mIG-DJbTDfJr.js} +4 -4
- package/dist/assets/{ReimbursementSetUpPage-Du4kRXbO-B-5X8hsi.js → ReimbursementSetUpPage-yEKRYNla-CFFoHhA6.js} +5 -5
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BmlYoVy4-B6mT_3wC.js → ReimbursementsBulkReviewDrawerPage-DuG_oVRd-DNVGALUa.js} +1 -1
- package/dist/assets/{ReloadCard-BSiXuJWg-BqlPHpin.js → ReloadCard-B1sDYISv-yIhOaL2x.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-KgvX6wt6-BZ_fbetO.js → ReportTableViewSelector-D0_bxxr3-CG8SHCRk.js} +1 -1
- package/dist/assets/{ReportsPage-Bt24BITW-DCtuAB8s.js → ReportsPage-8KbmzE10-CGdeSxTj.js} +4 -4
- package/dist/assets/{RevenueChart-iH_Xl63n-Drddpf_5.js → RevenueChart-DHaN9dID-BBTu7at-.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-CwPsM3uL-Dh04puOa.js → ReviewDetailsPage-CU1pEUH6-CJzA5XWq.js} +53 -53
- package/dist/assets/{ReviewOverlay-DOqgOSnM-uwLvPYee.js → ReviewOverlay-abE-6rKm-CJgH1hlM.js} +1 -1
- package/dist/assets/{RoleWithToolTip-D6q4Wd6X-Ba41qnE5.js → RoleWithToolTip-XCmNsd2N-DcGnYG_x.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-_bJob_HD-CAcW1WNd.js → ScheduleDetailsFixedAssetsPage-DdQ7n2jO-CJpvIQmk.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-BDZm6We--DqachKin.js → ScheduleDetailsPage-BT7nc-SK-BkKOCQn5.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-DgG11IBi-DHvVMS0K.js → ScheduleSequenceTable-DmNi0a_t-BRPd9MD_.js} +1 -1
- package/dist/assets/{ScreenRoutes-DP1vvIFq.js → ScreenRoutes-ReV8hS5d.js} +33 -33
- package/dist/assets/{SetUpAccountSection-n5OCUAL3-BCPO4UYh.js → SetUpAccountSection-CF5-adzX-dA8yacgy.js} +1 -1
- package/dist/assets/{SignIn-uBHaDram-DeaAUvTZ.js → SignIn-BlqHQp_i-DiVgvIz3.js} +12 -12
- package/dist/assets/SignInScreen-DPbt8pK5.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-ErBiPjGh-ZxpEEpcQ.js → SpendManagementListViewPage-Bw49YHTs-B7x-SLHw.js} +13 -13
- package/dist/assets/{SpendManagementPerTabPage-BIxGrbmz-iaE28oxr.js → SpendManagementPerTabPage-BBxTKG7D-DmW59dEk.js} +1 -1
- package/dist/assets/{SpendManagementSection-B01H6LCd-dV21F-9A.js → SpendManagementSection-C0tVpDka-7XRgMTMj.js} +19 -19
- package/dist/assets/{StatementItem-BJJHaw9s-29L7-ckn.js → StatementItem-CX-Vb6Yv-CQSzimr4.js} +5 -5
- package/dist/assets/{StatementsPage-rFpr0w_W-DNXmI_WC.js → StatementsPage-DIhLk0I0-CJFVRHXq.js} +2 -2
- package/dist/assets/{StatusSwitcher-DnuyzbQo-zsneBA5e.js → StatusSwitcher-2x-HpawS-rvUjyTH4.js} +1 -1
- package/dist/assets/{SubTabSwitcher-Bk10VIFM-CrNC5Y_x.js → SubTabSwitcher-3gCHG_2e-kbyMAwsf.js} +1 -1
- package/dist/assets/{SummaryCard-CHqc9QHC-Yq25xivx.js → SummaryCard-DDFWzeCH-DDL0LPzG.js} +1 -1
- package/dist/assets/{TaskManagementPage-Cr_KAM2z-B2jYjFSR.js → TaskManagementPage-D4PHLunD-tt5TJWu-.js} +7 -7
- package/dist/assets/{TimeRangeSwitcher-DkNMcmBm-BKKiSxbO.js → TimeRangeSwitcher-CY0nV1h--J209OFZR.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-CULpyCRj-B4sMqB1t.js → TimeframeSwitcher-ncxeqCrX-BswygR8z.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-BSx_ynUp-C4foPuxp.js → TimeframeSwitcherWithToggle-Ct5BEs_Q-BzganDVC.js} +4 -4
- package/dist/assets/{TopExCard-B29o-5e0-C1Xb1edv.js → TopExCard-COqnH-4I-BVvqNRP9.js} +3 -3
- package/dist/assets/{TopExDetailPage-TVxgKbn8-h1-M6BqE.js → TopExDetailPage-qgHjp5oB-CbVU9bNn.js} +15 -15
- package/dist/assets/{TransactionActivityLogPage-0wmqwFMQ-DpxBoViM.js → TransactionActivityLogPage-BcYHnlFq-GhckwPRW.js} +1 -1
- package/dist/assets/{TransactionDetailPage-B9pzvWO8-C4lfGaqD.js → TransactionDetailPage-BZU1QN3O-C4mwlffy.js} +1 -1
- package/dist/assets/TransactionList-AmUI5s8r-DfvxSOnm.js +153 -0
- package/dist/assets/{TransactionListBig-DMnQfRkS-20CPxACF.js → TransactionListBig-ByYlobcF-BhG5fg3c.js} +1 -1
- package/dist/assets/{TransactionListPage-BB452Nj4-Dgs9EM0f.js → TransactionListPage-BZtT0JVM-CMhzYu3G.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-BCkXd3P2-Bl6s22Tw.js → TransactionVendorDetailPage-DVPBTIK5-B0IzCC6Z.js} +1 -1
- package/dist/assets/{TransferDrawerPage-6Rt1ZlJA-I2Skd8-A.js → TransferDrawerPage-CSHGPlKO-B6ir6T3C.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-CuSfgvcS-m6L9Jvdu.js → TreasuryOverviewPage-CWtloEcx-BI7fuqEe.js} +9 -9
- package/dist/assets/{TreasuryPromoPage-DUi2uBW8-B47B8ibo.js → TreasuryPromoPage-BkxayclQ-BD05BSZg.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-DNhwcfdJ-BaprS6U4.js → TreasuryStatementsPage-Bdo7eYMN-DYhvNV6I.js} +2 -2
- package/dist/assets/{TreasuryTaxLetterPage-BLIGs8oG-rs4DWgsu.js → TreasuryTaxLetterPage-C8ejdAk5-DByu-1LU.js} +2 -2
- package/dist/assets/{TrendChart-KoCvlYmC-C-jk3kXT.js → TrendChart-ZDj-xpm1-Jp3bnOcp.js} +1 -1
- package/dist/assets/{TrendWithTransactions-Vqr8x7E_-B9kpqnaG.js → TrendWithTransactions-qTLVjOfV-1Qq4W0Vf.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-BKdvN3Lh-DXsxrj_5.js → UncategorizedAccountsMappingPage-8Bzfc9-f-DSTdymGe.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-CQ7270p--CQ6r0MVa.js → UnitIntegrationPage-B1S92bhM-YW7CpieK.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-CcH5BomT-DSbThaHM.js → UploadAdditionalDocumentOverlay-CBFoai8Q-D24u1z1-.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-DtT11B4h-CT6Xi_aF.js → Vendor2FAPopup-DAvl-0wR-CMmLV0gh.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-kezd7VIg-_33VYhc_.js +1 -0
- package/dist/assets/{VendorDetailPage-2rTQcqZl-BvHWS2Gn.js → VendorDetailPage-Cq0ifHHj-X3Tmeucn.js} +1 -1
- package/dist/assets/VendorDomesticWireDetailsPage-DYCckZ0--2FN3v_yv.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Cgkipd6r-DlLW9ftw.js → VendorFiling1099EditablePage-DZ7w4hG9-0R5SyRKT.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-Va76j7QY-C_o-6JAB.js → VendorFirstReviewPage-DeTtH_3q-JOPrtxvQ.js} +16 -16
- package/dist/assets/{VendorInternationalWireDetailsPage-D0IeqYQZ-yCoXRdA4.js → VendorInternationalWireDetailsPage-oLPgqqXG-Cu-XiY9k.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-C25-dQzU-CfUQEHr0.js +1 -0
- package/dist/assets/{VendorsAccountsSection-CTmdfJi_-CxsrtQCW.js → VendorsAccountsSection-CjtV6vnA-EPohtHXT.js} +1 -1
- package/dist/assets/{VerifyDevice-DFCNFtDD-B2l_EHpD.js → VerifyDevice-BKlM_EIQ-eKiK1Vh6.js} +8 -8
- package/dist/assets/{VideoPlayer-CIr6pCWx-BlGxtEbt.js → VideoPlayer-Cd6Z-m3O-CXV5kTHF.js} +2 -2
- package/dist/assets/{VideoPopup-CoeVMP5D-CkEoZJPU.js → VideoPopup-hzeQU5PD-DzEhicyc.js} +3 -3
- package/dist/assets/{WarningsDrawerPage-CNBphx6e-uyGjzkS6.js → WarningsDrawerPage-Bj1rv5Lm-DhSYjNx8.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-ysMCIpFe-B_7tw6sp.js → ZeniAccountDetailPage-XEP8Ax1n-Bk0f_d4B.js} +9 -9
- package/dist/assets/{ZeniAccountListViewPage-DUalD7AP-5wUXGfcR.js → ZeniAccountListViewPage-BFBLw9LX-YV6uT0to.js} +15 -15
- package/dist/assets/{ZeniAccountNavBarPieces-B8jILUl8-BBizFg1k.js → ZeniAccountNavBarPieces-DeAJa-tc-B5jGlBA5.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-CUJm-42a-BQnYMroZ.js → ZeniAccountPromoPage-tOAp0Gpx-BKu4Kphu.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-BTurLFPN-ter0-uCW.js → ZeniAccountSetupPage-DMcEkRkC-C4uo8IPg.js} +1 -1
- package/dist/assets/{ZeniCopyright-BTFZ48gh-w15_W74f.js → ZeniCopyright-DzbxtiXr-hH0_8XoH.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-f0nRZPzG-BLDyrypP.js → ZeniTransferAmountSlider-CjlubUnE-cQiE2SkE.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-D1teIsf6.js → add-to-wallet-DgdBD8_G-C2wVoVNZ.js} +1 -1
- package/dist/assets/{analytics-DvsRx7_o.js → analytics-6ukc1Do4.js} +1 -1
- package/dist/assets/{analyticsHelper-lunHUd8g-T6u0613Q.js → analyticsHelper--FI5ZNkP-C6nfDH6L.js} +1 -1
- package/dist/assets/{analyticsHelper-DeD9LR3c.js → analyticsHelper-Diz2KIDT.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-CIyEcJYf.js → arrow-south-east-round-PEovUgvH-BzdHTtYI.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-CtO92HdQ.js → auto-transfer-rule-mbafm5D3-DiSmmrWv.js} +1 -1
- package/dist/assets/{chartTypes-DESZubWD-J95DqIha.js → chartTypes-OhAs1JKI-bzHdDgZb.js} +1 -1
- package/dist/assets/{commonDimensions-Cpv8YIix-BXt5gzTm.js → commonDimensions-B2iVuJD5-CcSv5ZyJ.js} +1 -1
- package/dist/assets/{commonTypes-B1gKMzJK-DXXYZylr.js → commonTypes-cRbeH9rJ-Bb0mwy34.js} +1 -1
- package/dist/assets/{constants-B-YZmhKw.js → constants-DIDmrHxx.js} +1 -1
- package/dist/assets/{core-HDqpewC7.js → core-IgaX3lD-.js} +1 -1
- package/dist/assets/{dash.all.min-kOXiIFTN.js → dash.all.min-BZobhYiu.js} +1 -1
- package/dist/assets/{detailCommon-DyrMcL2E-Dkj1Ro3D.js → detailCommon-DHznXAh3-CiYpsfiB.js} +6 -6
- package/dist/assets/{downloadPdf-D2sIdMDR-CfGqGROi.js → downloadPdf-DCU64Gug-DSJFt5WV.js} +1 -1
- package/dist/assets/{empty-DfoIHPwJ.js → empty-7DTjA2wf.js} +1 -1
- package/dist/assets/{empty-Dx0imdfu.js → empty-C9jNhFru.js} +1 -1
- package/dist/assets/epic-CKkwCmL7.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-xM5zrgW4.js → gift-box-Cmt9OgIZ-CBOUr4XW.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-B9Rqv9_n.js → graphic-no-data-l-DU4J8fDt-DMvuiJwA.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DYb8EeBA.js → graphic-no-data-net-burn-l-CzmycA0m-CSiSDw7r.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-B6X0918N.js → handshake-BPg58FML-DarHJSr3.js} +1 -1
- package/dist/assets/{helper-i78O9ew8-C81IjMdE.js → helper-CCCOsTBK-Dcm9G4A9.js} +1 -1
- package/dist/assets/{index-DAitESaL.js → index-B4YQ83K3.js} +1 -1
- package/dist/assets/{index-BmIGxAWd.js → index-BGxoQ0u8.js} +1 -1
- package/dist/assets/{index-Depa7Syu.js → index-Btm2GEQg.js} +1 -1
- package/dist/assets/{index-Bdy6x472.js → index-CN1ccabn.js} +1 -1
- package/dist/assets/{index-BPv2nRQb.js → index-D-BANbLd.js} +1308 -1308
- package/dist/assets/{index-B7uDjLxh.js → index-Dmn-uHPz.js} +1 -1
- package/dist/assets/{index-D0CQgP0w.js → index-tky71xjr.js} +1 -1
- package/dist/assets/{lexical-CWcQ8pGO.js → lexical-BOeaRQ5K.js} +1 -1
- package/dist/assets/{liveblocks-Dv7Vdu8a.js → liveblocks-Db4nLOvA.js} +1 -1
- package/dist/assets/{lottie-V1lTNkDB.js → lottie-D0yKu2h3.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-COG82OfJ-CSZlHYMI.js → mapLoadingInProgressToTreeNode-CDOEagKG-Bt_n3HLB.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CjVZw324-gPmnB93g.js → mapSectionWithAcOnlyToTreeNode-Bacgq6px-DuzaQwsM.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-Cq9WPd-3-BYJOxkkl.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-Bj3oqvNg-DZI1LYnG.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-C23h7gVe-DUIYJGbT.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-40rewm2_-B5RLxn7A.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DoDPxRuC-BPkv0D6R.js} +1 -1
- package/dist/assets/{mui-DdxImnN0.js → mui-AW-QpJ2k.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-5PyHJMJh.js → page-detail-CWX5S47F-BA6JwERa.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-gr9HWaHB.js → panelSelectedMixin-Cddsb26L-DJsIAZn1.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-LTUMKU8Y.js → radio-default-CiSgisfh-CDrk92vz.js} +1 -1
- package/dist/assets/{react-DbLm8gms.js → react-B8x_i0jF.js} +1 -1
- package/dist/assets/{react-BNr0aXGm.js → react-BvaHfgqq.js} +1 -1
- package/dist/assets/{react-OxQ1eBeR.js → react-CLqhqUbJ.js} +1 -1
- package/dist/assets/{react-Cjks14mZ.js → react-CXJKef1G.js} +1 -1
- package/dist/assets/{react-omDkrKl-.js → react-D-FX3Miy.js} +2 -2
- package/dist/assets/{react-CUY5EDxC.js → react-DZazVKdi.js} +1 -1
- package/dist/assets/{react-DYqwvMeX.js → react-DfDeDzYP.js} +3 -3
- package/dist/assets/{react-pyJg34N2.js → react-DhnYk-ZG.js} +1 -1
- package/dist/assets/{recharts-Djp9a38d.js → recharts-DPPWeTqd.js} +1 -1
- package/dist/assets/{sentry-DBSEoG3b.js → sentry-OhwUF_66.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-BOPfGBnx.js → shield-DOlUxcFf-BUF5YtAM.js} +1 -1
- package/dist/assets/toCOABalancesWithID-BpgPOYod-D7bBPsum.js +1 -0
- package/dist/assets/toChartData-JpJ956nX-BgylJdL0.js +1 -0
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-Dfva9HF2.js +1 -0
- package/dist/assets/{uploadAttachment-C3cElL9m-DY215Q-d.js → uploadAttachment-DicjfBYA-DrkICKBo.js} +1 -1
- package/dist/assets/{uploadReceipts-Dge0cNF1-C8hVDRbs.js → uploadReceipts-Dge0cNF1-DlcReZJ-.js} +1 -1
- package/dist/assets/{url-DITb-guK.js → url-B-9pHqAG.js} +1 -1
- package/dist/assets/{url-BmxmWAZl.js → url-BnMPYMYO.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-CaFh8omD.js → useLongPress-GCK2COYQ-CP00SKp4.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-CpqqX4MO.js → usp-line-BBd1wKwW-F_fmAFtY.js} +1 -1
- package/dist/assets/{utils-rIQAYtge.js → utils-Cv-cXrhn.js} +1 -1
- package/dist/assets/{zeni-epic-state-1oOVJQJ4.js → zeni-epic-state-DR0XRPUQ.js} +34 -34
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/AccountInfoPage-BQksD-qN-B6B4Peyk.js +0 -18
- package/dist/assets/ApprovalRulesSettingsPage-CGO_GK8B-BhyryZtC.js +0 -47
- package/dist/assets/CustomerOnboardingContainerPage-Dm4ySQZZ-BHJNR9KJ.js +0 -1
- package/dist/assets/ExpenseAutomationPage-CYKu1ufk-BzTo68eE.js +0 -1803
- package/dist/assets/InvoiceUploadSection-BwqSfbYC-DSYQ6WXZ.js +0 -140
- package/dist/assets/MagicLinkACHDetailsPage-pyI_8fZk-3BHiRs6S.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-leEpcwab-O5PQVsff.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-CJRYlkvp-Ch9Obw_s.js +0 -1
- package/dist/assets/MailingDetailsSection-F1i0rBkv-84yBXYZi.js +0 -21
- package/dist/assets/ReimbursementDetailPage-D3qTbpPg-DWqpvN4c.js +0 -314
- package/dist/assets/SignInScreen-B6DcJ3oU.js +0 -1
- package/dist/assets/TransactionList-dUcT29oF-CywtUBOF.js +0 -153
- package/dist/assets/VendorACHDetailsPage-Cvek1Tr4-CzzV3ORJ.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-j-06hvAA-DPFaoVLs.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DZusODVt-DtzcvocF.js +0 -1
- package/dist/assets/epic-BE_WS1px.js +0 -2
- package/dist/assets/mapSpacerToTreeNode-DZFRqtKk-CsPnOowL.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Cm_MiRXt-CmRF5ht9.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DnvhN4Go-qLT8aEp1.js +0 -1
- package/dist/assets/toCOABalancesWithID-DxETcMNK-Bj7EoGl7.js +0 -1
- package/dist/assets/toChartData-BQYX2C7n-Cm6krZ2M.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,b4 as _o,ab as x,bO as fe,aP as U,dn as $o,o as s,p as X,aR as bn,J as O,aF as kn,az as Lo,dp as jn,dq as Ao,F as B,u as w,dr as Zn,ds as zt,dt as Tt,cc as Vt,du as Dt,x as V,d3 as Rt,ax as Jn,aa as ot,co as ze,bQ as K,k as Bo,y as le,aW as L,b0 as Qn,dv as Xn,ao as Me,dw as Wo,dx as ae,cb as Gt,c0 as Sn,aj as Oo,an as be,dy as rt,dz as Ie,dA as lt,am as C,cj as ne,dB as Mo,w as Et,dC as Ue,dD as Cn,dE as vn,dF as Io,dG as No,ba as ei,aX as T,b7 as Po,cB as Ht,cA as Kt,dH as Fo,b8 as ti,cE as ni,bS as zo,dI as To,dJ as _n,dK as $n,dL as Vo,dM as Do,bU as Ro,bL as Go,dN as Eo}from"./index-
|
|
1
|
+
import{V as t,b4 as _o,ab as x,bO as fe,aP as U,dn as $o,o as s,p as X,aR as bn,J as O,aF as kn,az as Lo,dp as jn,dq as Ao,F as B,u as w,dr as Zn,ds as zt,dt as Tt,cc as Vt,du as Dt,x as V,d3 as Rt,ax as Jn,aa as ot,co as ze,bQ as K,k as Bo,y as le,aW as L,b0 as Qn,dv as Xn,ao as Me,dw as Wo,dx as ae,cb as Gt,c0 as Sn,aj as Oo,an as be,dy as rt,dz as Ie,dA as lt,am as C,cj as ne,dB as Mo,w as Et,dC as Ue,dD as Cn,dE as vn,dF as Io,dG as No,ba as ei,aX as T,b7 as Po,cB as Ht,cA as Kt,dH as Fo,b8 as ti,cE as ni,bS as zo,dI as To,dJ as _n,dK as $n,dL as Vo,dM as Do,bU as Ro,bL as Go,dN as Eo}from"./index-D-BANbLd.js";import{n as a,c as F}from"./mui-AW-QpJ2k.js";import{a as I,P as Ho}from"./sentry-OhwUF_66.js";import{FH as Yt,Gb as Ut,Gc as Te,Gd as qt,Ge as Zt,Gf as Jt,Gg as Qt,Gh as ii,Gi as Ko,FU as bt,FI as Ve,bm as Ln,bg as oi,Gj as ri,Gk as Yo,bo as Uo,FV as ai}from"./zeni-epic-state-DR0XRPUQ.js";import{D as ct,R as qo,A as Zo,E as ke,u as _}from"./AccountRow-CwQ210NA-5WmGHDfQ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="65ba8c54-2938-4c72-a15e-4cba06c83fc9",e._sentryDebugIdIdentifier="sentry-dbid-65ba8c54-2938-4c72-a15e-4cba06c83fc9")}catch{}})();function q(e,n){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return U("0,0",e?.balance)}function Q(e){return U("0,0",e?.forecast)}function li(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.totalPercentValue)}return U("0,0",e?.totalBalance)}function _t(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.forecastPercentValue)}return U("0,0",e?.totalForecast)}function ce(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const n=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return fe("0.00%",Math.floor(n*100)/100)}else return fe("0.00%",void 0)}function se(e){if(e!=null&&e.forecast!=null){const n=Math.floor((e.balance.amount-e.forecast.amount)*100/100);return U("0,0",Object.assign({},e.forecast,{amount:n}))}else return U("0,0",null)}function ci(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const n=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return fe("0.00%",Math.floor(n*100)/100)}else return fe("0.00%",void 0)}function si(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const n=Math.floor((e.totalBalance.amount-e.totalForecast.amount)*100/100);return U("0,0",Object.assign({},e.totalForecast,{amount:n}))}else return U("0,0",null)}const De=(e,n,i)=>{const{startDate:o,balanceType:r}=n,{dateFormat:{visual:l}}=B.getLocalizedStrings();switch(i){case"month":return r==="default"||r==="default_with_percent"?`${bt(o,l.MMMYYYYFormat,e)}`:kt(r,i);case"quarter":return r==="default"||r==="default_with_percent"?`${B.getLocalizedStrings().reports.quarterPrefix}${bt(o,l.QYYYYformat,e)}`:kt(r,i);case"year":return r==="default"||r==="default_with_percent"?`${bt(o,l.YYYYformat,e)}`:kt(r,i);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function kt(e,n){return B.getLocalizedStrings().downloadReport.additionalColumns.labels[n][e]}const wp=(e,n,i)=>{const o=n.length==0?e:`${e}_${n.join("_")}`;return i!=null&&i.trim().length>0?`${o}_${i}`:`${o}_${$o(10)}`},Jo=a.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as Ke,y as wl,cL as Sl,F as de,x as
|
|
1
|
+
import{J as Ke,y as wl,cL as Sl,F as de,x as D,aR as zl,V as l,bU as Ol,fL as Il,aq as Xe,g5 as el,o as a,gf as Bl,cW as jl,cM as A,cO as Oe,cT as vl,f3 as Rl,f1 as Ml,cR as $l,cP as Z,gg as al,gh as ql,fD as Wl,cU as Je,fC as ol,cJ as Ul,p as z,cQ as il,b2 as Ne,cV as Hl,fT as Ll,H as Ve,bL as _l,fK as Cl,am as ll,g4 as El,w as Pe,ap as Gl,bI as Yl,u as B,dn as Ql,aw as Jl,gi as Zl,aj as tl,an as Kl,gj as Xl,bJ as ke,b6 as et,a as Dl,d1 as lt,au as tt,bH as at}from"./index-D-BANbLd.js";import{a as m}from"./sentry-OhwUF_66.js";import{a as ot,n as r}from"./mui-AW-QpJ2k.js";import{bh as Fl,G6 as it,G7 as rl,bL as rt,G5 as st,G4 as nt,G2 as dt,G3 as ct}from"./zeni-epic-state-DR0XRPUQ.js";import{x as ut,p as pt,h as mt,g as ht,m as ft,b as gt,f as yt}from"./helper-CCCOsTBK-Dcm9G4A9.js";import{C as Ze}from"./LabeledAddressValueField-CGnp-ruv-DcIYlcxL.js";import{b as bt}from"./LabeledCountryMultiSelectField-H2s6dgDh-Bk8gsi9y.js";import{I as sl}from"./LabeledCreatableSingleSelectField-DcMbc854-D5zvfJ8D.js";import{Y as nl}from"./LabeledDocumentField-sF7Zoa0k-CZ654oCL.js";import{p as xt,i as wt,t as St}from"./commonTypes-cRbeH9rJ-Bb0mwy34.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]="cd078eed-c743-449e-8ecb-21c7721619f7",e._sentryDebugIdIdentifier="sentry-dbid-cd078eed-c743-449e-8ecb-21c7721619f7")}catch{}})();const Ot=e=>m.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},m.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"}),m.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"}),m.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"}),m.createElement("g",{clipPath:"url(#clip0_1350_23850)"},m.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),m.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),m.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),m.createElement("g",{clipPath:"url(#clip1_1350_23850)"},m.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),m.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),m.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),m.createElement("g",{clipPath:"url(#clip2_1350_23850)"},m.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),m.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),m.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),m.createElement("g",{clipPath:"url(#clip3_1350_23850)"},m.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),m.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),m.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),m.createElement("defs",null,m.createElement("clipPath",{id:"clip0_1350_23850"},m.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),m.createElement("clipPath",{id:"clip1_1350_23850"},m.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),m.createElement("clipPath",{id:"clip2_1350_23850"},m.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),m.createElement("clipPath",{id:"clip3_1350_23850"},m.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:It}=de.getLocalizedStrings(),{businessVerification:dl}=It,je={iconSize:new D(B[6],B[10]),gap:new D(B[2],B[3])},Nl={title:new Ve("smallSemiBold","standardSemiBold"),description:new Ve("smallRegular","standardRegular")},Pl=()=>{const[e]=Jl("Secure"),c=Ke();return l.jsxs(jt,{windowSize:c,children:[e!=null?l.jsx(vt,{windowSize:c,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):l.jsx($t,{windowSize:c}),l.jsxs(Lt,{children:[l.jsx(_t,{windowSize:c,children:dl.securityMessageTitle}),l.jsx(Ct,{windowSize:c,children:dl.securityMessageDescription})]})]})},jt=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
4
4
|
gap: ${e=>je.gap.valuePx(e.windowSize)};
|
|
@@ -18,25 +18,25 @@ import{J as Ke,y as wl,cL as Sl,F as de,x as F,aR as zl,V as l,bU as Ol,fL as Il
|
|
|
18
18
|
justify-content: center;
|
|
19
19
|
align-items: flex-start;
|
|
20
20
|
flex: 1;
|
|
21
|
-
`,_t=r(
|
|
21
|
+
`,_t=r(Dl)`
|
|
22
22
|
${e=>`${Nl.title.style(e.windowSize)}`};
|
|
23
23
|
color: ${e=>e.theme.colors.primary};
|
|
24
24
|
margin: 0;
|
|
25
|
-
`,Ct=r(
|
|
25
|
+
`,Ct=r(Dl)`
|
|
26
26
|
${e=>`${Nl.description.style(e.windowSize)}`};
|
|
27
27
|
color: ${e=>e.theme.colors.primary};
|
|
28
28
|
margin: 0;
|
|
29
|
-
`,Vl=({text:e})=>l.jsx(
|
|
29
|
+
`,Vl=({text:e})=>l.jsx(Dt,{children:l.jsx(Et,{children:e})}),Et=r(Xl)`
|
|
30
30
|
display: flex;
|
|
31
31
|
align-items: center;
|
|
32
32
|
color: ${e=>e.theme.colors.hero};
|
|
33
33
|
padding-right: ${a.sp2};
|
|
34
|
-
`,
|
|
34
|
+
`,Dt=r.div`
|
|
35
35
|
display: flex;
|
|
36
36
|
align-items: flex-end;
|
|
37
37
|
margin-left: ${a.sp2};
|
|
38
38
|
margin-top: ${a.sp1};
|
|
39
|
-
`,q={width:new F(343,580,726),labelWidth:new F(115,145,155),mediumLabelWidth:new F(140,160,170),largeLabelWidth:new F(150,210,244),extraLargeLabelWidth:new F(160,240,292),largeLabelDocumentWidth:new F(150,210,252),paddingBottom:new F(B[3],B[2]),containerRowGap:new F(12,B[3])},Dt={title:new Ve("standardMedium","largeMedium")},Nt=de.getLocalizedStrings(),{dateFormat:{visual:Pt},commonSetUp:Vt,companyPassport:cl,common:{documents:ul,optional:kt,yes:pl,no:ml}}=Nt,o=Vt.businessVerification,Tt=m.forwardRef(({allIndustries:e,fileProps:c,productType:b,companyDetails:h,allNationalityCountries:R,connectedAccountProvider:L,businessVerificationProps:W,isDisabled:t,style:ae,sectionId:i,showInfoTooltip:ce=!0,isCompleted:ue=!1,showCompletedIcon:oe=!1,hideNewOnboardingFields:ie=!1,showTreasuryFields:w=!1,sectionHeader:K,optionalFields:u=[],onCompanyAddressClick:pe,onRegisteredAddressClick:D},X)=>{const y=Ke(),S=ot(),{watch:P,setValue:me,formState:{errors:g}}=Sl(),he=P(p(i,"companySourceOfFunds")),f=P(p(i,"transactionVolume")),_=P(p(i,"purposeOfAccount")),U=P(p(i,"regulatedStatus")),fe=P(p(i,"usNexus")),ee=P(p(i,"companyIndustryType")),re=s=>{me(p(i,"companySubIndustry"),{selectedOption:null,allOptions:rl(s)})},$=q.labelWidth.value(y),se=q.mediumLabelWidth.value(y),I=q.largeLabelWidth.value(y),ge=q.extraLargeLabelWidth.value(y),le=q.largeLabelDocumentWidth.value(y),x=o.productType[b],ve=h?.companyFiles.find(s=>s.documentType==="certificate_of_incorporation"),H=h?.companyFiles.find(s=>s.documentType==="tax_ein"),Y=h?.companyDescription,v=h?.companyLegalName,G=h?.website,Q=h?.typeOfIncorporation,N=h?.stateOfIncorporation,ye=h?.countriesOfOperations,Te=h?.incDate,Ae=h?.companyIndustry,be=h?.companyIndustryType,$e=h?.companySubIndustry,Le=h?.companySourceOfFunds,n=h?.transactionVolume,_e=h?.purposeOfAccount,ze=h?.regulatedStatus,V=h?.usNexus,te=h?.phone,Be=h?.taxIdOrEIN,J=h?.primaryContactLocalData,Ce=h?.deleteFileStatusById??{},Ee=h?.updateFileStatusById??{},C=h?.addressStatus?.addressToCreate,Re=h?.registeredAddressStatus?.addressToCreate,[xe,Me]=m.useState(!1),[we,qe]=m.useState(!1),k=s=>(t==null||!!s)&&!ie,Fe=k(be),We=(t==null||Array.isArray(ye)&&ye.length>0)&&!ie,Ue=k(N),He=k(Le),d=k(n),E=k(_e),ne=k(ze),Se=k(V),Ye=o.sourceOfFundOptions,j=s=>Ye[s]??s,Ge=ee?.selectedOption??be,Tl=s=>yt(s,Ge),Al=s=>e.find(De=>De.code===s)?.name??s;return l.jsxs(At,{style:ae,ref:X,windowSize:y,children:[l.jsx(zt,{children:l.jsxs(Yt,{children:[l.jsxs(Rt,{children:[oe===!0?l.jsx(Mt,{children:ue?l.jsx(qt,{}):l.jsx(Wt,{})}):null,l.jsx(Bt,{windowSize:y,children:K??o.confirmCompanyDetails})]}),ce?l.jsx(Ut,{children:l.jsx(Ol,{variant:"small-description",display:"flex",maxWidth:"280px",data:o.confirmCompanyDetailsTooltip,placement:y==="small"||b==="onboarding"?"bottom":"right",children:l.jsx(Ht,{})})}):null,b==="onboarding"&&K!=null?l.jsx(Vl,{text:kt}):null,W?.companyVerificationStatus!=null?l.jsx(Qt,{tagTitle:W.companyVerificationStatus.name,textColor:Il(W.companyVerificationStatus.code),showLoader:W?.isRefreshingViewInBackground}):null]})}),l.jsxs(Gt,{children:[l.jsx(Pl,{}),l.jsx(A,{isDisabled:t,showAdditionalInfoLabel:!1,label:{label:o.companyLegalNameLabel,width:I},text:{type:"text",name:p(i,"companyLegalName"),placeholder:o.companyLegalNamePlaceholder,defaultValue:v,options:{required:t==null&&u.includes("companyLegalName")===!1}},additionalInfoLabel:o.companyLegalNameError.replace("_product_type_",x)}),l.jsx(O,{}),l.jsx(A,{isDisabled:t,showAdditionalInfoLabel:!1,label:{label:o.companyDescriptionLabel,width:se},text:{type:"text",name:p(i,"companyDescription"),placeholder:o.addProductPlaceholder,defaultValue:Y,options:{required:t==null&&u.includes("companyDescription")===!1}},additionalInfoLabel:o.companyDescriptionError.replace("_product_type_",x)}),l.jsx(O,{}),l.jsx(Ze,{isDisabled:t,label:{label:o.registeredAddressLabel,width:se},addressValueField:{name:p(i,"registeredAddress"),placeholder:o.registeredAddressPlaceholder,defaultValue:Re,registerOptions:{validate:s=>u.includes("registeredAddress")===!1?!(t==null&&s==null):!0},onClick:()=>{D?.("company_registered_address")}},additionalInfoLabel:o.registeredAddressError.replace("_product_type_",x),showAdditionalInfoLabel:!1}),l.jsx(O,{}),l.jsx(Ze,{isDisabled:t,label:{label:o.companyAddressLabel,width:se},addressValueField:{name:p(i,"companyAddress"),placeholder:o.companyAddressPlaceholder,defaultValue:C,registerOptions:{validate:s=>u.includes("companyAddress")===!1?!(t==null&&s==null):!0},onClick:()=>{pe?.("company_address")}},additionalInfoLabel:o.companyAddressError.replace("_product_type_",x),showAdditionalInfoLabel:!1}),l.jsx(O,{}),l.jsx(A,{isDisabled:t,showAdditionalInfoLabel:!1,label:{label:o.companyWebsiteLabel,width:$},text:{type:"url",name:p(i,"companyWebsite"),placeholder:o.companyWebsitePlaceholder,defaultValue:G?.toString()??"",options:{required:t==null&&u.includes("companyWebsite")===!1}},additionalInfoLabel:o.companyWebsiteError.replace("_product_type_",x)}),l.jsx(O,{}),l.jsx(Zt,{windowSize:y,"data-suppress-hover":t!=null?!0:void 0,children:Fe?l.jsxs(l.Fragment,{children:[l.jsx(Z,{label:{label:o.companyIndustryLabel,width:$},singleSelectField:{singleSelect:{name:p(i,"companyIndustryType"),placeholder:o.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ut,isDisabled:t,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:be,allOptions:[...it]},registerOptions:{required:t==null&&u.includes("companyIndustryType")===!1,validate:s=>u.includes("companyIndustryType")===!1?!(t==null&&!s?.selectedOption):!0},onSelectChange:re},isFunctional:!0,errorInfoLabel:o.companyIndustryError.replace("_product_type_",x),style:{padding:0,margin:0,outline:"none",paddingRight:a.sp2}}),Ge!=null&&l.jsx(Z,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:p(i,"companySubIndustry"),placeholder:o.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:Tl,isDisabled:t,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:$e,allOptions:rl(Ge)},registerOptions:{required:t==null&&u.includes("companySubIndustry")===!1,validate:s=>u.includes("companySubIndustry")===!1?!(t==null&&!s?.selectedOption):!0}},isFunctional:!0,keepFocusedStyle:!0,errorInfoLabel:o.companySubIndustryError.replace("_product_type_",x),additionalInfoLabel:t==null?o.companyIndustryAdditionalInfo:void 0,style:{outline:"none",paddingBottom:a.sp0,paddingRight:a.sp0,width:"100%"}})]}):l.jsx(Z,{label:{label:o.companyIndustryLabel,width:$},singleSelectField:{singleSelect:{name:p(i,"companyIndustry"),placeholder:o.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:Al,isDisabled:t,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:Ae,allOptions:e?.map(s=>s.code)??[]},registerOptions:{required:t==null&&u.includes("companyIndustry")===!1,validate:s=>u.includes("companyIndustry")===!1?!(t==null&&!s?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:o.companyIndustryError.replace("_product_type_",x),additionalInfoLabel:t==null?o.companyIndustryAdditionalInfo:void 0,style:{padding:0,margin:0,outline:"none",paddingRight:a.sp2}})}),l.jsx(O,{}),l.jsx(sl,{label:{label:o.companyTypeOfIncorporationLabel,width:I},isDisabled:t,creatableSingleSelectField:{name:p(i,"typeOfIncorporation"),placeholder:o.companyTypeOfIncorporationPlaceholder,defaultValue:{selectedOption:Q,allOptions:cl.companyIncInfo.allTypesOfIncorporation},registerOptions:{required:t==null&&u.includes("typeOfIncorporation")===!1,validate:s=>u.includes("typeOfIncorporation")===!1?!(t==null&&!s?.selectedOption):!0}},errorInfoLabel:o.companyTypeOfIncorporationError.replace("_product_type_",x)}),l.jsx(O,{}),l.jsx(vl,{isDisabled:t,label:{label:o.companyIncDateLabel,width:I},style:{paddingBottom:q.paddingBottom.valuePx(y)},dateField:{name:p(i,"incDate"),placeholder:o.companyIncDatePlaceholder,defaultValue:Te,dateFormat:Pt.defaultInput,maxDate:Dl(),minDate:rt("01 Jan 1900"),autoComplete:"off",registerOptions:{required:t==null&&u.includes("incDate")===!1}},additionalInfoLabel:o.companyIncDateError.replace("_product_type_",x)}),l.jsx(O,{}),Ue?l.jsxs(l.Fragment,{children:[l.jsx(sl,{label:{label:o.companyStateOfIncorporationLabel,width:I},isDisabled:t,creatableSingleSelectField:{name:p(i,"stateOfIncorporation"),placeholder:o.companyStateOfIncorporationPlaceholder,defaultValue:{selectedOption:N,allOptions:cl.companyIncInfo.allStatesOfIncorporation},registerOptions:{required:t==null&&u.includes("stateOfIncorporation")===!1,validate:s=>u.includes("stateOfIncorporation")===!1?!(t==null&&!s?.selectedOption):!0}},errorInfoLabel:o.companyStateOfIncorporationError.replace("_product_type_",x)}),l.jsx(O,{})]}):null,We?l.jsxs(l.Fragment,{children:[l.jsx(bt,{label:{label:o.countriesOfOperationsLabel,width:I},isDisabled:t,additionalInfoLabel:t==null?o.countriesOfOperationsAdditionalInfo:void 0,errorInfoLabel:o.countriesOfOperationsError.replace("_product_type_",x),multiSelectField:{name:p(i,"countriesOfOperations"),placeholder:o.countriesOfOperationsPlaceholder,defaultValue:Ul(ye,(R??[]).map(s=>s.countryCode)),registerOptions:{validate:s=>u.includes("countriesOfOperations")?!0:!(t==null&&s.selectedOptions.length===0)}}}),l.jsx(O,{})]}):null,He?l.jsxs(l.Fragment,{children:[l.jsx(Z,{label:{label:o.companySourceOfFundsLabel,width:I},singleSelectField:{singleSelect:{name:p(i,"companySourceOfFunds"),placeholder:o.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:pt,isDisabled:t,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:Le,allOptions:[...st]},registerOptions:{required:t==null&&u.includes("companySourceOfFunds")===!1,validate:s=>u.includes("companySourceOfFunds")===!1?!(t==null&&!s?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:o.companySourceOfFundsError.replace("_product_type_",x),additionalContent:xt.includes(he?.selectedOption)?l.jsx(A,{isDisabled:t,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:p(i,"companySourceOfFundsDescription"),placeholder:o.descriptionPlaceholder,style:{backgroundColor:g[i]!=null&&g[i]?.companySourceOfFundsDescription!=null?z.importantLight:S.colors.background},options:{required:t==null}},additionalInfoLabel:o.companySourceOfFundsDescriptionError,style:{position:"relative",top:0,left:-I,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:t!=null||g[i]!=null&&g[i]?.companySourceOfFundsDescription!=null?void 0:o.companySourceOfFundsAdditionalInfo,additionalInfoStyle:{color:S.colors.hero}}),l.jsx(O,{})]}):null,d?l.jsxs(l.Fragment,{children:[l.jsx(Z,{label:{label:o.transactionVolumeLabel,width:ge},singleSelectField:{singleSelect:{name:p(i,"transactionVolume"),placeholder:o.transactionVolumePlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:mt,isDisabled:t,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:n,allOptions:[...nt]},registerOptions:{required:t==null&&u.includes("transactionVolume")===!1,validate:s=>u.includes("transactionVolume")===!1?!(t==null&&!s?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:o.transactionVolumeError.replace("_product_type_",x),additionalContent:wt.includes(f?.selectedOption)?l.jsx(A,{isDisabled:t,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:p(i,"transactionVolumeDescription"),placeholder:o.descriptionPlaceholder,style:{backgroundColor:g[i]!=null&&g[i]?.transactionVolumeDescription!=null?z.importantLight:S.colors.background},options:{required:t==null}},additionalInfoLabel:o.transactionVolumeDescriptionError,style:{position:"relative",top:0,left:-ge,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:t!=null||g[i]!=null&&g[i]?.transactionVolumeDescription!=null?void 0:o.transactionVolumeAdditionalInfo,additionalInfoStyle:{color:S.colors.hero}}),l.jsx(O,{})]}):null,E?l.jsxs(l.Fragment,{children:[l.jsx(Z,{label:{label:o.purposeOfAccountLabel,width:I},singleSelectField:{singleSelect:{name:p(i,"purposeOfAccount"),placeholder:o.purposeOfAccountPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ht,isDisabled:t,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:_e,allOptions:[...dt]},registerOptions:{required:t==null&&u.includes("purposeOfAccount")===!1,validate:s=>u.includes("purposeOfAccount")===!1?!(t==null&&!s?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:o.purposeOfAccountError.replace("_product_type_",x),additionalContent:St.includes(_?.selectedOption)?l.jsx(A,{isDisabled:t,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:p(i,"purposeOfAccountDescription"),placeholder:o.descriptionPlaceholder,style:{backgroundColor:g[i]!=null&&g[i]?.purposeOfAccountDescription!=null?z.importantLight:S.colors.background},options:{required:t==null}},additionalInfoLabel:o.purposeOfAccountDescriptionError,style:{position:"relative",top:0,left:-I,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:t!=null||g[i]!=null&&g[i]?.purposeOfAccountDescription!=null?void 0:o.purposeOfAccountAdditionalInfo,additionalInfoStyle:{color:S.colors.hero}}),l.jsx(O,{})]}):null,ne?l.jsxs(l.Fragment,{children:[l.jsxs(fl,{windowSize:y,"data-suppress-hover":t!=null?!0:void 0,children:[l.jsxs(gl,{children:[l.jsx(il,{label:o.regulatedStatusLabel,htmlFor:p(i,"regulatedStatus"),isDisabled:t,style:{width:I,color:t==="disabled"?S.colors.grey1:S.colors.hero}}),l.jsxs(yl,{labelWidth:I,windowSize:y,children:[l.jsx(Ne,{label:{label:pl},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:p(i,"regulatedStatus"),id:`${p(i,"regulatedStatus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small",registerOptions:{required:t==null&&u.includes("regulatedStatus")===!1}},isDisabled:t,isContainerClickable:!0}),l.jsx(Ne,{label:{label:ml},style:{width:"auto"},radioField:{name:p(i,"regulatedStatus"),id:`${p(i,"regulatedStatus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small",registerOptions:{required:t==null&&u.includes("regulatedStatus")===!1}},isDisabled:t,isContainerClickable:!0})]})]}),U==="yes"&&l.jsx(A,{isDisabled:t,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},text:{type:"text",name:p(i,"regulatedStatusDescription"),placeholder:o.regulatedStatusDescriptionPlaceholder,style:{backgroundColor:g[i]!=null&&g[i]?.regulatedStatusDescription!=null?z.importantLight:S.colors.background},options:{required:t==null,shouldUnregister:!0}},additionalInfoLabel:o.regulatedStatusDescriptionError,style:{outline:"none",width:"100%",padding:0}}),g[i]!=null&&g[i]?.regulatedStatus!=null?l.jsx(Qe,{windowSize:y,children:o.regulatedStatusError.replace("_product_type_",x)}):g[i]!=null&&g[i]?.regulatedStatusDescription!=null?null:t==null?l.jsx(bl,{windowSize:y,children:o.regulatedStatusAdditionalInfo}):null]}),l.jsx(O,{})]}):null,Se?l.jsxs(l.Fragment,{children:[l.jsxs(fl,{windowSize:y,"data-suppress-hover":t!=null?!0:void 0,children:[l.jsxs(gl,{children:[l.jsx(il,{label:o.usNexusLabel,htmlFor:p(i,"usNexus"),isDisabled:t,style:{width:I,color:t==="disabled"?S.colors.grey1:S.colors.hero}}),l.jsxs(yl,{labelWidth:I,windowSize:y,children:[l.jsx(Ne,{label:{label:pl},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:p(i,"usNexus"),id:`${p(i,"usNexus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small",registerOptions:{required:t==null&&u.includes("usNexus")===!1}},isDisabled:t,isContainerClickable:!0}),l.jsx(Ne,{label:{label:ml},style:{width:"auto"},radioField:{name:p(i,"usNexus"),id:`${p(i,"usNexus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small",registerOptions:{required:t==null&&u.includes("usNexus")===!1}},isDisabled:t,isContainerClickable:!0})]})]}),fe==="yes"&&l.jsxs(l.Fragment,{children:[l.jsx(Jt,{hasError:g[i]!=null&&g[i]?.usNexusTypes!=null,children:l.jsx(ft,{isDisabled:t,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},multiSelectField:{name:p(i,"usNexusTypes"),placeholder:o.usNexusPlaceholder,getOptionLabel:gt,defaultValue:{selectedOptions:h?.usNexusTypes??[],allOptions:[...ct]},registerOptions:{required:t==null,shouldUnregister:!0,validate:s=>{const De=s?.selectedOptions;return De!=null&&De.length>0}}},style:{outline:"none",margin:0,padding:0,width:"100%"}})}),g[i]!=null&&g[i]?.usNexusTypes!=null&&l.jsx(Qe,{windowSize:y,children:o.usNexusTypesError})]}),g[i]!=null&&g[i]?.usNexus!=null?l.jsx(Qe,{windowSize:y,children:o.usNexusError.replace("_product_type_",x)}):g[i]!=null&&g[i]?.usNexusTypes!=null?null:t==null?l.jsx(bl,{windowSize:y,children:o.usNexusAdditionalInfo}):null]}),l.jsx(O,{})]}):null,l.jsx(A,{isDisabled:t,showAdditionalInfoLabel:!1,label:{label:o.companyTaxIdLabel,width:$},text:{type:"text",name:p(i,"companyTaxId"),placeholder:o.companyTaxIdPlaceholder,defaultValue:Be,options:{required:t==null&&u.includes("companyTaxId")===!1,pattern:Hl},autoComplete:"new-password"},additionalInfoLabel:o.companyTaxIdError.replace("_product_type_",x)}),l.jsx(O,{}),l.jsx($l,{isDisabled:t,label:{label:o.companyPhoneLabel,width:$},text:{name:p(i,"companyPhone"),placeholder:Oe(o.companyPhoneLabel),defaultValue:te,autoComplete:"new-password",options:{required:t==null&&u.includes("companyPhone")===!1}},errorInfoLabel:o.companyPhoneError.replace("_product_type_",x)}),l.jsx(O,{}),l.jsx(jl,{isDisabled:t,label:{label:o.companyPrimaryContactNameLabel,width:I},nameField:{name:p(i,"primaryContactName"),placeHolder:{firstName:o.firstNamePlaceholder,lastName:o.lastNamePlaceholder,name:o.namePlaceholder},defaultValue:{firstName:J?.firstName??"",lastName:J?.lastName??""},registerOptions:{required:t==null&&u.includes("primaryContactName")===!1,validate:s=>!!s||t!=null||u.includes("primaryContactName")},showFullNameError:!0},errorInfoLabel:o.companyPrimaryContactNameError.replace("_product_type_",x)}),l.jsx(O,{}),l.jsx(A,{isDisabled:t,showAdditionalInfoLabel:!1,label:{label:o.companyPrimaryContactEmailLabel,width:I},text:{type:"email",name:p(i,"primaryContactEmail"),placeholder:o.companyPrimaryContactEmailPlaceholder,defaultValue:J?.email,options:{required:t==null&&u.includes("primaryContactEmail")===!1}},additionalInfoLabel:o.companyPrimaryContactEmailError.replace("_product_type_",x)}),l.jsx(O,{}),l.jsx(nl,{name:p(i,"certificateOfIncorporation"),isDisabled:t,sizeLimit:Je,deleteFileStatusById:Ce,updateFileStatusById:Ee,filesEndPoint:c.filesEndPoint,authParams:c.authParams,label:{label:o.certificateOfIncorporation,width:le},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:ve,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:t==null&&u.includes("certificateOfIncorporation")===!1&&L==="unit"},additionalInfoLabel:o.certOfIncopDocumentError.replace("_product_type_",x),hasError:xe,updateFilesEntity:c.updateFilesEntity,onEditFileName:c.onEditFileName,onDeleteFile:c.onDeleteFile,onFileSizeError:s=>Me(s)}),xe||!(t!=null||ve!=null)?l.jsx(hl,{windowSize:y,isError:xe,children:ul.formatDocumentText10MB}):null,l.jsx(O,{}),l.jsx(nl,{name:p(i,"ein"),isDisabled:t,sizeLimit:Je,deleteFileStatusById:Ce,updateFileStatusById:Ee,filesEndPoint:c.filesEndPoint,authParams:c.authParams,label:{label:o.einDocument,width:le},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:H,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:t==null&&u.includes("ein")===!1},additionalInfoLabel:o.einDocumentError.replace("_product_type_",x),hasError:we,updateFilesEntity:c.updateFilesEntity,onEditFileName:c.onEditFileName,onDeleteFile:c.onDeleteFile,onFileSizeError:s=>qe(s)}),we||!(t!=null||H!=null)?l.jsx(hl,{windowSize:y,isError:we,children:ul.formatDocumentText10MB}):null,l.jsx(O,{}),w===!0?l.jsxs(l.Fragment,{children:[l.jsx(Z,{label:{label:o.sourceOfFundsLabel,width:$},singleSelectField:{singleSelect:{name:p(i,"sourceOfFunds"),placeholder:o.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:j,isDisabled:t,showTickMark:!1,menuPlacement:"top",sortOptions:!1},defaultValue:{selectedOption:h?.sourceOfFunds,allOptions:Object.keys(o.sourceOfFundOptions)},registerOptions:{required:t==null&&u.includes("sourceOfFunds")===!1,validate:s=>u.includes("sourceOfFunds")===!1?!(t==null&&!s?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:o.sourceOfFundsError.replace("_product_type_",x)}),l.jsx(O,{})]}):null]})]})});Tt.displayName="Company Details Section";const p=(e,c)=>`${e}.${c}`,At=r.div`
|
|
39
|
+
`,q={width:new D(343,580,726),labelWidth:new D(115,145,155),mediumLabelWidth:new D(140,160,170),largeLabelWidth:new D(150,210,244),extraLargeLabelWidth:new D(160,240,292),largeLabelDocumentWidth:new D(150,210,252),paddingBottom:new D(B[3],B[2]),containerRowGap:new D(12,B[3])},Ft={title:new Ve("standardMedium","largeMedium")},Nt=de.getLocalizedStrings(),{dateFormat:{visual:Pt},commonSetUp:Vt,companyPassport:cl,common:{documents:ul,optional:kt,yes:pl,no:ml}}=Nt,o=Vt.businessVerification,Tt=m.forwardRef(({allIndustries:e,fileProps:c,productType:b,companyDetails:h,allNationalityCountries:R,connectedAccountProvider:L,businessVerificationProps:W,isDisabled:t,style:ae,sectionId:i,showInfoTooltip:ce=!0,isCompleted:ue=!1,showCompletedIcon:oe=!1,hideNewOnboardingFields:ie=!1,showTreasuryFields:w=!1,sectionHeader:K,optionalFields:u=[],onCompanyAddressClick:pe,onRegisteredAddressClick:F},X)=>{const y=Ke(),S=ot(),{watch:P,setValue:me,formState:{errors:g}}=Sl(),he=P(p(i,"companySourceOfFunds")),f=P(p(i,"transactionVolume")),_=P(p(i,"purposeOfAccount")),U=P(p(i,"regulatedStatus")),fe=P(p(i,"usNexus")),ee=P(p(i,"companyIndustryType")),re=s=>{me(p(i,"companySubIndustry"),{selectedOption:null,allOptions:rl(s)})},$=q.labelWidth.value(y),se=q.mediumLabelWidth.value(y),I=q.largeLabelWidth.value(y),ge=q.extraLargeLabelWidth.value(y),le=q.largeLabelDocumentWidth.value(y),x=o.productType[b],ve=h?.companyFiles.find(s=>s.documentType==="certificate_of_incorporation"),H=h?.companyFiles.find(s=>s.documentType==="tax_ein"),G=h?.companyDescription,v=h?.companyLegalName,Y=h?.website,Q=h?.typeOfIncorporation,N=h?.stateOfIncorporation,ye=h?.countriesOfOperations,Te=h?.incDate,Ae=h?.companyIndustry,be=h?.companyIndustryType,$e=h?.companySubIndustry,Le=h?.companySourceOfFunds,n=h?.transactionVolume,_e=h?.purposeOfAccount,ze=h?.regulatedStatus,V=h?.usNexus,te=h?.phone,Be=h?.taxIdOrEIN,J=h?.primaryContactLocalData,Ce=h?.deleteFileStatusById??{},Ee=h?.updateFileStatusById??{},C=h?.addressStatus?.addressToCreate,Re=h?.registeredAddressStatus?.addressToCreate,[xe,Me]=m.useState(!1),[we,qe]=m.useState(!1),k=s=>(t==null||!!s)&&!ie,De=k(be),We=(t==null||Array.isArray(ye)&&ye.length>0)&&!ie,Ue=k(N),He=k(Le),d=k(n),E=k(_e),ne=k(ze),Se=k(V),Ge=o.sourceOfFundOptions,j=s=>Ge[s]??s,Ye=ee?.selectedOption??be,Tl=s=>yt(s,Ye),Al=s=>e.find(Fe=>Fe.code===s)?.name??s;return l.jsxs(At,{style:ae,ref:X,windowSize:y,children:[l.jsx(zt,{children:l.jsxs(Gt,{children:[l.jsxs(Rt,{children:[oe===!0?l.jsx(Mt,{children:ue?l.jsx(qt,{}):l.jsx(Wt,{})}):null,l.jsx(Bt,{windowSize:y,children:K??o.confirmCompanyDetails})]}),ce?l.jsx(Ut,{children:l.jsx(Ol,{variant:"small-description",display:"flex",maxWidth:"280px",data:o.confirmCompanyDetailsTooltip,placement:y==="small"||b==="onboarding"?"bottom":"right",children:l.jsx(Ht,{})})}):null,b==="onboarding"&&K!=null?l.jsx(Vl,{text:kt}):null,W?.companyVerificationStatus!=null?l.jsx(Qt,{tagTitle:W.companyVerificationStatus.name,textColor:Il(W.companyVerificationStatus.code),showLoader:W?.isRefreshingViewInBackground}):null]})}),l.jsxs(Yt,{children:[l.jsx(Pl,{}),l.jsx(A,{isDisabled:t,showAdditionalInfoLabel:!1,label:{label:o.companyLegalNameLabel,width:I},text:{type:"text",name:p(i,"companyLegalName"),placeholder:o.companyLegalNamePlaceholder,defaultValue:v,options:{required:t==null&&u.includes("companyLegalName")===!1}},additionalInfoLabel:o.companyLegalNameError.replace("_product_type_",x)}),l.jsx(O,{}),l.jsx(A,{isDisabled:t,showAdditionalInfoLabel:!1,label:{label:o.companyDescriptionLabel,width:se},text:{type:"text",name:p(i,"companyDescription"),placeholder:o.addProductPlaceholder,defaultValue:G,options:{required:t==null&&u.includes("companyDescription")===!1}},additionalInfoLabel:o.companyDescriptionError.replace("_product_type_",x)}),l.jsx(O,{}),l.jsx(Ze,{isDisabled:t,label:{label:o.registeredAddressLabel,width:se},addressValueField:{name:p(i,"registeredAddress"),placeholder:o.registeredAddressPlaceholder,defaultValue:Re,registerOptions:{validate:s=>u.includes("registeredAddress")===!1?!(t==null&&s==null):!0},onClick:()=>{F?.("company_registered_address")}},additionalInfoLabel:o.registeredAddressError.replace("_product_type_",x),showAdditionalInfoLabel:!1}),l.jsx(O,{}),l.jsx(Ze,{isDisabled:t,label:{label:o.companyAddressLabel,width:se},addressValueField:{name:p(i,"companyAddress"),placeholder:o.companyAddressPlaceholder,defaultValue:C,registerOptions:{validate:s=>u.includes("companyAddress")===!1?!(t==null&&s==null):!0},onClick:()=>{pe?.("company_address")}},additionalInfoLabel:o.companyAddressError.replace("_product_type_",x),showAdditionalInfoLabel:!1}),l.jsx(O,{}),l.jsx(A,{isDisabled:t,showAdditionalInfoLabel:!1,label:{label:o.companyWebsiteLabel,width:$},text:{type:"url",name:p(i,"companyWebsite"),placeholder:o.companyWebsitePlaceholder,defaultValue:Y?.toString()??"",options:{required:t==null&&u.includes("companyWebsite")===!1}},additionalInfoLabel:o.companyWebsiteError.replace("_product_type_",x)}),l.jsx(O,{}),l.jsx(Zt,{windowSize:y,"data-suppress-hover":t!=null?!0:void 0,children:De?l.jsxs(l.Fragment,{children:[l.jsx(Z,{label:{label:o.companyIndustryLabel,width:$},singleSelectField:{singleSelect:{name:p(i,"companyIndustryType"),placeholder:o.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ut,isDisabled:t,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:be,allOptions:[...it]},registerOptions:{required:t==null&&u.includes("companyIndustryType")===!1,validate:s=>u.includes("companyIndustryType")===!1?!(t==null&&!s?.selectedOption):!0},onSelectChange:re},isFunctional:!0,errorInfoLabel:o.companyIndustryError.replace("_product_type_",x),style:{padding:0,margin:0,outline:"none",paddingRight:a.sp2}}),Ye!=null&&l.jsx(Z,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:p(i,"companySubIndustry"),placeholder:o.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:Tl,isDisabled:t,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:$e,allOptions:rl(Ye)},registerOptions:{required:t==null&&u.includes("companySubIndustry")===!1,validate:s=>u.includes("companySubIndustry")===!1?!(t==null&&!s?.selectedOption):!0}},isFunctional:!0,keepFocusedStyle:!0,errorInfoLabel:o.companySubIndustryError.replace("_product_type_",x),additionalInfoLabel:t==null?o.companyIndustryAdditionalInfo:void 0,style:{outline:"none",paddingBottom:a.sp0,paddingRight:a.sp0,width:"100%"}})]}):l.jsx(Z,{label:{label:o.companyIndustryLabel,width:$},singleSelectField:{singleSelect:{name:p(i,"companyIndustry"),placeholder:o.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:Al,isDisabled:t,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:Ae,allOptions:e?.map(s=>s.code)??[]},registerOptions:{required:t==null&&u.includes("companyIndustry")===!1,validate:s=>u.includes("companyIndustry")===!1?!(t==null&&!s?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:o.companyIndustryError.replace("_product_type_",x),additionalInfoLabel:t==null?o.companyIndustryAdditionalInfo:void 0,style:{padding:0,margin:0,outline:"none",paddingRight:a.sp2}})}),l.jsx(O,{}),l.jsx(sl,{label:{label:o.companyTypeOfIncorporationLabel,width:I},isDisabled:t,creatableSingleSelectField:{name:p(i,"typeOfIncorporation"),placeholder:o.companyTypeOfIncorporationPlaceholder,defaultValue:{selectedOption:Q,allOptions:cl.companyIncInfo.allTypesOfIncorporation},registerOptions:{required:t==null&&u.includes("typeOfIncorporation")===!1,validate:s=>u.includes("typeOfIncorporation")===!1?!(t==null&&!s?.selectedOption):!0}},errorInfoLabel:o.companyTypeOfIncorporationError.replace("_product_type_",x)}),l.jsx(O,{}),l.jsx(vl,{isDisabled:t,label:{label:o.companyIncDateLabel,width:I},style:{paddingBottom:q.paddingBottom.valuePx(y)},dateField:{name:p(i,"incDate"),placeholder:o.companyIncDatePlaceholder,defaultValue:Te,dateFormat:Pt.defaultInput,maxDate:Fl(),minDate:rt("01 Jan 1900"),autoComplete:"off",registerOptions:{required:t==null&&u.includes("incDate")===!1}},additionalInfoLabel:o.companyIncDateError.replace("_product_type_",x)}),l.jsx(O,{}),Ue?l.jsxs(l.Fragment,{children:[l.jsx(sl,{label:{label:o.companyStateOfIncorporationLabel,width:I},isDisabled:t,creatableSingleSelectField:{name:p(i,"stateOfIncorporation"),placeholder:o.companyStateOfIncorporationPlaceholder,defaultValue:{selectedOption:N,allOptions:cl.companyIncInfo.allStatesOfIncorporation},registerOptions:{required:t==null&&u.includes("stateOfIncorporation")===!1,validate:s=>u.includes("stateOfIncorporation")===!1?!(t==null&&!s?.selectedOption):!0}},errorInfoLabel:o.companyStateOfIncorporationError.replace("_product_type_",x)}),l.jsx(O,{})]}):null,We?l.jsxs(l.Fragment,{children:[l.jsx(bt,{label:{label:o.countriesOfOperationsLabel,width:I},isDisabled:t,additionalInfoLabel:t==null?o.countriesOfOperationsAdditionalInfo:void 0,errorInfoLabel:o.countriesOfOperationsError.replace("_product_type_",x),multiSelectField:{name:p(i,"countriesOfOperations"),placeholder:o.countriesOfOperationsPlaceholder,defaultValue:Ul(ye,(R??[]).map(s=>s.countryCode)),registerOptions:{validate:s=>u.includes("countriesOfOperations")?!0:!(t==null&&s.selectedOptions.length===0)}}}),l.jsx(O,{})]}):null,He?l.jsxs(l.Fragment,{children:[l.jsx(Z,{label:{label:o.companySourceOfFundsLabel,width:I},singleSelectField:{singleSelect:{name:p(i,"companySourceOfFunds"),placeholder:o.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:pt,isDisabled:t,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:Le,allOptions:[...st]},registerOptions:{required:t==null&&u.includes("companySourceOfFunds")===!1,validate:s=>u.includes("companySourceOfFunds")===!1?!(t==null&&!s?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:o.companySourceOfFundsError.replace("_product_type_",x),additionalContent:xt.includes(he?.selectedOption)?l.jsx(A,{isDisabled:t,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:p(i,"companySourceOfFundsDescription"),placeholder:o.descriptionPlaceholder,style:{backgroundColor:g[i]!=null&&g[i]?.companySourceOfFundsDescription!=null?z.importantLight:S.colors.background},options:{required:t==null}},additionalInfoLabel:o.companySourceOfFundsDescriptionError,style:{position:"relative",top:0,left:-I,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:t!=null||g[i]!=null&&g[i]?.companySourceOfFundsDescription!=null?void 0:o.companySourceOfFundsAdditionalInfo,additionalInfoStyle:{color:S.colors.hero}}),l.jsx(O,{})]}):null,d?l.jsxs(l.Fragment,{children:[l.jsx(Z,{label:{label:o.transactionVolumeLabel,width:ge},singleSelectField:{singleSelect:{name:p(i,"transactionVolume"),placeholder:o.transactionVolumePlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:mt,isDisabled:t,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:n,allOptions:[...nt]},registerOptions:{required:t==null&&u.includes("transactionVolume")===!1,validate:s=>u.includes("transactionVolume")===!1?!(t==null&&!s?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:o.transactionVolumeError.replace("_product_type_",x),additionalContent:wt.includes(f?.selectedOption)?l.jsx(A,{isDisabled:t,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:p(i,"transactionVolumeDescription"),placeholder:o.descriptionPlaceholder,style:{backgroundColor:g[i]!=null&&g[i]?.transactionVolumeDescription!=null?z.importantLight:S.colors.background},options:{required:t==null}},additionalInfoLabel:o.transactionVolumeDescriptionError,style:{position:"relative",top:0,left:-ge,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:t!=null||g[i]!=null&&g[i]?.transactionVolumeDescription!=null?void 0:o.transactionVolumeAdditionalInfo,additionalInfoStyle:{color:S.colors.hero}}),l.jsx(O,{})]}):null,E?l.jsxs(l.Fragment,{children:[l.jsx(Z,{label:{label:o.purposeOfAccountLabel,width:I},singleSelectField:{singleSelect:{name:p(i,"purposeOfAccount"),placeholder:o.purposeOfAccountPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ht,isDisabled:t,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:_e,allOptions:[...dt]},registerOptions:{required:t==null&&u.includes("purposeOfAccount")===!1,validate:s=>u.includes("purposeOfAccount")===!1?!(t==null&&!s?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:o.purposeOfAccountError.replace("_product_type_",x),additionalContent:St.includes(_?.selectedOption)?l.jsx(A,{isDisabled:t,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:p(i,"purposeOfAccountDescription"),placeholder:o.descriptionPlaceholder,style:{backgroundColor:g[i]!=null&&g[i]?.purposeOfAccountDescription!=null?z.importantLight:S.colors.background},options:{required:t==null}},additionalInfoLabel:o.purposeOfAccountDescriptionError,style:{position:"relative",top:0,left:-I,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:t!=null||g[i]!=null&&g[i]?.purposeOfAccountDescription!=null?void 0:o.purposeOfAccountAdditionalInfo,additionalInfoStyle:{color:S.colors.hero}}),l.jsx(O,{})]}):null,ne?l.jsxs(l.Fragment,{children:[l.jsxs(fl,{windowSize:y,"data-suppress-hover":t!=null?!0:void 0,children:[l.jsxs(gl,{children:[l.jsx(il,{label:o.regulatedStatusLabel,htmlFor:p(i,"regulatedStatus"),isDisabled:t,style:{width:I,color:t==="disabled"?S.colors.grey1:S.colors.hero}}),l.jsxs(yl,{labelWidth:I,windowSize:y,children:[l.jsx(Ne,{label:{label:pl},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:p(i,"regulatedStatus"),id:`${p(i,"regulatedStatus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small",registerOptions:{required:t==null&&u.includes("regulatedStatus")===!1}},isDisabled:t,isContainerClickable:!0}),l.jsx(Ne,{label:{label:ml},style:{width:"auto"},radioField:{name:p(i,"regulatedStatus"),id:`${p(i,"regulatedStatus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small",registerOptions:{required:t==null&&u.includes("regulatedStatus")===!1}},isDisabled:t,isContainerClickable:!0})]})]}),U==="yes"&&l.jsx(A,{isDisabled:t,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},text:{type:"text",name:p(i,"regulatedStatusDescription"),placeholder:o.regulatedStatusDescriptionPlaceholder,style:{backgroundColor:g[i]!=null&&g[i]?.regulatedStatusDescription!=null?z.importantLight:S.colors.background},options:{required:t==null,shouldUnregister:!0}},additionalInfoLabel:o.regulatedStatusDescriptionError,style:{outline:"none",width:"100%",padding:0}}),g[i]!=null&&g[i]?.regulatedStatus!=null?l.jsx(Qe,{windowSize:y,children:o.regulatedStatusError.replace("_product_type_",x)}):g[i]!=null&&g[i]?.regulatedStatusDescription!=null?null:t==null?l.jsx(bl,{windowSize:y,children:o.regulatedStatusAdditionalInfo}):null]}),l.jsx(O,{})]}):null,Se?l.jsxs(l.Fragment,{children:[l.jsxs(fl,{windowSize:y,"data-suppress-hover":t!=null?!0:void 0,children:[l.jsxs(gl,{children:[l.jsx(il,{label:o.usNexusLabel,htmlFor:p(i,"usNexus"),isDisabled:t,style:{width:I,color:t==="disabled"?S.colors.grey1:S.colors.hero}}),l.jsxs(yl,{labelWidth:I,windowSize:y,children:[l.jsx(Ne,{label:{label:pl},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:p(i,"usNexus"),id:`${p(i,"usNexus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small",registerOptions:{required:t==null&&u.includes("usNexus")===!1}},isDisabled:t,isContainerClickable:!0}),l.jsx(Ne,{label:{label:ml},style:{width:"auto"},radioField:{name:p(i,"usNexus"),id:`${p(i,"usNexus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small",registerOptions:{required:t==null&&u.includes("usNexus")===!1}},isDisabled:t,isContainerClickable:!0})]})]}),fe==="yes"&&l.jsxs(l.Fragment,{children:[l.jsx(Jt,{hasError:g[i]!=null&&g[i]?.usNexusTypes!=null,children:l.jsx(ft,{isDisabled:t,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},multiSelectField:{name:p(i,"usNexusTypes"),placeholder:o.usNexusPlaceholder,getOptionLabel:gt,defaultValue:{selectedOptions:h?.usNexusTypes??[],allOptions:[...ct]},registerOptions:{required:t==null,shouldUnregister:!0,validate:s=>{const Fe=s?.selectedOptions;return Fe!=null&&Fe.length>0}}},style:{outline:"none",margin:0,padding:0,width:"100%"}})}),g[i]!=null&&g[i]?.usNexusTypes!=null&&l.jsx(Qe,{windowSize:y,children:o.usNexusTypesError})]}),g[i]!=null&&g[i]?.usNexus!=null?l.jsx(Qe,{windowSize:y,children:o.usNexusError.replace("_product_type_",x)}):g[i]!=null&&g[i]?.usNexusTypes!=null?null:t==null?l.jsx(bl,{windowSize:y,children:o.usNexusAdditionalInfo}):null]}),l.jsx(O,{})]}):null,l.jsx(A,{isDisabled:t,showAdditionalInfoLabel:!1,label:{label:o.companyTaxIdLabel,width:$},text:{type:"text",name:p(i,"companyTaxId"),placeholder:o.companyTaxIdPlaceholder,defaultValue:Be,options:{required:t==null&&u.includes("companyTaxId")===!1,pattern:Hl},autoComplete:"new-password"},additionalInfoLabel:o.companyTaxIdError.replace("_product_type_",x)}),l.jsx(O,{}),l.jsx($l,{isDisabled:t,label:{label:o.companyPhoneLabel,width:$},text:{name:p(i,"companyPhone"),placeholder:Oe(o.companyPhoneLabel),defaultValue:te,autoComplete:"new-password",options:{required:t==null&&u.includes("companyPhone")===!1}},errorInfoLabel:o.companyPhoneError.replace("_product_type_",x)}),l.jsx(O,{}),l.jsx(jl,{isDisabled:t,label:{label:o.companyPrimaryContactNameLabel,width:I},nameField:{name:p(i,"primaryContactName"),placeHolder:{firstName:o.firstNamePlaceholder,lastName:o.lastNamePlaceholder,name:o.namePlaceholder},defaultValue:{firstName:J?.firstName??"",lastName:J?.lastName??""},registerOptions:{required:t==null&&u.includes("primaryContactName")===!1,validate:s=>!!s||t!=null||u.includes("primaryContactName")},showFullNameError:!0},errorInfoLabel:o.companyPrimaryContactNameError.replace("_product_type_",x)}),l.jsx(O,{}),l.jsx(A,{isDisabled:t,showAdditionalInfoLabel:!1,label:{label:o.companyPrimaryContactEmailLabel,width:I},text:{type:"email",name:p(i,"primaryContactEmail"),placeholder:o.companyPrimaryContactEmailPlaceholder,defaultValue:J?.email,options:{required:t==null&&u.includes("primaryContactEmail")===!1}},additionalInfoLabel:o.companyPrimaryContactEmailError.replace("_product_type_",x)}),l.jsx(O,{}),l.jsx(nl,{name:p(i,"certificateOfIncorporation"),isDisabled:t,sizeLimit:Je,deleteFileStatusById:Ce,updateFileStatusById:Ee,filesEndPoint:c.filesEndPoint,authParams:c.authParams,label:{label:o.certificateOfIncorporation,width:le},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:ve,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:t==null&&u.includes("certificateOfIncorporation")===!1&&L==="unit"},additionalInfoLabel:o.certOfIncopDocumentError.replace("_product_type_",x),hasError:xe,updateFilesEntity:c.updateFilesEntity,onEditFileName:c.onEditFileName,onDeleteFile:c.onDeleteFile,onFileSizeError:s=>Me(s)}),xe||!(t!=null||ve!=null)?l.jsx(hl,{windowSize:y,isError:xe,children:ul.formatDocumentText10MB}):null,l.jsx(O,{}),l.jsx(nl,{name:p(i,"ein"),isDisabled:t,sizeLimit:Je,deleteFileStatusById:Ce,updateFileStatusById:Ee,filesEndPoint:c.filesEndPoint,authParams:c.authParams,label:{label:o.einDocument,width:le},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:H,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:t==null&&u.includes("ein")===!1},additionalInfoLabel:o.einDocumentError.replace("_product_type_",x),hasError:we,updateFilesEntity:c.updateFilesEntity,onEditFileName:c.onEditFileName,onDeleteFile:c.onDeleteFile,onFileSizeError:s=>qe(s)}),we||!(t!=null||H!=null)?l.jsx(hl,{windowSize:y,isError:we,children:ul.formatDocumentText10MB}):null,l.jsx(O,{}),w===!0?l.jsxs(l.Fragment,{children:[l.jsx(Z,{label:{label:o.sourceOfFundsLabel,width:$},singleSelectField:{singleSelect:{name:p(i,"sourceOfFunds"),placeholder:o.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:j,isDisabled:t,showTickMark:!1,menuPlacement:"top",sortOptions:!1},defaultValue:{selectedOption:h?.sourceOfFunds,allOptions:Object.keys(o.sourceOfFundOptions)},registerOptions:{required:t==null&&u.includes("sourceOfFunds")===!1,validate:s=>u.includes("sourceOfFunds")===!1?!(t==null&&!s?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:o.sourceOfFundsError.replace("_product_type_",x)}),l.jsx(O,{})]}):null]})]})});Tt.displayName="Company Details Section";const p=(e,c)=>`${e}.${c}`,At=r.div`
|
|
40
40
|
display: flex;
|
|
41
41
|
flex-direction: column;
|
|
42
42
|
row-gap: ${e=>q.containerRowGap.valuePx(e.windowSize)};
|
|
@@ -50,7 +50,7 @@ import{J as Ke,y as wl,cL as Sl,F as de,x as F,aR as zl,V as l,bU as Ol,fL as Il
|
|
|
50
50
|
text-align: ${e=>e.windowSize==="small"?"initial":"right"};
|
|
51
51
|
color: ${e=>e.isError?z.important:e.theme.colors.grey1};
|
|
52
52
|
`,Bt=r.div`
|
|
53
|
-
${e=>`${
|
|
53
|
+
${e=>`${Ft.title.style(e.windowSize)}`};
|
|
54
54
|
display: flex;
|
|
55
55
|
align-items: center;
|
|
56
56
|
color: ${e=>e.theme.colors.primary};
|
|
@@ -78,10 +78,10 @@ import{J as Ke,y as wl,cL as Sl,F as de,x as F,aR as zl,V as l,bU as Ol,fL as Il
|
|
|
78
78
|
`,Ht=r(_l)`
|
|
79
79
|
width: ${a.sp3};
|
|
80
80
|
height: ${a.sp3};
|
|
81
|
-
`,
|
|
81
|
+
`,Gt=r.div`
|
|
82
82
|
display: flex;
|
|
83
83
|
align-items: center;
|
|
84
|
-
`,
|
|
84
|
+
`,Yt=r.div`
|
|
85
85
|
display: flex;
|
|
86
86
|
flex-direction: column;
|
|
87
87
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -173,7 +173,7 @@ import{J as Ke,y as wl,cL as Sl,F as de,x as F,aR as zl,V as l,bU as Ol,fL 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:h=!1,pickerStyles:{optionBackgroundColor:R,selectedOptionBackgroundColor:L,optionTextStyle:W,titleTextStyle:t,backgroundColor:ae,titleTextAlignment:i,selectedOptionColor:ce,customStyleConfig:ue}={},customization:{placeholderLabel:oe}={},showAddUser:ie=!0}){const w=wl(),[K,u]=m.useState(!1),pe=Xt(e).sort((f,_)=>f.label.localeCompare(_.label)),
|
|
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:h=!1,pickerStyles:{optionBackgroundColor:R,selectedOptionBackgroundColor:L,optionTextStyle:W,titleTextStyle:t,backgroundColor:ae,titleTextAlignment:i,selectedOptionColor:ce,customStyleConfig:ue}={},customization:{placeholderLabel:oe}={},showAddUser:ie=!0}){const w=wl(),[K,u]=m.useState(!1),pe=Xt(e).sort((f,_)=>f.label.localeCompare(_.label)),F=b!=null?ea(b):void 0,X=R??w.colors.grey5,y=ae??w.colors.grey5,S=L??w.colors.grey3,P=W??Pe.smallRegular.cssObject,me=t??P,g={control:(f,_)=>({...f,border:0,height:"100%",backgroundColor:y,fill:_.selectProps.menuIsOpen===!0?w.colors.primary:w.colors.grey1,boxShadow:y,">div:last-child":{color:K?w.colors.primary:w.colors.grey1},":active":{backgroundColor:y},":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:y,height:"100%"}),singleValue:f=>({...f,margin:0,minWidth:void 0,backgroundColor:void 0,">div":{borderRadius:0,padding:a.sp0,borderLeftStyle:"none",borderWidth:1,borderColor:w.colors.grey1,color:"unset"},">div>div>div>div:last-child":{display:"block",...Pe.standardRegular.cssObject}}),valueContainer:f=>({...f,maxWidth:"100%",cursor:"pointer",height:"100%",...me,overflow:"visible",minWidth:"auto",padding:0,display:"flex",justifyContent:i??"flex-start",alignItems:"center",flexWrap:"nowrap",flexDirection:"row",">div":{width:"inherit"}}),menu:(f,_)=>({...f,backgroundColor:X,borderRadius:B[1],boxShadow:`${a.sp0} 2px ${a.sp2} ${w.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:3,width:236,margin:`6px ${a.sp0}`,right:"-11%",">div":{flexDirection:"column",maxHeight:200,overflowY:"auto",borderRadius:a.sp1,padding:`${a.sp1} ${a.sp0}`,">div":{width:"-webkit-fill-available"}},...ue?.menu?.(f,_)}),menuList:f=>({...f,borderRadius:B[1]}),placeholder:(f,_)=>({...f,margin:0,width:"100%",color:_.isFocused?w.colors.primary:"currentColor",paddingRight:a.sp2,...Pe.standardRegular.cssObject,">div>div>svg>circle":{fill:w.colors.grey1}}),noOptionsMessage:f=>({...f,...Pe.smallRegular.cssObject,padding:`10px ${a.sp3} 9px ${a.sp3}`,color:w.colors.hero}),option:(f,{isDisabled:_,isSelected:U,isFocused:fe})=>({...f,...P,color:U?ce??w.colors.champion:w.colors.hero,backgroundColor:U?S:fe?w.colors.background:X,cursor:_?"not-allowed":U?"default":"pointer","svg:nth-of-type(2)":{display:"none"},":hover":{backgroundColor:w.colors.background,color:w.colors.primary},"& label":{paddingRight:"10px",cursor:_?"not-allowed":U?"inherit":"pointer"},">div>div>div:first-of-type":{display:"flex"}}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({}),indicatorsContainer:()=>({height:"100%",display:"flex",alignItems:"center"})},he=({children:f,..._})=>l.jsxs(ke.ValueContainer,{..._,children:[f,ie===!0?l.jsxs(ya,{hasSelectedUser:!!b,onClick:()=>{c(void 0),u(!1)},children:[l.jsx(sa,{}),l.jsx("div",{children:oe??"Add User"})]}):null]});return l.jsx(Gl,{onClickAway:()=>{u(!1)},children:l.jsx(Kt,{children:l.jsx(Yl,{isMulti:!1,menuPlacement:"auto",minMenuHeight:200,maxMenuHeight:200,menuIsOpen:K,menuShouldScrollIntoView:!1,defaultValue:F,value:F,noOptionsMessage:()=>de.getLocalizedStrings().cockpit.management.noPerson,onInputChange:f=>{f!==""&&u(!0)},onMenuOpen:()=>{u(!0)},placeholder:l.jsx(aa,{children:l.jsx("div",{children:oe??"Select..."})}),components:{Option:ua,DropdownIndicator:ba,IndicatorSeparator:xa,SingleValue:fa,ValueContainer:ga,MenuList:he},hideSelectedOptions:!1,closeMenuOnSelect:!1,styles:g,options:pe,isDisabled:h,onChange:f=>{c(f),u(!1)},isClearable:!1,isSearchable:!1},Ql())})})}const ta=r.div``,aa=r.div`
|
|
177
177
|
display: flex;
|
|
178
178
|
align-items: center;
|
|
179
179
|
color: ${e=>e.theme.colors.grey1};
|
|
@@ -237,7 +237,7 @@ import{J as Ke,y as wl,cL as Sl,F as de,x as F,aR as zl,V as l,bU as Ol,fL as Il
|
|
|
237
237
|
display: flex;
|
|
238
238
|
flex-direction: row;
|
|
239
239
|
cursor: pointer;
|
|
240
|
-
`,Ie={width:new
|
|
240
|
+
`,Ie={width:new D(343,580,726),labelWidth:new D(115,145,155),largeLabelWidth:new D(160,240,240),veryLargeLabelWidth:new D(150,240,245),containerRowGap:new D(12,B[3])},Sa={title:new Ve("standardMedium","largeMedium")};function Ja({companyOfficerData:e,isDisabled:c,allOfficers:b,allNationalityCountries:h,isRefreshingViewInBackground:R,connectedAccountProvider:L,style:W,isPopupOpen:t,sectionId:ae,filesEndPoint:i,authParams:ce,showInfoTooltip:ue=!0,isCompleted:oe=!1,showCompletedIcon:ie=!1,showOfficerSelect:w=!0,showVerificationTag:K=!0,isForTreasury:u=!1,isOverlay:pe=!1,productType:F,companyTitles:X,sectionHeader:y,optionalFields:S=[],onOfficerAddressClick:P,onDeleteFile:me,onEditFileName:g,updateFilesEntity:he,openPopup:f,onGetOtp:_,onVerifyOtp:U,onResendOtp:fe,verifiedPhoneNumber:ee,onPhoneVerified:re}){const $=Ke(),se=wl(),{getValues:I,setValue:ge}=Sl(),le=b.length>0,[x,ve]=m.useState(!1),H=le?Object.values(e).findIndex(d=>d?.isSelectedForVerification===!0):0,G=`Officer_${H<0?1:H+1}`;m.useEffect(()=>{re!=null&&e[G]?.phone!=null&&e[G].isPhoneVerified===!0&&re(e[G]?.phone??"")},[]);const v=`${ae}.${H}`,Y=e[G],Q=u?Y?.treasuryUserVerificationStatus:Y?.userVerificationStatus,N=b.find(d=>d.userId===Y?.userId),ye=b.sort((d,E)=>(d.firstName||d.lastName?`${d.firstName} ${d.lastName}`:d.email).localeCompare(E.firstName||E.lastName?`${E.firstName} ${E.lastName}`:E.email)),Te=le?ye.findIndex(d=>d.userId===Y?.userId):0,Ae=e[G]?.deleteFileStatusById??{},be=e[G]?.updateFileStatusById??{},$e=I(`${v}.selectDocument.selectDocumentType`),{common:{optional:Le},commonSetUp:{businessVerification:n},dateFormat:{visual:_e},cockpit:ze}=de.getLocalizedStrings(),V=F==="onboarding"?n.productType.business_verification:n.productType[F],te=Ie.labelWidth.value($),Be=Ie.veryLargeLabelWidth.value($),J=Ie.largeLabelWidth.value($),Ce=$==="small"?n.companyRolePlaceholderSmall:n.companyRolePlaceholder,Ee=$==="small"?n.protectedSsnTextSmall:n.protectedSsnText,C=Q?.code==="pending_review"||Q?.code==="verified"?"readonly":c,Re=C!=null||!le||Q?.code==="require_info",xe=N?.firstName||N?.lastName?`${N?.firstName} ${N?.lastName}`:n.addOfficer,Me=Y?.userId!=null?n.confirmIdentityDetails:n.confirmIdentityDetailsNewOfficer,we={menu:()=>({right:"initial",left:0})},qe=d=>X.find(E=>E.code===d)?.name??d,k=Y?.otpverificationStatus?.fetchState,De=zl(k);m.useEffect(()=>{re!=null&&De==="In-Progress"&&k==="Completed"&&re(I(`${v}.phone`))},[De,k]);const We=(d,E)=>{U(d,E)},Ue=()=>ee==null||ee===""?!1:I(`${v}.phone`)===ee,He=()=>{const d=I(`${v}.phone`);return d!=null&&!Zl(d)?n.phoneErrorForOnboarding:n.phoneError.replace("_product_type_",V)};return l.jsxs(Oa,{style:W,windowSize:$,children:[l.jsxs(Ia,{windowSize:$,isOverlay:pe,children:[l.jsxs(Na,{children:[l.jsxs(va,{children:[ie===!0?l.jsx($a,{children:oe?l.jsx(La,{}):l.jsx(_a,{})}):null,l.jsx(ja,{windowSize:$,children:y??Me})]}),ue?l.jsx(Ca,{children:l.jsx(Ol,{variant:"small-description",maxWidth:"275px",data:n.confirmIdentityDetailsTooltip,display:"flex",placement:$==="small"||F==="onboarding"?"bottom":"right",children:l.jsx(Ea,{})})}):null,F==="onboarding"&&y!=null?l.jsx(Vl,{text:Le}):null,Q!=null&&K?l.jsx(ka,{tagTitle:Q?.name,textColor:Il(Q.code),showLoader:R}):null]}),w?Re?le?l.jsxs(Va,{children:[N?.photo!==void 0?l.jsx(Da,{src:N?.photo.href,alt:ze.userProfileAltText,onError:({currentTarget:d})=>{d.onerror=null,d.src=Xe},loading:"lazy"}):l.jsx(el,{firstName:N?.firstName??"",lastName:N?.lastName??"",size:`${a.sp4}`,index:Te}),l.jsx(xl,{children:`${xe}`})]}):l.jsxs(Ta,{children:[l.jsx(Aa,{children:l.jsx(za,{})}),l.jsx(xl,{children:`${n.addOfficer}`})]}):l.jsx(Fa,{children:l.jsx(la,{selectedUser:N,allUsers:b,onSelectedUserChanged:d=>{const E=Object.values(e).findIndex(ne=>ne?.userId===d?.userId);ge(`${v}.isSelectedForVerification`,!1),ge(`${ae}.${E}.isSelectedForVerification`,!0)},customization:{placeholderLabel:n.addOfficer},showAddUser:b.length<=9,pickerStyles:{backgroundColor:se.colors.grey5,selectedOptionBackgroundColor:se.colors.background,customStyleConfig:$==="small"?we:void 0}})}):null]}),Object.values(e).map((d,E)=>{if(H!==E)return null;const ne=Bl(d?.documentTypeSelectedForVerification),Se=d?.userFiles??[],Ge=()=>ee!=""&&F==="onboarding"?Ue():d?.isPhoneVerified??!1;return l.jsxs(Pa,{children:[l.jsx(Pl,{}),l.jsx(jl,{isDisabled:C,label:{label:n.name,width:te},nameField:{name:T(v,"name"),placeHolder:{firstName:n.firstNamePlaceholder,lastName:n.lastNamePlaceholder,name:n.namePlaceholder},defaultValue:{firstName:d?.firstName??"",lastName:d?.lastName??""},registerOptions:{required:S.includes("name")===!1,validate:j=>S.includes("name")===!1?!!j:!0},showFullNameError:!0},errorInfoLabel:n.nameError.replace("_product_type_",V)}),l.jsx(M,{}),d?.userId==null?l.jsxs(l.Fragment,{children:[l.jsx(A,{isDisabled:C,showAdditionalInfoLabel:!1,label:{label:n.email,width:te},text:{type:"email",name:T(v,"email"),placeholder:Oe(n.email),defaultValue:d?.email,options:{required:S.includes("email")===!1}},additionalInfoLabel:n.emailDescription.replace("_product_type_",V)}),l.jsx(M,{})]}):null,l.jsx(vl,{isDisabled:C,label:{label:n.dobLabel,width:J},dateField:{name:T(v,"dob"),type:"text",defaultValue:d?.birthday,placeholder:Oe(n.dobLabel),dateFormat:_e.defaultInput,maxDate:Fl().subtract(L==="unit"?18:13,"years"),registerOptions:{required:S.includes("dob")===!1},autoComplete:"off"},additionalInfoLabel:n.dobDescription.replace("_product_type_",V),isMasked:!0}),l.jsx(M,{}),l.jsx(Rl,{isDisabled:C,label:{label:n.nationalityLabel,width:te},showAdditionalInfoLabel:F!=="onboarding",additionalInfoLabel:n.nationalityDescription.replace("_product_type_",V),countrySelectField:{name:T(v,"nationalityCountryCode"),placeholder:n.nationalityPlaceholder,defaultValue:Ml(d?.nationalityCountryCode,h.map(j=>j.countryCode)),registerOptions:{validate:j=>!!(j!=null&&j.selectedOption)}}}),l.jsx(M,{}),l.jsx(Ze,{isDisabled:C,label:{label:n.address,width:te},addressValueField:{name:T(v,"officerAddress"),placeholder:Oe(n.address),defaultValue:d?.addressStatus?.addressToCreate,registerOptions:{validate:j=>S.includes("officerAddress")===!1?!(C==null&&j==null):!0},onClick:()=>{P(d?.officerType.toLocaleLowerCase().concat("_address"))}},additionalInfoLabel:F==="onboarding"?n.addressAdditionInfo:n.addressError.replace("_product_type_",V),showAdditionalInfoLabel:!0}),l.jsx(M,{}),l.jsx($l,{isDisabled:C,label:{label:n.phone,width:te},text:{name:T(v,"phone"),placeholder:Oe(n.phone),defaultValue:d?.phone,autoComplete:"new-password",options:{required:S.includes("phone")===!1}},errorInfoLabel:He(),verificationErrorInfoLabel:n.phoneValidationError,isPopupOpen:t,phoneVerifyButtonProps:{otpChallenge:d?.otpChallenge,showOtpButton:L==="unit",onGetOtp:_,onVerifyOtp:We,onResendOtp:fe,isPhoneVerified:Ge(),phoneVerificationStatus:d?.otpverificationStatus,getOtpStatus:d?.sendOtpStatus,openPopup:f,verifiedPhoneNumber:ee,focusNotRequired:!0}}),l.jsx(M,{}),l.jsx(Z,{label:{label:n.companyRoleLabel,width:J},singleSelectField:{singleSelect:{name:T(v,"role"),placeholder:Ce,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:qe,isDisabled:C,showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:d?.titleAtCompany,allOptions:X?.map(j=>j.code)??[]},registerOptions:{required:S.includes("role")===!1,validate:j=>S.includes("role")===!1?!(C==null&&!j?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:n.companyRoleDescription.replace("_product_type_",V)}),l.jsx(M,{}),l.jsx(al,{isDisabled:C,showAdditionalInfoLabel:!1,label:{label:n.companyOwnershipLabel,width:J},formattedTextField:{type:"number",name:T(v,"ownership"),defaultValue:d?.ownershipInCompany,placeholder:n.companyOwnershipPlaceholder,returnValueType:"floatValue",suffix:"%",allowNegative:!1,isNumericString:!1,registerOptions:{required:S.includes("ownership")===!1,validate:j=>j!=null?j>0&&j<=100:!0,max:100},autoComplete:"new-password"},additionalInfoLabel:F==="onboarding"?n.companyOwnershipDescriptionForOnboarding:n.companyOwnershipDescription}),l.jsx(M,{}),l.jsx(al,{isDisabled:C,showAdditionalInfoLabel:!1,label:{label:n.ssnLabel,width:J},formattedTextField:{type:"text",name:T(v,"ssn"),placeholder:n.addSSNPlaceholder,defaultValue:d?.ssn,format:"###-##-####",registerOptions:{required:S.includes("ssn")===!1,pattern:ql},autoComplete:"new-password",maxLength:9,allowLeadingZeros:!0},protectedInfoText:C!=null&&d?.ssn?Ee:void 0,additionalInfoLabel:n.ssnDescription.replace("_product_type_",V),isMasked:!0}),l.jsx(M,{}),l.jsx(Wl,{name:T(v,"selectDocument"),officerIndex:H,sizeLimit:Je,filesEndPoint:i,authParams:ce,onEditFileName:g,acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],label:{width:Be},allFiles:Se,updateFilesEntity:he,deleteFileStatusById:Ae,updateFileStatusById:be,onDeleteFile:me,isDisabled:C,menuPlacement:F==="onboarding"&&ne==null?"top":"auto",defaultValue:{defaultSelectDocumentType:ne,allSelectDocumentType:["driverLicense","passport","ssnCard"],files:{front:ol(!0,Se,$e),back:ol(!1,Se,$e)}},registerOptions:{required:S.includes("selectDocument")===!1},hasError:x,additionalInfoLabel:n.companyIdDescription.replace("_product_type_",V),onFileSizeError:j=>ve(j),isPopupOpen:t,openPopup:f,companyOfficerName:{firstName:d?.firstName??"",lastName:d?.lastName??""}})]},v)})]})}const T=(e,c)=>`${e}.${c}`,Oa=r.div`
|
|
241
241
|
display: flex;
|
|
242
242
|
flex-direction: column;
|
|
243
243
|
row-gap: ${e=>Ie.containerRowGap.valuePx(e.windowSize)};
|
|
@@ -277,12 +277,12 @@ import{J as Ke,y as wl,cL as Sl,F as de,x as F,aR as zl,V as l,bU as Ol,fL as Il
|
|
|
277
277
|
`,Ea=r(_l)`
|
|
278
278
|
width: ${a.sp3};
|
|
279
279
|
height: ${a.sp3};
|
|
280
|
-
`,
|
|
280
|
+
`,Da=r.img`
|
|
281
281
|
height: ${a.sp4};
|
|
282
282
|
width: ${a.sp4};
|
|
283
283
|
border-radius: 50%;
|
|
284
284
|
justify-content: center;
|
|
285
|
-
`,
|
|
285
|
+
`,Fa=r.div`
|
|
286
286
|
margin-right: 14px;
|
|
287
287
|
color: ${e=>e.theme.colors.primary};
|
|
288
288
|
`,Na=r.div`
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import{V as r,aN as E,aO as x,F as p,o as l,ab as M,aT as w,aj as y,aU as H}from"./index-
|
|
1
|
+
import{V as r,aN as E,aO as x,F as p,o as l,ab as M,aT as w,aj as y,aU as H}from"./index-D-BANbLd.js";import{n as o}from"./mui-AW-QpJ2k.js";import{c as j}from"./SummaryCard-DDFWzeCH-DDL0LPzG.js";import{a as t}from"./sentry-OhwUF_66.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./zeni-epic-state-DR0XRPUQ.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.js";import"./ReloadCard-B1sDYISv-yIhOaL2x.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]="2c1f2a4b-948f-4b41-a3c4-160544918b53",e._sentryDebugIdIdentifier="sentry-dbid-2c1f2a4b-948f-4b41-a3c4-160544918b53")}catch{}})();const 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:"M25.8382 19.5283C25.8382 19.5283 31.0943 15.1988 31.0943 12.6045C31.0943 11.998 30.7236 11.9138 30.2856 11.9138H20.0263V6.72512C20.0263 6.27027 19.6556 5.9165 19.2176 5.9165H2.74197C2.28712 5.9165 1.93335 6.28712 1.93335 6.72512V20.3706C1.93335 20.8255 2.30397 21.1792 2.74197 21.1792H11.182V27.1765H30.3025C30.7573 27.1765 31.1111 26.8733 31.1111 26.4858C31.0943 24.5822 27.4892 20.9434 25.8382 19.5283Z",fill:"#95C1B7"}),t.createElement("path",{d:"M18.9987 20.1516H1.69754C1.24269 20.1516 0.888916 19.781 0.888916 19.343V5.69754C0.888916 5.24269 1.25953 4.88892 1.69754 4.88892H18.19C18.6449 4.88892 18.9987 5.25953 18.9987 5.69754V20.1516Z",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M18.9987 10.8862H29.2581C29.7129 10.8862 30.0667 10.9705 30.0667 11.5769C30.0667 14.1713 24.8107 18.5007 24.8107 18.5007C26.4616 19.9158 30.0667 23.5546 30.0667 25.4583C30.0667 25.8457 29.6961 26.149 29.2581 26.149H10.1376V20.1517",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M18.9987 20.1516L10.1376 26.1489",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M14.8545 16.3949H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 12.5203H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 8.62878H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),b=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:b},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:B},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:D}],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,aN as E,aO as x,F as p,o as l,ab as M,aT as w,aj as y,aU as H}from
|
|
|
39
39
|
width: 100%;
|
|
40
40
|
height: 1px;
|
|
41
41
|
background-color: ${e=>e.theme.colors.grey3};
|
|
42
|
-
`;function X({card:e,actions:s,data:
|
|
42
|
+
`;function X({card:e,actions:s,data:c,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,d)=>{const{title:m,key:a,Icon:h}=i;return r.jsxs(I,{children:[r.jsxs(V,{children:[r.jsx($,{children:r.jsx(h,{height:l.sp5,width:l.sp5})}),r.jsxs(N,{children:[r.jsx(_,{children:m}),r.jsx(O,{data:c?.companyView,itemKey:a})]})]}),d!==g.length-1?r.jsx(A,{}):null]},i.key)})]})})})},e.cardIndex)}const O=({itemKey:e,data:s})=>{const c=s?.companyOfficers,n=s?.company,i=n?.company.companyInfo,d=n?.company.incInfo,m=()=>r.jsx(T,{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(c==null||c?.length===0)return r.jsx(m,{});const a=c.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 d?.companyIncType==null||d.companyIncType===""?r.jsx(m,{}):r.jsx(k,{children:d?.companyIncType});default:return null}};export{X as default};
|