@zeniai/web-app-ui 4.14.31-dev → 4.14.32-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-CFhoboVe-JodbwPsQ.js → ACHDetailsPage-BO7lxW8c-CaH7vfBB.js} +2 -2
- package/dist/assets/{AIPerformancePage-DB-fTWME-CgGQsnV1.js → AIPerformancePage-SF-quMkk-CZFFBw1a.js} +1 -1
- package/dist/assets/AccountInfoPage-v8-NT3FJ-Bw3uGZG4.js +18 -0
- package/dist/assets/{AccountInfoPageContent-eYEsv7ac-vCK7G4bh.js → AccountInfoPageContent-DIWh6VaI-HqDSQPfy.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-jYWr_8TD-q_Ikf2Tn.js → AccountLockedInfoModal-DloPB9vd-BSxEQO_S.js} +6 -6
- package/dist/assets/{AccountReconDetailsDrawerPage-3Q0EPYhL-BH4of7uu.js → AccountReconDetailsDrawerPage-BAgQsFiF-CyK6H2le.js} +4 -4
- package/dist/assets/{AccountRow-CdgvnPG8-Cz30EYLJ.js → AccountRow-Dczx5rSu-CwZA98Uy.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-DHo59LLN-SJuuNn3m.js → AccountsPromoCardStack-Ywhto4lV-cevnOXMT.js} +11 -11
- package/dist/assets/{AddAddressForCardDrawer-BzO1FXUa-Fyg_NOS1.js → AddAddressForCardDrawer-B8srmVT6-DsXtVyAN.js} +1 -1
- package/dist/assets/{AddToWalletPage-BfXFbHjk-CMzYyYW2.js → AddToWalletPage-k__RW699-BSoFKwS5.js} +1 -1
- package/dist/assets/{AddressRoutes-B6KyTWyT.js → AddressRoutes-Bnm4H7bD.js} +1 -1
- package/dist/assets/{AddressScreen-ZPcySSaO.js → AddressScreen-INYb_JGl.js} +2 -2
- package/dist/assets/{AgingReportsPage-C1hFq4KH-Zi5GTQ1z.js → AgingReportsPage-BuIXjljE-DwSwkj0s.js} +5 -5
- package/dist/assets/{AiCfoScreen-C7jQo3LZ.js → AiCfoScreen-Dg31g97F.js} +1 -1
- package/dist/assets/{AllUserItems-B6pnKByY-z-llp8Ld.js → AllUserItems-BdgTe4WF-H7QxO-h-.js} +7 -7
- package/dist/assets/ApAgingDetailPage-6F47t31h-BJY-Gjjh.js +46 -0
- package/dist/assets/{AppBasePage-DiVxF606-DEIAJtmX.js → AppBasePage-DaTueT-x-Db3mer79.js} +1 -1
- package/dist/assets/{AppDrawerContent-B_EWsf8O-nCzxlMlY.js → AppDrawerContent-CtCI6jpp-B-tHPrrL.js} +3 -3
- package/dist/assets/{ApprovalRulesSettingsPage-HHjDp_NQ-Dk_su188.js → ApprovalRulesSettingsPage-BVxu4soW-Nu7LfFuU.js} +1 -1
- package/dist/assets/{ArAgingChart-Ba4A-i2N-DVKxnxLC.js → ArAgingChart-BK-JyW2V-CpKqA7Z3.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-prgcvsS4-B6KvY1N_.js → ArAgingDetailPage-CvqLu3q8-DFRtVqyv.js} +3 -3
- package/dist/assets/{AttachmentView-SsWJw4A8-CiFA7Mtk.js → AttachmentView-DQdb3v_e-BgOMzST7.js} +1 -1
- package/dist/assets/{BalancesInsightWithToolTip-DE6gDjGA-CuriAdQu.js → BalancesInsightWithToolTip-D4q45w1q-CBufZlsy.js} +4 -4
- package/dist/assets/{BankAccountSection-B4jmT0lb-D2VaI5gJ.js → BankAccountSection-DgbfU8F--DERufWYy.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-Bz2itMx0-EQdFts4P.js → BankAccountWarningSection-litL0o_Z-YNoMxnsQ.js} +11 -11
- package/dist/assets/{BankConnectionsSettingsPage-BcVk7bTt-CcJ2zW2K.js → BankConnectionsSettingsPage-bAj9uB9k-D373ilzg.js} +1 -1
- package/dist/assets/{BillDetailPage-Dkqmi4H1-BFTmBvTz.js → BillDetailPage-CiHal44n-DIfTrfpQ.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes-CB_WVdNG.js → BillPayApprovalRoutes-BILiu13g.js} +1 -1
- package/dist/assets/BillPayApprovalRuleDetailPage-CRBli7lk-Cp1ol6-S.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-B_QwggJS-Csxvsi8z.js → BillPayApprovalRulesPage-BTOmSLcs-D3SM4r7K.js} +7 -7
- package/dist/assets/{BillPayPromoPage-Bx2AXpWe-DWku5Qhm.js → BillPayPromoPage-B5gkQjT2-D9lr-mmz.js} +9 -9
- package/dist/assets/{BillPayRoutes-9FjXpkgQ.js → BillPayRoutes-BIHt-HL2.js} +7 -7
- package/dist/assets/{BillPaySetUpPage-CM7_DkHC-B8MycdyA.js → BillPaySetUpPage-DM3r09by-BlBEwtA1.js} +1 -1
- package/dist/assets/{BillingSettingsPage-DM0OIfxa-B3DQmXkS.js → BillingSettingsPage-CiTKyJeG-BkRQgSD8.js} +2 -2
- package/dist/assets/{BillsBulkReviewDrawerPage-C3xmQ7wz-DgU-ZFK3.js → BillsBulkReviewDrawerPage-B6ofRDkg-B-xdke4y.js} +1 -1
- package/dist/assets/{BoxItem-CvCo0wr6-QhJ82HMO.js → BoxItem-C39hQSVg-B9WMvkwI.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-BAZmkR4a-DKUcO_Rf.js → BusinessVerificationPage-BiWEnJET-BPuB56i7.js} +2 -2
- package/dist/assets/{BusinessVerificationPageScreen-BKBP5CJh.js → BusinessVerificationPageScreen-C9kI0BR_.js} +2 -2
- package/dist/assets/{BusyIndication-Cp8KWKB2-C3oZ8Ini.js → BusyIndication-DmApVsF7-DQl3VYqH.js} +1 -1
- package/dist/assets/{CardNumberSubText-DHtSIcZZ-kHFdQu5S.js → CardNumberSubText-FNfrozX6-tv8Brnnn.js} +1 -1
- package/dist/assets/{CashbackDetailPage-CNS1FA6b-Clcw1gL0.js → CashbackDetailPage-DaLICa_v-BHzYFFJ0.js} +7 -7
- package/dist/assets/{ChargeCardDetailPage-C4NeG7IM-CcgpSGTB.js → ChargeCardDetailPage-B0Aq7zO5-40fQ7jsk.js} +28 -28
- package/dist/assets/{ChargeCardListPage-DNYiWaEf-BZBAcxPe.js → ChargeCardListPage-CfRto2rQ-ClyjE_iT.js} +16 -16
- package/dist/assets/{ChargeCardListTable-DdnyzdFf-D27zGMD0.js → ChargeCardListTable-DMdC4lxo-KnHyTkme.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-CXlqzaUt-Cw-q5fHs.js → ChargeCardPaymentHistoryPage-BYTmtF_y-i9mylyuZ.js} +1 -1
- package/dist/assets/ChargeCardPromoPage-AI5bladj-BDPOfxSx.js +222 -0
- package/dist/assets/{ChargeCardRoutes-B9ifIaPD.js → ChargeCardRoutes-CUAUmOPf.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-BtikPFOq-B1Q5Q-k4.js → ChargeCardSetupPage-BjhqdubL-u9TM5_mu.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-RepWBbvJ-BeTG3xG9.js → ChargeCardStatementsPage-DCM92s6v-CAUZgBlq.js} +2 -2
- package/dist/assets/{CheckDepositDrawerPage-BCqg3irO-LJQj-9cr.js → CheckDepositDrawerPage-CkIxEqHU-B7qz4vrp.js} +1 -1
- package/dist/assets/{CollapsableReportTable-gy7Ue_fk-xkuj86hA.js → CollapsableReportTable-ClHwXtCj-BfwfqIOK.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-BsCx7q-g-C5hfQprP.js → CompanyOfficerDetailsSection-BY8hFQnp-DJfNkZb4.js} +16 -16
- package/dist/assets/{CompanyPassportCard-BbUWOs1U-Dw1HMrsN.js → CompanyPassportCard-B3rZE3pg-CtuQmTD5.js} +2 -2
- package/dist/assets/{CompanyPassportPage-BnP2oA1U-BahIQeuB.js → CompanyPassportPage-4FXVf3EP-DhUTHw6y.js} +1 -1
- package/dist/assets/{CompanyPassportScreen-CT9c7lvA.js → CompanyPassportScreen-m_gXhHG_.js} +1 -1
- package/dist/assets/{CompleteProfile-TiRsm2Fm-fE1NUszo.js → CompleteProfile-B1BoilWd-LUJNszjE.js} +1 -1
- package/dist/assets/{ConfettiBurst-D7J36hZf-CSVT9V2q.js → ConfettiBurst-CsbAGF65-C9KfsdE7.js} +1 -1
- package/dist/assets/{ConnectionAuthScreen-D6BkdM1l.js → ConnectionAuthScreen-Zn6jvlmq.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-vBI13ZbI.js → ConstrainedInnerElement-CgdnMeoA-Dc3P_0OR.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-Dihzr1D5-BUR2QFLa.js → CreateOrEditVendorPage-C50eYOFo-D8POwrMQ.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-CZGzDuxC-BUIdND4_.js → CreditCardPaymentDrawerPage-Dxz_SY7N-D8up_BJ4.js} +1 -1
- package/dist/assets/{CurrencySelectField-BTAmIqPa-rlZjvsTh.js → CurrencySelectField-D2Ogwvbr-B4ftuyL3.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-MVI7kqIh-JD8ZqQ1I.js → CustomerOnboardingActivationPage-5Sh7hmI9-DpPsiuW1.js} +1 -1
- package/dist/assets/CustomerOnboardingAuthScreen-BhtVN8fo.js +1 -0
- package/dist/assets/CustomerOnboardingContainerPage-B5kVGk_V-DpOBarI8.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CaI_0pCb-D_9R8ntI.js → CustomerOnboardingDetailPageSkeleton-CL-mOSUp-Crb7CsXj.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CO_c2COV-CTf7zsp5.js → CustomerOnboardingNoStepsPage-CyL1AK78-Dsu24NnA.js} +9 -9
- package/dist/assets/{CustomerOnboardingPage-BF0vuYaJ-DB-M7FrJ.js → CustomerOnboardingPage-C8nxJPwo-UENXO6qW.js} +16 -16
- package/dist/assets/{CustomerOnboardingProductSuitePage-BGFdLX1i-C8cOT0zx.js → CustomerOnboardingProductSuitePage-C7FbnHpU-C2FaoJHQ.js} +3 -3
- package/dist/assets/{CustomerOnboardingRoutes-BiogvBuq.js → CustomerOnboardingRoutes-DbUQBREw.js} +1 -1
- package/dist/assets/{Dashboard-Qjedd4r--CRbsfODt.js → Dashboard-Bpu-6Sm5-CcAT-BJw.js} +1 -1
- package/dist/assets/{DashboardReportPage-Deith_ON-D8fEi8Zc.js → DashboardReportPage-B1aAikQG-BWThnMBB.js} +1 -1
- package/dist/assets/{DashboardRoutes-BQeGUCAH.js → DashboardRoutes-aFJ2Gmek.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-C7DfUDio-C16c7XTp.js → DashboardSidebarBackgroundAnimation-C6xm-p2j-BW7a7KRi.js} +1 -1
- package/dist/assets/{DefaultTenantHome-DDgedZUJ.js → DefaultTenantHome-D-V97ZoE.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-7kYotKov-QpJvWZ45.js → DepositAccTransactionItem-DEU0DgtI-DX-mlAdm.js} +7 -7
- package/dist/assets/{DepositAccTransactionListPage-Bop4Uj5w-oeif2Id9.js → DepositAccTransactionListPage-Bh0dIkE9-CF_bG5NL.js} +4 -4
- package/dist/assets/{DomesticWireDetailScreen-6HCK_7TE.js → DomesticWireDetailScreen-DBNwn4TO.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-_TyXsqEx-BYHoiTtM.js → DomesticWireDetailsPage-2WyD73c9-B2JWW3fS.js} +1 -1
- package/dist/assets/{DownloadOverlay-Cmd727bN-C-PzxP5F.js → DownloadOverlay-B7M2VI7K-93vOHyTt.js} +14 -14
- package/dist/assets/{DrawerPage-DmGwfnGp-soZmQNN_.js → DrawerPage-DsQTxXa8-D8CWGNJU.js} +4 -4
- package/dist/assets/{DrawerScreen-C_1QezB2.js → DrawerScreen-DDmYCdH3.js} +1 -1
- package/dist/assets/{EditPeoplePage-YyluIC6R-B0i1VKsb.js → EditPeoplePage-fY0HXvVS-C62IbLj9.js} +5 -5
- package/dist/assets/{EditReimbursementDetailPage-DeMid2Ko-B5ltV9Cy.js → EditReimbursementDetailPage-D7RUWSTZ-DVOazN97.js} +18 -18
- package/dist/assets/EntityDetailPage-BDyO7iLI-DsywTSaM.js +18 -0
- package/dist/assets/{EntityDetailRoutes--mZVfECz.js → EntityDetailRoutes-BGXfmx5_.js} +1 -1
- package/dist/assets/{EntitySummarySection-5NbutA8l-DL6jpdFo.js → EntitySummarySection-0rRkC5V6-BD_Ykbrq.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-CQ_3WluW-CCAAzH1q.js → ExpenseAutomationOverviewPage-DOGAdZXV-Bv58nG4M.js} +8 -8
- package/dist/assets/{ExpenseAutomationPage-VuU4acYd-BNMHy7wa.js → ExpenseAutomationPage-DOsIzX0P-X4utEwdy.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-DyeVLVvz.js → ExpenseAutomationRoutes-eS-fi8G6.js} +1 -1
- package/dist/assets/{ExpressPayPage-DhoNmyC2-BM7D8t94.js → ExpressPayPage-CIi6jM8Y-zeultZzf.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-GSwhPxgP-CknFQRpv.js → FeaturePreviewPage-BVn6ZUOB-QQqfkJ8p.js} +1 -1
- package/dist/assets/{FeaturePreviewScreen-DcXxWeeZ.js → FeaturePreviewScreen-D5VxTq6D.js} +1 -1
- package/dist/assets/{FollowStepsSection-DaueHRo4-R5WhFSRV.js → FollowStepsSection-CvWPHXDW-CX31cI67.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-DG7_1HOT-BY_P61_d.js → GlobalReviewListPage-CS_11bx0-BWWUBfxL.js} +1 -1
- package/dist/assets/{InformationCardStack-zc-BxR7F-Dc1qaC3e.js → InformationCardStack-B9g7W7Xx-BMa0JHtx.js} +3 -3
- package/dist/assets/{InsightsCardStack-DxCA5sFh-BcClR9fT.js → InsightsCardStack-mvzIc2uY-FQWyC3NM.js} +1 -1
- package/dist/assets/{InsightsSection-BdFG3j3R-D7JeFV31.js → InsightsSection-rGyA4lY9-ztCddwYb.js} +8 -8
- package/dist/assets/{IntegrationsSettingsPage-CaiL3kqS-BK30afn3.js → IntegrationsSettingsPage-Dwz4ukHF-I8L8bnwJ.js} +3 -3
- package/dist/assets/{InternationalWireSwiftDetailsPage-BrQVSzeS-BpNTGybF.js → InternationalWireSwiftDetailsPage-Cm0H9oyf-Dq6HjvzW.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-NaLnhW9C-xEbEY4G_.js → InternationalWireVerificationPage-woIoME3I-Dczyy-qA.js} +10 -10
- package/dist/assets/{InviteFormPage-fjqv2l7h-CN7vzCNz.js → InviteFormPage-DaZ-sJYV-B1D96lar.js} +13 -13
- package/dist/assets/{InvitePageListView-CQecQhxr-D7nG5RDJ.js → InvitePageListView-Do7EVQrj-CnaoEv-w.js} +1 -1
- package/dist/assets/{InvitePeoplePage-DAEBuOnk-etA_btSE.js → InvitePeoplePage-CpD7YoC2-CAkwuWqR.js} +2 -2
- package/dist/assets/{InvoiceUploadSection-58l6ePuH-DGEZcLC_.js → InvoiceUploadSection-DOuTQPee-DNxyr3cj.js} +11 -11
- package/dist/assets/{IssueChargeCardPage-Bkxqsgax-BZ-SKXi3.js → IssueChargeCardPage-ClMhr27d-m0kTf6sc.js} +9 -9
- package/dist/assets/{LabeledAddressValue-CZfFV97h-Bb57sB9z.js → LabeledAddressValue-B6_PZDTO-xVytB-P9.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-D66XOhMx-DAzGEgKS.js → LabeledAddressValueField-Cz6tRMoW-C7dop0k-.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-BtnsqE4D-pO3EStbM.js → LabeledControlledCheckBoxField-BEpAlnvo-BRLqoAnU.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-kopByxLB-CVmx734o.js → LabeledCountryMultiSelectField-1kTcZMQW-Cq5wOhkQ.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-B6An-cwq-ZwV4dPE-.js → LabeledCreatableSingleSelectField-PiLB1S77-CXLJARhZ.js} +1 -1
- package/dist/assets/{LabeledDocumentField-D_ZD8JTn-EgNCcbbj.js → LabeledDocumentField-Cicw8ABs-CehJpiD9.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-CJ7ncCzH-yHUhBReW.js → LabeledDropDownFormattedTextField-BEVVgIGK-ByxutmzB.js} +7 -7
- package/dist/assets/{LabeledEmailInputField-CSfzMDYO-Ccf6Bxv0.js → LabeledEmailInputField-C6gk3B5x-DQKZx3MY.js} +1 -1
- package/dist/assets/{LabeledNameField-DZJXGYR9-C9Z5T7ep.js → LabeledNameField-BpfxLnfN-Dp4_3qSf.js} +1 -1
- package/dist/assets/{LabeledSingleSelectField-D_LoOMiZ-CAsbCcep.js → LabeledSingleSelectField-Utmk8KVy-Cxr5xWDf.js} +1 -1
- package/dist/assets/{LabeledText-A1h_ionS-CcjmiFmI.js → LabeledText-C56xvYuX-BYR-B_G0.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-IYaUvqgY-EIyuSMIG.js → LabeledUserSingleSelectWithSubtitlesField-CF4oVI17-C2nSJ6yS.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-DmynBXbJ-DglcXxDL.js → LabeledZeniRolesDropDownField-B5rxYfam-qcmbm9V-.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-D6-fL4a6-DlR8vjGO.js → LinkJETransactionPage-DbnaYlRA-UFjDu7p8.js} +10 -10
- package/dist/assets/{LockCardPage-BDlnh_zf-64lzFlF5.js → LockCardPage-XHbTmzq8-CizhFaVR.js} +8 -8
- package/dist/assets/{LowBalancePopup-CBPl_udd-Nqllub28.js → LowBalancePopup-IF7NG9aL-DyQqJJ_L.js} +5 -5
- package/dist/assets/MagicLinkACHDetailsPage-DbhqYo7W-C6hltO5g.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-D0JDLfbz-Nd5n74ys.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DChqrJN7-d6t2QZpk.js +1 -0
- package/dist/assets/{MagicLinkRoutes-B4rSGEA5.js → MagicLinkRoutes-D4nTqNcw.js} +18 -18
- package/dist/assets/{MagicLinkSignInScreen-DL54w9kv.js → MagicLinkSignInScreen-DhnaHV0D.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-Cl461HWp-DrFI3SFX.js → MagicLinkSuccessPage-Cyr3p_8a-CVhCJtyQ.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DoIMYrRv-BmkYYs3S.js → MagicLinkTitleSection-A4zyF5bg-B40bJuh0.js} +1 -1
- package/dist/assets/{MailingDetailsSection-NdwWGQ88-M0GYvrro.js → MailingDetailsSection-DqSOlu2t-CyUaZRam.js} +1 -1
- package/dist/assets/{MobileAppDrawer-D4KAg1N8.js → MobileAppDrawer-BRK9r0e2.js} +1 -1
- package/dist/assets/{MoreMenuButton-CkkW1atP-BhjeSlOV.js → MoreMenuButton-B1OKwXLg-CUWjb2Vn.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-BU6TBzI1-D2Qaudqr.js → MyBankConnectionsSettingsPage-DtTjhna--DTBZyR2y.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-DcunCDU6-NjjjBd7F.js → MyPendingActivationChargeCardListPage-CKSWf7I4-5HMiO4ol.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-DF7ahyXE-BjXkIrz2.js → MyProfileSettingsPage-WF1pNlyU-DCBVPnlL.js} +1 -1
- package/dist/assets/NavBarWithPicker-DiCaJ8Qy-BnNZsOl6.js +30 -0
- package/dist/assets/{NavigationArrow-CWUL-6kN-DVve579d.js → NavigationArrow-f4Z3TuXg-UuhH1nBa.js} +7 -7
- package/dist/assets/{NavigationDots-c-XSrFzE-eujVKwdH.js → NavigationDots-WiVjbUsC-Crp3ArrF.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-FGEO68I8-XZyzhNzP.js → NewGlobalMerchantPage-kvjjwV8d-C2-dLqkh.js} +1 -1
- package/dist/assets/{NoDataChart-DJhSgtLu-BSak9fMr.js → NoDataChart-DlSLTzZl-FuGU3dm-.js} +1 -1
- package/dist/assets/{NoDataTable-BZiwo2qK-Cb8q0aH6.js → NoDataTable-9vLoRpsR-CqXldB2y.js} +1 -1
- package/dist/assets/{NotFoundPage-BN5unYX8-CqJlv_oy.js → NotFoundPage-CFlNCHFs-HVhDj2Ia.js} +5 -5
- package/dist/assets/{NotFoundScreen-DxyQKnff.js → NotFoundScreen-YeCuKQy4.js} +1 -1
- package/dist/assets/{NotificationRoutes-DqG-dvkw.js → NotificationRoutes-Dd09Cbi8.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-d8kHDj0M-Beqgksyi.js → NotificationSettingsPage-KJzE9v4p-DOQO6pCa.js} +4 -4
- package/dist/assets/{NotificationsListConfig-ThKLok_w-B2H6cGPA.js → NotificationsListConfig-6sXXtF_E-BS4C2OAr.js} +1 -1
- package/dist/assets/{NotificationsPage-Uvu6XESA-B1Rgn8VW.js → NotificationsPage-D4AmPdo9-BPnTsbgm.js} +1 -1
- package/dist/assets/{OpExByVendorPage-QyqRkD2_-D5R40Gs5.js → OpExByVendorPage-B5Wtu3ww-DQg4-jJ4.js} +6 -6
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-C7rxXRm5.js → OverlayContainerPage-BG9y5C0t-COHi_UQx.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DJ2v5qbE-BEs_yDo8.js → PandLWithForecastPage-CjkaxTx7-DQmjDDak.js} +1 -1
- package/dist/assets/PandLWithForecastRoutes-C4ljq3MB.js +1 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-q5z8XZFC-DgyJWqIO.js → PaymentAccountSetupBillingAddressSection-eeLSg7xb-CRk9dKLv.js} +1 -1
- package/dist/assets/{PeoplePage-C5ZdpVyR-DYtjpv4S.js → PeoplePage-CQREy6SW-aaRJEBLV.js} +1 -1
- package/dist/assets/{PeopleRoutes-BODLG-b6.js → PeopleRoutes-ChdDR42u.js} +3 -3
- package/dist/assets/{PerformanceRoutes-BqLOjKSO.js → PerformanceRoutes-C9_QucnY.js} +1 -1
- package/dist/assets/{Preview-C2UYzTeJ.js → Preview-CQ45ZFEO.js} +1 -1
- package/dist/assets/{ProductsCarousel-CXjLTOLy-BLUY71s0.js → ProductsCarousel-COZZMTcH-Bzu55dWw.js} +1 -1
- package/dist/assets/{PromoBaseCards-CN9uZfG4-BbNgX9Bb.js → PromoBaseCards-Bmn6TN2k-Bz52UdXc.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-CXSi1Pd9-dALyjXGw.js → QBOConnectionDialog-DYxoiSkA-BahHoGsk.js} +4 -4
- package/dist/assets/{QBOConnectionScreen-Ac9DU04j.js → QBOConnectionScreen-CvnGX6ip.js} +1 -1
- package/dist/assets/{QBOSetupSection-BrtLMvEP-DHfwqwJo.js → QBOSetupSection-Cdz2PDxV-3UdpeU-_.js} +7 -7
- package/dist/assets/ReferralListScreen-rNybuoN2.js +5 -0
- package/dist/assets/{ReimbursementApprovalRoutes-B3As-zjk.js → ReimbursementApprovalRoutes-CoADYXXE.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CS1BQ7pL-DnepdUba.js → ReimbursementApprovalRuleDetailPage-C-QEoqCw-nwX6DLtF.js} +5 -5
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-gUYecGxU.js → ReimbursementApprovalRuleDetailScreen-Bqm6EOL1.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-aLRkhkZB-BEmJZKcM.js → ReimbursementApprovalRulesPage-Ch2sxTFV-tKNtb0zE.js} +26 -26
- package/dist/assets/{ReimbursementDetailPage-Dr5BTvEq-mnlxt9h1.js → ReimbursementDetailPage-DSF6SfKn--PtdBuMK.js} +5 -5
- package/dist/assets/{ReimbursementPromoPage-C5Z0mVhQ-nERw0M4a.js → ReimbursementPromoPage-F1ROFd63-BFHAhlMX.js} +11 -11
- package/dist/assets/{ReimbursementRoutes-vASJxFJ_.js → ReimbursementRoutes-DGj3kepc.js} +3 -3
- package/dist/assets/{ReimbursementSetUpPage-CXhOBErm-CR6Shq7r.js → ReimbursementSetUpPage-l2mhLFuo-DfOuAAr0.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CA0n0mau-Dwnq8e4l.js → ReimbursementsBulkReviewDrawerPage-DyPxPnlu-BmJ-UskM.js} +1 -1
- package/dist/assets/{ReloadCard-Bjp8ygC2-fExG7Dij.js → ReloadCard-CDcJMl9F-DmOo4rMc.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-DTk1dNWC-tS3w4hoK.js → ReportTableViewSelector-DvCk55Hn-DU86kKFX.js} +5 -5
- package/dist/assets/ReportsPage-DfqqKSt3-DjEpZpYh.js +269 -0
- package/dist/assets/{ReportsRoutes-DYYeCY0N.js → ReportsRoutes-DrS0PfFL.js} +1 -1
- package/dist/assets/{RevenueChart-CqGvXDr4-BYM89H6k.js → RevenueChart-BONT9upM-Wgu_yKns.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-CWBP7FBN-D5XTlGGP.js → ReviewDetailsPage-857bVurA-DISEdilE.js} +6 -6
- package/dist/assets/{ReviewOverlay-Cxkp85Kw-DWi1LLwl.js → ReviewOverlay-ClQg7d2j-DMLhTFSB.js} +1 -1
- package/dist/assets/RewardsRoutes-BI3CFx__.js +1 -0
- package/dist/assets/RoleWithToolTip-C0G1Hgp_-C6OnScGb.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CYvlB3Nf-BjmGalLA.js → ScheduleDetailsFixedAssetsPage-CJ_JBtxS-BI5TWCkt.js} +4 -4
- package/dist/assets/{ScheduleDetailsPage-CZXJ15tN-Cvz9LjHh.js → ScheduleDetailsPage-B1aEwPL--CmKbMEkF.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-DNPID_7F-Dpy7XGsr.js → ScheduleSequenceTable-DhU7PI91-B_rwqPJI.js} +1 -1
- package/dist/assets/{ScreenRoutes-DMiG7sGl.js → ScreenRoutes-BEfnlKLo.js} +2 -2
- package/dist/assets/{SetUpAccountSection-_WPR-q2V-D1in60I8.js → SetUpAccountSection-C8dulq9s-NOviRS6G.js} +20 -20
- package/dist/assets/{SettingsRoutes-Cq0IT0xM.js → SettingsRoutes-Cv3I5FcH.js} +1 -1
- package/dist/assets/{SetupPagesScreen-By_64UnM.js → SetupPagesScreen-DXJ1IvhH.js} +1 -1
- package/dist/assets/{SignIn-CDEsZw_T-CdZG3KKx.js → SignIn-wDe7lbGR-CsMJoTy9.js} +4 -4
- package/dist/assets/{SignInScreen-BbMIUMVO.js → SignInScreen-TFIvhVsE.js} +1 -1
- package/dist/assets/{SignOutScreen-D0CN7EZM.js → SignOutScreen-DNlfKKyW.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-MOCWuROI-B6XDQZbP.js → SpendManagementListViewPage-BdddUHrW-DddaRnSk.js} +8 -8
- package/dist/assets/{SpendManagementPerTabPage-BeK0SCeE-uu94FLdi.js → SpendManagementPerTabPage-BBJm3884-BFVFYDTY.js} +1 -1
- package/dist/assets/{SpendManagementSection-DZFPfKNi-a6NNMz0d.js → SpendManagementSection-6R5y0Hy4-BDNcg1eM.js} +9 -9
- package/dist/assets/StatementItem-qsoXKx_p-B1TzdTRA.js +31 -0
- package/dist/assets/{StatementsPage-DYLp_e7W-DQJFRbex.js → StatementsPage-Cn7WG5-S-RUted-8P.js} +2 -2
- package/dist/assets/{StatusSwitcher-jxaonB4S-BRWCrppB.js → StatusSwitcher-D3qCg5J1-CR1Mcm2E.js} +1 -1
- package/dist/assets/{SubTabSwitcher-CudjNlsi-B0ZvqQ02.js → SubTabSwitcher-BXajy75j-Dc5sli1z.js} +1 -1
- package/dist/assets/{SuccessAnimation-DE_x1Zz_-CSRw6QzL.js → SuccessAnimation-CSblamOQ-Bn7t6Lwt.js} +1 -1
- package/dist/assets/SummaryCard-B1d4_5lE-Dcb38d7W.js +1 -0
- package/dist/assets/{TaskDetailPage-CXexRKAY-PJYd8Hc8.js → TaskDetailPage-CrsQnhu1-DqJUU9CD.js} +1 -1
- package/dist/assets/{TaskListScreen-D5r5oVZW.js → TaskListScreen-DQaj367P.js} +1 -1
- package/dist/assets/{TaskManagementPage-CTMoHv0R-DqoYVk-e.js → TaskManagementPage-h3Rb49Jj-CiFXDTcp.js} +1 -1
- package/dist/assets/TaskRoutes-DcIHRznV.js +9 -0
- package/dist/assets/{TimeRangeSwitcher-SqY2MHGs-vaeYYQAs.js → TimeRangeSwitcher-DpUOmqiR-D_tIz1xP.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-BlJ2fuHy-C0bwk8vS.js → TimeframeSwitcher-BKEtsv_r-CS6zQ4bX.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-Dgc1odUH-6AO25YrU.js → TimeframeSwitcherWithToggle-DECnQIMT-DCOsHatx.js} +10 -10
- package/dist/assets/{TopExCard-CG8YLsYe-Dhi0dyPE.js → TopExCard-leQR29Sq-DG9ySZIm.js} +1 -1
- package/dist/assets/{TopExDetailPage-TvYCbzSP-CwBViHGc.js → TopExDetailPage-Dgg7Do6D-B22efZAA.js} +3 -3
- package/dist/assets/{TransactionActivityLogPage-BL3vEAdU-CS7vD3qG.js → TransactionActivityLogPage-CU2pUJQL-CgftV9ye.js} +5 -5
- package/dist/assets/{TransactionDetailPage-DUouBL0o-BaXoqvey.js → TransactionDetailPage-FT2IPLH7-DAfWSPCG.js} +32 -32
- package/dist/assets/{TransactionDetailRoutes-B-UBtWLp.js → TransactionDetailRoutes-l4cqdz7w.js} +1 -1
- package/dist/assets/{TransactionDetailScreen-B7XWRVbF.js → TransactionDetailScreen-BxZ1AvRI.js} +1 -1
- package/dist/assets/{TransactionList-B16NONME-CRFiM4VM.js → TransactionList-C2MGkQYM-CPp22oMb.js} +8 -8
- package/dist/assets/{TransactionListBig-CItPbTRV-UNSverIa.js → TransactionListBig-CZ3jIxzR-BG5pwJlw.js} +6 -6
- package/dist/assets/TransactionListPage-PCa4exLO-uM7mJD-y.js +35 -0
- package/dist/assets/{TransactionListRoutes-CMu9kV3q.js → TransactionListRoutes-veIGR3tC.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-DpqisXN8-D2bHcxtn.js → TransactionVendorDetailPage-BgcqndCu-BSSs2Jcd.js} +1 -1
- package/dist/assets/{TransferDrawerPage-Dsmbswu0-uDwjyCTF.js → TransferDrawerPage-SirvPH4z-DtzIcgDc.js} +10 -10
- package/dist/assets/{TreasuryOverviewPage-BcRpcYmB-OKQJLbcE.js → TreasuryOverviewPage-B_WK1aOv-Bqerf9ct.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-DOO_OMRa-8BGrxptq.js → TreasuryPromoPage-B_D63Dr2-Di08g28n.js} +6 -6
- package/dist/assets/{TreasuryRoutes-Cb-myn_k.js → TreasuryRoutes-BDfDMqyl.js} +6 -6
- package/dist/assets/{TreasuryStatementsPage-A_U7bEy5-CYr3tH5Z.js → TreasuryStatementsPage-BGe0fhBe-D_xnH4qk.js} +2 -2
- package/dist/assets/{TreasuryTaxLetterPage-BsJn-BgX-D1G4s_HP.js → TreasuryTaxLetterPage-9gNdkQZp-CGVWuYY2.js} +2 -2
- package/dist/assets/{TrendChart-GMMat-NG-DkIjx5iX.js → TrendChart-COItOWPp-Bqzu2MgM.js} +2 -2
- package/dist/assets/{TrendWithTransactions-CrA4opNV-BCS_tNQW.js → TrendWithTransactions-DgAw_8CI-MC8wGnO9.js} +8 -8
- package/dist/assets/{UncategorizedAccountsMappingPage-CrzbFGOi-7c9nQkHm.js → UncategorizedAccountsMappingPage-B9EziB6Q-gv_x6dec.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-XZY6zJa7-Bog6bLZs.js → UnitIntegrationPage-DGWNyWV1-Dx2SNOLo.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-eqwSLigx-Cfv8NRXy.js → UploadAdditionalDocumentOverlay-DWmMz_8y-Dm_NzTDF.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-BHDivuPB-CB8oiip3.js → Vendor2FAPopup-dh2g8kqu-tmyn1K6T.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-C0vIRpRW-DV0u5MUr.js +1 -0
- package/dist/assets/{VendorDetailPage-DEu-yS8w-BHxBRvla.js → VendorDetailPage-CGqoIODq-DATvkiT-.js} +13 -13
- package/dist/assets/VendorDomesticWireDetailsPage-BVXSOMiH-DLIihksm.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-C461SzO0-Cw1duzzR.js → VendorFiling1099EditablePage-CsnlHrCl-DrSHAjrS.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-klbCHS04-yDjeltgT.js → VendorFirstReviewPage-DC1j2sO_-BShWc2PZ.js} +7 -7
- package/dist/assets/{VendorInternationalWireDetailsPage-DY0V-VbO-BJcPP-gp.js → VendorInternationalWireDetailsPage-Drr00a6C-B8ypeLTf.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CZ5N8G2o-Cr3Iymam.js +1 -0
- package/dist/assets/{VendorsAccountsSection-Cqcr-ArD-BIHA7sqx.js → VendorsAccountsSection-BtdwR8u4-CH_AUGJD.js} +1 -1
- package/dist/assets/{VendorsRoutes-CgJOnYMS.js → VendorsRoutes-DTveFO9E.js} +11 -11
- package/dist/assets/{VerifyDevice-Dhu5iywf-CpE-kgrB.js → VerifyDevice-Bhr_yHpE-BmXUueZN.js} +4 -4
- package/dist/assets/{VideoPlayer-ZGjx_Hp7-BHgQYkml.js → VideoPlayer-wlJX6lEq-BRAB9bV0.js} +1 -1
- package/dist/assets/VideoPopup-BPptwR51-Dm-cn-KD.js +31 -0
- package/dist/assets/{WiseConfirmationScreen-BTkxegx5.js → WiseConfirmationScreen-Be5nRHHx.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-DQB7sXU9-ZmSVhLSw.js → ZeniAccountDetailPage-CSsu44ls-2H7-YqPq.js} +12 -12
- package/dist/assets/{ZeniAccountListViewPage-BwXKgf6g-Ctizh7he.js → ZeniAccountListViewPage-BZwGCrzx-Hl1cOwI1.js} +32 -32
- package/dist/assets/{ZeniAccountNavBarPieces-CHUTFAWG-BmLRxXwk.js → ZeniAccountNavBarPieces-CrNjnkNS-CNki38NN.js} +5 -5
- package/dist/assets/{ZeniAccountPromoPage-BkfJuMNV-Ckl9m4pN.js → ZeniAccountPromoPage-CahV-Rmf-Dvz1FwqA.js} +1 -1
- package/dist/assets/{ZeniAccountRoutes-D71bZRux.js → ZeniAccountRoutes-BMxuBylQ.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-C3drM4Zs-B_sQz9qJ.js → ZeniAccountSetupPage-DSNDNKZr-CwYlMf2d.js} +1 -1
- package/dist/assets/{ZeniAccountStatementScreen-BI6AQKJr.js → ZeniAccountStatementScreen-BJVQBUGi.js} +1 -1
- package/dist/assets/{ZeniAvatar-C38T0-5--BSN8GGLN.js → ZeniAvatar-De0hFvIm-DzjTiqNz.js} +1 -1
- package/dist/assets/{ZeniCopyright-CznSgVJF-B8RRSTgM.js → ZeniCopyright-BNGdkMOa-Cl7T_xPz.js} +1 -1
- package/dist/assets/{ZeniDatePicker-Bw9RlgoL-BmT27weB.js → ZeniDatePicker-CYNEE0pM-DG-NDcrF.js} +4 -4
- package/dist/assets/{ZeniTransferAmountSlider-C77DEl-C-CruP3RMa.js → ZeniTransferAmountSlider-DuD1JtSv-DhSBAK_q.js} +1 -1
- package/dist/assets/{accountMappingHelper-B1SwIfFo.js → accountMappingHelper-FrhvxzcW.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-2vbkyqzY.js → add-to-wallet-DgdBD8_G-BqBidt5n.js} +1 -1
- package/dist/assets/{analytics-Qgv3Fhaa.js → analytics-CVqRc8fh.js} +1 -1
- package/dist/assets/{analyticsHelper-BtB7CtC3.js → analyticsHelper-DJS6x-LZ.js} +1 -1
- package/dist/assets/{analyticsHelper-Bh8o1v3y-DbxZaMDt.js → analyticsHelper-DjQYjslY-BxoS4N1f.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-CHgaZ-yo.js → arrow-south-east-round-PEovUgvH-B3QTzBHA.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-BdBsn5Ol.js → auto-transfer-rule-mbafm5D3-de_8OjuK.js} +1 -1
- package/dist/assets/{avatar-Dz7aEm3d-CxU8IzEu.js → avatar-Dz7aEm3d-B-3VAvb3.js} +1 -1
- package/dist/assets/{bank-letter-BOcVjN6J-DhC6VHDB.js → bank-letter-BOcVjN6J-KdddOmyc.js} +1 -1
- package/dist/assets/{calculateSize-QoQyn_Ku-BQL_mWcG.js → calculateSize-i9QGr8q0-Dp5VSL_N.js} +1 -1
- package/dist/assets/{chartTypes-C14YY2Rq--XZc2xV6.js → chartTypes-BGl-YMiu-DyUWLIfR.js} +1 -1
- package/dist/assets/{clock-CJkylEKt-BBrb7jeK.js → clock-CJkylEKt-CB7HCMZv.js} +1 -1
- package/dist/assets/common-Cws59IN1-fneKv-li.js +1 -0
- package/dist/assets/{commonDimensions-CVpc-NCw-CA0m656N.js → commonDimensions-CuKo3wam-D08uyy0o.js} +1 -1
- package/dist/assets/{commonTypes-Ec-PxfpT-DzRDGsuT.js → commonTypes-CfAg6Jvv-C_Qjl0Ts.js} +1 -1
- package/dist/assets/{core-CaikJZHD.js → core-AYNw6kyJ.js} +1 -1
- package/dist/assets/{dash.all.min-CteFsaah.js → dash.all.min-Dq_dQY1I.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-DcEFJStp.js → decodeURIComponentSafe-E-sgiudi.js} +1 -1
- package/dist/assets/{dnd-CzsffKNn.js → dnd-Dw-riVE4.js} +1 -1
- package/dist/assets/{dollar-round-D18u7nlm-BF4Thvjs.js → dollar-round-D18u7nlm-CvsBoEut.js} +1 -1
- package/dist/assets/{downloadPdf-BuPJ6cfr-Bn04BzVs.js → downloadPdf-Dcd8BY_9--BaRfov1.js} +1 -1
- package/dist/assets/{empty-B5B-FKq1.js → empty-C9c-cai_.js} +1 -1
- package/dist/assets/{empty-CTO6rJhq.js → empty-CX0U2Ty5.js} +1 -1
- package/dist/assets/{epic-DtTDCbBB.js → epic-B6fOiqme.js} +1 -1
- package/dist/assets/{filter-cZIFUNvj-CWbeOwgA.js → filter-cZIFUNvj-lFkn5gVk.js} +1 -1
- package/dist/assets/{getLocaleForTenant-dwEXf4rX.js → getLocaleForTenant-x8J8_kQc.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-BfzCBGHZ.js → gift-box-Cmt9OgIZ-BPwbjUGz.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-DEuKmvBU.js → graphic-no-data-l-DU4J8fDt-CaJy2HdS.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CIA_wKU3.js → graphic-no-data-net-burn-l-CzmycA0m-C9pmzSAL.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-Z_I5plJl.js → handshake-BPg58FML-BSOSNqUk.js} +1 -1
- package/dist/assets/{helper-AgH8nJln-BDBxe9FK.js → helper-DkzA3y2L-CVdrHzZT.js} +1 -1
- package/dist/assets/{hyperlink-DQyCeXx2-Bwqrw7ES.js → hyperlink-DQyCeXx2-CVVb97aA.js} +1 -1
- package/dist/assets/{index-CuxRoVvZ.js → index-CilRLucN.js} +6 -6
- package/dist/assets/{index-BL34svil.js → index-Dm85Hu6Z.js} +1 -1
- package/dist/assets/{index-B7wRNic7.js → index-DqcXLX0N.js} +1 -1
- package/dist/assets/{index-B9eknY8q.js → index-DubSD1fb.js} +1 -1
- package/dist/assets/{index-CLf01Vy8.js → index-NZat51vK.js} +1 -1
- package/dist/assets/{index-B9myuWEH.js → index-wicPWwlB.js} +1 -1
- package/dist/assets/{lexical-CXNTSpM4.js → lexical-B-dyW3-4.js} +1 -1
- package/dist/assets/{liveblocks--AdozwCz.js → liveblocks-DJcRPJQh.js} +1 -1
- package/dist/assets/{lottie-D86WIi_0.js → lottie-DdLBMmzp.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-DTyQHWMc-tj_AEx0m.js → mapLoadingInProgressToTreeNode-lABm-2N9-Chsh4dr_.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-D7pjBGp6-bV4CDhWS.js → mapSectionWithAcOnlyToTreeNode-COcUb2pF-DXYL2e9L.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-BDjo5N-i-D6CiBSSk.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CvVUjW74-CI8ETEqs.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CwHF76sn-CrCtE0Hw.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B7LYTZXQ-Dr2IrdLd.js +1 -0
- package/dist/assets/{media-player-OnsEq_AY.js → media-player-V7uSzi45.js} +2 -2
- package/dist/assets/{money-2cg1MuG4-CfgKOIyt.js → money-2cg1MuG4-B7YE6t0I.js} +1 -1
- package/dist/assets/{mui-G2MlMTlr.js → mui-Ckdcx_YE.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-CWJ8fnGp.js → page-detail-CWX5S47F-NqWvakND.js} +1 -1
- package/dist/assets/{page-summary-D7_VQHwN-CaK_VLEF.js → page-summary-D7_VQHwN-BvkWkaoT.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-XfdQwEMM.js → panelSelectedMixin-Cddsb26L-CROMd__p.js} +1 -1
- package/dist/assets/{pathToGoBack-Dh6AhADv.js → pathToGoBack-C_2xxQDe.js} +1 -1
- package/dist/assets/{pdf-DwfifS04.js → pdf-CwWlK-Dr.js} +3 -3
- package/dist/assets/{pdf-lib-CuGtb6jg.js → pdf-lib-DhaWOBih.js} +1 -1
- package/dist/assets/{plaid-CcxzSXZd.js → plaid-BhP6n1uc.js} +1 -1
- package/dist/assets/{pusher-BNSVRSP_.js → pusher-8DhjdTCA.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-CF7OSKL1.js → radio-default-CiSgisfh-BoUlFA9D.js} +1 -1
- package/dist/assets/{react-BEcxr4nX.js → react-BHDcRwxI.js} +1 -1
- package/dist/assets/{react-V3TERlfD.js → react-BwCmpEw6.js} +1 -1
- package/dist/assets/{react-Cobj-_wp.js → react-CB4dPBRZ.js} +3 -3
- package/dist/assets/{react-DOvM9ag3.js → react-CE6422aE.js} +1 -1
- package/dist/assets/{react-Chqt_ss-.js → react-CGVKTtsW.js} +1 -1
- package/dist/assets/{react-BUDcsgZo.js → react-D-APY71d.js} +1 -1
- package/dist/assets/{react-C0Whd_8a.js → react-D4pZVe2B.js} +1 -1
- package/dist/assets/{react-WpjiT9jD.js → react-D_0srhsg.js} +1 -1
- package/dist/assets/{recharts-3tylCZU1.js → recharts-Dr1JzI4y.js} +1 -1
- package/dist/assets/{routePaths-CkO80-xL.js → routePaths-DqRhLReO.js} +1 -1
- package/dist/assets/{sentry-Cm8I7E9J.js → sentry-D-LCra2M.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-tt-dORuJ.js → shield-DOlUxcFf-D5PHf2Tj.js} +1 -1
- package/dist/assets/{spend-limit-D6SyboD4-d-tIWfnn.js → spend-limit-D6SyboD4-D85B38gI.js} +1 -1
- package/dist/assets/toCOABalancesWithID-CGYYTIjt-Cbihktyj.js +1 -0
- package/dist/assets/{toChartData-G5y-N82I-CpDZEMyX.js → toChartData-B4ligi4c-CgbG1qSk.js} +1 -1
- package/dist/assets/{transaction-placeholder-CpOwZAMG-CXIruzlf.js → transaction-placeholder-CpOwZAMG-Ca0HZ2W6.js} +1 -1
- package/dist/assets/{undo-b_3XZ5CX-5VNbpbUY.js → undo-b_3XZ5CX-CSQ0fDLS.js} +1 -1
- package/dist/assets/{unlock-BPWn2I5L-8UNw8MhM.js → unlock-BPWn2I5L-DDdPB9QU.js} +1 -1
- package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-BhCuFTsT.js → upload-reimbursement-receipt-O2N8vcO7-DNsQOTk3.js} +1 -1
- package/dist/assets/{uploadAttachment-RbkIBMGO-DWkpV7gc.js → uploadAttachment-DgPDimcm-gkAtAf5q.js} +1 -1
- package/dist/assets/{uploadReceipts-CIgkuVpu-BxCHb2mc.js → uploadReceipts-CIgkuVpu-CPDGmbPp.js} +1 -1
- package/dist/assets/{url-CvhemPUG.js → url-BK92KGZc.js} +1 -1
- package/dist/assets/{url-BMzuxPwA.js → url-DUid0IO0.js} +1 -1
- package/dist/assets/{useDeviceId-BzlY8kf5.js → useDeviceId-BCros22l.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-CtiCksTW.js → useInitialThreadRequest-Wj3ao3U4.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-BgmUYGJ7.js → useLongPress-GCK2COYQ-Bs4IMufW.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BqojtCEK.js → usp-line-BBd1wKwW-BBaxYQlT.js} +1 -1
- package/dist/assets/{utils-BhOlvYO8.js → utils-CI1RvLss.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-DXYKCsTM.js → withTransactionSidePanel-CEBXOpSa.js} +1 -1
- package/dist/assets/{zeni-epic-state-lC5X-sam.js → zeni-epic-state-B1zsDZZ4.js} +3 -3
- package/dist/assets/{zeni-icon-only-DZ6h0uLr.js → zeni-icon-only-Bb7XRMgX.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/AccountInfoPage-pEEhPqOb-BzcKyQfW.js +0 -18
- package/dist/assets/ApAgingDetailPage-CxLVGnpY-BrZpRxc6.js +0 -46
- package/dist/assets/BillPayApprovalRuleDetailPage-Blxlv3pa-NuWc5jPY.js +0 -27
- package/dist/assets/ChargeCardPromoPage-D4canPX9-B2gMZ94L.js +0 -222
- package/dist/assets/CustomerOnboardingAuthScreen-DsZqZ3Im.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-DV3z4pR--zNlFTkjO.js +0 -1
- package/dist/assets/EntityDetailPage-DPTSSZdS-CPjJOO2E.js +0 -18
- package/dist/assets/MagicLinkACHDetailsPage-eq8wlXQr-DwBTA9or.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BcNOhJgL-M9e4wRPN.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Df8XYlkg-BKUO0J46.js +0 -1
- package/dist/assets/NavBarWithPicker-D2v1fhLS-CH1wdNXM.js +0 -30
- package/dist/assets/PandLWithForecastRoutes-CRImnf0E.js +0 -1
- package/dist/assets/ReferralListScreen-BaUv0jQW.js +0 -5
- package/dist/assets/ReportsPage-DrjOGopt-CEvm9-2-.js +0 -258
- package/dist/assets/RewardsRoutes-BcQjimjg.js +0 -1
- package/dist/assets/RoleWithToolTip-CqLxmtj6-BxFgYmxI.js +0 -22
- package/dist/assets/StatementItem-DjvU5wiI-BbvkEOCR.js +0 -31
- package/dist/assets/SummaryCard-DPOhBmkr-Bkvd2_eX.js +0 -1
- package/dist/assets/TaskRoutes-ByOGwdlB.js +0 -9
- package/dist/assets/TransactionListPage-DNecYY8M-BHlckINI.js +0 -35
- package/dist/assets/VendorACHDetailsPage-DJ4Crnr0-ChbQ_fot.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-WFcOmpiN-0MxyPK7N.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-B8sx02I_-CFJY5gem.js +0 -1
- package/dist/assets/VideoPopup-R3u0N_if-SR7jlWFi.js +0 -31
- package/dist/assets/common-Cu5K0AJk-Cxd55kqL.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-Cd4FCXAf-9PB61B4X.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Drhl_lnP-DCqw81Fp.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-UsawmMLa-CPc-fd5T.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B-aNuSSK-BaY2mTy_.js +0 -1
- package/dist/assets/toCOABalancesWithID-wh35N3no-D_L2t0iR.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as s}from"./pdf-DwfifS04.js";import{j as ue,l as oa,i as me,u as S,h as be,k as he,N as pa,o as ot,R as Mt,m as te}from"./core-CaikJZHD.js";import{ct as ce,F4 as Be,MN as Ia,cy as ye,cz as Se,cA as Ie,dt as Me,bH as $e,MO as Ge,MP as Va,pS as ha,gT as ga,MQ as fa,eg as ra,v$ as Xe,w1 as Ha,w2 as Ma,gL as ct,MR as ze,vP as it,MS as $t,MT as Gt,vS as ka,MU as zt,Lh as Ea,o2 as dt,vY as $a,er as Yt,MV as lt,MW as Ye,bs as Zt,MX as Kt,dj as Aa,di as Da,ww as Wt,dh as _a,KZ as qt,MY as ut,F5 as mt,bM as Qt,Lg as ca,x6 as Xt,MZ as Ja,wI as wa,M_ as Ct,x7 as Jt,LH as en,x8 as an,y2 as tn,pc as nn,xY as rn,wh as pt,wa as sn,M$ as on,dv as cn,wq as ht,wu as gt,du as dn,N0 as ln,wU as ft,N1 as un,N2 as mn,N3 as Cn,ws as bt,wd as yt,vV as St,wm as It,wk as kt,wo as pn,w0 as et,N4 as Et,N5 as Pa,wF as ba,HX as At,bN as Ga,N6 as hn,N7 as gn,N8 as fn,N9 as bn,wC as Oa,w$ as yn,wX as Sn,wy as In,wZ as kn,wP as En,wR as An,Na as Dt,x5 as _t,Dr as Dn,Nb as _n,Nc as wn,Nd as Pn,Ne as wt,Nf as Tn,xs as Fn,wH as Pt,wB as sa,wG as vn,Ng as xn,Nh as Ln,vM as Bn,Ni as Tt,Nj as Ft,Nk as Un,vO as Rn,vN as at,Nl as On,Nm as Nn,Nn as jn,HT as Vn,No as za,Np as Hn,sE as vt,hr as Mn,eh as $n,xx as Gn,Nq as xt,Nr as zn,xy as Yn,Ns as Zn,cg as Kn,pM as Wn,xn as qn,xh as Le,bt as Qn,FX as Xn,FY as Jn,G5 as er,Hb as ar}from"./zeni-epic-state-lC5X-sam.js";import{js as X,_ as Re,aE as oe,aG as K,jQ as _e,lM as Ta,lX as tr,lY as nr,jM as Te,e as ia,aF as Pe,jO as fe,l8 as Ya,lZ as rr,x as da,jD as Fa,y as va,jz as q,O as Za,l_ as sr,a7 as Ka,i5 as qe,cR as Na,L as or,bj as Wa,k9 as cr,l$ as ir,kv as Lt,k4 as ja,k2 as Bt,J as Ut,m0 as dr,m1 as lr,m2 as ur,m3 as mr,o as ya,m4 as Cr,m5 as pr,m as Ba,N as hr,m6 as gr,m7 as fr,m8 as br,kc as yr}from"./index-CuxRoVvZ.js";import{n as ke,D as Rt,S as Sr}from"./mui-G2MlMTlr.js";import{a as l}from"./sentry-Cm8I7E9J.js";import{g as pe,a as la,b as Ot,c as Ee,d as Ae,e as Ue,f as Oe,A as Ir,h as qa,P as kr,i as Qa,s as Qe,j as Nt,k as He,l as jt,m as Er,n as Vt,p as Ar,S as tt}from"./SetupPagesScreen-By_64UnM.js";import xa from"./NotFoundScreen-DxyQKnff.js";import{M as ua}from"./MobileAppDrawer-D4KAg1N8.js";import{v as nt}from"./utils-BhOlvYO8.js";import{t as Dr}from"./AddressScreen-ZPcySSaO.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./analyticsHelper-BtB7CtC3.js";import"./routePaths-CkO80-xL.js";import"./BusinessVerificationPageScreen-BKBP5CJh.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="bd59b22d-8d1e-42dc-ae1a-99cf5511830a",e._sentryDebugIdIdentifier="sentry-dbid-bd59b22d-8d1e-42dc-ae1a-99cf5511830a")}catch{}})();function _r(){const e=ue(),{cardId:t}=oa(),a=me(),r=X.getSignedInUser(),n=S(W=>ce(W)),c=Re(),u=Be(c?.loggedInUserRoleMap),{useFeatureGate:m}=oe();if(r==null)throw Error("Can't access Add To Wallet Page without signing in...");const[E,i]=l.useState(!1),g=S(W=>Ia(W).firstViewAfterActivation);if(t==null)throw Error("Empty card id is not valid...");const I=n.userRole.includes("charge_card_user"),{isFeatureEnabled:_}=m(K.isChargeCardFeatureEnabled),C=!!n.companyChargeCardInfo?.info?.isChargeCardEnabled,{isFeatureEnabled:U}=m(K.isDebitCardFeatureEnabled),v=ye(n),T=Se(n),d=Ie(U,n),f=n.companyChargeCardInfo?.info?.chargeCardsCreditAccountLimit??0,b=Ee({isDebitCardFeatureEnabled:U,isBankingOnlyTenant:d}),o=Ae({isCardsOnlyTenant:v,isChargeCardFeatureEnabled:_,isBookKeepingTenant:T,isDebitCardProductVisible:b,chargeCardsCreditAccountLimit:f}),w=!!n.companyDebitCardInfo?.info?.isDebitCardEnabled,O=S(W=>Me(W,n.companyId)),N=$e(O.controllers),{creditAccount:L,creditAccountRepayment:F}=S(W=>Ge(W)),R=S(W=>W.classListState.fetchState),p=!I&&o&&C,h=S(W=>Va(W,t,p,o)),[k,A]=l.useState(!1),M=h.chargeCard,$=M?.cardCreatedByUser?.userId,H=S(W=>$!=null?ha(W.userRoleState,$):void 0),B=H?.accountingClassIDs[0],y=S(W=>B!=null?ga(W.classState,{classId:B,reportId:"class_list"}):void 0),Y=M?.cardHolderUser?.userId,x=S(W=>Y!=null?ha(W.userRoleState,Y):void 0),P=x?.accountingClassIDs[0],z=S(W=>P!=null?ga(W.classState,{classId:P,reportId:"class_list"}):void 0),D=M?.type.code==="business_physical_credit_card"||M?.type.code==="business_physical_debit_card",Z=M?.type.code==="business_physical_debit_card";l.useEffect(()=>{g&&E===!1&&D&&(i(!0),setTimeout(()=>{a(fa()),Z&&a(ra({messageSection:"set_debit_card_pin",messageText:"success",type:"success",showStatusIcon:!0}))},5e3))},[g,E,D,Z]),l.useEffect(()=>{k||h.fetchState==="Completed"||h.fetchState==="In-Progress"||t==null||(A(!0),a(Xe(t,p,!1)))},[k,h,t,a]),l.useEffect(()=>{if(h.fetchState==="Completed"&&(D===!1||D&&M?.status?.code!=="active"||M?.cardHolderUserId!==r.userId||g===!1&&E===!1||M?.type.code==="business_physical_debit_card"||M?.type.code==="business_virtual_debit_card")){const W=pe(n.tenantEmailDomain,t,r,M,g);e(W)}},[h.fetchState,g,D]),l.useEffect(()=>{L.fetchState!=="Completed"&&L.fetchState!=="In-Progress"&&o&&C&&u&&a(Ha()),F.fetchState!=="Completed"&&F.fetchState!=="In-Progress"&&o&&C&&u&&a(Ma()),R!=="Completed"&&R!=="In-Progress"&&a(ct())},[L.fetchState,F.fetchState,a,o,C,u,R]);const G=()=>{if(r!=null&&t!=null){a(fa());const W=pe(n.tenantEmailDomain,t,r);e(W)}},ae=M?.type.code==="business_physical_debit_card"||M?.type.code==="business_virtual_debit_card",se=Ue(o,b,w,C),J=la(o,C,u,L,F),de=Ot(ae,h);return h.fetchState!=="Completed"?s.jsx(_e,{fetchState:"In-Progress"}):s.jsxs(s.Fragment,{children:[s.jsx(Ta,{showConfetti:g}),s.jsx(tr,{onGotItClick:G,isDebitCard:M?.type.code==="business_physical_debit_card",controllerEmails:N,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:b,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:C,productInformation:se,creditAccountInformation:J,debitAccountInformation:de,chargeCardDetailView:h,creditAccount:L,classListFetchState:R,creditAccountRepayment:F,cardIssuedByRoles:H?.userRoles,cardIssuedByDepartmentName:y?.className,cardHolderRoles:x?.userRoles,cardHolderDepartmentName:z?.className})]})}const wr=he(function(e){const t=ze(e);return{insightsData:t.insight,cashbackByPeriod:t.cashbackByPeriod,uiState:t.uiState,cashbackSummary:t.cashbackSummary}},function(e,t){const{currentTenant:a,navigate:r,location:n}=t,{tenantEmailDomain:c}=a;return{onColumnSortConfigChanged:(u,m)=>{e($t({uiState:{sortKey:u,sortOrder:m}}))},onBackClick:()=>{const u=Te(n.state?.pathnameStackToGoBack),m=u.poppedPathname??Tr(c);r(m,{state:{pathnameStackToGoBack:u.newStack}})}}})(nr);function Pr(){const e=ue(),t=me(),a=be(),r=X.getSignedInUser(),n=S(E=>ce(E)),[c,u]=l.useState(!1),m=S(E=>ze(E));if(l.useEffect(()=>{c||m.fetchState==="Completed"||m.fetchState==="In-Progress"||(u(!0),t(it()))},[c,m,t]),r==null)throw Error("Can't access cashback detail page without signing in...");return m.fetchState==="In-Progress"?s.jsx(_e,{fetchState:m.fetchState}):m.cashbackSummary.cashbackEarned.amount===0&&m.fetchState==="Completed"?s.jsx(xa,{}):s.jsx(wr,{navigate:e,location:a,currentTenant:n})}const Tr=e=>`/${e}/cards`,Fr={containerWidth:new da(100,58)},vr=({appContent:e})=>{const t=ia(),a=me(),r=ue(),{cardId:n}=oa(),c=be(),{useDynamicConfig:u}=oe(),[m,E]=l.useState(!1),[i,g]=l.useState(!1),[I,_]=l.useState(!1),[C,U]=l.useState(!1),v=X.getSignedInUser();if(v==null)throw Error("Can't access onboarding card page without signing in...");const T=S(z=>ce(z));if(n==null)throw Error("Empty card id is not valid...");const{configValue:d}=u(Pe.zeniCardsConfig),f=d.max_charge_card_activation_attempts_by_card_id,b=S(z=>Gt(z,n)),o=b.chargeCard,w=S(z=>z.chargeCardConfigState.fetchState),{useFeatureGate:O}=oe(),{isFeatureEnabled:N}=O(K.isChargeCardFeatureEnabled),{isFeatureEnabled:L}=O(K.isDebitCardFeatureEnabled),F=Ie(L,T),R=Ee({isDebitCardFeatureEnabled:L,isBankingOnlyTenant:F}),p=!!T.companyChargeCardInfo?.info?.isChargeCardEnabled,h=T.userRole.includes("charge_card_user"),k=ye(T),A=Se(T),M=T.companyChargeCardInfo?.info?.chargeCardsCreditAccountLimit??0,$=Ae({isCardsOnlyTenant:k,isChargeCardFeatureEnabled:N,isBookKeepingTenant:A,isDebitCardProductVisible:R,chargeCardsCreditAccountLimit:M}),H=!h&&$&&p;l.useEffect(()=>{m===!1&&w!=="In-Progress"&&w!=="Completed"&&(a(ka()),E(!0)),i===!1&&b.fetchState==="Not-Started"&&(g(!0),a(Xe(n,H,$)))},[i,b.fetchState,m,w]);const B=o?.type.code==="business_physical_credit_card"||o?.type.code==="business_physical_debit_card";l.useEffect(()=>{if(b.fetchState==="Completed"){if(I===!1&&(B===!1||B&&o?.status?.code!=="inactive"||o?.cardHolderUserId!==v.userId)){const z=pe(T.tenantEmailDomain,n,v,o,!0),D=fe(c.state?.pathnameStackToGoBack,c.pathname);r(z,{state:{pathnameStackToGoBack:D}})}else if(I&&b.isRefreshingViewInBackground===!1&&o?.status?.code==="active"){a(zt({chargeCardId:n}));const z=pe(T.tenantEmailDomain,n,v,o,!0),D=fe(c.state?.pathnameStackToGoBack,c.pathname);a(Ea()),r(z,{state:{pathnameStackToGoBack:D}})}}},[b.fetchState,o?.type.code,I,b.isRefreshingViewInBackground]);const y=X.getZeniOtpTokenForCardHolder(n),Y=S(z=>dt(z.userState,v.userId)),x=()=>{o?.status?.code!=="active"&&a($a(n,!0))};l.useEffect(()=>{b.updatePhysicalChargeCardAttemptFetchState.fetchState==="Completed"&&o?.cardActivationAttemptHistory.some(z=>z.statusCode==="success")===!0&&I===!1&&(setTimeout(x,3e3),_(!0))},[b.updatePhysicalChargeCardAttemptFetchState.fetchState,o?.cardActivationAttemptHistory]);const P=z=>{U(z)};if(w!=="Completed"||o==null)return s.jsx(_e,{fetchState:"In-Progress"});if(o.shippingAddressId==null)throw Error("Can't access shippingAddressId.");if(Y?.phone==null)throw Error("Can't access user phone number.");return s.jsxs(Br,{children:[s.jsx(ua,{isAppContentDrawerOpen:C,handleDrawerToggle:P}),s.jsx(xr,{cardId:n,card:o,shippingAddressId:o.shippingAddressId,phone:Y.phone,signedInUser:v,isSandboxEnv:Ya(),chargeCardDetailState:b,signedInUserToken:y,navigate:r,currentTenant:T,location:c,maxChargeCardActivationAttempts:f[n]!=null?f[n]:d.default_max_charge_card_activation_attempts!=null?d.default_max_charge_card_activation_attempts:3,chargeCardCashbackRatePerTransaction:d.charge_card_cashback_rate_per_transaction!=null?d.charge_card_cashback_rate_per_transaction:.0175,onClickMenuIcon:()=>{P(!0)}}),e!=null?s.jsx(Lr,{windowSize:t,children:e}):null]})},xr=he(function(e,{chargeCardDetailState:t,shippingAddressId:a,location:r,cardId:n}){const c=Yt(e.addressState,a);if(c==null)throw Error("Can't access shippingAddress.");const u=lt(e,n),m=t.updateStatus,E=Ye(e,!1,!1,!1);let i=!1;E.fetchState==="Completed"&&E.cards.length<=1&&(i=!0);const g=r.state?.message==="comingFromV2UrlPath";return{showActivatePage:t.chargeCard?.providerCardCreateTime!=null&&t.chargeCard.providerCardCreateTime.add(24,"h").isBefore(Zt())||g,showMenuIcon:i,shippingAddress:c,vgsVaultId:Fa.cardVaultId,twoFAView:u,activationWaitStatus:m,isRefreshingViewInBackground:t.isRefreshingViewInBackground}},function(e,t){const{navigate:a,cardId:r,location:n,currentTenant:c,chargeCardDetailState:u}=t,m=u.chargeCard?.cardProviderID,{tenantEmailDomain:E}=c;return{onGetOtp:i=>{m!=null&&e(_a(i,"ChargeCardHolder",r))},onUpdatePhysicalChargeCardAttempt:i=>{e(Wt(r,i))},onResendOtp:i=>{m!=null&&e(Da(i,"ChargeCardHolder",r))},onVerifyOtp:(i,g)=>{m!=null&&e(Aa(i,g,"ChargeCardHolder",r))},onVerifyOtpSuccess:i=>{i!=null&&X.saveZeniOtpTokenForCardHolder(i,r)},onCVVActivateSuccess:()=>{e(Kt({chargeCardId:r}))},onBackClick:()=>{const i=Te(n.state?.pathnameStackToGoBack),g=i.poppedPathname==null||i.poppedPathname.includes("onboard")===!0?Oe(E):i.poppedPathname;a(g,{state:{pathnameStackToGoBack:i.newStack}})}}})(rr),Lr=ke.div`
|
|
1
|
+
import{j as s}from"./pdf-CwWlK-Dr.js";import{j as ue,l as oa,i as me,u as S,h as be,k as he,N as pa,o as ot,R as Mt,m as te}from"./core-AYNw6kyJ.js";import{ct as ce,F4 as Be,MN as Ia,cy as ye,cz as Se,cA as Ie,dt as Me,bH as $e,MO as Ge,MP as Va,pS as ha,gT as ga,MQ as fa,eg as ra,v$ as Xe,w1 as Ha,w2 as Ma,gL as ct,MR as ze,vP as it,MS as $t,MT as Gt,vS as ka,MU as zt,Lh as Ea,o2 as dt,vY as $a,er as Yt,MV as lt,MW as Ye,bs as Zt,MX as Kt,dj as Aa,di as Da,ww as Wt,dh as _a,KZ as qt,MY as ut,F5 as mt,bM as Qt,Lg as ca,x6 as Xt,MZ as Ja,wI as wa,M_ as Ct,x7 as Jt,LH as en,x8 as an,y2 as tn,pc as nn,xY as rn,wh as pt,wa as sn,M$ as on,dv as cn,wq as ht,wu as gt,du as dn,N0 as ln,wU as ft,N1 as un,N2 as mn,N3 as Cn,ws as bt,wd as yt,vV as St,wm as It,wk as kt,wo as pn,w0 as et,N4 as Et,N5 as Pa,wF as ba,HX as At,bN as Ga,N6 as hn,N7 as gn,N8 as fn,N9 as bn,wC as Oa,w$ as yn,wX as Sn,wy as In,wZ as kn,wP as En,wR as An,Na as Dt,x5 as _t,Dr as Dn,Nb as _n,Nc as wn,Nd as Pn,Ne as wt,Nf as Tn,xs as Fn,wH as Pt,wB as sa,wG as vn,Ng as xn,Nh as Ln,vM as Bn,Ni as Tt,Nj as Ft,Nk as Un,vO as Rn,vN as at,Nl as On,Nm as Nn,Nn as jn,HT as Vn,No as za,Np as Hn,sE as vt,hr as Mn,eh as $n,xx as Gn,Nq as xt,Nr as zn,xy as Yn,Ns as Zn,cg as Kn,pM as Wn,xn as qn,xh as Le,bt as Qn,FX as Xn,FY as Jn,G5 as er,Hb as ar}from"./zeni-epic-state-B1zsDZZ4.js";import{js as X,_ as Re,aE as oe,aG as K,jQ as _e,lM as Ta,lX as tr,lY as nr,jM as Te,e as ia,aF as Pe,jO as fe,l8 as Ya,lZ as rr,x as da,jD as Fa,y as va,jz as q,O as Za,l_ as sr,a7 as Ka,i5 as qe,cR as Na,L as or,bk as Wa,k9 as cr,l$ as ir,kv as Lt,k4 as ja,k2 as Bt,J as Ut,m0 as dr,m1 as lr,m2 as ur,m3 as mr,o as ya,m4 as Cr,m5 as pr,m as Ba,N as hr,m6 as gr,m7 as fr,m8 as br,kc as yr}from"./index-CilRLucN.js";import{n as ke,D as Rt,S as Sr}from"./mui-Ckdcx_YE.js";import{a as l}from"./sentry-D-LCra2M.js";import{g as pe,a as la,b as Ot,c as Ee,d as Ae,e as Ue,f as Oe,A as Ir,h as qa,P as kr,i as Qa,s as Qe,j as Nt,k as He,l as jt,m as Er,n as Vt,p as Ar,S as tt}from"./SetupPagesScreen-DXJ1IvhH.js";import xa from"./NotFoundScreen-YeCuKQy4.js";import{M as ua}from"./MobileAppDrawer-BRK9r0e2.js";import{v as nt}from"./utils-CI1RvLss.js";import{t as Dr}from"./AddressScreen-INYb_JGl.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./analyticsHelper-DJS6x-LZ.js";import"./routePaths-DqRhLReO.js";import"./BusinessVerificationPageScreen-C9kI0BR_.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1bb7015f-ae9d-4ae4-8974-bd252d3d5892",e._sentryDebugIdIdentifier="sentry-dbid-1bb7015f-ae9d-4ae4-8974-bd252d3d5892")}catch{}})();function _r(){const e=ue(),{cardId:t}=oa(),a=me(),r=X.getSignedInUser(),n=S(W=>ce(W)),c=Re(),u=Be(c?.loggedInUserRoleMap),{useFeatureGate:m}=oe();if(r==null)throw Error("Can't access Add To Wallet Page without signing in...");const[E,i]=l.useState(!1),g=S(W=>Ia(W).firstViewAfterActivation);if(t==null)throw Error("Empty card id is not valid...");const I=n.userRole.includes("charge_card_user"),{isFeatureEnabled:_}=m(K.isChargeCardFeatureEnabled),C=!!n.companyChargeCardInfo?.info?.isChargeCardEnabled,{isFeatureEnabled:U}=m(K.isDebitCardFeatureEnabled),v=ye(n),T=Se(n),d=Ie(U,n),f=n.companyChargeCardInfo?.info?.chargeCardsCreditAccountLimit??0,b=Ee({isDebitCardFeatureEnabled:U,isBankingOnlyTenant:d}),o=Ae({isCardsOnlyTenant:v,isChargeCardFeatureEnabled:_,isBookKeepingTenant:T,isDebitCardProductVisible:b,chargeCardsCreditAccountLimit:f}),w=!!n.companyDebitCardInfo?.info?.isDebitCardEnabled,O=S(W=>Me(W,n.companyId)),N=$e(O.controllers),{creditAccount:L,creditAccountRepayment:F}=S(W=>Ge(W)),R=S(W=>W.classListState.fetchState),p=!I&&o&&C,h=S(W=>Va(W,t,p,o)),[k,A]=l.useState(!1),M=h.chargeCard,$=M?.cardCreatedByUser?.userId,H=S(W=>$!=null?ha(W.userRoleState,$):void 0),B=H?.accountingClassIDs[0],y=S(W=>B!=null?ga(W.classState,{classId:B,reportId:"class_list"}):void 0),Y=M?.cardHolderUser?.userId,x=S(W=>Y!=null?ha(W.userRoleState,Y):void 0),P=x?.accountingClassIDs[0],z=S(W=>P!=null?ga(W.classState,{classId:P,reportId:"class_list"}):void 0),D=M?.type.code==="business_physical_credit_card"||M?.type.code==="business_physical_debit_card",Z=M?.type.code==="business_physical_debit_card";l.useEffect(()=>{g&&E===!1&&D&&(i(!0),setTimeout(()=>{a(fa()),Z&&a(ra({messageSection:"set_debit_card_pin",messageText:"success",type:"success",showStatusIcon:!0}))},5e3))},[g,E,D,Z]),l.useEffect(()=>{k||h.fetchState==="Completed"||h.fetchState==="In-Progress"||t==null||(A(!0),a(Xe(t,p,!1)))},[k,h,t,a]),l.useEffect(()=>{if(h.fetchState==="Completed"&&(D===!1||D&&M?.status?.code!=="active"||M?.cardHolderUserId!==r.userId||g===!1&&E===!1||M?.type.code==="business_physical_debit_card"||M?.type.code==="business_virtual_debit_card")){const W=pe(n.tenantEmailDomain,t,r,M,g);e(W)}},[h.fetchState,g,D]),l.useEffect(()=>{L.fetchState!=="Completed"&&L.fetchState!=="In-Progress"&&o&&C&&u&&a(Ha()),F.fetchState!=="Completed"&&F.fetchState!=="In-Progress"&&o&&C&&u&&a(Ma()),R!=="Completed"&&R!=="In-Progress"&&a(ct())},[L.fetchState,F.fetchState,a,o,C,u,R]);const G=()=>{if(r!=null&&t!=null){a(fa());const W=pe(n.tenantEmailDomain,t,r);e(W)}},ae=M?.type.code==="business_physical_debit_card"||M?.type.code==="business_virtual_debit_card",se=Ue(o,b,w,C),J=la(o,C,u,L,F),de=Ot(ae,h);return h.fetchState!=="Completed"?s.jsx(_e,{fetchState:"In-Progress"}):s.jsxs(s.Fragment,{children:[s.jsx(Ta,{showConfetti:g}),s.jsx(tr,{onGotItClick:G,isDebitCard:M?.type.code==="business_physical_debit_card",controllerEmails:N,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:b,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:C,productInformation:se,creditAccountInformation:J,debitAccountInformation:de,chargeCardDetailView:h,creditAccount:L,classListFetchState:R,creditAccountRepayment:F,cardIssuedByRoles:H?.userRoles,cardIssuedByDepartmentName:y?.className,cardHolderRoles:x?.userRoles,cardHolderDepartmentName:z?.className})]})}const wr=he(function(e){const t=ze(e);return{insightsData:t.insight,cashbackByPeriod:t.cashbackByPeriod,uiState:t.uiState,cashbackSummary:t.cashbackSummary}},function(e,t){const{currentTenant:a,navigate:r,location:n}=t,{tenantEmailDomain:c}=a;return{onColumnSortConfigChanged:(u,m)=>{e($t({uiState:{sortKey:u,sortOrder:m}}))},onBackClick:()=>{const u=Te(n.state?.pathnameStackToGoBack),m=u.poppedPathname??Tr(c);r(m,{state:{pathnameStackToGoBack:u.newStack}})}}})(nr);function Pr(){const e=ue(),t=me(),a=be(),r=X.getSignedInUser(),n=S(E=>ce(E)),[c,u]=l.useState(!1),m=S(E=>ze(E));if(l.useEffect(()=>{c||m.fetchState==="Completed"||m.fetchState==="In-Progress"||(u(!0),t(it()))},[c,m,t]),r==null)throw Error("Can't access cashback detail page without signing in...");return m.fetchState==="In-Progress"?s.jsx(_e,{fetchState:m.fetchState}):m.cashbackSummary.cashbackEarned.amount===0&&m.fetchState==="Completed"?s.jsx(xa,{}):s.jsx(wr,{navigate:e,location:a,currentTenant:n})}const Tr=e=>`/${e}/cards`,Fr={containerWidth:new da(100,58)},vr=({appContent:e})=>{const t=ia(),a=me(),r=ue(),{cardId:n}=oa(),c=be(),{useDynamicConfig:u}=oe(),[m,E]=l.useState(!1),[i,g]=l.useState(!1),[I,_]=l.useState(!1),[C,U]=l.useState(!1),v=X.getSignedInUser();if(v==null)throw Error("Can't access onboarding card page without signing in...");const T=S(z=>ce(z));if(n==null)throw Error("Empty card id is not valid...");const{configValue:d}=u(Pe.zeniCardsConfig),f=d.max_charge_card_activation_attempts_by_card_id,b=S(z=>Gt(z,n)),o=b.chargeCard,w=S(z=>z.chargeCardConfigState.fetchState),{useFeatureGate:O}=oe(),{isFeatureEnabled:N}=O(K.isChargeCardFeatureEnabled),{isFeatureEnabled:L}=O(K.isDebitCardFeatureEnabled),F=Ie(L,T),R=Ee({isDebitCardFeatureEnabled:L,isBankingOnlyTenant:F}),p=!!T.companyChargeCardInfo?.info?.isChargeCardEnabled,h=T.userRole.includes("charge_card_user"),k=ye(T),A=Se(T),M=T.companyChargeCardInfo?.info?.chargeCardsCreditAccountLimit??0,$=Ae({isCardsOnlyTenant:k,isChargeCardFeatureEnabled:N,isBookKeepingTenant:A,isDebitCardProductVisible:R,chargeCardsCreditAccountLimit:M}),H=!h&&$&&p;l.useEffect(()=>{m===!1&&w!=="In-Progress"&&w!=="Completed"&&(a(ka()),E(!0)),i===!1&&b.fetchState==="Not-Started"&&(g(!0),a(Xe(n,H,$)))},[i,b.fetchState,m,w]);const B=o?.type.code==="business_physical_credit_card"||o?.type.code==="business_physical_debit_card";l.useEffect(()=>{if(b.fetchState==="Completed"){if(I===!1&&(B===!1||B&&o?.status?.code!=="inactive"||o?.cardHolderUserId!==v.userId)){const z=pe(T.tenantEmailDomain,n,v,o,!0),D=fe(c.state?.pathnameStackToGoBack,c.pathname);r(z,{state:{pathnameStackToGoBack:D}})}else if(I&&b.isRefreshingViewInBackground===!1&&o?.status?.code==="active"){a(zt({chargeCardId:n}));const z=pe(T.tenantEmailDomain,n,v,o,!0),D=fe(c.state?.pathnameStackToGoBack,c.pathname);a(Ea()),r(z,{state:{pathnameStackToGoBack:D}})}}},[b.fetchState,o?.type.code,I,b.isRefreshingViewInBackground]);const y=X.getZeniOtpTokenForCardHolder(n),Y=S(z=>dt(z.userState,v.userId)),x=()=>{o?.status?.code!=="active"&&a($a(n,!0))};l.useEffect(()=>{b.updatePhysicalChargeCardAttemptFetchState.fetchState==="Completed"&&o?.cardActivationAttemptHistory.some(z=>z.statusCode==="success")===!0&&I===!1&&(setTimeout(x,3e3),_(!0))},[b.updatePhysicalChargeCardAttemptFetchState.fetchState,o?.cardActivationAttemptHistory]);const P=z=>{U(z)};if(w!=="Completed"||o==null)return s.jsx(_e,{fetchState:"In-Progress"});if(o.shippingAddressId==null)throw Error("Can't access shippingAddressId.");if(Y?.phone==null)throw Error("Can't access user phone number.");return s.jsxs(Br,{children:[s.jsx(ua,{isAppContentDrawerOpen:C,handleDrawerToggle:P}),s.jsx(xr,{cardId:n,card:o,shippingAddressId:o.shippingAddressId,phone:Y.phone,signedInUser:v,isSandboxEnv:Ya(),chargeCardDetailState:b,signedInUserToken:y,navigate:r,currentTenant:T,location:c,maxChargeCardActivationAttempts:f[n]!=null?f[n]:d.default_max_charge_card_activation_attempts!=null?d.default_max_charge_card_activation_attempts:3,chargeCardCashbackRatePerTransaction:d.charge_card_cashback_rate_per_transaction!=null?d.charge_card_cashback_rate_per_transaction:.0175,onClickMenuIcon:()=>{P(!0)}}),e!=null?s.jsx(Lr,{windowSize:t,children:e}):null]})},xr=he(function(e,{chargeCardDetailState:t,shippingAddressId:a,location:r,cardId:n}){const c=Yt(e.addressState,a);if(c==null)throw Error("Can't access shippingAddress.");const u=lt(e,n),m=t.updateStatus,E=Ye(e,!1,!1,!1);let i=!1;E.fetchState==="Completed"&&E.cards.length<=1&&(i=!0);const g=r.state?.message==="comingFromV2UrlPath";return{showActivatePage:t.chargeCard?.providerCardCreateTime!=null&&t.chargeCard.providerCardCreateTime.add(24,"h").isBefore(Zt())||g,showMenuIcon:i,shippingAddress:c,vgsVaultId:Fa.cardVaultId,twoFAView:u,activationWaitStatus:m,isRefreshingViewInBackground:t.isRefreshingViewInBackground}},function(e,t){const{navigate:a,cardId:r,location:n,currentTenant:c,chargeCardDetailState:u}=t,m=u.chargeCard?.cardProviderID,{tenantEmailDomain:E}=c;return{onGetOtp:i=>{m!=null&&e(_a(i,"ChargeCardHolder",r))},onUpdatePhysicalChargeCardAttempt:i=>{e(Wt(r,i))},onResendOtp:i=>{m!=null&&e(Da(i,"ChargeCardHolder",r))},onVerifyOtp:(i,g)=>{m!=null&&e(Aa(i,g,"ChargeCardHolder",r))},onVerifyOtpSuccess:i=>{i!=null&&X.saveZeniOtpTokenForCardHolder(i,r)},onCVVActivateSuccess:()=>{e(Kt({chargeCardId:r}))},onBackClick:()=>{const i=Te(n.state?.pathnameStackToGoBack),g=i.poppedPathname==null||i.poppedPathname.includes("onboard")===!0?Oe(E):i.poppedPathname;a(g,{state:{pathnameStackToGoBack:i.newStack}})}}})(rr),Lr=ke.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: ${e=>`${Fr.containerWidth.value(e.windowSize)}%`};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as je,e as Be,h as Ue,a7 as G,T as _e,c8 as ze,ad as Z,V as t,eI as Re,f as Le,x as d,a_ as We,L as $e,A as Ne,eZ as qe,de as He,e_ as Me,o as B,w as Ge,i4 as J,aU as Ze,a9 as Je,f0 as Ke,O as Qe,m as a,l as Xe}from"./index-
|
|
1
|
+
import{y as je,e as Be,h as Ue,a7 as G,T as _e,c8 as ze,ad as Z,V as t,eI as Re,f as Le,x as d,a_ as We,L as $e,A as Ne,eZ as qe,de as He,e_ as Me,o as B,w as Ge,i4 as J,aU as Ze,a9 as Je,f0 as Ke,O as Qe,m as a,l as Xe}from"./index-CilRLucN.js";import{a as f}from"./sentry-D-LCra2M.js";import{n as S}from"./mui-Ckdcx_YE.js";import{cg as Ye}from"./zeni-epic-state-B1zsDZZ4.js";import{x as et}from"./LabeledControlledCheckBoxField-BEpAlnvo-BRLqoAnU.js";import{g as tt}from"./UploadAdditionalDocumentOverlay-DWmMz_8y-Dm_NzTDF.js";import"./pdf-CwWlK-Dr.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="f17bc4e8-3206-4f31-a2c0-b54a5b8b7f42",e._sentryDebugIdIdentifier="sentry-dbid-f17bc4e8-3206-4f31-a2c0-b54a5b8b7f42")}catch{}})();const c={titleWidth:new d(343,580,726,826),setupDetailsRowGap:new d(12,a[5],a[5]),sectionRowGap:new d(a[5],a[9],a[9]),iconWidthHeight:new d(20,a[4]),subTitlePaddingTop:new d(12,a[3]),subTitlePaddingBottom:new d(a[3],a[3]),overlayWidth:new d(100,100,59),checkBoxTop:new d(a[1],a[0])},K="chargeCardSetUpPage",g="payAccount",{commonSetUp:nt,spendManagement:it}=Qe.getLocalizedStrings(),{chargeCard:Y}=it,{chargeCardSetUp:m}=Y,{setUp:U}=nt,At=({autoPayThreshold:e,isDisabled:r,meetingUrl:w,isEarlyPayEnabled:h,chargeCardSetUpView:i,connectedAccountProvider:ee,filesEndPoint:te,authParams:ne,isAccountsEnabled:ie,isDebitCardOnlyEnabled:k,isCreditCardOnlyEnabled:oe,accountsPromoConfig:ae,onFetchLinkTokenClick:ce,onBackClick:se,onEnableChargeCardClick:le,onUpdateChargeCardClick:de,onBusinessVerificationSectionClick:re,onUpdatePaymentAccountStatus:ue,onUpdatePaymentAccountLoginStatus:pe,onUpdatePrimaryFundingAccount:fe,onUpdateAutoPayClick:me,onEstablishConnectionClick:ge,onEstablishConnectionSuccess:he,onClickMenuIcon:ye,onEnableChargeCardSuccess:x,onEditFileName:be,onDeleteFile:Ce,updateFilesEntity:Se,onCompanyOfficerUpdated:we,onSendForVerificationClick:xe,onSignUpClick:Pe})=>{const y=je(),n=Be(),T=Ue().analytics,[P,b]=f.useState(!1),{fetchState:C,companyBillPayInfo:_,isRefreshingViewInBackground:Ae,updateStatus:u,accountUpdateStatus:ke,plaidConnectionDetails:Te,allBankAccounts:Ee,companyChargeCardInfo:E,companyDebitCardInfo:z,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:R}=i,L=G(C),A=G(u.fetchState),v=_e({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>Q(i),[i]),values:Q(i)}),ve=v.handleSubmit(le);f.useEffect(()=>{const Oe=v.watch((H,{name:M})=>{M!=null&&H!=null&&ze(()=>(async(V,Ve)=>{const o=Ve[g];if(V.includes(g))if(V.includes("fundingAccount")){if(o.fundingAccount.selectedOption!=null&&l?.id!=o.fundingAccount.selectedOption){const p=R.find(j=>j.id===o.fundingAccount.selectedOption);p!=null&&fe(o.fundingAccount.selectedOption,p.accType)}}else if(o.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=o.account.selectedOption){const p=o.account.allOptions.find(j=>j.value===o.account.selectedOption);p!=null&&typeof p.label=="string"&&T.trackConnectBankLink(p.value,p.label,"charge_cards"),de(o.account.selectedOption,l.id,l.accType)}else V.includes("enableAutoPay")&&o.enableAutoPay!=null&&me(o.enableAutoPay)})(M,H))});return()=>{Oe.unsubscribe()}}),f.useEffect(()=>{!P&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&b(!0),P&&L==="In-Progress"&&C==="Completed"&&b(!1)},[s,C,L]),f.useEffect(()=>{A==="In-Progress"&&u.fetchState==="Completed"&&x()},[x,A,u.fetchState]);const I=E?.isChargeCardEnabled===!0,D=z?.isDebitCardEnabled===!0,W=z?.isDebitCardTOSAccepted===!0,$=E?.isChargeCardTOSAccepted===!0,N=_?.isBusinessVerified===!0,Ie=l?.accType==="depositAccount"||Ye(l?.providerVerificationStatus?.code??""),F=k?N:N&&Ie,De=C==="In-Progress"||C==="Not-Started";f.useEffect(()=>{A==="In-Progress"&&u.fetchState==="Completed"&&x()},[x,A,u.fetchState]);const O=k?F&&!D&&W:oe?F&&!I&&$:F&&!(I&&D)&&$&&W,Fe=O?m.setupSubTitleNotEnabled:m.setupSubTitle,q=y.mode==="light"?new Z(y.colors.brandColorJadeLight):new Z(y.colors.brandColorJadeDark);return t.jsxs(at,{children:[t.jsx(Re,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(n),boxShadow:"none"}},open:P,onClose:()=>b(!1),style:{backgroundColor:Le.drawerBackground},transitionDuration:250,children:t.jsx(tt,{authParams:ne,filesEndPoint:te,updateStatus:u,onEditFileName:be,onDeleteFile:Ce,updateFilesEntity:Se,companyOfficer:s,onClose:()=>b(!1),onCompanyOfficerUpdated:we,onSendForVerificationClick:xe})}),t.jsx(We,{title:m.setupTitle,backgroundColor:y.colors.grey4,style:{zIndex:3},onBackClick:se,showMenuIcon:!(I||D||n!=="medium-compact"&&n!=="small"),onClickMenuIcon:ye,source:"ChargeCardSetupPage"}),t.jsxs(ot,{windowSize:n,children:[t.jsx(ct,{windowSize:n,children:Fe}),De?t.jsx(st,{children:t.jsx($e,{size:"ExtraLarge",start:!0})}):t.jsx(Ne,{...v,children:t.jsx("form",{id:X(K),onSubmit:ve,children:t.jsxs(lt,{windowSize:n,children:[t.jsx(qe,{onClick:()=>{P||s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")!==!0||!s.areAdditionalDocumentsRequestedForVerification||s.areAdditionalDocumentsSubmittedForVerification||s.userVerificationStatus?.code!=="require_info"?re?.():b(!0)},title:U.businessVerificationTitle,subTitle:U.businessVerificationSubTitle,header:U.businessVerificationHeader,icon:{element:t.jsx(He,{width:c.iconWidthHeight.valuePx(n),height:c.iconWidthHeight.valuePx(n)}),color:q},status:_?.businessVerificationStatus,isLoading:Ae,isActiveWhileLoading:!0}),k?null:t.jsx(Me,{connectedAccountProvider:ee,primaryFundingAccount:l,allFundingAccounts:R,plaidConnectionDetails:Te,allBankAccounts:Ee,sectionId:g,isDisabled:r,onFetchLinkTokenClick:ce,onEstablishConnectionClick:ge,onUpdatePaymentAccountStatus:ue,onUpdatePaymentAccountLoginStatus:pe,sectionTitle:m.setupAccountSectionTitle,onEstablishConnectionSuccess:he,icon:{element:t.jsx(Ze,{width:c.iconWidthHeight.valuePx(n),height:c.iconWidthHeight.valuePx(n)}),color:q},analytics:T,productType:"charge_cards",isAccountsEnabled:ie,onSignUpClick:Pe,pageName:m.pageName,accountsPromoConfig:ae,accountSelectContainerStyle:h?{marginBottom:"20px"}:{},bottomComponent:h&&t.jsx(et,{label:{label:Y.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:y.colors.primary,...Ge.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:B.sp4,marginTop:B.sp1,alignItems:n==="small"?"flex-start":"center"},checkBoxField:{name:J(g,"enableAutoPay"),checkBoxValue:J(g,"enableAutoPay"),defaultChecked:E?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(n)}}})})]})})})]}),O?t.jsx(Je,{formId:X(K),primaryBtn:{label:m.enableAccounts,style:{width:"auto",minWidth:n==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||ke.fetchState==="In-Progress",isDisabled:r!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${B.sp3}`}}):null,t.jsx(Ke,{isFooterRendered:O,meetingUrl:w,analytics:T,productType:"charge_cards"})]})},Q=e=>{const{allBankAccounts:r,allFundingAccounts:w,primaryFundingAccount:h}=e;return{[g]:{fundingAccount:{selectedOption:h?.id,allOptions:w.map(i=>({label:i.label,value:i.id,isRecommended:i.accType==="depositAccount"}))},account:{selectedOption:h?.zeniAccountId,allOptions:r.map(i=>({label:i.accountName,value:i.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},X=e=>`${e}_form`,ot=S.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: flex-start;
|
|
4
4
|
height: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as F,e as T,V as t,a_ as W,o as h,O as R,x as g,l as B,at as _,h as O,h9 as V,L as q,b as J,m as s,
|
|
1
|
+
import{y as F,e as T,V as t,a_ as W,o as h,O as R,x as g,l as B,at as _,h as O,h9 as V,L as q,b as J,m as s,by as U}from"./index-CilRLucN.js";import{n as o}from"./mui-Ckdcx_YE.js";import{$ as G,g as H}from"./BoxItem-C39hQSVg-B9WMvkwI.js";import{a as K}from"./sentry-D-LCra2M.js";import{w as Q}from"./downloadPdf-Dcd8BY_9--BaRfov1.js";import"./pdf-CwWlK-Dr.js";import"./zeni-epic-state-B1zsDZZ4.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";import"./commonDimensions-CuKo3wam-D08uyy0o.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="106ecf25-4a04-4d84-8dd3-27b1ceaa2c8e",e._sentryDebugIdIdentifier="sentry-dbid-106ecf25-4a04-4d84-8dd3-27b1ceaa2c8e")}catch{}})();const E=R.getLocalizedStrings().months,Y={downloadButtonSize:new g(s[4],20)},X=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
padding: ${h.sp3} ${h.sp4};
|
|
4
4
|
flex-direction: row;
|
|
@@ -27,7 +27,7 @@ import{y as F,e as T,V as t,a_ as W,o as h,O as R,x as g,l as B,at as _,h as O,h
|
|
|
27
27
|
&:hover {
|
|
28
28
|
color: ${e=>e.theme.colors.primary};
|
|
29
29
|
}
|
|
30
|
-
`;function ae({currentTenantCompanyName:e,data:a,index:r,controllerEmails:l,isDebitCardFeatureEnabled:i,isDebitCardSetupEnabled:n,chargeCardCashbackDetailState:d,depositAccountListWithDebitCardIssued:y,debitCardSummary:x,productInformation:C,creditAccountInformation:S,debitAccountInformation:P,cashbackInformation:f,creditAccountRepayment:I,
|
|
30
|
+
`;function ae({currentTenantCompanyName:e,data:a,index:r,controllerEmails:l,isDebitCardFeatureEnabled:i,isDebitCardSetupEnabled:n,chargeCardCashbackDetailState:d,depositAccountListWithDebitCardIssued:y,debitCardSummary:x,productInformation:C,creditAccountInformation:S,debitAccountInformation:P,cashbackInformation:f,creditAccountRepayment:$,authParams:I,downloadEndPoint:j,boxType:k}){const b=O().analytics,[v,z]=K.useState(!1),c=T(),D=E[a.monthYearPeriod.month-1],p=`${e}-Credit-Card-Monthly-Statement-${E[a.monthYearPeriod.month-1]}-${a.monthYearPeriod.year}.pdf`,m={period:`${a.monthYearPeriod.year}-${V(a.monthYearPeriod.month)}`,format:"pdf"},u=t.jsx(X,{children:t.jsxs(Z,{children:[t.jsx(ee,{children:D}),t.jsx(te,{"data-testid":J("download-card-statement"),onClick:()=>{d.fetchState==="Completed"&&$.fetchState==="Completed"&&(!(i&&n)||y.fetchState==="Completed"&&x?.fetchState==="Completed")&&f!=null&&b.trackCardsDownloadClick(l,C,f,{fileCategory:"Credit Card Statement",fileType:"pdf",fileName:p,fileMonthYear:`${E[a.monthYearPeriod.month-1]} ${a.monthYearPeriod.year}`},"Credit Card Statements",r+1,S,P),Q(`${j}/statements?query=${encodeURIComponent(JSON.stringify(m))}`,p,I,z)},children:v?t.jsx(q,{size:"Small",start:!0}):t.jsx(ie,{windowSize:c})})]})});return t.jsx(H,{content:u,boxType:k,isDisabled:!1,isNotClickable:!0})}const L=R.getLocalizedStrings().spendManagement.chargeCard.statements,w={listItemMarginLeftRight:new g(s[3],s[8]),containerMarginTop:new g(s[0],s[2]),titleMarginLeftRight:new g(s[3],s[8])},ve=({currentTenantCompanyName:e,authParams:a,controllerEmails:r,productInformation:l,cashbackInformation:i,creditAccountInformation:n,debitAccountInformation:d,isChargeCardFeatureEnabled:y,isDebitCardFeatureEnabled:x,isDebitCardSetupEnabled:C,isChargeCardSetupEnabled:S,chargeCardCashbackDetailState:P,depositAccountListWithDebitCardIssued:f,creditAccountRepayment:$,debitCardSummary:I,creditAccount:j,downloadEndPoint:k,statementListView:b,onBackClick:v})=>{const z=F(),c=T(),{sortedYear:D,monthsByYearWithSortedMonth:p}=me(b.statements);return t.jsxs(se,{children:[t.jsx(W,{title:L.title,backgroundColor:z.colors.grey4,style:{zIndex:3},onBackClick:v,source:"ChargeCardStatementsPage"}),t.jsx(ce,{windowSize:c,children:b.statements.length===0?t.jsx(M,{children:t.jsx(de,{children:t.jsx(N,{windowSize:c,children:t.jsx(le,{children:L.noStatements})})})}):t.jsx(oe,{children:D.map(m=>t.jsxs(re,{children:[t.jsx(ne,{windowSize:c,children:m}),t.jsx(M,{children:p[m].map((u,A)=>t.jsx(N,{windowSize:c,children:t.jsx(ae,{productInformation:l,creditAccountInformation:n,debitAccountInformation:d,cashbackInformation:i,creditAccountRepayment:$,depositAccountListWithDebitCardIssued:f,debitCardSummary:I,controllerEmails:r,isChargeCardFeatureEnabled:y,isDebitCardFeatureEnabled:x,isDebitCardSetupEnabled:C,isChargeCardSetupEnabled:S,chargeCardCashbackDetailState:P,creditAccount:j,currentTenantCompanyName:e,index:A,data:u,authParams:a,downloadEndPoint:k,boxType:G(A,p[m].length)},u.id)},u.id))})]},m))})})]})},oe=o.div``,re=o.div`
|
|
31
31
|
margin-bottom: ${h.sp6};
|
|
32
32
|
`,M=o.div``,ne=o(_)`
|
|
33
33
|
margin-left: ${e=>w.titleMarginLeftRight.valuePx(e.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as oe,V as t,b as y,a5 as R,a as X,o,a9 as de,x as n,a8 as te,n as pe,O as ie,at as he,c2 as ae,C as ue,l as B,a7 as me,T as ge,c8 as fe,f as j,A as xe,fD as ke,cd as De,el as Y,cj as J,m as a,eT as be,bH as we,
|
|
1
|
+
import{e as oe,V as t,b as y,a5 as R,a as X,o,a9 as de,x as n,a8 as te,n as pe,O as ie,at as he,c2 as ae,C as ue,l as B,a7 as me,T as ge,c8 as fe,f as j,A as xe,fD as ke,cd as De,el as Y,cj as J,m as a,eT as be,bH as we,bv as $e,ex as ye,gk as je,H as G,gl as Le}from"./index-CilRLucN.js";import{a as b}from"./sentry-D-LCra2M.js";import{n as i}from"./mui-Ckdcx_YE.js";import{v as Pe}from"./SuccessAnimation-CSblamOQ-Bn7t6Lwt.js";import"./pdf-CwWlK-Dr.js";import"./zeni-epic-state-B1zsDZZ4.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="2331bbeb-68fb-4f21-b55e-aa028ae4ea8b",e._sentryDebugIdIdentifier="sentry-dbid-2331bbeb-68fb-4f21-b55e-aa028ae4ea8b")}catch{}})();const m="checkDepositDetails",Se="amount",ve="depositTo",Fe="source",se="fileIds",O="selectDocument",M=e=>{const l=[];return e.checkFront!=null&&l.push(e.checkFront.fileId),e.checkBack!=null&&l.push(e.checkBack.fileId),{[m]:{[Se]:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,[Fe]:e.checkDepositLocalData.source,[ve]:{allOptions:e.depositAccounts.depositAccounts.map(g=>({label:g.accountName,value:g.id})),selectedOption:e.checkDepositLocalData.depositTo?.id},[se]:l,[O]:{front:e.checkFront,back:e.checkBack}}}},$=(e,l)=>`${e}.${l}`,Ce=e=>`${e}_form`,p={largeLabelWidth:new n(160,160,160),rowContentPaddingLeft:new n(a[3],a[4]),checkPicRowContentPaddingXAxis:new n(a[3],a[4]),labeleMarginLeft:new n(a[0],a[0]),labeleMarginBottom:new n(a[2],a[0]),labelMarginRight:new n(a[3],a[3]),labeledFieldPaddingLeft:new n(a[3],a[0]),labeledFieldPaddingRight:new n(a[3],a[2]),labeledFieldPaddingTop:new n(a[3],a[3]),labeledFieldPaddingBottom:new n(a[3],a[2]),infoLabelPaddingRight:new n(a[0],a[3]),infoLabelMarginTop:new n(a[1],a[0])},{spendManagement:Te,common:q}=ie.getLocalizedStrings(),r=Te.zeniAccounts.zeniAccountList,Be=q.documents;function ze({checkDeposit:e,analytics:l,filesEndPoint:g,openPopup:L,authParams:P,onSaveChangesToLocalStore:z,updateFilesEntity:S,onDeleteFile:v,onEditFileName:F,onCheckDpositClick:A}){const c=oe(),d=e.fetchState,C=me(d),[T,H]=b.useState(!1),[le,I]=b.useState(!1),E=p.largeLabelWidth.value(c),k=ge({mode:"all",reValidateMode:"onBlur",defaultValues:M(e),values:M(e)}),{isValid:re}=k.formState,W=s=>{const f={amount:{amount:s[m].amount??0,currencyCode:q.currency.currencyCode,currencySymbol:q.currency.currencySymbol},source:s[m].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===s[m].depositTo.selectedOption),fileIds:s[m][se]};z(f)};b.useEffect(()=>{const s=k.watch((f,{name:h})=>{h!=null&&f!=null&&fe(()=>(async(D,x)=>{if(D!=null){if(D.includes("source")||D.includes("amount"))return;const w=Object.assign({},x);W(w)}})(h,f))});return()=>{s.unsubscribe()}}),b.useEffect(()=>{C==="Completed"&&d==="Not-Started"&&k.reset(M(e))},[C,d,k,e]),b.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const ne=k.handleSubmit(()=>{if(re){l.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const s=k.getValues();W(s),A?.()}});return t.jsxs(t.Fragment,{children:[le?t.jsx(Ve,{children:t.jsxs(Re,{children:[t.jsxs(Oe,{children:[t.jsx(_e,{}),t.jsxs(Ge,{children:[t.jsx(He,{children:e.error?.title}),t.jsx(We,{children:e.error?.message})]})]}),t.jsx(qe,{children:t.jsx(ao,{"data-testid":y("check-deposit-form-close"),onClick:()=>{l.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),I(!1)},style:{width:o.sp3,height:o.sp3,color:j.heroLight}})})]})}):null,t.jsx(Xe,{children:R("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(xe,{...k,children:t.jsx("form",{id:Ce("checkDepositDetailPage"),onSubmit:ne,children:t.jsxs(Je,{children:[t.jsx(ke,{showAdditionalInfoLabel:!1,label:{label:r.checkDepositDrawer.amountLabel,width:E},formattedTextField:{type:"number",name:$(m,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:r.checkDepositDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}}),t.jsx(V,{}),t.jsx(De,{label:{label:r.checkDepositDrawer.sourceLabel,width:E},style:{width:"100%"},text:{type:"text",name:$(m,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:r.checkDepositDrawer.sourcePlaceholder,options:{required:!0,validate:s=>s!=null}}}),t.jsx(V,{}),t.jsx(ce,{size:c,children:t.jsx(Qe,{size:c,children:t.jsx(Ye,{label:{label:r.checkDepositDrawer.depositToLabel,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(c),marginBottom:p.labeleMarginBottom.valuePx(c),marginRight:p.labelMarginRight.valuePx(c)}},style:{paddingTop:p.labeledFieldPaddingTop.valuePx(c),paddingBottom:p.labeledFieldPaddingBottom.valuePx(c),paddingLeft:p.labeledFieldPaddingLeft.valuePx(c),paddingRight:p.labeledFieldPaddingRight.valuePx(c),border:"none",width:"100%",outline:"none",padding:0,display:c==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:c==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(c),marginTop:p.infoLabelMarginTop.valuePx(c)},singleSelectPickerField:{valueToLogo:(s,f)=>((h,D)=>{if(!h)return null;const x=e.depositAccounts.depositAccounts.find(N=>N.id===h),w=e.depositAccounts.depositAccounts.findIndex(N=>N.id===h);return x?t.jsx(Me,{color:je(w),isSelectedValue:D}):null})(s,f),valueToSubLabels:(s,f)=>((h,D)=>{if(!h)return null;const x=e.depositAccounts.depositAccounts.find(w=>w.id===h);return x?D===!0?t.jsx(Ne,{children:x?.maskedAccountNumber}):t.jsxs(Ee,{children:[t.jsx(Z,{children:x?.maskedAccountNumber}),t.jsx(eo,{}),t.jsx(Z,{children:R("0,0[.]00",x?.accountBalance?.available)})]}):null})(s,f),name:$(m,"depositTo"),placeholder:r.checkDepositDrawer.depositToPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e.checkDepositLocalData.depositTo?.id,allOptions:e.depositAccounts.depositAccounts.map(s=>({label:s.accountName,value:s.id}))},textAlignment:"right",registerOptions:{required:!0,validate:s=>!(s==null||!s.selectedOption)}}})})}),t.jsx(V,{}),t.jsxs(Ze,{size:c,children:[t.jsxs(Ke,{size:c,children:[t.jsx(Ae,{children:r.checkDepositDrawer.checkPicLabel}),t.jsx(K,{isLast:!1,children:r.checkDepositDrawer.frontSide}),t.jsx(Y,{name:`${$(m,O)}.front`,registerOptions:{required:!0},file:e.checkFront,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:g,authParams:P,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:c==="small"?r.checkDepositDrawer.uploadDocument:r.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:T,updateFilesEntity:S,onDeleteFile:v,onFileSizeError:s=>H(s),onEditFileName:F,openPopup:L,showPhotoPicker:!0,errorInfoLabel:r.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(K,{isLast:!0,children:r.checkDepositDrawer.backSide}),t.jsx(Y,{name:`${$(m,O)}.back`,registerOptions:{required:!0},file:e.checkBack,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:g,authParams:P,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:c==="small"?r.checkDepositDrawer.uploadDocument:r.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:T,updateFilesEntity:S,onDeleteFile:v,onFileSizeError:s=>H(s),onEditFileName:F,openPopup:L,showPhotoPicker:!0,errorInfoLabel:r.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(oo,{children:r.checkDepositDrawer.picGuides.map(s=>t.jsxs(to,{children:[t.jsx(Ue,{}),t.jsx(Ie,{children:s})]},s))})]}),t.jsx(io,{windowSize:c,children:Be.formatJPGText10MB})]})]})})})]})}const Ae=i(B)`
|
|
2
2
|
color: ${e=>e.theme.colors.hero};
|
|
3
3
|
`,Ie=i(B)`
|
|
4
4
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a7 as Wn,e as W,S as Pn,B as Ui,cN as Fn,cO as Zi,O as N,m as C,cP as qt,
|
|
1
|
+
import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a7 as Wn,e as W,S as Pn,B as Ui,cN as Fn,cO as Zi,O as N,m as C,cP as qt,bE as Qt,cQ as Jt,x as E,cs as Xt,_ as en,E as st,bO as He,bg as Y,L as qi,aE as Qi,aG as Ji,y as de,ad as I,aj as wo,bj as yo,j as Te,cR as Xi,cS as se,bD as tn,bu as zn,C as er,H as Ce,cT as dt,cU as Ve,cV as mt,l as _,bH as ne,cW as bo,cX as tr,w as nn,cY as Je,cZ as Tn,c_ as nr,c$ as or,d0 as Vn,d1 as ir,d2 as rr,d3 as ar,at as ko,aq as lr,b_ as on,bZ as rn,d4 as cr,ar as jo,c1 as So,bm as sr,d5 as dr,d6 as hr,d7 as Dn,d8 as En,d9 as ur,da as pr,bo as gr,b6 as xr,db as fr}from"./index-CilRLucN.js";import{n as a,c as z}from"./mui-Ckdcx_YE.js";import{a as V,b as mr}from"./sentry-D-LCra2M.js";import{Fu as Ot,Ff as an,FM as ln,FN as Ke,FO as cn,FP as sn,FQ as dn,FR as hn,FS as Co,FT as wr,Fh as Me,cj as Gn,bt as vo,FU as $o,cs as yr,cp as br,Fv as _o}from"./zeni-epic-state-B1zsDZZ4.js";import{N as ct,D as kr,R as jr,B as ve,u as A}from"./AccountRow-Dczx5rSu-CwZA98Uy.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]="f9a91763-aa2e-4544-9696-e16078eee628",e._sentryDebugIdIdentifier="sentry-dbid-f9a91763-aa2e-4544-9696-e16078eee628")}catch{}})();const Nt=[O.graphColor34,O.graphColor08,O.graphColor11,O.graphColor13,O.graphColor19,O.graphColor20,O.graphColor14,O.graphColor35,O.graphColor32,O.graphColor02,O.graphColor06,O.graphColor04,O.graphColor10,O.graphColor12,O.graphColor15,O.graphColor18];function un(e,n=0){const o=(i=>{const r=String.prototype.concat(...new Set(i));let l=0;for(let c=0;c<r.length;++c)l+=r.charCodeAt(c);return l})(e)+n*n*n;return Nt[Math.floor(o/Nt.length)%Nt.length]}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 ye("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return Z("0,0",e?.balance)}function J(e){return Z("0,0",e?.forecast)}function Lo(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return ye("0.00%",e.totalPercentValue)}return Z("0,0",e?.totalBalance)}function Tt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return ye("0.00%",e.forecastPercentValue)}return Z("0,0",e?.totalForecast)}function pe(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const n=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return ye("0.00%",Math.floor(100*n)/100)}return ye("0.00%",void 0)}function ge(e){if(e!=null&&e.forecast!=null){const n=Math.floor(100*(e.balance.amount-e.forecast.amount)/100);return Z("0,0",Object.assign({},e.forecast,{amount:n}))}return Z("0,0",null)}function Ao(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 ye("0.00%",Math.floor(100*n)/100)}return ye("0.00%",void 0)}function Bo(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const n=Math.floor(100*(e.totalBalance.amount-e.totalForecast.amount)/100);return Z("0,0",Object.assign({},e.totalForecast,{amount:n}))}return Z("0,0",null)}const Ye=(e,n,o)=>{const{startDate:i,balanceType:r}=n,{dateFormat:{visual:l}}=N.getLocalizedStrings();switch(o){case"month":return r==="default"||r==="default_with_percent"?`${Ot(i,l.MMMYYYYFormat,e)}`:Mt(r,o);case"quarter":return r==="default"||r==="default_with_percent"?`${N.getLocalizedStrings().reports.quarterPrefix}${Ot(i,l.QYYYYformat,e)}`:Mt(r,o);case"year":return r==="default"||r==="default_with_percent"?`${Ot(i,l.YYYYformat,e)}`:Mt(r,o);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function Mt(e,n){return N.getLocalizedStrings().downloadReport.additionalColumns.labels[n][e]}const fg=(e,n,o)=>{const i=n.length==0?e:`${e}_${n.join("_")}`;return o!=null&&o.trim().length>0?`${i}_${o}`:`${i}_${Yi(10)}`},Sr=a.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as Ye,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,
|
|
1
|
+
import{e as Ye,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bo as gl,f9 as wl,s as Je,fw as Xe,o,fC as Tl,cd as A,cf as Se,ci as Sl,ew as zl,eu as Nl,ch as Il,cg as J,fD as el,fE as Al,f2 as Bl,cj as He,f1 as ll,ca as ql,f as B,c6 as il,al as _e,ck as Rl,fh as Ol,d as Ee,b6 as jl,f8 as vl,l as Qe,w as De,k as Wl,b3 as Ml,m as q,cM as Ul,z as Gl,fF as Hl,C as Ke,H as Zl,fG as Yl,b4 as Pe,ap as Jl,M as $l,cq as Xl,$ as Ql,b2 as Kl}from"./index-CilRLucN.js";import{a as h}from"./sentry-D-LCra2M.js";import{d as ei,n as r}from"./mui-Ckdcx_YE.js";import{bs as Ll,FH as li,FI as ol,bG as ii,FG as oi,FF as ti,FD as ai,FE as ri}from"./zeni-epic-state-B1zsDZZ4.js";import{x as ni,p as si,h as di,g as ci,m as pi,b as ui,f as mi}from"./helper-DkzA3y2L-CVdrHzZT.js";import{C as Ze}from"./LabeledAddressValueField-Cz6tRMoW-C7dop0k-.js";import{b as hi}from"./LabeledCountryMultiSelectField-1kTcZMQW-Cq5wOhkQ.js";import{D as tl}from"./LabeledCreatableSingleSelectField-PiLB1S77-CXLJARhZ.js";import{Y as al}from"./LabeledDocumentField-Cicw8ABs-CehJpiD9.js";import{Z as Fl}from"./LabeledNameField-BpfxLnfN-Dp4_3qSf.js";import{p as fi,i as yi,t as bi}from"./commonTypes-CfAg6Jvv-C_Qjl0Ts.js";import{r as Cl}from"./avatar-Dz7aEm3d-B-3VAvb3.js";(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new l.Error().stack;u&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[u]="17615493-fe69-4feb-be91-9e0eaa82fd56",l._sentryDebugIdIdentifier="sentry-dbid-17615493-fe69-4feb-be91-9e0eaa82fd56")}catch{}})();const{commonSetUp:xi}=se.getLocalizedStrings(),{businessVerification:rl}=xi,Oe={iconSize:new _(q[6],q[10]),gap:new _(q[2],q[3])},_l={title:new Ee("smallSemiBold","standardSemiBold"),description:new Ee("smallRegular","standardRegular")},Dl=()=>{const[l]=Gl("Secure"),u=Ye();return e.jsxs(gi,{windowSize:u,children:[l!=null?e.jsx(wi,{windowSize:u,animationData:l,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):e.jsx(Si,{windowSize:u}),e.jsxs(Ii,{children:[e.jsx(Oi,{windowSize:u,children:rl.securityMessageTitle}),e.jsx(ji,{windowSize:u,children:rl.securityMessageDescription})]})]})},gi=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: ${l=>l.windowSize==="small"?"flex-start":"center"};
|
|
4
4
|
gap: ${l=>Oe.gap.valuePx(l.windowSize)};
|
|
@@ -36,7 +36,7 @@ import{e as Ye,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bn as gl,f9 as wl
|
|
|
36
36
|
align-items: flex-end;
|
|
37
37
|
margin-left: ${o.sp2};
|
|
38
38
|
margin-top: ${o.sp1};
|
|
39
|
-
`,U={width:new _(343,580,726),labelWidth:new _(115,145,155),mediumLabelWidth:new _(140,160,170),largeLabelWidth:new _(150,210,244),extraLargeLabelWidth:new _(160,240,292),largeLabelDocumentWidth:new _(150,210,252),paddingBottom:new _(q[3],q[2]),containerRowGap:new _(12,q[3])},Li={title:new Ee("standardMedium","largeMedium")},Fi=se.getLocalizedStrings(),{dateFormat:{visual:Ci},commonSetUp:_i,companyPassport:nl,common:{documents:sl,optional:Di,yes:dl,no:cl}}=Fi,t=_i.businessVerification,Ei=h.forwardRef(({allIndustries:l,fileProps:u,productType:j,companyDetails:f,allNationalityCountries:R,connectedAccountProvider:L,businessVerificationProps:G,isDisabled:i,style:te,sectionId:a,showInfoTooltip:de=!0,isCompleted:ce=!1,showCompletedIcon:ae=!1,hideNewOnboardingFields:re=!1,showTreasuryFields:g=!1,sectionHeader:Q,optionalFields:c=[],onCompanyAddressClick:pe,onRegisteredAddressClick:D},X)=>{const b=Ye(),w=ei(),{watch:k,setValue:ue,formState:{errors:y}}=xl(),m=k(p(a,"companySourceOfFunds")),S=k(p(a,"transactionVolume")),H=k(p(a,"purposeOfAccount")),me=k(p(a,"regulatedStatus")),ke=k(p(a,"usNexus")),K=k(p(a,"companyIndustryType")),V=U.labelWidth.value(b),E=U.mediumLabelWidth.value(b),v=U.largeLabelWidth.value(b),ee=U.extraLargeLabelWidth.value(b),he=U.largeLabelDocumentWidth.value(b),x=t.productType[j],je=f?.companyFiles.find(n=>n.documentType==="certificate_of_incorporation"),ve=f?.companyFiles.find(n=>n.documentType==="tax_ein"),le=f?.companyDescription,Z=f?.companyLegalName,$=f?.website,Y=f?.typeOfIncorporation,W=f?.stateOfIncorporation,N=f?.countriesOfOperations,Ve=f?.incDate,Te=f?.companyIndustry,fe=f?.companyIndustryType,ze=f?.companySubIndustry,ye=f?.companySourceOfFunds,$e=f?.transactionVolume,s=f?.purposeOfAccount,Pe=f?.regulatedStatus,Ae=f?.usNexus,T=f?.phone,ie=f?.taxIdOrEIN,be=f?.primaryContactLocalData,oe=f?.deleteFileStatusById??{},Le=f?.updateFileStatusById??{},Be=f?.addressStatus?.addressToCreate,F=f?.registeredAddressStatus?.addressToCreate,[xe,qe]=h.useState(!1),[ge,Re]=h.useState(!1),z=n=>!(i!=null&&!n||re),Fe=z(fe),We=(i==null||Array.isArray(N)&&N.length>0)&&!re,Me=z(W),d=z(ye),C=z($e),ne=z(s),we=z(Pe),O=z(Ae),kl=t.sourceOfFundOptions,Ue=K?.selectedOption??fe;return e.jsxs(Ni,{style:te,ref:X,windowSize:b,children:[e.jsx(ki,{children:e.jsxs(Ri,{children:[e.jsxs(Ti,{children:[ae===!0?e.jsx(zi,{children:ce?e.jsx(Pi,{}):e.jsx(Ai,{})}):null,e.jsx(Vi,{windowSize:b,children:Q??t.confirmCompanyDetails})]}),de?e.jsx(Bi,{children:e.jsx(gl,{variant:"small-description",display:"flex",maxWidth:"280px",data:t.confirmCompanyDetailsTooltip,placement:b==="small"||j==="onboarding"?"bottom":"right",children:e.jsx(qi,{})})}):null,j==="onboarding"&&Q!=null?e.jsx(El,{text:Di}):null,G?.companyVerificationStatus!=null?e.jsx(Mi,{tagTitle:G.companyVerificationStatus.name,textColor:wl(G.companyVerificationStatus.code),showLoader:G?.isRefreshingViewInBackground}):null]})}),e.jsxs(Wi,{children:[e.jsx(Dl,{}),e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:t.companyLegalNameLabel,width:v},text:{type:"text",name:p(a,"companyLegalName"),placeholder:t.companyLegalNamePlaceholder,defaultValue:Z,options:{required:i==null&&c.includes("companyLegalName")===!1}},additionalInfoLabel:t.companyLegalNameError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:t.companyDescriptionLabel,width:E},text:{type:"text",name:p(a,"companyDescription"),placeholder:t.addProductPlaceholder,defaultValue:le,options:{required:i==null&&c.includes("companyDescription")===!1}},additionalInfoLabel:t.companyDescriptionError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(Ze,{isDisabled:i,label:{label:t.registeredAddressLabel,width:E},addressValueField:{name:p(a,"registeredAddress"),placeholder:t.registeredAddressPlaceholder,defaultValue:F,registerOptions:{validate:n=>c.includes("registeredAddress")!==!1||!(i==null&&n==null)},onClick:()=>{D?.("company_registered_address")}},additionalInfoLabel:t.registeredAddressError.replace("_product_type_",x),showAdditionalInfoLabel:!1}),e.jsx(I,{}),e.jsx(Ze,{isDisabled:i,label:{label:t.companyAddressLabel,width:E},addressValueField:{name:p(a,"companyAddress"),placeholder:t.companyAddressPlaceholder,defaultValue:Be,registerOptions:{validate:n=>c.includes("companyAddress")!==!1||!(i==null&&n==null)},onClick:()=>{pe?.("company_address")}},additionalInfoLabel:t.companyAddressError.replace("_product_type_",x),showAdditionalInfoLabel:!1}),e.jsx(I,{}),e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:t.companyWebsiteLabel,width:V},text:{type:"url",name:p(a,"companyWebsite"),placeholder:t.companyWebsitePlaceholder,defaultValue:$?.toString()??"",options:{required:i==null&&c.includes("companyWebsite")===!1}},additionalInfoLabel:t.companyWebsiteError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(Gi,{windowSize:b,"data-suppress-hover":i!=null||void 0,children:Fe?e.jsxs(e.Fragment,{children:[e.jsx(J,{label:{label:t.companyIndustryLabel,width:V},singleSelectField:{singleSelect:{name:p(a,"companyIndustryType"),placeholder:t.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ni,isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:fe,allOptions:[...li]},registerOptions:{required:i==null&&c.includes("companyIndustryType")===!1,validate:n=>c.includes("companyIndustryType")!==!1||!(i==null&&!n?.selectedOption)},onSelectChange:n=>{ue(p(a,"companySubIndustry"),{selectedOption:null,allOptions:ol(n)})}},isFunctional:!0,errorInfoLabel:t.companyIndustryError.replace("_product_type_",x),style:{padding:0,margin:0,outline:"none",paddingRight:o.sp2}}),Ue!=null&&e.jsx(J,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:p(a,"companySubIndustry"),placeholder:t.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:n=>mi(n,Ue),isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:ze,allOptions:ol(Ue)},registerOptions:{required:i==null&&c.includes("companySubIndustry")===!1,validate:n=>c.includes("companySubIndustry")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,keepFocusedStyle:!0,errorInfoLabel:t.companySubIndustryError.replace("_product_type_",x),additionalInfoLabel:i==null?t.companyIndustryAdditionalInfo:void 0,style:{outline:"none",paddingBottom:o.sp0,paddingRight:o.sp0,width:"100%"}})]}):e.jsx(J,{label:{label:t.companyIndustryLabel,width:V},singleSelectField:{singleSelect:{name:p(a,"companyIndustry"),placeholder:t.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:n=>l.find(Ce=>Ce.code===n)?.name??n,isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:Te,allOptions:l?.map(n=>n.code)??[]},registerOptions:{required:i==null&&c.includes("companyIndustry")===!1,validate:n=>c.includes("companyIndustry")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,errorInfoLabel:t.companyIndustryError.replace("_product_type_",x),additionalInfoLabel:i==null?t.companyIndustryAdditionalInfo:void 0,style:{padding:0,margin:0,outline:"none",paddingRight:o.sp2}})}),e.jsx(I,{}),e.jsx(tl,{label:{label:t.companyTypeOfIncorporationLabel,width:v},isDisabled:i,creatableSingleSelectField:{name:p(a,"typeOfIncorporation"),placeholder:t.companyTypeOfIncorporationPlaceholder,defaultValue:{selectedOption:Y,allOptions:nl.companyIncInfo.allTypesOfIncorporation},registerOptions:{required:i==null&&c.includes("typeOfIncorporation")===!1,validate:n=>c.includes("typeOfIncorporation")!==!1||!(i==null&&!n?.selectedOption)}},errorInfoLabel:t.companyTypeOfIncorporationError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(Sl,{isDisabled:i,label:{label:t.companyIncDateLabel,width:v},style:{paddingBottom:U.paddingBottom.valuePx(b)},dateField:{name:p(a,"incDate"),placeholder:t.companyIncDatePlaceholder,defaultValue:Ve,dateFormat:Ci.defaultInput,maxDate:Ll(),minDate:ii("01 Jan 1900"),autoComplete:"off",registerOptions:{required:i==null&&c.includes("incDate")===!1}},additionalInfoLabel:t.companyIncDateError.replace("_product_type_",x)}),e.jsx(I,{}),Me?e.jsxs(e.Fragment,{children:[e.jsx(tl,{label:{label:t.companyStateOfIncorporationLabel,width:v},isDisabled:i,creatableSingleSelectField:{name:p(a,"stateOfIncorporation"),placeholder:t.companyStateOfIncorporationPlaceholder,defaultValue:{selectedOption:W,allOptions:nl.companyIncInfo.allStatesOfIncorporation},registerOptions:{required:i==null&&c.includes("stateOfIncorporation")===!1,validate:n=>c.includes("stateOfIncorporation")!==!1||!(i==null&&!n?.selectedOption)}},errorInfoLabel:t.companyStateOfIncorporationError.replace("_product_type_",x)}),e.jsx(I,{})]}):null,We?e.jsxs(e.Fragment,{children:[e.jsx(hi,{label:{label:t.countriesOfOperationsLabel,width:v},isDisabled:i,additionalInfoLabel:i==null?t.countriesOfOperationsAdditionalInfo:void 0,errorInfoLabel:t.countriesOfOperationsError.replace("_product_type_",x),multiSelectField:{name:p(a,"countriesOfOperations"),placeholder:t.countriesOfOperationsPlaceholder,defaultValue:ql(N,(R??[]).map(n=>n.countryCode)),registerOptions:{validate:n=>!!c.includes("countriesOfOperations")||!(i==null&&n.selectedOptions.length===0)}}}),e.jsx(I,{})]}):null,d?e.jsxs(e.Fragment,{children:[e.jsx(J,{label:{label:t.companySourceOfFundsLabel,width:v},singleSelectField:{singleSelect:{name:p(a,"companySourceOfFunds"),placeholder:t.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:si,isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:ye,allOptions:[...oi]},registerOptions:{required:i==null&&c.includes("companySourceOfFunds")===!1,validate:n=>c.includes("companySourceOfFunds")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,errorInfoLabel:t.companySourceOfFundsError.replace("_product_type_",x),additionalContent:fi.includes(m?.selectedOption)?e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:p(a,"companySourceOfFundsDescription"),placeholder:t.descriptionPlaceholder,style:{backgroundColor:y[a]!=null&&y[a]?.companySourceOfFundsDescription!=null?B.importantLight:w.colors.background},options:{required:i==null}},additionalInfoLabel:t.companySourceOfFundsDescriptionError,style:{position:"relative",top:0,left:-v,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:i!=null||y[a]!=null&&y[a]?.companySourceOfFundsDescription!=null?void 0:t.companySourceOfFundsAdditionalInfo,additionalInfoStyle:{color:w.colors.hero}}),e.jsx(I,{})]}):null,C?e.jsxs(e.Fragment,{children:[e.jsx(J,{label:{label:t.transactionVolumeLabel,width:ee},singleSelectField:{singleSelect:{name:p(a,"transactionVolume"),placeholder:t.transactionVolumePlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:di,isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:$e,allOptions:[...ti]},registerOptions:{required:i==null&&c.includes("transactionVolume")===!1,validate:n=>c.includes("transactionVolume")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,errorInfoLabel:t.transactionVolumeError.replace("_product_type_",x),additionalContent:yi.includes(S?.selectedOption)?e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:p(a,"transactionVolumeDescription"),placeholder:t.descriptionPlaceholder,style:{backgroundColor:y[a]!=null&&y[a]?.transactionVolumeDescription!=null?B.importantLight:w.colors.background},options:{required:i==null}},additionalInfoLabel:t.transactionVolumeDescriptionError,style:{position:"relative",top:0,left:-ee,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:i!=null||y[a]!=null&&y[a]?.transactionVolumeDescription!=null?void 0:t.transactionVolumeAdditionalInfo,additionalInfoStyle:{color:w.colors.hero}}),e.jsx(I,{})]}):null,ne?e.jsxs(e.Fragment,{children:[e.jsx(J,{label:{label:t.purposeOfAccountLabel,width:v},singleSelectField:{singleSelect:{name:p(a,"purposeOfAccount"),placeholder:t.purposeOfAccountPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ci,isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s,allOptions:[...ai]},registerOptions:{required:i==null&&c.includes("purposeOfAccount")===!1,validate:n=>c.includes("purposeOfAccount")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,errorInfoLabel:t.purposeOfAccountError.replace("_product_type_",x),additionalContent:bi.includes(H?.selectedOption)?e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:p(a,"purposeOfAccountDescription"),placeholder:t.descriptionPlaceholder,style:{backgroundColor:y[a]!=null&&y[a]?.purposeOfAccountDescription!=null?B.importantLight:w.colors.background},options:{required:i==null}},additionalInfoLabel:t.purposeOfAccountDescriptionError,style:{position:"relative",top:0,left:-v,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:i!=null||y[a]!=null&&y[a]?.purposeOfAccountDescription!=null?void 0:t.purposeOfAccountAdditionalInfo,additionalInfoStyle:{color:w.colors.hero}}),e.jsx(I,{})]}):null,we?e.jsxs(e.Fragment,{children:[e.jsxs(ul,{windowSize:b,"data-suppress-hover":i!=null||void 0,children:[e.jsxs(ml,{children:[e.jsx(il,{label:t.regulatedStatusLabel,htmlFor:p(a,"regulatedStatus"),isDisabled:i,style:{width:v,color:i==="disabled"?w.colors.grey1:w.colors.hero}}),e.jsxs(hl,{labelWidth:v,windowSize:b,children:[e.jsx(_e,{label:{label:dl},style:{paddingRight:`${o.sp4}`,width:"auto"},radioField:{name:p(a,"regulatedStatus"),id:`${p(a,"regulatedStatus")}.yes`,value:"yes",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small",registerOptions:{required:i==null&&c.includes("regulatedStatus")===!1}},isDisabled:i,isContainerClickable:!0}),e.jsx(_e,{label:{label:cl},style:{width:"auto"},radioField:{name:p(a,"regulatedStatus"),id:`${p(a,"regulatedStatus")}.no`,value:"no",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small",registerOptions:{required:i==null&&c.includes("regulatedStatus")===!1}},isDisabled:i,isContainerClickable:!0})]})]}),me==="yes"&&e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},text:{type:"text",name:p(a,"regulatedStatusDescription"),placeholder:t.regulatedStatusDescriptionPlaceholder,style:{backgroundColor:y[a]!=null&&y[a]?.regulatedStatusDescription!=null?B.importantLight:w.colors.background},options:{required:i==null,shouldUnregister:!0}},additionalInfoLabel:t.regulatedStatusDescriptionError,style:{outline:"none",width:"100%",padding:0}}),y[a]!=null&&y[a]?.regulatedStatus!=null?e.jsx(Ge,{windowSize:b,children:t.regulatedStatusError.replace("_product_type_",x)}):y[a]!=null&&y[a]?.regulatedStatusDescription!=null?null:i==null?e.jsx(fl,{windowSize:b,children:t.regulatedStatusAdditionalInfo}):null]}),e.jsx(I,{})]}):null,O?e.jsxs(e.Fragment,{children:[e.jsxs(ul,{windowSize:b,"data-suppress-hover":i!=null||void 0,children:[e.jsxs(ml,{children:[e.jsx(il,{label:t.usNexusLabel,htmlFor:p(a,"usNexus"),isDisabled:i,style:{width:v,color:i==="disabled"?w.colors.grey1:w.colors.hero}}),e.jsxs(hl,{labelWidth:v,windowSize:b,children:[e.jsx(_e,{label:{label:dl},style:{paddingRight:`${o.sp4}`,width:"auto"},radioField:{name:p(a,"usNexus"),id:`${p(a,"usNexus")}.yes`,value:"yes",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small",registerOptions:{required:i==null&&c.includes("usNexus")===!1}},isDisabled:i,isContainerClickable:!0}),e.jsx(_e,{label:{label:cl},style:{width:"auto"},radioField:{name:p(a,"usNexus"),id:`${p(a,"usNexus")}.no`,value:"no",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small",registerOptions:{required:i==null&&c.includes("usNexus")===!1}},isDisabled:i,isContainerClickable:!0})]})]}),ke==="yes"&&e.jsxs(e.Fragment,{children:[e.jsx(Ui,{hasError:y[a]!=null&&y[a]?.usNexusTypes!=null,children:e.jsx(pi,{isDisabled:i,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},multiSelectField:{name:p(a,"usNexusTypes"),placeholder:t.usNexusPlaceholder,getOptionLabel:ui,defaultValue:{selectedOptions:f?.usNexusTypes??[],allOptions:[...ri]},registerOptions:{required:i==null,shouldUnregister:!0,validate:n=>{const Ce=n?.selectedOptions;return Ce!=null&&Ce.length>0}}},style:{outline:"none",margin:0,padding:0,width:"100%"}})}),y[a]!=null&&y[a]?.usNexusTypes!=null&&e.jsx(Ge,{windowSize:b,children:t.usNexusTypesError})]}),y[a]!=null&&y[a]?.usNexus!=null?e.jsx(Ge,{windowSize:b,children:t.usNexusError.replace("_product_type_",x)}):y[a]!=null&&y[a]?.usNexusTypes!=null?null:i==null?e.jsx(fl,{windowSize:b,children:t.usNexusAdditionalInfo}):null]}),e.jsx(I,{})]}):null,e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:t.companyTaxIdLabel,width:V},text:{type:"text",name:p(a,"companyTaxId"),placeholder:t.companyTaxIdPlaceholder,defaultValue:ie,options:{required:i==null&&c.includes("companyTaxId")===!1,pattern:Rl},autoComplete:"new-password"},additionalInfoLabel:t.companyTaxIdError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(Il,{isDisabled:i,label:{label:t.companyPhoneLabel,width:V},text:{name:p(a,"companyPhone"),placeholder:Se(t.companyPhoneLabel),defaultValue:T,autoComplete:"new-password",options:{required:i==null&&c.includes("companyPhone")===!1}},errorInfoLabel:t.companyPhoneError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(Fl,{isDisabled:i,label:{label:t.companyPrimaryContactNameLabel,width:v},nameField:{name:p(a,"primaryContactName"),placeHolder:{firstName:t.firstNamePlaceholder,lastName:t.lastNamePlaceholder,name:t.namePlaceholder},defaultValue:{firstName:be?.firstName??"",lastName:be?.lastName??""},registerOptions:{required:i==null&&c.includes("primaryContactName")===!1,validate:n=>!!n||i!=null||c.includes("primaryContactName")},showFullNameError:!0},errorInfoLabel:t.companyPrimaryContactNameError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:t.companyPrimaryContactEmailLabel,width:v},text:{type:"email",name:p(a,"primaryContactEmail"),placeholder:t.companyPrimaryContactEmailPlaceholder,defaultValue:be?.email,options:{required:i==null&&c.includes("primaryContactEmail")===!1}},additionalInfoLabel:t.companyPrimaryContactEmailError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(al,{name:p(a,"certificateOfIncorporation"),isDisabled:i,sizeLimit:He,deleteFileStatusById:oe,updateFileStatusById:Le,filesEndPoint:u.filesEndPoint,authParams:u.authParams,label:{label:t.certificateOfIncorporation,width:he},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:je,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:i==null&&c.includes("certificateOfIncorporation")===!1&&L==="unit"},additionalInfoLabel:t.certOfIncopDocumentError.replace("_product_type_",x),hasError:xe,updateFilesEntity:u.updateFilesEntity,onEditFileName:u.onEditFileName,onDeleteFile:u.onDeleteFile,onFileSizeError:n=>qe(n)}),xe||i==null&&je==null?e.jsx(pl,{windowSize:b,isError:xe,children:sl.formatDocumentText10MB}):null,e.jsx(I,{}),e.jsx(al,{name:p(a,"ein"),isDisabled:i,sizeLimit:He,deleteFileStatusById:oe,updateFileStatusById:Le,filesEndPoint:u.filesEndPoint,authParams:u.authParams,label:{label:t.einDocument,width:he},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:ve,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:i==null&&c.includes("ein")===!1},additionalInfoLabel:t.einDocumentError.replace("_product_type_",x),hasError:ge,updateFilesEntity:u.updateFilesEntity,onEditFileName:u.onEditFileName,onDeleteFile:u.onDeleteFile,onFileSizeError:n=>Re(n)}),ge||i==null&&ve==null?e.jsx(pl,{windowSize:b,isError:ge,children:sl.formatDocumentText10MB}):null,e.jsx(I,{}),g===!0?e.jsxs(e.Fragment,{children:[e.jsx(J,{label:{label:t.sourceOfFundsLabel,width:V},singleSelectField:{singleSelect:{name:p(a,"sourceOfFunds"),placeholder:t.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:n=>kl[n]??n,isDisabled:i,showTickMark:!1,menuPlacement:"top",sortOptions:!1},defaultValue:{selectedOption:f?.sourceOfFunds,allOptions:Object.keys(t.sourceOfFundOptions)},registerOptions:{required:i==null&&c.includes("sourceOfFunds")===!1,validate:n=>c.includes("sourceOfFunds")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,errorInfoLabel:t.sourceOfFundsError.replace("_product_type_",x)}),e.jsx(I,{})]}):null]})]})});Ei.displayName="Company Details Section";const p=(l,u)=>`${l}.${u}`,Ni=r.div`
|
|
39
|
+
`,U={width:new _(343,580,726),labelWidth:new _(115,145,155),mediumLabelWidth:new _(140,160,170),largeLabelWidth:new _(150,210,244),extraLargeLabelWidth:new _(160,240,292),largeLabelDocumentWidth:new _(150,210,252),paddingBottom:new _(q[3],q[2]),containerRowGap:new _(12,q[3])},Li={title:new Ee("standardMedium","largeMedium")},Fi=se.getLocalizedStrings(),{dateFormat:{visual:Ci},commonSetUp:_i,companyPassport:nl,common:{documents:sl,optional:Di,yes:dl,no:cl}}=Fi,t=_i.businessVerification,Ei=h.forwardRef(({allIndustries:l,fileProps:u,productType:j,companyDetails:f,allNationalityCountries:R,connectedAccountProvider:L,businessVerificationProps:G,isDisabled:i,style:te,sectionId:a,showInfoTooltip:de=!0,isCompleted:ce=!1,showCompletedIcon:ae=!1,hideNewOnboardingFields:re=!1,showTreasuryFields:g=!1,sectionHeader:X,optionalFields:c=[],onCompanyAddressClick:pe,onRegisteredAddressClick:D},Q)=>{const b=Ye(),w=ei(),{watch:k,setValue:ue,formState:{errors:y}}=xl(),m=k(p(a,"companySourceOfFunds")),S=k(p(a,"transactionVolume")),H=k(p(a,"purposeOfAccount")),me=k(p(a,"regulatedStatus")),ke=k(p(a,"usNexus")),K=k(p(a,"companyIndustryType")),V=U.labelWidth.value(b),E=U.mediumLabelWidth.value(b),v=U.largeLabelWidth.value(b),ee=U.extraLargeLabelWidth.value(b),he=U.largeLabelDocumentWidth.value(b),x=t.productType[j],je=f?.companyFiles.find(n=>n.documentType==="certificate_of_incorporation"),ve=f?.companyFiles.find(n=>n.documentType==="tax_ein"),le=f?.companyDescription,Z=f?.companyLegalName,$=f?.website,Y=f?.typeOfIncorporation,W=f?.stateOfIncorporation,P=f?.countriesOfOperations,Ve=f?.incDate,Te=f?.companyIndustry,fe=f?.companyIndustryType,ze=f?.companySubIndustry,ye=f?.companySourceOfFunds,$e=f?.transactionVolume,s=f?.purposeOfAccount,Ne=f?.regulatedStatus,Ae=f?.usNexus,T=f?.phone,ie=f?.taxIdOrEIN,be=f?.primaryContactLocalData,oe=f?.deleteFileStatusById??{},Le=f?.updateFileStatusById??{},Be=f?.addressStatus?.addressToCreate,F=f?.registeredAddressStatus?.addressToCreate,[xe,qe]=h.useState(!1),[ge,Re]=h.useState(!1),z=n=>!(i!=null&&!n||re),Fe=z(fe),We=(i==null||Array.isArray(P)&&P.length>0)&&!re,Me=z(W),d=z(ye),C=z($e),ne=z(s),we=z(Ne),O=z(Ae),kl=t.sourceOfFundOptions,Ue=K?.selectedOption??fe;return e.jsxs(Pi,{style:te,ref:Q,windowSize:b,children:[e.jsx(ki,{children:e.jsxs(Ri,{children:[e.jsxs(Ti,{children:[ae===!0?e.jsx(zi,{children:ce?e.jsx(Ni,{}):e.jsx(Ai,{})}):null,e.jsx(Vi,{windowSize:b,children:X??t.confirmCompanyDetails})]}),de?e.jsx(Bi,{children:e.jsx(gl,{variant:"small-description",display:"flex",maxWidth:"280px",data:t.confirmCompanyDetailsTooltip,placement:b==="small"||j==="onboarding"?"bottom":"right",children:e.jsx(qi,{})})}):null,j==="onboarding"&&X!=null?e.jsx(El,{text:Di}):null,G?.companyVerificationStatus!=null?e.jsx(Mi,{tagTitle:G.companyVerificationStatus.name,textColor:wl(G.companyVerificationStatus.code),showLoader:G?.isRefreshingViewInBackground}):null]})}),e.jsxs(Wi,{children:[e.jsx(Dl,{}),e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:t.companyLegalNameLabel,width:v},text:{type:"text",name:p(a,"companyLegalName"),placeholder:t.companyLegalNamePlaceholder,defaultValue:Z,options:{required:i==null&&c.includes("companyLegalName")===!1}},additionalInfoLabel:t.companyLegalNameError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:t.companyDescriptionLabel,width:E},text:{type:"text",name:p(a,"companyDescription"),placeholder:t.addProductPlaceholder,defaultValue:le,options:{required:i==null&&c.includes("companyDescription")===!1}},additionalInfoLabel:t.companyDescriptionError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(Ze,{isDisabled:i,label:{label:t.registeredAddressLabel,width:E},addressValueField:{name:p(a,"registeredAddress"),placeholder:t.registeredAddressPlaceholder,defaultValue:F,registerOptions:{validate:n=>c.includes("registeredAddress")!==!1||!(i==null&&n==null)},onClick:()=>{D?.("company_registered_address")}},additionalInfoLabel:t.registeredAddressError.replace("_product_type_",x),showAdditionalInfoLabel:!1}),e.jsx(I,{}),e.jsx(Ze,{isDisabled:i,label:{label:t.companyAddressLabel,width:E},addressValueField:{name:p(a,"companyAddress"),placeholder:t.companyAddressPlaceholder,defaultValue:Be,registerOptions:{validate:n=>c.includes("companyAddress")!==!1||!(i==null&&n==null)},onClick:()=>{pe?.("company_address")}},additionalInfoLabel:t.companyAddressError.replace("_product_type_",x),showAdditionalInfoLabel:!1}),e.jsx(I,{}),e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:t.companyWebsiteLabel,width:V},text:{type:"url",name:p(a,"companyWebsite"),placeholder:t.companyWebsitePlaceholder,defaultValue:$?.toString()??"",options:{required:i==null&&c.includes("companyWebsite")===!1}},additionalInfoLabel:t.companyWebsiteError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(Gi,{windowSize:b,"data-suppress-hover":i!=null||void 0,children:Fe?e.jsxs(e.Fragment,{children:[e.jsx(J,{label:{label:t.companyIndustryLabel,width:V},singleSelectField:{singleSelect:{name:p(a,"companyIndustryType"),placeholder:t.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ni,isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:fe,allOptions:[...li]},registerOptions:{required:i==null&&c.includes("companyIndustryType")===!1,validate:n=>c.includes("companyIndustryType")!==!1||!(i==null&&!n?.selectedOption)},onSelectChange:n=>{ue(p(a,"companySubIndustry"),{selectedOption:null,allOptions:ol(n)})}},isFunctional:!0,errorInfoLabel:t.companyIndustryError.replace("_product_type_",x),style:{padding:0,margin:0,outline:"none",paddingRight:o.sp2}}),Ue!=null&&e.jsx(J,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:p(a,"companySubIndustry"),placeholder:t.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:n=>mi(n,Ue),isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:ze,allOptions:ol(Ue)},registerOptions:{required:i==null&&c.includes("companySubIndustry")===!1,validate:n=>c.includes("companySubIndustry")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,keepFocusedStyle:!0,errorInfoLabel:t.companySubIndustryError.replace("_product_type_",x),additionalInfoLabel:i==null?t.companyIndustryAdditionalInfo:void 0,style:{outline:"none",paddingBottom:o.sp0,paddingRight:o.sp0,width:"100%"}})]}):e.jsx(J,{label:{label:t.companyIndustryLabel,width:V},singleSelectField:{singleSelect:{name:p(a,"companyIndustry"),placeholder:t.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:n=>l.find(Ce=>Ce.code===n)?.name??n,isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:Te,allOptions:l?.map(n=>n.code)??[]},registerOptions:{required:i==null&&c.includes("companyIndustry")===!1,validate:n=>c.includes("companyIndustry")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,errorInfoLabel:t.companyIndustryError.replace("_product_type_",x),additionalInfoLabel:i==null?t.companyIndustryAdditionalInfo:void 0,style:{padding:0,margin:0,outline:"none",paddingRight:o.sp2}})}),e.jsx(I,{}),e.jsx(tl,{label:{label:t.companyTypeOfIncorporationLabel,width:v},isDisabled:i,creatableSingleSelectField:{name:p(a,"typeOfIncorporation"),placeholder:t.companyTypeOfIncorporationPlaceholder,defaultValue:{selectedOption:Y,allOptions:nl.companyIncInfo.allTypesOfIncorporation},registerOptions:{required:i==null&&c.includes("typeOfIncorporation")===!1,validate:n=>c.includes("typeOfIncorporation")!==!1||!(i==null&&!n?.selectedOption)}},errorInfoLabel:t.companyTypeOfIncorporationError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(Sl,{isDisabled:i,label:{label:t.companyIncDateLabel,width:v},style:{paddingBottom:U.paddingBottom.valuePx(b)},dateField:{name:p(a,"incDate"),placeholder:t.companyIncDatePlaceholder,defaultValue:Ve,dateFormat:Ci.defaultInput,maxDate:Ll(),minDate:ii("01 Jan 1900"),autoComplete:"off",registerOptions:{required:i==null&&c.includes("incDate")===!1}},additionalInfoLabel:t.companyIncDateError.replace("_product_type_",x)}),e.jsx(I,{}),Me?e.jsxs(e.Fragment,{children:[e.jsx(tl,{label:{label:t.companyStateOfIncorporationLabel,width:v},isDisabled:i,creatableSingleSelectField:{name:p(a,"stateOfIncorporation"),placeholder:t.companyStateOfIncorporationPlaceholder,defaultValue:{selectedOption:W,allOptions:nl.companyIncInfo.allStatesOfIncorporation},registerOptions:{required:i==null&&c.includes("stateOfIncorporation")===!1,validate:n=>c.includes("stateOfIncorporation")!==!1||!(i==null&&!n?.selectedOption)}},errorInfoLabel:t.companyStateOfIncorporationError.replace("_product_type_",x)}),e.jsx(I,{})]}):null,We?e.jsxs(e.Fragment,{children:[e.jsx(hi,{label:{label:t.countriesOfOperationsLabel,width:v},isDisabled:i,additionalInfoLabel:i==null?t.countriesOfOperationsAdditionalInfo:void 0,errorInfoLabel:t.countriesOfOperationsError.replace("_product_type_",x),multiSelectField:{name:p(a,"countriesOfOperations"),placeholder:t.countriesOfOperationsPlaceholder,defaultValue:ql(P,(R??[]).map(n=>n.countryCode)),registerOptions:{validate:n=>!!c.includes("countriesOfOperations")||!(i==null&&n.selectedOptions.length===0)}}}),e.jsx(I,{})]}):null,d?e.jsxs(e.Fragment,{children:[e.jsx(J,{label:{label:t.companySourceOfFundsLabel,width:v},singleSelectField:{singleSelect:{name:p(a,"companySourceOfFunds"),placeholder:t.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:si,isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:ye,allOptions:[...oi]},registerOptions:{required:i==null&&c.includes("companySourceOfFunds")===!1,validate:n=>c.includes("companySourceOfFunds")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,errorInfoLabel:t.companySourceOfFundsError.replace("_product_type_",x),additionalContent:fi.includes(m?.selectedOption)?e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:p(a,"companySourceOfFundsDescription"),placeholder:t.descriptionPlaceholder,style:{backgroundColor:y[a]!=null&&y[a]?.companySourceOfFundsDescription!=null?B.importantLight:w.colors.background},options:{required:i==null}},additionalInfoLabel:t.companySourceOfFundsDescriptionError,style:{position:"relative",top:0,left:-v,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:i!=null||y[a]!=null&&y[a]?.companySourceOfFundsDescription!=null?void 0:t.companySourceOfFundsAdditionalInfo,additionalInfoStyle:{color:w.colors.hero}}),e.jsx(I,{})]}):null,C?e.jsxs(e.Fragment,{children:[e.jsx(J,{label:{label:t.transactionVolumeLabel,width:ee},singleSelectField:{singleSelect:{name:p(a,"transactionVolume"),placeholder:t.transactionVolumePlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:di,isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:$e,allOptions:[...ti]},registerOptions:{required:i==null&&c.includes("transactionVolume")===!1,validate:n=>c.includes("transactionVolume")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,errorInfoLabel:t.transactionVolumeError.replace("_product_type_",x),additionalContent:yi.includes(S?.selectedOption)?e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:p(a,"transactionVolumeDescription"),placeholder:t.descriptionPlaceholder,style:{backgroundColor:y[a]!=null&&y[a]?.transactionVolumeDescription!=null?B.importantLight:w.colors.background},options:{required:i==null}},additionalInfoLabel:t.transactionVolumeDescriptionError,style:{position:"relative",top:0,left:-ee,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:i!=null||y[a]!=null&&y[a]?.transactionVolumeDescription!=null?void 0:t.transactionVolumeAdditionalInfo,additionalInfoStyle:{color:w.colors.hero}}),e.jsx(I,{})]}):null,ne?e.jsxs(e.Fragment,{children:[e.jsx(J,{label:{label:t.purposeOfAccountLabel,width:v},singleSelectField:{singleSelect:{name:p(a,"purposeOfAccount"),placeholder:t.purposeOfAccountPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ci,isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s,allOptions:[...ai]},registerOptions:{required:i==null&&c.includes("purposeOfAccount")===!1,validate:n=>c.includes("purposeOfAccount")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,errorInfoLabel:t.purposeOfAccountError.replace("_product_type_",x),additionalContent:bi.includes(H?.selectedOption)?e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:p(a,"purposeOfAccountDescription"),placeholder:t.descriptionPlaceholder,style:{backgroundColor:y[a]!=null&&y[a]?.purposeOfAccountDescription!=null?B.importantLight:w.colors.background},options:{required:i==null}},additionalInfoLabel:t.purposeOfAccountDescriptionError,style:{position:"relative",top:0,left:-v,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:i!=null||y[a]!=null&&y[a]?.purposeOfAccountDescription!=null?void 0:t.purposeOfAccountAdditionalInfo,additionalInfoStyle:{color:w.colors.hero}}),e.jsx(I,{})]}):null,we?e.jsxs(e.Fragment,{children:[e.jsxs(ul,{windowSize:b,"data-suppress-hover":i!=null||void 0,children:[e.jsxs(ml,{children:[e.jsx(il,{label:t.regulatedStatusLabel,htmlFor:p(a,"regulatedStatus"),isDisabled:i,style:{width:v,color:i==="disabled"?w.colors.grey1:w.colors.hero}}),e.jsxs(hl,{labelWidth:v,windowSize:b,children:[e.jsx(_e,{label:{label:dl},style:{paddingRight:`${o.sp4}`,width:"auto"},radioField:{name:p(a,"regulatedStatus"),id:`${p(a,"regulatedStatus")}.yes`,value:"yes",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small",registerOptions:{required:i==null&&c.includes("regulatedStatus")===!1}},isDisabled:i,isContainerClickable:!0}),e.jsx(_e,{label:{label:cl},style:{width:"auto"},radioField:{name:p(a,"regulatedStatus"),id:`${p(a,"regulatedStatus")}.no`,value:"no",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small",registerOptions:{required:i==null&&c.includes("regulatedStatus")===!1}},isDisabled:i,isContainerClickable:!0})]})]}),me==="yes"&&e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},text:{type:"text",name:p(a,"regulatedStatusDescription"),placeholder:t.regulatedStatusDescriptionPlaceholder,style:{backgroundColor:y[a]!=null&&y[a]?.regulatedStatusDescription!=null?B.importantLight:w.colors.background},options:{required:i==null,shouldUnregister:!0}},additionalInfoLabel:t.regulatedStatusDescriptionError,style:{outline:"none",width:"100%",padding:0}}),y[a]!=null&&y[a]?.regulatedStatus!=null?e.jsx(Ge,{windowSize:b,children:t.regulatedStatusError.replace("_product_type_",x)}):y[a]!=null&&y[a]?.regulatedStatusDescription!=null?null:i==null?e.jsx(fl,{windowSize:b,children:t.regulatedStatusAdditionalInfo}):null]}),e.jsx(I,{})]}):null,O?e.jsxs(e.Fragment,{children:[e.jsxs(ul,{windowSize:b,"data-suppress-hover":i!=null||void 0,children:[e.jsxs(ml,{children:[e.jsx(il,{label:t.usNexusLabel,htmlFor:p(a,"usNexus"),isDisabled:i,style:{width:v,color:i==="disabled"?w.colors.grey1:w.colors.hero}}),e.jsxs(hl,{labelWidth:v,windowSize:b,children:[e.jsx(_e,{label:{label:dl},style:{paddingRight:`${o.sp4}`,width:"auto"},radioField:{name:p(a,"usNexus"),id:`${p(a,"usNexus")}.yes`,value:"yes",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small",registerOptions:{required:i==null&&c.includes("usNexus")===!1}},isDisabled:i,isContainerClickable:!0}),e.jsx(_e,{label:{label:cl},style:{width:"auto"},radioField:{name:p(a,"usNexus"),id:`${p(a,"usNexus")}.no`,value:"no",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small",registerOptions:{required:i==null&&c.includes("usNexus")===!1}},isDisabled:i,isContainerClickable:!0})]})]}),ke==="yes"&&e.jsxs(e.Fragment,{children:[e.jsx(Ui,{hasError:y[a]!=null&&y[a]?.usNexusTypes!=null,children:e.jsx(pi,{isDisabled:i,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},multiSelectField:{name:p(a,"usNexusTypes"),placeholder:t.usNexusPlaceholder,getOptionLabel:ui,defaultValue:{selectedOptions:f?.usNexusTypes??[],allOptions:[...ri]},registerOptions:{required:i==null,shouldUnregister:!0,validate:n=>{const Ce=n?.selectedOptions;return Ce!=null&&Ce.length>0}}},style:{outline:"none",margin:0,padding:0,width:"100%"}})}),y[a]!=null&&y[a]?.usNexusTypes!=null&&e.jsx(Ge,{windowSize:b,children:t.usNexusTypesError})]}),y[a]!=null&&y[a]?.usNexus!=null?e.jsx(Ge,{windowSize:b,children:t.usNexusError.replace("_product_type_",x)}):y[a]!=null&&y[a]?.usNexusTypes!=null?null:i==null?e.jsx(fl,{windowSize:b,children:t.usNexusAdditionalInfo}):null]}),e.jsx(I,{})]}):null,e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:t.companyTaxIdLabel,width:V},text:{type:"text",name:p(a,"companyTaxId"),placeholder:t.companyTaxIdPlaceholder,defaultValue:ie,options:{required:i==null&&c.includes("companyTaxId")===!1,pattern:Rl},autoComplete:"new-password"},additionalInfoLabel:t.companyTaxIdError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(Il,{isDisabled:i,label:{label:t.companyPhoneLabel,width:V},text:{name:p(a,"companyPhone"),placeholder:Se(t.companyPhoneLabel),defaultValue:T,autoComplete:"new-password",options:{required:i==null&&c.includes("companyPhone")===!1}},errorInfoLabel:t.companyPhoneError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(Fl,{isDisabled:i,label:{label:t.companyPrimaryContactNameLabel,width:v},nameField:{name:p(a,"primaryContactName"),placeHolder:{firstName:t.firstNamePlaceholder,lastName:t.lastNamePlaceholder,name:t.namePlaceholder},defaultValue:{firstName:be?.firstName??"",lastName:be?.lastName??""},registerOptions:{required:i==null&&c.includes("primaryContactName")===!1,validate:n=>!!n||i!=null||c.includes("primaryContactName")},showFullNameError:!0},errorInfoLabel:t.companyPrimaryContactNameError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:t.companyPrimaryContactEmailLabel,width:v},text:{type:"email",name:p(a,"primaryContactEmail"),placeholder:t.companyPrimaryContactEmailPlaceholder,defaultValue:be?.email,options:{required:i==null&&c.includes("primaryContactEmail")===!1}},additionalInfoLabel:t.companyPrimaryContactEmailError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(al,{name:p(a,"certificateOfIncorporation"),isDisabled:i,sizeLimit:He,deleteFileStatusById:oe,updateFileStatusById:Le,filesEndPoint:u.filesEndPoint,authParams:u.authParams,label:{label:t.certificateOfIncorporation,width:he},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:je,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:i==null&&c.includes("certificateOfIncorporation")===!1&&L==="unit"},additionalInfoLabel:t.certOfIncopDocumentError.replace("_product_type_",x),hasError:xe,updateFilesEntity:u.updateFilesEntity,onEditFileName:u.onEditFileName,onDeleteFile:u.onDeleteFile,onFileSizeError:n=>qe(n)}),xe||i==null&&je==null?e.jsx(pl,{windowSize:b,isError:xe,children:sl.formatDocumentText10MB}):null,e.jsx(I,{}),e.jsx(al,{name:p(a,"ein"),isDisabled:i,sizeLimit:He,deleteFileStatusById:oe,updateFileStatusById:Le,filesEndPoint:u.filesEndPoint,authParams:u.authParams,label:{label:t.einDocument,width:he},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:ve,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:i==null&&c.includes("ein")===!1},additionalInfoLabel:t.einDocumentError.replace("_product_type_",x),hasError:ge,updateFilesEntity:u.updateFilesEntity,onEditFileName:u.onEditFileName,onDeleteFile:u.onDeleteFile,onFileSizeError:n=>Re(n)}),ge||i==null&&ve==null?e.jsx(pl,{windowSize:b,isError:ge,children:sl.formatDocumentText10MB}):null,e.jsx(I,{}),g===!0?e.jsxs(e.Fragment,{children:[e.jsx(J,{label:{label:t.sourceOfFundsLabel,width:V},singleSelectField:{singleSelect:{name:p(a,"sourceOfFunds"),placeholder:t.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:n=>kl[n]??n,isDisabled:i,showTickMark:!1,menuPlacement:"top",sortOptions:!1},defaultValue:{selectedOption:f?.sourceOfFunds,allOptions:Object.keys(t.sourceOfFundOptions)},registerOptions:{required:i==null&&c.includes("sourceOfFunds")===!1,validate:n=>c.includes("sourceOfFunds")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,errorInfoLabel:t.sourceOfFundsError.replace("_product_type_",x)}),e.jsx(I,{})]}):null]})]})});Ei.displayName="Company Details Section";const p=(l,u)=>`${l}.${u}`,Pi=r.div`
|
|
40
40
|
display: flex;
|
|
41
41
|
flex-direction: column;
|
|
42
42
|
row-gap: ${l=>U.containerRowGap.valuePx(l.windowSize)};
|
|
@@ -60,7 +60,7 @@ import{e as Ye,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bn as gl,f9 as wl
|
|
|
60
60
|
align-items: center;
|
|
61
61
|
`,zi=r.div`
|
|
62
62
|
margin-right: ${o.sp2};
|
|
63
|
-
`,
|
|
63
|
+
`,Ni=r(Ol)`
|
|
64
64
|
width: ${o.sp3};
|
|
65
65
|
height: ${o.sp3};
|
|
66
66
|
color: ${B.success};
|
|
@@ -173,16 +173,16 @@ import{e as Ye,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bn as gl,f9 as wl
|
|
|
173
173
|
display: flex;
|
|
174
174
|
align-items: center;
|
|
175
175
|
justify-content: flex-end;
|
|
176
|
-
`;function Zi({allUsers:l,onSelectedUserChanged:u,selectedUser:j,disable:f=!1,pickerStyles:{optionBackgroundColor:R,selectedOptionBackgroundColor:L,optionTextStyle:G,titleTextStyle:i,backgroundColor:te,titleTextAlignment:a,selectedOptionColor:de,customStyleConfig:ce}={},customization:{placeholderLabel:ae}={},showAddUser:re=!0}){const g=bl(),[
|
|
176
|
+
`;function Zi({allUsers:l,onSelectedUserChanged:u,selectedUser:j,disable:f=!1,pickerStyles:{optionBackgroundColor:R,selectedOptionBackgroundColor:L,optionTextStyle:G,titleTextStyle:i,backgroundColor:te,titleTextAlignment:a,selectedOptionColor:de,customStyleConfig:ce}={},customization:{placeholderLabel:ae}={},showAddUser:re=!0}){const g=bl(),[X,c]=h.useState(!1),pe=(m=>m.map(S=>({...S,value:S.userId,label:S.firstName!=""||S.lastName!=""?`${S.firstName} ${S.lastName}`:S.email})))(l).sort((m,S)=>m.label.localeCompare(S.label)),D=j!=null?(m=>({...m,value:m.userId,label:m.firstName!=""||m.lastName!=""?`${m.firstName} ${m.lastName}`:m.email}))(j):void 0,Q=R??g.colors.grey5,b=te??g.colors.grey5,w=L??g.colors.grey3,k=G??De.smallRegular.cssObject,ue=i??k,y={control:(m,S)=>({...m,border:0,height:"100%",backgroundColor:b,fill:S.selectProps.menuIsOpen===!0?g.colors.primary:g.colors.grey1,boxShadow:b,">div:last-child":{color:X?g.colors.primary:g.colors.grey1},":active":{backgroundColor:b},":hover":{fill:g.colors.primary,">div:last-child":{color:g.colors.primary}},minHeight:"auto",cursor:"pointer",flexDirection:"column",">div>div>svg":{color:g.colors.grey1,">path":{color:g.colors.grey5,fill:"currentcolor"}}}),container:m=>({...m,backgroundColor:b,height:"100%"}),singleValue:m=>({...m,margin:0,minWidth:void 0,backgroundColor:void 0,">div":{borderRadius:0,padding:o.sp0,borderLeftStyle:"none",borderWidth:1,borderColor:g.colors.grey1,color:"unset"},">div>div>div>div:last-child":{display:"block",...De.standardRegular.cssObject}}),valueContainer:m=>({...m,maxWidth:"100%",cursor:"pointer",height:"100%",...ue,overflow:"visible",minWidth:"auto",padding:0,display:"flex",justifyContent:a??"flex-start",alignItems:"center",flexWrap:"nowrap",flexDirection:"row",">div":{width:"inherit"}}),menu:(m,S)=>({...m,backgroundColor:Q,borderRadius:q[1],boxShadow:`${o.sp0} 2px ${o.sp2} ${g.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:3,width:236,margin:`6px ${o.sp0}`,right:"-11%",">div":{flexDirection:"column",maxHeight:200,overflowY:"auto",borderRadius:o.sp1,padding:`${o.sp1} ${o.sp0}`,">div":{width:"-webkit-fill-available"}},...ce?.menu?.(m,S)}),menuList:m=>({...m,borderRadius:q[1]}),placeholder:(m,S)=>({...m,margin:0,width:"100%",color:S.isFocused?g.colors.primary:"currentColor",paddingRight:o.sp2,...De.standardRegular.cssObject,">div>div>svg>circle":{fill:g.colors.grey1}}),noOptionsMessage:m=>({...m,...De.smallRegular.cssObject,padding:`10px ${o.sp3} 9px ${o.sp3}`,color:g.colors.hero}),option:(m,{isDisabled:S,isSelected:H,isFocused:me})=>({...m,...k,color:H?de??g.colors.champion:g.colors.hero,backgroundColor:H?w:me?g.colors.background:Q,cursor:S?"not-allowed":H?"default":"pointer","svg:nth-of-type(2)":{display:"none"},":hover":{backgroundColor:g.colors.background,color:g.colors.primary},"& label":{paddingRight:"10px",cursor:S?"not-allowed":H?"inherit":"pointer"},">div>div>div:first-of-type":{display:"flex"}}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({}),indicatorsContainer:()=>({height:"100%",display:"flex",alignItems:"center"})};return e.jsx(Wl,{onClickAway:()=>{c(!1)},children:e.jsx(Hi,{children:e.jsx(Ml,{isMulti:!1,menuPlacement:"auto",minMenuHeight:200,maxMenuHeight:200,menuIsOpen:X,menuShouldScrollIntoView:!1,defaultValue:D,value:D,noOptionsMessage:()=>se.getLocalizedStrings().cockpit.management.noPerson,onInputChange:m=>{m!==""&&c(!0)},onMenuOpen:()=>{c(!0)},placeholder:e.jsx(Ji,{children:e.jsx("div",{children:ae??"Select..."})}),components:{Option:to,DropdownIndicator:uo,IndicatorSeparator:mo,SingleValue:so,ValueContainer:co,MenuList:({children:m,...S})=>e.jsxs(Pe.ValueContainer,{...S,children:[m,re===!0?e.jsxs(po,{hasSelectedUser:!!j,onClick:()=>{u(void 0),c(!1)},children:[e.jsx(eo,{}),e.jsx("div",{children:ae??"Add User"})]}):null]})},hideSelectedOptions:!1,closeMenuOnSelect:!1,styles:y,options:pe,isDisabled:f,onChange:m=>{u(m),c(!1)},isClearable:!1,isSearchable:!1},Ul())})})}const Yi=r.div``,Ji=r.div`
|
|
177
177
|
display: flex;
|
|
178
178
|
align-items: center;
|
|
179
179
|
color: ${l=>l.theme.colors.grey1};
|
|
180
180
|
fill: ${l=>l.theme.colors.grey1};
|
|
181
|
-
`,
|
|
181
|
+
`,Xi=r.div`
|
|
182
182
|
display: flex;
|
|
183
183
|
align-items: center;
|
|
184
184
|
margin-right: ${o.sp2};
|
|
185
|
-
`,
|
|
185
|
+
`,Qi=r(Cl)`
|
|
186
186
|
width: ${o.sp4};
|
|
187
187
|
height: ${o.sp4};
|
|
188
188
|
color: ${l=>l.theme.colors.hero};
|
|
@@ -191,12 +191,12 @@ import{e as Ye,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bn as gl,f9 as wl
|
|
|
191
191
|
flex-direction: row;
|
|
192
192
|
align-items: center;
|
|
193
193
|
justify-content: space-between;
|
|
194
|
-
`,eo=r(
|
|
194
|
+
`,eo=r(Xl)`
|
|
195
195
|
height: ${o.sp4};
|
|
196
196
|
width: ${o.sp4};
|
|
197
197
|
margin-right: ${o.sp2};
|
|
198
198
|
color: inherit;
|
|
199
|
-
`,lo=r(
|
|
199
|
+
`,lo=r(Ql)`
|
|
200
200
|
height: 12px;
|
|
201
201
|
width: 12px;
|
|
202
202
|
color: ${l=>l.theme.colors.hero};
|
|
@@ -204,12 +204,12 @@ import{e as Ye,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bn as gl,f9 as wl
|
|
|
204
204
|
width: 12px;
|
|
205
205
|
height: 12px;
|
|
206
206
|
color: ${l=>l.theme.colors.primary};
|
|
207
|
-
`,
|
|
207
|
+
`,Pl=r.img`
|
|
208
208
|
height: ${o.sp4};
|
|
209
209
|
width: ${o.sp4};
|
|
210
210
|
border-radius: 50%;
|
|
211
211
|
justify-content: center;
|
|
212
|
-
`,to=l=>{const{data:u,options:j,isSelected:f}=l,R=j.findIndex(L=>L.value===u.value);return e.jsx(Yi,{children:e.jsx(
|
|
212
|
+
`,to=l=>{const{data:u,options:j,isSelected:f}=l,R=j.findIndex(L=>L.value===u.value);return e.jsx(Yi,{children:e.jsx(Pe.Option,{...l,children:e.jsxs(Ki,{children:[e.jsxs(ao,{children:[e.jsx(ro,{children:u?.photo!==void 0?e.jsx(Pl,{src:u?.photo.href,alt:se.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:L})=>{L.onerror=null,L.src=Je},loading:"lazy"}):e.jsx(Xe,{firstName:u?.firstName??"",lastName:u?.lastName??"",size:`${o.sp4}`,index:R})}),e.jsx("label",{children:l.label})]}),!!f&&e.jsx(io,{children:e.jsx(oo,{})})]})})})},ao=r.div`
|
|
213
213
|
width: 100%;
|
|
214
214
|
display: flex;
|
|
215
215
|
align-items: center;
|
|
@@ -217,12 +217,12 @@ import{e as Ye,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bn as gl,f9 as wl
|
|
|
217
217
|
display: flex;
|
|
218
218
|
align-items: center;
|
|
219
219
|
margin-right: ${o.sp2};
|
|
220
|
-
`,no=r(
|
|
220
|
+
`,no=r(Qe)`
|
|
221
221
|
padding: ${o.sp0} ${o.sp2};
|
|
222
222
|
white-space: nowrap;
|
|
223
223
|
overflow: hidden;
|
|
224
224
|
text-overflow: ellipsis;
|
|
225
|
-
`,so=({children:l,data:u,...j})=>{const{options:f}=j.selectProps,R=f.findIndex(L=>L.value===u.value);return e.jsx(
|
|
225
|
+
`,so=({children:l,data:u,...j})=>{const{options:f}=j.selectProps,R=f.findIndex(L=>L.value===u.value);return e.jsx(Pe.MultiValueLabel,{...j,children:e.jsxs(ho,{children:[u?.photo!==void 0?e.jsx(Pl,{src:u?.photo.href,alt:se.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:L})=>{L.onerror=null,L.src=Je},loading:"lazy"}):e.jsx(Xe,{firstName:u?.firstName??"",lastName:u?.lastName??"",size:`${o.sp4}`,index:R}),e.jsx(no,{children:l})]})})},co=({children:l,...u})=>e.jsxs(Pe.ValueContainer,{...u,children:[u.selectProps.value==null?e.jsx(Xi,{children:e.jsx(Qi,{})}):null,l]}),po=r(Ke)`
|
|
226
226
|
color: ${l=>l.hasSelectedUser?l.theme.colors.hero:l.theme.colors.primary};
|
|
227
227
|
display: flex;
|
|
228
228
|
padding: ${o.sp2} 12px;
|
|
@@ -237,7 +237,7 @@ import{e as Ye,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bn as gl,f9 as wl
|
|
|
237
237
|
display: flex;
|
|
238
238
|
flex-direction: row;
|
|
239
239
|
cursor: pointer;
|
|
240
|
-
`,Ie={width:new _(343,580,726),labelWidth:new _(115,145,155),largeLabelWidth:new _(160,240,240),veryLargeLabelWidth:new _(150,240,245),containerRowGap:new _(12,q[3])},fo={title:new Ee("standardMedium","largeMedium")};function Go({companyOfficerData:l,isDisabled:u,allOfficers:j,allNationalityCountries:f,isRefreshingViewInBackground:R,connectedAccountProvider:L,style:G,isPopupOpen:i,sectionId:te,filesEndPoint:a,authParams:de,showInfoTooltip:ce=!0,isCompleted:ae=!1,showCompletedIcon:re=!1,showOfficerSelect:g=!0,showVerificationTag:
|
|
240
|
+
`,Ie={width:new _(343,580,726),labelWidth:new _(115,145,155),largeLabelWidth:new _(160,240,240),veryLargeLabelWidth:new _(150,240,245),containerRowGap:new _(12,q[3])},fo={title:new Ee("standardMedium","largeMedium")};function Go({companyOfficerData:l,isDisabled:u,allOfficers:j,allNationalityCountries:f,isRefreshingViewInBackground:R,connectedAccountProvider:L,style:G,isPopupOpen:i,sectionId:te,filesEndPoint:a,authParams:de,showInfoTooltip:ce=!0,isCompleted:ae=!1,showCompletedIcon:re=!1,showOfficerSelect:g=!0,showVerificationTag:X=!0,isForTreasury:c=!1,isOverlay:pe=!1,productType:D,companyTitles:Q,sectionHeader:b,optionalFields:w=[],onOfficerAddressClick:k,onDeleteFile:ue,onEditFileName:y,updateFilesEntity:m,openPopup:S,onGetOtp:H,onVerifyOtp:me,onResendOtp:ke,verifiedPhoneNumber:K,onPhoneVerified:V}){const E=Ye(),v=bl(),{getValues:ee,setValue:he}=xl(),x=j.length>0,[je,ve]=h.useState(!1),le=x?Object.values(l).findIndex(d=>d?.isSelectedForVerification===!0):0,Z=`Officer_${le<0?1:le+1}`;h.useEffect(()=>{V!=null&&l[Z]?.phone!=null&&l[Z].isPhoneVerified===!0&&V(l[Z]?.phone??"")},[]);const $=`${te}.${le}`,Y=l[Z],W=c?Y?.treasuryUserVerificationStatus:Y?.userVerificationStatus,P=j.find(d=>d.userId===Y?.userId),Ve=j.sort((d,C)=>(d.firstName||d.lastName?`${d.firstName} ${d.lastName}`:d.email).localeCompare(C.firstName||C.lastName?`${C.firstName} ${C.lastName}`:C.email)),Te=x?Ve.findIndex(d=>d.userId===Y?.userId):0,fe=l[Z]?.deleteFileStatusById??{},ze=l[Z]?.updateFileStatusById??{},ye=ee(`${$}.selectDocument.selectDocumentType`),{common:{optional:$e},commonSetUp:{businessVerification:s},dateFormat:{visual:Ne},cockpit:Ae}=se.getLocalizedStrings(),T=D==="onboarding"?s.productType.business_verification:s.productType[D],ie=Ie.labelWidth.value(E),be=Ie.veryLargeLabelWidth.value(E),oe=Ie.largeLabelWidth.value(E),Le=E==="small"?s.companyRolePlaceholderSmall:s.companyRolePlaceholder,Be=E==="small"?s.protectedSsnTextSmall:s.protectedSsnText,F=W?.code==="pending_review"||W?.code==="verified"?"readonly":u,xe=F!=null||!x||W?.code==="require_info",qe=P?.firstName||P?.lastName?`${P?.firstName} ${P?.lastName}`:s.addOfficer,ge=Y?.userId!=null?s.confirmIdentityDetails:s.confirmIdentityDetailsNewOfficer,Re=d=>Q.find(C=>C.code===d)?.name??d,z=Y?.otpverificationStatus?.fetchState,Fe=Vl(z);h.useEffect(()=>{V!=null&&Fe==="In-Progress"&&z==="Completed"&&V(ee(`${$}.phone`))},[Fe,z]);const We=(d,C)=>{me(d,C)},Me=()=>{const d=ee(`${$}.phone`);return d==null||Hl(d)?s.phoneError.replace("_product_type_",T):s.phoneErrorForOnboarding};return e.jsxs(yo,{style:G,windowSize:E,children:[e.jsxs(bo,{windowSize:E,isOverlay:pe,children:[e.jsxs(Lo,{children:[e.jsxs(go,{children:[re===!0?e.jsx(wo,{children:ae?e.jsx(So,{}):e.jsx(Io,{})}):null,e.jsx(xo,{windowSize:E,children:b??ge})]}),ce?e.jsx(Oo,{children:e.jsx(gl,{variant:"small-description",maxWidth:"275px",data:s.confirmIdentityDetailsTooltip,display:"flex",placement:E==="small"||D==="onboarding"?"bottom":"right",children:e.jsx(jo,{})})}):null,D==="onboarding"&&b!=null?e.jsx(El,{text:$e}):null,W!=null&&X?e.jsx(_o,{tagTitle:W?.name,textColor:wl(W.code),showLoader:R}):null]}),g?xe?x?e.jsxs(Co,{children:[P?.photo!==void 0?e.jsx(vo,{src:P?.photo.href,alt:Ae.userProfileAltText,onError:({currentTarget:d})=>{d.onerror=null,d.src=Je},loading:"lazy"}):e.jsx(Xe,{firstName:P?.firstName??"",lastName:P?.lastName??"",size:`${o.sp4}`,index:Te}),e.jsx(yl,{children:`${qe}`})]}):e.jsxs(Do,{children:[e.jsx(Eo,{children:e.jsx(Po,{})}),e.jsx(yl,{children:`${s.addOfficer}`})]}):e.jsx($o,{children:e.jsx(Zi,{selectedUser:P,allUsers:j,onSelectedUserChanged:d=>{const C=Object.values(l).findIndex(ne=>ne?.userId===d?.userId);he(`${$}.isSelectedForVerification`,!1),he(`${te}.${C}.isSelectedForVerification`,!0)},customization:{placeholderLabel:s.addOfficer},showAddUser:j.length<=9,pickerStyles:{backgroundColor:v.colors.grey5,selectedOptionBackgroundColor:v.colors.background,customStyleConfig:E==="small"?{menu:()=>({right:"initial",left:0})}:void 0}})}):null]}),Object.values(l).map((d,C)=>{if(le!==C)return null;const ne=Tl(d?.documentTypeSelectedForVerification),we=d?.userFiles??[];return e.jsxs(Fo,{children:[e.jsx(Dl,{}),e.jsx(Fl,{isDisabled:F,label:{label:s.name,width:ie},nameField:{name:N($,"name"),placeHolder:{firstName:s.firstNamePlaceholder,lastName:s.lastNamePlaceholder,name:s.namePlaceholder},defaultValue:{firstName:d?.firstName??"",lastName:d?.lastName??""},registerOptions:{required:w.includes("name")===!1,validate:O=>w.includes("name")!==!1||!!O},showFullNameError:!0},errorInfoLabel:s.nameError.replace("_product_type_",T)}),e.jsx(M,{}),d?.userId==null?e.jsxs(e.Fragment,{children:[e.jsx(A,{isDisabled:F,showAdditionalInfoLabel:!1,label:{label:s.email,width:ie},text:{type:"email",name:N($,"email"),placeholder:Se(s.email),defaultValue:d?.email,options:{required:w.includes("email")===!1}},additionalInfoLabel:s.emailDescription.replace("_product_type_",T)}),e.jsx(M,{})]}):null,e.jsx(Sl,{isDisabled:F,label:{label:s.dobLabel,width:oe},dateField:{name:N($,"dob"),type:"text",defaultValue:d?.birthday,placeholder:Se(s.dobLabel),dateFormat:Ne.defaultInput,maxDate:Ll().subtract(L==="unit"?18:13,"years"),registerOptions:{required:w.includes("dob")===!1},autoComplete:"off"},additionalInfoLabel:s.dobDescription.replace("_product_type_",T),isMasked:!0}),e.jsx(M,{}),e.jsx(zl,{isDisabled:F,label:{label:s.nationalityLabel,width:ie},showAdditionalInfoLabel:D!=="onboarding",additionalInfoLabel:s.nationalityDescription.replace("_product_type_",T),countrySelectField:{name:N($,"nationalityCountryCode"),placeholder:s.nationalityPlaceholder,defaultValue:Nl(d?.nationalityCountryCode,f.map(O=>O.countryCode)),registerOptions:{validate:O=>!(O==null||!O.selectedOption)}}}),e.jsx(M,{}),e.jsx(Ze,{isDisabled:F,label:{label:s.address,width:ie},addressValueField:{name:N($,"officerAddress"),placeholder:Se(s.address),defaultValue:d?.addressStatus?.addressToCreate,registerOptions:{validate:O=>w.includes("officerAddress")!==!1||!(F==null&&O==null)},onClick:()=>{k(d?.officerType.toLocaleLowerCase().concat("_address"))}},additionalInfoLabel:D==="onboarding"?s.addressAdditionInfo:s.addressError.replace("_product_type_",T),showAdditionalInfoLabel:!0}),e.jsx(M,{}),e.jsx(Il,{isDisabled:F,label:{label:s.phone,width:ie},text:{name:N($,"phone"),placeholder:Se(s.phone),defaultValue:d?.phone,autoComplete:"new-password",options:{required:w.includes("phone")===!1}},errorInfoLabel:Me(),verificationErrorInfoLabel:s.phoneValidationError,isPopupOpen:i,phoneVerifyButtonProps:{otpChallenge:d?.otpChallenge,showOtpButton:L==="unit",onGetOtp:H,onVerifyOtp:We,onResendOtp:ke,isPhoneVerified:K!=""&&D==="onboarding"?K!=null&&K!==""&&ee(`${$}.phone`)===K:d?.isPhoneVerified??!1,phoneVerificationStatus:d?.otpverificationStatus,getOtpStatus:d?.sendOtpStatus,openPopup:S,verifiedPhoneNumber:K,focusNotRequired:!0}}),e.jsx(M,{}),e.jsx(J,{label:{label:s.companyRoleLabel,width:oe},singleSelectField:{singleSelect:{name:N($,"role"),placeholder:Le,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:Re,isDisabled:F,showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:d?.titleAtCompany,allOptions:Q?.map(O=>O.code)??[]},registerOptions:{required:w.includes("role")===!1,validate:O=>w.includes("role")!==!1||!(F==null&&!O?.selectedOption)}},isFunctional:!0,errorInfoLabel:s.companyRoleDescription.replace("_product_type_",T)}),e.jsx(M,{}),e.jsx(el,{isDisabled:F,showAdditionalInfoLabel:!1,label:{label:s.companyOwnershipLabel,width:oe},formattedTextField:{type:"number",name:N($,"ownership"),defaultValue:d?.ownershipInCompany,placeholder:s.companyOwnershipPlaceholder,returnValueType:"floatValue",suffix:"%",allowNegative:!1,isNumericString:!1,registerOptions:{required:w.includes("ownership")===!1,validate:O=>O==null||O>0&&O<=100,max:100},autoComplete:"new-password"},additionalInfoLabel:D==="onboarding"?s.companyOwnershipDescriptionForOnboarding:s.companyOwnershipDescription}),e.jsx(M,{}),e.jsx(el,{isDisabled:F,showAdditionalInfoLabel:!1,label:{label:s.ssnLabel,width:oe},formattedTextField:{type:"text",name:N($,"ssn"),placeholder:s.addSSNPlaceholder,defaultValue:d?.ssn,format:"###-##-####",registerOptions:{required:w.includes("ssn")===!1,pattern:Al},autoComplete:"new-password",maxLength:9,allowLeadingZeros:!0},protectedInfoText:F!=null&&d?.ssn?Be:void 0,additionalInfoLabel:s.ssnDescription.replace("_product_type_",T),isMasked:!0}),e.jsx(M,{}),e.jsx(Bl,{name:N($,"selectDocument"),officerIndex:le,sizeLimit:He,filesEndPoint:a,authParams:de,onEditFileName:y,acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],label:{width:be},allFiles:we,updateFilesEntity:m,deleteFileStatusById:fe,updateFileStatusById:ze,onDeleteFile:ue,isDisabled:F,menuPlacement:D==="onboarding"&&ne==null?"top":"auto",defaultValue:{defaultSelectDocumentType:ne,allSelectDocumentType:["driverLicense","passport","ssnCard"],files:{front:ll(!0,we,ye),back:ll(!1,we,ye)}},registerOptions:{required:w.includes("selectDocument")===!1},hasError:je,additionalInfoLabel:s.companyIdDescription.replace("_product_type_",T),onFileSizeError:O=>ve(O),isPopupOpen:i,openPopup:S,companyOfficerName:{firstName:d?.firstName??"",lastName:d?.lastName??""}})]},$)})]})}const N=(l,u)=>`${l}.${u}`,yo=r.div`
|
|
241
241
|
display: flex;
|
|
242
242
|
flex-direction: column;
|
|
243
243
|
row-gap: ${l=>Ie.containerRowGap.valuePx(l.windowSize)};
|
|
@@ -301,7 +301,7 @@ import{e as Ye,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bn as gl,f9 as wl
|
|
|
301
301
|
background-color: ${l=>l.theme.colors.grey3};
|
|
302
302
|
min-height: 1px;
|
|
303
303
|
max-height: 1px;
|
|
304
|
-
`,Co=r(
|
|
304
|
+
`,Co=r(Qe)`
|
|
305
305
|
display: flex;
|
|
306
306
|
flex-direction: row;
|
|
307
307
|
justify-content: flex-end;
|
|
@@ -315,7 +315,7 @@ import{e as Ye,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bn as gl,f9 as wl
|
|
|
315
315
|
`,_o=r(vl)`
|
|
316
316
|
width: max-content;
|
|
317
317
|
margin-left: ${o.sp3};
|
|
318
|
-
`,Do=r(
|
|
318
|
+
`,Do=r(Qe)`
|
|
319
319
|
display: flex;
|
|
320
320
|
flex-direction: row;
|
|
321
321
|
justify-content: flex-end;
|
|
@@ -324,7 +324,7 @@ import{e as Ye,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bn as gl,f9 as wl
|
|
|
324
324
|
`,Eo=r.div`
|
|
325
325
|
display: flex;
|
|
326
326
|
align-items: center;
|
|
327
|
-
`,
|
|
327
|
+
`,Po=r(Cl)`
|
|
328
328
|
width: ${o.sp4};
|
|
329
329
|
height: ${o.sp4};
|
|
330
330
|
color: ${l=>l.theme.colors.hero};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as r,a3 as E,a4 as x,O as p,o as l,b as M,aa as w,C as g,ab as H}from"./index-
|
|
1
|
+
import{V as r,a3 as E,a4 as x,O as p,o as l,b as M,aa as w,C as g,ab as H}from"./index-CilRLucN.js";import{n as o}from"./mui-Ckdcx_YE.js";import{c as j}from"./SummaryCard-B1d4_5lE-Dcb38d7W.js";import{a as t}from"./sentry-D-LCra2M.js";import"./pdf-CwWlK-Dr.js";import"./zeni-epic-state-B1zsDZZ4.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";import"./ReloadCard-CDcJMl9F-DmOo4rMc.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="f31d2e53-2854-412a-a325-44595f85648d",e._sentryDebugIdIdentifier="sentry-dbid-f31d2e53-2854-412a-a325-44595f85648d")}catch{}})();const y=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon:e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M29.1471 12.9199H19.384V2.69038C19.384 2.2561 19.0302 1.91833 18.612 1.91833H4.13618C3.7019 1.91833 3.36414 2.27219 3.36414 2.69038V30.3391C3.36414 30.7734 3.71799 31.1112 4.13618 31.1112H17.5665H18.612H29.1471C29.5814 31.1112 29.9192 30.7573 29.9192 30.3391V13.692C29.9192 13.2738 29.5653 12.9199 29.1471 12.9199Z",fill:"#97C3B9"}),t.createElement("path",{d:"M26.2595 15.4934H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 25H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 20H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 15H5.53552",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 25H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 20H21",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 10H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 5.36316H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M18.242 30.0978V1.66096C18.242 1.22668 17.8882 0.888916 17.47 0.888916H2.99421C2.55994 0.888916 2.22217 1.24277 2.22217 1.66096V29.3097C2.22217 29.744 2.57602 30.0818 2.99421 30.0818H17.47",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M16.4246 30.0978H28.0052C28.4395 30.0978 28.7772 29.744 28.7772 29.3258V12.6625C28.7772 12.2283 28.4234 11.8905 28.0052 11.8905H18.1617",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}))},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M16.3966 31.1111C24.5135 31.1111 31.0936 24.5311 31.0936 16.4141C31.0936 8.29723 24.5135 1.71716 16.3966 1.71716C8.27965 1.71716 1.69958 8.29723 1.69958 16.4141C1.69958 24.5311 8.27965 31.1111 16.3966 31.1111Z",fill:"#97C3B9"}),t.createElement("path",{d:"M15.5859 30.2829C23.7028 30.2829 30.2829 23.7028 30.2829 15.5859C30.2829 7.46898 23.7028 0.888916 15.5859 0.888916C7.46898 0.888916 0.888916 7.46898 0.888916 15.5859C0.888916 23.7028 7.46898 30.2829 15.5859 30.2829Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M3.76135 15.9559C3.76135 20.1148 6.01701 23.745 9.36524 25.6834",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M8.81897 19.9034C8.81897 17.3658 11.85 15.304 15.5859 15.304C19.3219 15.304 22.3529 17.3658 22.3529 19.9034C22.3529 24.8729 8.81897 24.9257 8.81897 19.9034Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M15.5859 13.2245C17.1626 13.2245 18.4407 11.9464 18.4407 10.3697C18.4407 8.79304 17.1626 7.51489 15.5859 7.51489C14.0092 7.51489 12.7311 8.79304 12.7311 10.3697C12.7311 11.9464 14.0092 13.2245 15.5859 13.2245Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M27.0404 15.6035C27.0404 11.4446 24.7848 7.81443 21.4365 5.87598",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}))},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M25.8382 19.5283C25.8382 19.5283 31.0943 15.1988 31.0943 12.6045C31.0943 11.998 30.7236 11.9138 30.2856 11.9138H20.0263V6.72512C20.0263 6.27027 19.6556 5.9165 19.2176 5.9165H2.74197C2.28712 5.9165 1.93335 6.28712 1.93335 6.72512V20.3706C1.93335 20.8255 2.30397 21.1792 2.74197 21.1792H11.182V27.1765H30.3025C30.7573 27.1765 31.1111 26.8733 31.1111 26.4858C31.0943 24.5822 27.4892 20.9434 25.8382 19.5283Z",fill:"#95C1B7"}),t.createElement("path",{d:"M18.9987 20.1516H1.69754C1.24269 20.1516 0.888916 19.781 0.888916 19.343V5.69754C0.888916 5.24269 1.25953 4.88892 1.69754 4.88892H18.19C18.6449 4.88892 18.9987 5.25953 18.9987 5.69754V20.1516Z",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M18.9987 10.8862H29.2581C29.7129 10.8862 30.0667 10.9705 30.0667 11.5769C30.0667 14.1713 24.8107 18.5007 24.8107 18.5007C26.4616 19.9158 30.0667 23.5546 30.0667 25.4583C30.0667 25.8457 29.6961 26.149 29.2581 26.149H10.1376V20.1517",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M18.9987 20.1516L10.1376 26.1489",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M14.8545 16.3949H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 12.5203H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 8.62878H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}))}],B=o(w)`
|
|
2
2
|
margin: ${l.sp5};
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
`,D=o.div`
|
|
@@ -39,4 +39,4 @@ import{V as r,a3 as E,a4 as x,O as p,o as l,b as M,aa as w,C as g,ab as H}from".
|
|
|
39
39
|
width: 100%;
|
|
40
40
|
height: 1px;
|
|
41
41
|
background-color: ${e=>e.theme.colors.grey3};
|
|
42
|
-
`;function X({card:e,actions:
|
|
42
|
+
`;function X({card:e,actions:a,data:d,dndProps:s}){return r.jsx(E,{isDragging:s?.draggedCardType!=null,isDragOver:s?.dragOverCard===e.cardType,draggable:!0,onDragStart:i=>s?.onDragStart(e.cardType,i),onDragOver:i=>s?.onDragOver(i,e.cardType),onDragLeave:i=>s?.onDragLeave(i),onDrop:i=>s?.onDrop(i,e.cardType),dimension:e.dimension,children:r.jsx(j,{card:e,actions:a,children:r.jsx(x,{dimension:e.dimension,style:{cursor:"pointer"},onClick:()=>a.onCardClick(e.cardIndex,e.cardType),"data-testid":M("dashboard",e.cardType),children:r.jsxs(B,{children:[r.jsx(D,{children:r.jsx(v,{children:p.getLocalizedStrings().companyPassportCard.title})}),y.map((i,c)=>{const{title:m,key:n,Icon:h}=i;return r.jsxs(L,{children:[r.jsxs(W,{children:[r.jsx(I,{children:r.jsx(h,{height:l.sp5,width:l.sp5})}),r.jsxs(T,{children:[r.jsx(V,{children:m}),r.jsx($,{data:d?.companyView,itemKey:n})]})]}),c!==y.length-1?r.jsx(_,{}):null]},i.key)})]})})})},e.cardIndex)}const $=({itemKey:e,data:a})=>{const d=a?.companyOfficers,s=a?.company,i=s?.company.companyInfo,c=s?.company.incInfo,m=()=>r.jsx(b,{children:"—"});switch(e){case"company_legal_name":return i?.companyLegalName==null||i.companyLegalName===""?r.jsx(m,{}):r.jsx(k,{children:i?.companyLegalName});case"company_officer":{if(d==null||d?.length===0)return r.jsx(m,{});const n=d.slice(0,10).sort((u,f)=>u.user.createTime?.isAfter(f.user.createTime)===!0?1:-1),h=[n[0].user.firstName,n[0].user.lastName].join("").trim();return r.jsxs(k,{children:[n[0].user.firstName!=null&&n[0].user.firstName!==""?r.jsxs(C,{children:[n[0].user.firstName," "]}):null,r.jsx(C,{children:n[0].user.lastName}),n[0].user.email!=null?r.jsx(C,{children:`${h.length>0?", ":""}${n[0].user.email}`}):null]})}case"company_inc":return c?.companyIncType==null||c.companyIncType===""?r.jsx(m,{}):r.jsx(k,{children:c?.companyIncType});default:return null}};export{X as default};
|