@zeniai/web-cockpit-ui 1.15.11-dev → 1.15.12-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ACHDetailsPage-CR6ypd9o-CPuvu8Ya.js → ACHDetailsPage-BY65AQjO-Cl2Tlmft.js} +3 -3
- package/dist/assets/{AIPerformancePage-C1OU9y7O-Cy2fQhSN.js → AIPerformancePage-B0a7EX_p-BepCOVvT.js} +17 -17
- package/dist/assets/AccountInfoPage-DUYpaV3v-CL9yEZEk.js +18 -0
- package/dist/assets/{AccountInfoPageContent-CrSVf_Od-DxUVjtpH.js → AccountInfoPageContent-BsSGhNw9-Bhg40nPQ.js} +13 -13
- package/dist/assets/{AccountLockedInfoModal-DNU_J1FV-BrQt7SPM.js → AccountLockedInfoModal-uPOYP0OH-gMh9hb_c.js} +3 -3
- package/dist/assets/{AccountReconDetailsDrawerPage-DghCIWni-WUADgsvH.js → AccountReconDetailsDrawerPage-BgPmbG_g-9wGOY4BN.js} +6 -6
- package/dist/assets/{AccountRow-CYv0Uw-I-DQCZ-Htb.js → AccountRow-B9ZIzZy7-C9nPv4rY.js} +22 -22
- package/dist/assets/{AccountsPromoCardStack-BANu3wYt-CQ0iVQrx.js → AccountsPromoCardStack-BLcpWU3T-CV6K5Y9x.js} +8 -8
- package/dist/assets/AddAddressForCardDrawer-B1oucxyM-I6biD8O7.js +6 -0
- package/dist/assets/{AddToWalletPage-C8keLYK6-Bn2sefuz.js → AddToWalletPage-B1GVnxRf-CndQH9vq.js} +7 -7
- package/dist/assets/{AgingReportsPage-L84_Ka8x-B6lkNbiG.js → AgingReportsPage-Bpp4te8m-HodwoOcT.js} +3 -3
- package/dist/assets/{AllUserItems-Duwm6ypi-CNUX4dOE.js → AllUserItems-CzugF5fn-8WnbDsqH.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-MH7SN7mP-D7GEtWSd.js → ApAgingDetailPage-CyUQeZY0-DHH2Dilv.js} +4 -4
- package/dist/assets/{AppBasePage-DpK4Drat-Bt4q9XbU.js → AppBasePage-Di7hObbX-uZJvqLhK.js} +6 -6
- package/dist/assets/{AppDrawerContent-CR_WXwBz-CFNPiFQp.js → AppDrawerContent-KdrUuifo-DcEK8qwb.js} +5 -5
- package/dist/assets/{ApprovalRulesSettingsPage-DD2E4NU5-DpHAD8Ti.js → ApprovalRulesSettingsPage-BRIgTh7x-CF-Pagn9.js} +1 -1
- package/dist/assets/{ArAgingChart-q1DoAAzl-IMdyrhPv.js → ArAgingChart-DeE5uhiT-BcI5cuvH.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-BKqFTdkz-kMEm6GPZ.js → ArAgingDetailPage-CFiIUBWl-BXhWrXr_.js} +2 -2
- package/dist/assets/{AttachmentView-CwbFyo5O-DSfNvuAU.js → AttachmentView-CfacSLcU-gwYezuYM.js} +7 -7
- package/dist/assets/{BankAccountSection-DNYhcdas-Ddz8QKzl.js → BankAccountSection-Bm8vdxFd-DKKdvH8R.js} +6 -6
- package/dist/assets/{BankAccountWarningSection-B6AIe7nT-BcHAPM_q.js → BankAccountWarningSection-M3w6kP33-ChP5wvhC.js} +13 -13
- package/dist/assets/{BankConnectionsSettingsPage-BQSAz9yS-R3TufSTo.js → BankConnectionsSettingsPage-Dfrp0CKz-Dc4Qac0T.js} +9 -9
- package/dist/assets/{BillDetailPage-CJMkS2TO-CUCvdJLF.js → BillDetailPage-BA1D1bO3-Ofkt6QPd.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-CWCmHWbz-BO-G290w.js → BillPayApprovalRuleDetailPage-DR8YzZt1-CQcbdF34.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-0_wlhyx9-CKOGyW5d.js → BillPayApprovalRulesPage-CfZ4aSPM-C6nI7yKc.js} +11 -11
- package/dist/assets/{BillPayPromoPage-CKOYCq5V-C6OfnMF1.js → BillPayPromoPage-CP9Nvd2Q-CSZ8mSrV.js} +4 -4
- package/dist/assets/{BillPaySetUpPage-Dibv-FD4-kIfalP85.js → BillPaySetUpPage-BwEONKu_-DARv5ESb.js} +6 -6
- package/dist/assets/{BillingSettingsPage-CG9gklV0-CGGGPaut.js → BillingSettingsPage-DicGyWCt-DwbmjVcE.js} +6 -6
- package/dist/assets/{BillsBulkReviewDrawerPage-Cgof7dpG-BwYBq9-d.js → BillsBulkReviewDrawerPage-fS3-YEdi-DKZKHDla.js} +1 -1
- package/dist/assets/{BoxItem-DD7d5_ky-D2d9aLr-.js → BoxItem-Cr0Y9YBV-C2AawtqJ.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-KfKed7nf-Bzkiryv0.js → BusinessVerificationPage-CvL9cdJm-Drj-tMQU.js} +3 -3
- package/dist/assets/CardNumberSubText-CXBKzGK5-CCtn2y_n.js +21 -0
- package/dist/assets/{CashbackDetailPage-D1ejnH4R-BltiUdCI.js → CashbackDetailPage-DOdPOiws-CAJxdhJ3.js} +11 -11
- package/dist/assets/{ChargeCardDetailPage-Cvs-BEKp-Bqa3oM5k.js → ChargeCardDetailPage-DfhAyysD-Cgd92Yem.js} +1 -1
- package/dist/assets/{ChargeCardListPage-CW0WF8w6-DBIJI8Xw.js → ChargeCardListPage-Bnnu4TVk-DFZAYaNm.js} +20 -20
- package/dist/assets/{ChargeCardListTable-43l6tEOp-BbcKoGZ2.js → ChargeCardListTable-D7zGM8uo-70otSDDQ.js} +40 -40
- package/dist/assets/{ChargeCardPaymentHistoryPage-fpQhp74g-BLq-AFt8.js → ChargeCardPaymentHistoryPage-U00GbINt-BIwIfF30.js} +13 -13
- package/dist/assets/ChargeCardPromoPage-BpBiwjfr-DWB9eQGN.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-CFR2KfLW-Bj3pYNfL.js → ChargeCardSetupPage-Duj6901M-CIASuReJ.js} +4 -4
- package/dist/assets/{ChargeCardStatementsPage-BMYUlzTk-CZ02SfTF.js → ChargeCardStatementsPage-IkU86L31-ClrDQTtP.js} +4 -4
- package/dist/assets/{CheckDepositDrawerPage-BXWeeMR7-BYN5c48i.js → CheckDepositDrawerPage-fHeTkRJF-CdLdCkIH.js} +13 -13
- package/dist/assets/{CollapsableReportTable-CZJ_4MUf-TH_6P-Y_.js → CollapsableReportTable-DUo-9gOh-B_gwOhYJ.js} +32 -32
- package/dist/assets/{CompanyOfficerDetailsSection-b2itwQOK-DbOlSBag.js → CompanyOfficerDetailsSection-DzDZe6MU-DWguMF6d.js} +10 -10
- package/dist/assets/{CompanyPassportCard-C5C3AykH-DcHAKmoT.js → CompanyPassportCard-BwiwJ82k-WRVY9XX8.js} +4 -4
- package/dist/assets/{CompanyPassportPage-D9zWgLlj-CWyCqrqW.js → CompanyPassportPage-Bz3rzG9k-e3d2ccIM.js} +15 -15
- package/dist/assets/{CompleteProfile-CMnTwbXr-DZqd8rFQ.js → CompleteProfile-CRXV-nNq-DpRL426l.js} +2 -2
- package/dist/assets/ConfettiBurst-CapRdPno-Dlg4XvfD.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-CthcMxEa-PQhPjSjB.js → CreateOrEditVendorPage-BjPotKnf-De1W0m4N.js} +12 -12
- package/dist/assets/{CreditCardPaymentDrawerPage-LD349Ert-C4Wbd8yP.js → CreditCardPaymentDrawerPage-BTZ2Lph6-DMwCUXwV.js} +13 -13
- package/dist/assets/{CurrencySelectField-iXGB-cNy-BRjQHy5W.js → CurrencySelectField-DY0HeU0G-CSYPXeIb.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-BuZrVCRr-DQvZbF43.js → CustomerOnboardingActivationPage-BIKXkkcY-IFMHYYO1.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-DZfFYnVw-BG6Jz35S.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-L4WssPjU-BL2-a44j.js → CustomerOnboardingDetailPageSkeleton-DYiAmFsM-C0-Ot9Uw.js} +9 -9
- package/dist/assets/{CustomerOnboardingNoStepsPage-Bqv6vbYJ-B4xhs9JC.js → CustomerOnboardingNoStepsPage-gssFllMT-DT9hupvU.js} +9 -9
- package/dist/assets/{CustomerOnboardingPage-D7YVlzdy-GqcXPa-d.js → CustomerOnboardingPage-CBJHj8BH-KUidrPxI.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-DLzC-lxj-pVKJNYgp.js → CustomerOnboardingProductSuitePage-2V3vSjB8-BYRuju-o.js} +12 -12
- package/dist/assets/{Dashboard-BgpeTLE--ZF2wZzkh.js → Dashboard-BVvkfPf9-hp4sQi7A.js} +1 -1
- package/dist/assets/{DashboardReportPage-DJtJdsj5-D0j90p2O.js → DashboardReportPage-DHQ79h9V-C3FgTbgA.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-CL6vWi6p-DaXPDfmE.js → DashboardSidebarBackgroundAnimation-B8Q-YA_s-DLXiBeQj.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-B8Kledeo-BlVCqg6w.js → DepositAccTransactionItem-DZnqI7IQ-DR0NgZ86.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-DYBIAd7n-gVv7-TK3.js → DepositAccTransactionListPage-BMNdp-3Q-CyOUea8P.js} +4 -4
- package/dist/assets/{DomesticWireDetailsPage-Bm-bfxSa-rYZYhMWI.js → DomesticWireDetailsPage-CCP6xoW_-BlmZjbpt.js} +1 -1
- package/dist/assets/{DownloadOverlay-CAfyh0W2-BJk2KPOA.js → DownloadOverlay-B2bK30rG-B-m5Mv2I.js} +18 -18
- package/dist/assets/{DrawerPage-DUeVKq0Q-DB8bkP9s.js → DrawerPage-BRJDrBlv-D28-uO54.js} +8 -8
- package/dist/assets/{EditPeoplePage-dVrpOcc1-DgbweCi9.js → EditPeoplePage-I8E1Rs3x-DbyrgA_C.js} +6 -6
- package/dist/assets/{EditReimbursementDetailPage-xWwm-k8T-Hs0cdO6C.js → EditReimbursementDetailPage-C7BPmFMR-DTPMhwLH.js} +19 -19
- package/dist/assets/EntityDetailPage-BraBJ2k1-Wq1E4JPl.js +18 -0
- package/dist/assets/{EntitySummarySection-CTU-YsQl-CSwZth_c.js → EntitySummarySection-DPmL3Bnf-CHA6TrKp.js} +5 -5
- package/dist/assets/{ExpenseAutomationOverviewPage-DCbcWM84-DHrtqP9f.js → ExpenseAutomationOverviewPage-CDaO_5Vj-gZyomnai.js} +12 -12
- package/dist/assets/{ExpenseAutomationPage-DbFQ6EeA-C0i_UBmZ.js → ExpenseAutomationPage-DUenmMQD-Yh_8CeIf.js} +59 -59
- package/dist/assets/{ExpressPayPage-DMLKT4Nf-6YIrNvk0.js → ExpressPayPage-DxO1mXNE-DeRja-sm.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-DFsZRRmZ-KGYTIegX.js → FeaturePreviewPage-BWPNZcYs-CdJLxzVS.js} +1 -1
- package/dist/assets/{FollowStepsSection-DkBj9-hs-mJdSbXed.js → FollowStepsSection-DhVGeocZ-Ddk_z58q.js} +6 -6
- package/dist/assets/{GlobalReviewListPage-D1fbfssG-CByDE9EN.js → GlobalReviewListPage-8eiQXg7N-pPWYTyKl.js} +5 -5
- package/dist/assets/{InformationCardStack-CBsOTiOc-CgAe3fDD.js → InformationCardStack-CHVjIv01-Y1Eih__r.js} +2 -2
- package/dist/assets/{InsightsCardStack-BEpCIgoE-Bd7MJjyH.js → InsightsCardStack-x_tohY2Z-DNptH2Sv.js} +2 -2
- package/dist/assets/{InsightsSection-DcKb1p5B-QoDxUPcZ.js → InsightsSection-D7g00fg7-Bl1k6KMG.js} +2 -2
- package/dist/assets/{IntegrationsSettingsPage-CMEV5P0b-3g_v4D8X.js → IntegrationsSettingsPage-DVRtPRi9-ig1iJJpM.js} +10 -10
- package/dist/assets/{InternationalWireSwiftDetailsPage-Bukfo0LC-DGIPKWPe.js → InternationalWireSwiftDetailsPage-DnWbUuiD-CIWMoecY.js} +11 -11
- package/dist/assets/{InternationalWireVerificationPage-nZvCemaM-DntrzxyD.js → InternationalWireVerificationPage-CHvUYgd8-B9TQJM22.js} +3 -3
- package/dist/assets/{InviteFormPage-BpgeFttq-BbrTw2ZL.js → InviteFormPage-Cw0TIkwc-D0dTmTLg.js} +25 -25
- package/dist/assets/{InvitePageListView-B6wJomGk-pTRfOIaC.js → InvitePageListView-B4gEzFp2-1aqNeIHc.js} +19 -19
- package/dist/assets/{InvitePeoplePage-BArRXjlz-BHQlwXvg.js → InvitePeoplePage-Bnsqv_IY-DhNBoZS8.js} +5 -5
- package/dist/assets/{InvoiceUploadSection-CTqSftrm-CyVrgEkl.js → InvoiceUploadSection-CW4hHmAi-DKFSw8te.js} +20 -20
- package/dist/assets/{IssueChargeCardPage-DYG5IXrC-D-2m3p9R.js → IssueChargeCardPage-sM826Uvu-DMhbp0aa.js} +21 -21
- package/dist/assets/{LabeledAddressValue-D09c5wJR-784mespz.js → LabeledAddressValue-AuzW29LK-99vdzqZR.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-Cac2YPpN-Ba7qdzlE.js → LabeledAddressValueField-C_KatgTA-ByiPbJgm.js} +1 -1
- package/dist/assets/LabeledControlledCheckBoxField-CEd7DSmU-mOU-S2fp.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-DdqOGBwp-DSHkYk9h.js → LabeledCountryMultiSelectField-CffMX6f1-C44H-4q3.js} +12 -12
- package/dist/assets/{LabeledCreatableSingleSelectField-K0xUavli-THytCXMe.js → LabeledCreatableSingleSelectField-CoS6DIi_-DTDCa09f.js} +2 -2
- package/dist/assets/LabeledDocumentField-CVBhbPHv-9665D02s.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-Dms9ziRv-CJQkVxrk.js → LabeledDropDownFormattedTextField-CNru68eT-GPSUv36b.js} +5 -5
- package/dist/assets/{LabeledMultiSelectField-X5GGPnfG-0qUfOlj0.js → LabeledMultiSelectField-CTqXa2Rh-Cxu9DNT8.js} +1 -1
- package/dist/assets/{LabeledText-BJrI_PVT-oE-g3K8U.js → LabeledText-Da0Yn6u8-CFgd90E4.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BmMN3W3F-BzPJ9P_-.js → LabeledUserSingleSelectWithSubtitlesField-CE332GjA-BafYQ_Pm.js} +9 -9
- package/dist/assets/{LabeledZeniRolesDropDownField-PsaKyCCY-EbSrXIJy.js → LabeledZeniRolesDropDownField-DU4-ho4X-DQBIg45w.js} +7 -7
- package/dist/assets/{LinkJETransactionPage-BDIpw0zn-B_cGLw9N.js → LinkJETransactionPage-Dx4OE1-O-HLvvvZHd.js} +9 -9
- package/dist/assets/{LockCardPage-ChGk6VJX-BzQI96FY.js → LockCardPage-B3P6wcK_-Ckpg2eew.js} +23 -23
- package/dist/assets/{LowBalancePopup-Bv3kKmAV-DSB2Ymlf.js → LowBalancePopup-Dp1vEYQQ-DIw_NRSy.js} +5 -5
- package/dist/assets/MagicLinkACHDetailsPage-BeRQFYX3-CrMUHXPB.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-C1DDZC2_-CWTR8m-D.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DyDp04Vn-UtoyLAup.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-ySlQc8oV-BspPWH9Z.js → MagicLinkSuccessPage-Iva17nX0-DhK2jGAZ.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-C_OYT1do-NbVFRCAZ.js → MagicLinkTitleSection-B726bP_P-CoT1ZO_f.js} +1 -1
- package/dist/assets/MailingDetailsSection-IQJY4Yl0-C_b76P8R.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-CxaXh1Aj-CwKK_h51.js → MyBankConnectionsSettingsPage-Ad6xGN08-JjXBlik9.js} +6 -6
- package/dist/assets/{MyPendingActivationChargeCardListPage-B9mNbLDd-Db1Atl2l.js → MyPendingActivationChargeCardListPage-BYZ61huS-YKZjMs5X.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-DDERIXlZ-CjalvgMv.js → MyProfileSettingsPage-bEru4GQJ-Cj303JTH.js} +6 -6
- package/dist/assets/{NavBarWithPicker-BJ_8PHPv-B6R9nMuM.js → NavBarWithPicker-BAKrtv3g-BXBcsUFZ.js} +4 -4
- package/dist/assets/{NavigationArrow-9HOMBxoh-CWFuMeOE.js → NavigationArrow-CKvBs9-h-DGD1r2EE.js} +1 -1
- package/dist/assets/{NavigationDots-DPf5iy8f-DNlf5jCf.js → NavigationDots-BdcVrwsL-D_WEvn6f.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-1MfUlwkA-Dx3DZ-ZO.js → NewGlobalMerchantPage-Cx38uQAS-BBICE4OG.js} +7 -7
- package/dist/assets/{NoDataChart-CDHiYyiO-DHWgty-U.js → NoDataChart-BbyxZE2g-CtN5BYbf.js} +2 -2
- package/dist/assets/{NoDataTable-BoAJZxdS-ClNYPP1-.js → NoDataTable-BNZWGvtm-S9Fe9Ovx.js} +1 -1
- package/dist/assets/{NotFoundPage-C-EoeDss-DqOvJ6YN.js → NotFoundPage-CssnEz-k-ccXdF3op.js} +7 -7
- package/dist/assets/{NotificationSettingsPage-BfFNx-vu-Byo7BJZr.js → NotificationSettingsPage-DmgxnO9I-BH2rOJH7.js} +15 -15
- package/dist/assets/{NotificationsListConfig-CBQwRqMo-DVBdjTys.js → NotificationsListConfig-DdMKLqFI-DwvXMwFg.js} +1 -1
- package/dist/assets/{NotificationsPage-BPfRskWZ-_QOFXGgt.js → NotificationsPage-B9XIE39J-CejudHUF.js} +12 -12
- package/dist/assets/{OpExByVendorPage-BLI8h8LP-PGQ9bnDo.js → OpExByVendorPage-5wnFvYXt-D6A9jnRY.js} +4 -4
- package/dist/assets/{OverlayContainerPage-IDTUbuAC-B16J5Isr.js → OverlayContainerPage-IDTUbuAC-dv-sDcTQ.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DvT1WQdL-CPylI6Uc.js → PandLWithForecastPage-CrtKdSaD-CYng6puq.js} +7 -7
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CyfKYJV3-CnunCi1o.js → PaymentAccountSetupBillingAddressSection-CQki5l4P-CuMomXeK.js} +9 -9
- package/dist/assets/{PeoplePage-BHfn-oLF-CGOapKvG.js → PeoplePage-BCjxJl1y-JBCpiTMQ.js} +10 -10
- package/dist/assets/{Preview-B9tjpKKL.js → Preview-DMKZka6j.js} +1 -1
- package/dist/assets/{ProductsCarousel-ChWN6HhX-DEhcI5NW.js → ProductsCarousel-BYvlY6Jl-BJ6Pqq3q.js} +1 -1
- package/dist/assets/{PromoBaseCards-BWpqciJW-DEw7mp3r.js → PromoBaseCards-6vRaZnUg-CBqkAept.js} +12 -12
- package/dist/assets/{QBOConnectionDialog-D9wVm2ga-jv2cIUQM.js → QBOConnectionDialog-C-v9bhUW-CtiRv4Zj.js} +2 -2
- package/dist/assets/{QBOSetupSection-CR7JQ_H9-CokKwnfI.js → QBOSetupSection-DPhwp1AB-DxJDpMHr.js} +11 -11
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-RTvnT_vl-D0AOYl_B.js → ReimbursementApprovalRuleDetailPage-Crz8RArL-DQzyot-2.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-Dbs4lLSo-5JjLiWWQ.js → ReimbursementApprovalRulesPage-CHrPVveg-DDlyKkun.js} +13 -13
- package/dist/assets/{ReimbursementDetailPage-COF-QqKR-BLj9_Zcn.js → ReimbursementDetailPage-BlfifQuc-DXXQTfQu.js} +8 -8
- package/dist/assets/{ReimbursementPromoPage-DSHynwPv-CMfUTDoh.js → ReimbursementPromoPage-B6rhhOye-CmIRL-Wr.js} +12 -12
- package/dist/assets/{ReimbursementSetUpPage-CafAtAVr-BdH5_Uu6.js → ReimbursementSetUpPage-BQwRjKZ5-CWVOKlly.js} +7 -7
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Cz8keUEO-C42JglzT.js → ReimbursementsBulkReviewDrawerPage-BTaFn0Mh-DXx1vhRK.js} +1 -1
- package/dist/assets/{ReloadCard-Bf1jxC4B-CjPHohhm.js → ReloadCard-DETUOoLJ-Dww2RtAQ.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-DOQm7O9r-DcS436ql.js → ReportTableViewSelector-DSDclygb-CPmwPKtZ.js} +29 -29
- package/dist/assets/{ReportsPage-Deg59aYB-VaMTaqOC.js → ReportsPage-BrmMmYET-qm3o80ge.js} +4 -4
- package/dist/assets/{RevenueChart-C1RR_51e-Bn1LRvSc.js → RevenueChart-B711QWTX-ztc9NA65.js} +17 -17
- package/dist/assets/{ReviewDetailsPage-D3bqGZYb-DmpMCAqo.js → ReviewDetailsPage-Bkw0FfE--BL2mmyys.js} +52 -52
- package/dist/assets/{ReviewOverlay-CKB9LulM-CUNk2W-s.js → ReviewOverlay-CkB3Z8hH-CX5FMXRQ.js} +11 -11
- package/dist/assets/{RoleWithToolTip-BGlbeXtJ-BQ5iinOT.js → RoleWithToolTip-CkpqxMzB-CgYpd1vG.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-D4OkyPNa-6prKuM88.js → ScheduleDetailsFixedAssetsPage-C-4zVu03-B-3H4CNH.js} +9 -9
- package/dist/assets/{ScheduleDetailsPage-9oUScaFD-Czq02-r0.js → ScheduleDetailsPage-D4mYRUnv-CIK0kUkx.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-CuOC0Niz-BzAvMkBB.js → ScheduleSequenceTable-q-031a_C-Cl6g3k1V.js} +8 -8
- package/dist/assets/{ScreenRoutes-DhG0rKVC.js → ScreenRoutes-D9-sd0S3.js} +1 -1
- package/dist/assets/{SetUpAccountSection-CK2Ibij3-DvyPJ8FZ.js → SetUpAccountSection-Mm8JelXc-DJkSxyLc.js} +6 -6
- package/dist/assets/{SignIn-CLLS0cqt-G1jKv-f1.js → SignIn-faWXqi7o-BVPJ-uzq.js} +16 -16
- package/dist/assets/{SignInScreen-BdhVUUiU.js → SignInScreen-DTTr8TvQ.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-C1hg05PB-BMXGChah.js → SpendManagementListViewPage-BLWEPKWO-zjDi64vH.js} +6 -6
- package/dist/assets/{SpendManagementPerTabPage-7uggjzlM-BBdEOhcD.js → SpendManagementPerTabPage-vZNK6DuA-DHQi0ok2.js} +23 -23
- package/dist/assets/{SpendManagementSection-DFiL_yNI-ca-vlRub.js → SpendManagementSection-CeDmloNd-CJQVf2yR.js} +1 -1
- package/dist/assets/StatementItem-CJShifEl-gXZiawe9.js +31 -0
- package/dist/assets/StatementsPage-BRxP-Jwn-CibgKP9E.js +58 -0
- package/dist/assets/{StatusSwitcher-DPzwQ_o1-DkaIBc47.js → StatusSwitcher-CPuONMOx-IUewbXcR.js} +1 -1
- package/dist/assets/{SubTabSwitcher-Dztt2rN9-DqHo5u0Z.js → SubTabSwitcher-ibTbIxr5-87SzITqK.js} +1 -1
- package/dist/assets/SummaryCard-vWpHXMPE-j4-YbXA_.js +1 -0
- package/dist/assets/{TaskManagementPage-BRAt26fv-om-zuIgh.js → TaskManagementPage-COs5ebo9-LStJ5YyB.js} +22 -22
- package/dist/assets/{TimeRangeSwitcher-DMCbeOcI-C4mgjK4U.js → TimeRangeSwitcher-fD5vvYGO-Cg6AHBEd.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-YCgPbEnk-CJUz-kg1.js → TimeframeSwitcher-BYXKRKtc-BTNUudrw.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-BBJP1nmh-D1jTbV4O.js → TimeframeSwitcherWithToggle-f92qNjEk-CshyNxhp.js} +2 -2
- package/dist/assets/{TopExCard-LesAF7Ot-CWhGtv9n.js → TopExCard-Bs4nI9Q9-C9Jpq9jc.js} +10 -10
- package/dist/assets/{TopExDetailPage-BTG2W95T-CAgJv3QR.js → TopExDetailPage-B0kS11k0-IiO7dIt-.js} +8 -8
- package/dist/assets/{TransactionDetailPage-BqHVfK2K-CBoMen48.js → TransactionDetailPage-BXl6y7sy-B_wNV2dF.js} +1 -1
- package/dist/assets/{TransactionList-CGmpQyNM-BGohJsUE.js → TransactionList-BYXPQXN1-C2WkgSOj.js} +11 -11
- package/dist/assets/{TransactionListBig-CSYpIxGa-Bd2xJZzC.js → TransactionListBig-lrbHUS38-D0fzERPt.js} +16 -16
- package/dist/assets/{TransactionListPage-CV5U_pA6-DsUhS_R3.js → TransactionListPage-OOLJzsmw-Dmoozb9S.js} +2 -2
- package/dist/assets/{TransactionVendorDetailPage-DvqHmq7y-C8mjIShR.js → TransactionVendorDetailPage-CmjrngD2-DvxXX996.js} +4 -4
- package/dist/assets/{TransferDrawerPage-Cm5reG35-B5qd6-NU.js → TransferDrawerPage-CnFrzA_M-C6390hZV.js} +15 -15
- package/dist/assets/{TreasuryOverviewPage-CwcehiRb-BBfaI9Ls.js → TreasuryOverviewPage-CGxccIcU-CgXb0qH5.js} +25 -25
- package/dist/assets/{TreasuryPromoPage-BagqhZgO-BswlnynL.js → TreasuryPromoPage-BmMVa8cX-BOYWbSX7.js} +8 -8
- package/dist/assets/{TreasuryStatementsPage-o-ID2nvn-DTg8AAgQ.js → TreasuryStatementsPage-DL94A9mN-DZ6yoZ74.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-D9f3ohGF-DEP20r26.js → TreasuryTaxLetterPage-BJ9-ZsCQ-DnDmd1Op.js} +2 -2
- package/dist/assets/{TrendChart-CqxpheW7-DiPHNgeC.js → TrendChart-ClyJQTBF-TLthRW_O.js} +1 -1
- package/dist/assets/{TrendWithTransactions-CK_je__x-C1Qk91i9.js → TrendWithTransactions-D4m4sVkf-DJ-5Yugx.js} +4 -4
- package/dist/assets/{UncategorizedAccountsMappingPage-BBYQFJxE-nEmuJTEW.js → UncategorizedAccountsMappingPage-BLwx8CVj-dhOY5qHO.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-ULhazfl5-DPlYAGvC.js → UnitIntegrationPage-CgbOyIBt-nz_B7FQx.js} +10 -10
- package/dist/assets/{UploadAdditionalDocumentOverlay-BPNLdaLG-DQNAWd7N.js → UploadAdditionalDocumentOverlay-CmVwCxA2-BL_6rNZZ.js} +1 -1
- package/dist/assets/Vendor2FAPopup-DQtP0bm--CecMTi1i.js +1 -0
- package/dist/assets/VendorACHDetailsPage-CuCteqbL-CrfAmoz7.js +1 -0
- package/dist/assets/{VendorDetailPage-DPiVnh93-CAOlBr9d.js → VendorDetailPage-CFkDOdUe-B1GqtBiD.js} +93 -93
- package/dist/assets/VendorDomesticWireDetailsPage-Cr1fyB0u-N7obKAAe.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-CFrvW8qi-C-v6Mx4-.js → VendorFiling1099EditablePage-Bkn9p2Sf-xXTYWhq9.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-CRLGuw2s-wfeT2fAg.js → VendorFirstReviewPage-CKvnB4Q7-wJi46XXQ.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-CV11lzdw-BWhlaMax.js → VendorInternationalWireDetailsPage--B2XU_hP-CbzsnIo2.js} +8 -8
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CJFB7SEO-BecYrM5_.js +1 -0
- package/dist/assets/{VendorsAccountsSection-vd0V4UXY-BNPavepY.js → VendorsAccountsSection-DJP1yZx7-OlnsbsSP.js} +3 -3
- package/dist/assets/{VerifyDevice-DbyjJVTH-_0YHPiw6.js → VerifyDevice-dFsnt44d-C1LsKxM_.js} +3 -3
- package/dist/assets/{VideoPlayer-CoI7aj8a-B3tmTxCF.js → VideoPlayer-Dy6rImBJ-QOYygi-i.js} +2 -2
- package/dist/assets/{VideoPopup-Bp7fCV1r-BulLqsQx.js → VideoPopup-DM5Buf4j-CFLugl6n.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-jMslD0FX-CrUmOPLP.js → WarningsDrawerPage-C8i8v3rq-BqkJBNMa.js} +5 -5
- package/dist/assets/{ZeniAccountDetailPage-C1Vq8cMd-BzjwyTwn.js → ZeniAccountDetailPage-CI7znfzM-Vqgai5nW.js} +12 -12
- package/dist/assets/{ZeniAccountListViewPage-BNTb04x5-DcvhdCN4.js → ZeniAccountListViewPage-CBnYQpc8-Dv81IpSI.js} +7 -7
- package/dist/assets/{ZeniAccountNavBarPieces-ByYrxg3x-w6kmpmKh.js → ZeniAccountNavBarPieces-sMjtAlej-CO7nbf-u.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-BCkk0NbR-juw5u7mQ.js → ZeniAccountPromoPage-B_NJMHHV-DWsuBCOP.js} +13 -13
- package/dist/assets/{ZeniAccountSetupPage-ClZTjZhF-C_sOqJTM.js → ZeniAccountSetupPage-C9cJ0F8e-BF5g947U.js} +1 -1
- package/dist/assets/{ZeniCopyright-C8wXM9Gr-qMGnv8al.js → ZeniCopyright-DzWFQiAt-07AcK5yb.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-NAR_1h8K-DARDrTsk.js → ZeniTransferAmountSlider-B424bcSV-CHepSJQx.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-flwj0i1s.js → add-to-wallet-DgdBD8_G-pWZi41H8.js} +1 -1
- package/dist/assets/{analytics-EizVTK6x.js → analytics-BvXI56dE.js} +1 -1
- package/dist/assets/{analyticsHelper-DjynPp_X-s29on7ka.js → analyticsHelper-CzevEN9D-BUYGstD0.js} +1 -1
- package/dist/assets/{analyticsHelper-BRPQgKH6.js → analyticsHelper-DP-LgJhR.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-DbFUNUBk.js → arrow-south-east-round-PEovUgvH-B9_UwdI_.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-T83isyAA.js → auto-transfer-rule-mbafm5D3-CRwly3T1.js} +1 -1
- package/dist/assets/{chartTypes-CXNoxZp_-CJ_wyUtd.js → chartTypes-n3TS0IBf-DRx7aLxA.js} +1 -1
- package/dist/assets/{commonDimensions-i9Qxk1O2-XYIUogON.js → commonDimensions-6BcP8EhU-CPpjZ-C4.js} +1 -1
- package/dist/assets/{commonTypes-CcEHeA3z-sEqnsPbS.js → commonTypes-Q1WP-Ym3-Cmq2uCPt.js} +1 -1
- package/dist/assets/{constants-BGXrwDfx.js → constants-B97TsRRb.js} +1 -1
- package/dist/assets/{core-C5wq1_Bk.js → core-CIefpDlV.js} +1 -1
- package/dist/assets/{dash.all.min-B4_top4V.js → dash.all.min-RUznf6Xj.js} +1 -1
- package/dist/assets/{detailCommon-DVTOw71--Wk0Evzej.js → detailCommon-D3YbmSu3-CiTGsaNF.js} +7 -7
- package/dist/assets/{downloadPdf-1-N8Pf0G-CMW67koi.js → downloadPdf-Bf11NXjY-DUwuSlsF.js} +1 -1
- package/dist/assets/{empty-fb3xJ2Vb.js → empty-BQQX0XD1.js} +1 -1
- package/dist/assets/{empty-DuP8pCf7.js → empty-DJIJO66a.js} +1 -1
- package/dist/assets/{epic-4LjfR2JF.js → epic-C6ygjjdM.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-BtixTK1k.js → gift-box-Cmt9OgIZ-BWCTqneo.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt--UnjJCr0.js → graphic-no-data-l-DU4J8fDt-C8GXOUxr.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-8oQBXM_J.js → graphic-no-data-net-burn-l-CzmycA0m-BQAFQuCs.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-BSCdA5zo.js → handshake-BPg58FML-BCnezDN8.js} +1 -1
- package/dist/assets/{index-tW1FBxGF.js → index-BzA0Xv0P.js} +1 -1
- package/dist/assets/{index-Ko3PkHk3.js → index-CQs92n2L.js} +1 -1
- package/dist/assets/{index-CzJUh-iK.js → index-DAj0zPwk.js} +1 -1
- package/dist/assets/{index-J8KI2Uyc.js → index-DtRGsySN.js} +1 -1
- package/dist/assets/{index-DVgY55Ab.js → index-WEj6FS32.js} +10 -8
- package/dist/assets/{index-_TIifI_v.js → index-rikpsdq-.js} +1 -1
- package/dist/assets/{index-DqRCO-H6.js → index-smQbM7l5.js} +1 -1
- package/dist/assets/{lexical-xuKHFvUb.js → lexical-Dp1JhPKz.js} +1 -1
- package/dist/assets/{liveblocks-B14TpO3l.js → liveblocks-CrODURpx.js} +1 -1
- package/dist/assets/{lottie-BIQaRIZs.js → lottie-hIwSKdQS.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-UA-QQZJo-DsDuha6V.js → mapLoadingInProgressToTreeNode-BArKDqgr-Ce9uxfyP.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode--y3nO5uZ-DP42yTzT.js → mapSectionWithAcOnlyToTreeNode-BCmFQbuz-BJl1ilV_.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-DdwRxjlP-Bw1NwZTY.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CR-gDA51-Dr9tcN9g.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-ClmNRrTo-Covijrhn.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-aD-96xtj-BAIV3Qln.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DT4LUXl9-COTrRRrU.js} +1 -1
- package/dist/assets/{mui-CR-wYMmN.js → mui-BTtN6lbG.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-Dp0GDjdb.js → page-detail-CWX5S47F-vL4oE1Hd.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-CInIhD3e.js → radio-default-CiSgisfh-CzTG_UVX.js} +1 -1
- package/dist/assets/{react-D2cRiLcJ.js → react-BZDhaeWn.js} +1 -1
- package/dist/assets/{react-C8urvt-z.js → react-CZT8R2xg.js} +1 -1
- package/dist/assets/{react-D_2r5dmn.js → react-D8h_J9ua.js} +1 -1
- package/dist/assets/{react-BW87X3sj.js → react-DTawl0rf.js} +1 -1
- package/dist/assets/{react-DHV7aTmN.js → react-FdUpWGdd.js} +2 -2
- package/dist/assets/{react-CCZeJYV_.js → react-RUf-G1wy.js} +1 -1
- package/dist/assets/{react-BHi_eEiU.js → react-dGc0O2tO.js} +1 -1
- package/dist/assets/{react-CcqTmi2W.js → react-yNxKnTJa.js} +1 -1
- package/dist/assets/{recharts-C3mrSjO2.js → recharts-BfU_srYC.js} +1 -1
- package/dist/assets/{sentry-DMXY90dB.js → sentry-B0WgNUxa.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-BYs2EC5i.js → shield-DOlUxcFf-Z1Xg2OMK.js} +1 -1
- package/dist/assets/toCOABalancesWithID-BzzH0Io4-q6KiTxht.js +1 -0
- package/dist/assets/{toChartData-Dv-QcYgv-C4sd-ifC.js → toChartData-Bl-lEYbQ-Cv_10vbn.js} +1 -1
- package/dist/assets/{uploadAttachment-DSmux1Yp-Dl4ms4pR.js → uploadAttachment-B_0cN84g-C7pQHANb.js} +8 -8
- package/dist/assets/{uploadReceipts-DJRtId-4-CHJq-raT.js → uploadReceipts-DJRtId-4-B1jpX457.js} +1 -1
- package/dist/assets/{url-20Ls3nS_.js → url-CHEcUoer.js} +1 -1
- package/dist/assets/{url-DojBAuFA.js → url-D-l_68oE.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-C5_U_XBl.js → useLongPress-GCK2COYQ-BysG3lqG.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-l2et8N9o.js → usp-line-BBd1wKwW-ZROsAmzr.js} +1 -1
- package/dist/assets/{utils-BCuN6woZ.js → utils-DZQMbqmw.js} +1 -1
- package/dist/assets/{zeni-epic-state-BXMuLX_S.js → zeni-epic-state-DnAAAEmj.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-CyJ0eFqc-oDTaIYye.js +0 -18
- package/dist/assets/AddAddressForCardDrawer-D1XOklKz-D41jak46.js +0 -6
- package/dist/assets/CardNumberSubText-sE2DGwYG-B174guLL.js +0 -21
- package/dist/assets/ChargeCardPromoPage-D0np03A--Bpq9wCjH.js +0 -222
- package/dist/assets/ConfettiBurst-BRie0bid-CKCgsLzT.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-DrNstqxI-DBMIRSp3.js +0 -1
- package/dist/assets/EntityDetailPage-Cpdbw3XR-C8k1xBJc.js +0 -18
- package/dist/assets/LabeledControlledCheckBoxField--EmdYCME-BUoRkObt.js +0 -16
- package/dist/assets/LabeledDocumentField--JZn0qDn-Ck_rkdmF.js +0 -41
- package/dist/assets/MagicLinkACHDetailsPage-D4Vmz8ms-ItRZ63_N.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-B7C30ROh-C843OBvj.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DVFrpmvm-COXfeIQs.js +0 -1
- package/dist/assets/MailingDetailsSection-CTPCXpZR-Dv3Iye8Q.js +0 -21
- package/dist/assets/StatementItem-CdytKcBE-CavJc8fo.js +0 -31
- package/dist/assets/StatementsPage-DU32IYXF-Dj_pMhMm.js +0 -58
- package/dist/assets/SummaryCard-D3ev0zFr-CHfcyxTY.js +0 -1
- package/dist/assets/Vendor2FAPopup-C3Z-3poJ-Cxx265s1.js +0 -1
- package/dist/assets/VendorACHDetailsPage-DnB2b-v_-C755XLlO.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-BbfatdWd-DhsLa-3A.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-D3asjWH_-BXIinpkC.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-BOG_274U-C0W1M9EX.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Btd_0ZvL-CEgQnhXV.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-LWHXAvJU-B42MwYQ_.js +0 -1
- package/dist/assets/toCOABalancesWithID-C_7wlYeT-C3P4q5bp.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{J as B,g as gt,aQ as bt,a9 as wt,cE as $t,F as T,V as t,bB as It,ac as Ot,cF as St,aR as jt,y as g,cG as nt,cH as Dt,x as vt,o,al as Ie,cI as st,cJ as E,cK as Ue,cL as Y,cM as ae,p as L,cN as $e,b1 as ye,cO as rt,cP as Ft,cQ as Ct,cR as ct,aw as kt,cS as Nt,cT as dt,cU as Lt,cV as Tt,cW as Pt,cX as zt,cY as Vt,bs as Et,aT as Mt,b9 as Z,ai as Oe,u as I,r as qe,cZ as At,aD as Wt,c_ as Bt,ch as _t,c$ as Rt,am as Yt,d0 as Ut}from"./index-WEj6FS32.js";import{a as G,P as qt}from"./sentry-B0WgNUxa.js";import{n as s,a as Gt,k as Ht}from"./mui-BTtN6lbG.js";import{Fg as Jt,bj as pt,bL as Qt,bh as Pe,bC as Xt,Fh as Zt}from"./zeni-epic-state-DnAAAEmj.js";import{I as ut}from"./LabeledCreatableSingleSelectField-CoS6DIi_-DTDCa09f.js";import{Y as mt}from"./LabeledDocumentField-CVBhbPHv-9665D02s.js";import{p as Kt,i as eo,t as to}from"./commonTypes-Q1WP-Ym3-Cmq2uCPt.js";import{b as oo}from"./LabeledCountryMultiSelectField-CffMX6f1-C44H-4q3.js";import{d as ft}from"./LabeledMultiSelectField-CTqXa2Rh-Cxu9DNT8.js";import{$ as ht}from"./LabeledAddressValue-AuzW29LK-99vdzqZR.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="74edc4a2-0625-45a2-807b-efb7c62242c6",e._sentryDebugIdIdentifier="sentry-dbid-74edc4a2-0625-45a2-807b-efb7c62242c6")}catch{}})();const yt={maxWidth:new g(280,340),contentMaxWidth:new g(200,255)},lo=Ht`
|
|
2
2
|
0% {
|
|
3
3
|
transform: translateX(100%)
|
|
4
4
|
}
|
|
@@ -47,7 +47,7 @@ import{Q as B,g as gt,aQ as bt,a9 as wt,cE as $t,F as T,V as t,bB as It,ac as Ot
|
|
|
47
47
|
&:hover {
|
|
48
48
|
color: ${L.primaryDark};
|
|
49
49
|
}
|
|
50
|
-
`,mo=e=>{const i=T.getLocalizedStrings().companyPassport.snackBar;return e==="Error"?i.failedText:i.successText};function fo(e){const i=B(),{fetchState:h,onRemoveSnackbar:a}=e;G.useEffect(()=>{setTimeout(a,5e3)});const c=T.getLocalizedStrings().companyPassport.snackBar,l=h==="Completed";return t.jsxs(ao,{windowSize:i,children:[l?t.jsx(io,{}):t.jsx(no,{}),t.jsxs(co,{windowSize:i,children:[t.jsx(po,{isSuccess:l,children:l?c.success:c.error}),t.jsx(so,{children:t.jsx(ro,{children:mo(h)})})]}),t.jsx(uo,{onClick:a,children:t.jsx(vt,{})})]})}const xe={labelWidth:new g(110,145,180),largeLabelWidth:new g(150,215,215),largeLabelDocumentWidth:new g(150,210,252),paddingBottom:new g(I[3],I[2])};function ho(e){const i=B(),[h,a]=G.useState(!1),{companyPassport:c,commonSetUp:{businessVerification:l},common:{documents:n}}=T.getLocalizedStrings(),{fileProps:p,companyFiles:y,deleteFileStatusById:$,updateFileStatusById:r,sectionId:d,isDisabled:b,companyIncInfo:j,style:u}=e,M=xe.labelWidth.value(i),C=xe.largeLabelWidth.value(i),O=xe.largeLabelDocumentWidth.value(i),{dateFormat:{visual:v},companyPassport:D}=T.getLocalizedStrings(),w=y.find(H=>H.documentType==="certificate_of_incorporation"),_=i==="small"?c.companyIncInfo.stateOfIncPlaceholderSmall:c.companyIncInfo.stateOfIncPlaceholder,se=i==="small"?c.companyIncInfo.typeOfIncPlaceholderSmall:c.companyIncInfo.typeOfIncPlaceholder;return t.jsxs(yo,{style:u,children:[t.jsx(go,{children:c.companyIncInfo.title}),t.jsxs(xo,{children:[t.jsx(ut,{label:{label:D.companyIncInfo.typeOfInc,width:C},isDisabled:b,creatableSingleSelectField:{name:ge(d,"typeOfInc"),placeholder:se,defaultValue:{selectedOption:j?.typeOfInc,allOptions:c.companyIncInfo.allTypesOfIncorporation}}}),t.jsx(Ce,{}),t.jsx(Ft,{label:{label:D.companyIncInfo.stateOfInc,width:C},isDisabled:b,singleSelectField:{name:ge(d,"stateOfInc"),placeholder:_,defaultValue:{selectedOption:j?.stateOfInc,allOptions:c.companyIncInfo.allStatesOfIncorporation}}}),t.jsx(Ce,{}),t.jsx(Ct,{isDisabled:b,label:{label:c.companyIncInfo.incDate,width:M},style:{paddingBottom:xe.paddingBottom.valuePx(i)},dateField:{name:ge(d,"incDate"),placeholder:Y(c.companyIncInfo.incDate),defaultValue:j?.incDate,dateFormat:v.defaultInput,maxDate:Pe(),minDate:
|
|
50
|
+
`,mo=e=>{const i=T.getLocalizedStrings().companyPassport.snackBar;return e==="Error"?i.failedText:i.successText};function fo(e){const i=B(),{fetchState:h,onRemoveSnackbar:a}=e;G.useEffect(()=>{setTimeout(a,5e3)});const c=T.getLocalizedStrings().companyPassport.snackBar,l=h==="Completed";return t.jsxs(ao,{windowSize:i,children:[l?t.jsx(io,{}):t.jsx(no,{}),t.jsxs(co,{windowSize:i,children:[t.jsx(po,{isSuccess:l,children:l?c.success:c.error}),t.jsx(so,{children:t.jsx(ro,{children:mo(h)})})]}),t.jsx(uo,{onClick:a,children:t.jsx(vt,{})})]})}const xe={labelWidth:new g(110,145,180),largeLabelWidth:new g(150,215,215),largeLabelDocumentWidth:new g(150,210,252),paddingBottom:new g(I[3],I[2])};function ho(e){const i=B(),[h,a]=G.useState(!1),{companyPassport:c,commonSetUp:{businessVerification:l},common:{documents:n}}=T.getLocalizedStrings(),{fileProps:p,companyFiles:y,deleteFileStatusById:$,updateFileStatusById:r,sectionId:d,isDisabled:b,companyIncInfo:j,style:u}=e,M=xe.labelWidth.value(i),C=xe.largeLabelWidth.value(i),O=xe.largeLabelDocumentWidth.value(i),{dateFormat:{visual:v},companyPassport:D}=T.getLocalizedStrings(),w=y.find(H=>H.documentType==="certificate_of_incorporation"),_=i==="small"?c.companyIncInfo.stateOfIncPlaceholderSmall:c.companyIncInfo.stateOfIncPlaceholder,se=i==="small"?c.companyIncInfo.typeOfIncPlaceholderSmall:c.companyIncInfo.typeOfIncPlaceholder;return t.jsxs(yo,{style:u,children:[t.jsx(go,{children:c.companyIncInfo.title}),t.jsxs(xo,{children:[t.jsx(ut,{label:{label:D.companyIncInfo.typeOfInc,width:C},isDisabled:b,creatableSingleSelectField:{name:ge(d,"typeOfInc"),placeholder:se,defaultValue:{selectedOption:j?.typeOfInc,allOptions:c.companyIncInfo.allTypesOfIncorporation}}}),t.jsx(Ce,{}),t.jsx(Ft,{label:{label:D.companyIncInfo.stateOfInc,width:C},isDisabled:b,singleSelectField:{name:ge(d,"stateOfInc"),placeholder:_,defaultValue:{selectedOption:j?.stateOfInc,allOptions:c.companyIncInfo.allStatesOfIncorporation}}}),t.jsx(Ce,{}),t.jsx(Ct,{isDisabled:b,label:{label:c.companyIncInfo.incDate,width:M},style:{paddingBottom:xe.paddingBottom.valuePx(i)},dateField:{name:ge(d,"incDate"),placeholder:Y(c.companyIncInfo.incDate),defaultValue:j?.incDate,dateFormat:v.defaultInput,maxDate:Pe(),minDate:Qt("01 Jan 1900"),autoComplete:"off"}}),t.jsx(Ce,{}),t.jsx(mt,{name:ge(d,"certificateOfIncorporation"),isDisabled:b,sizeLimit:ct,deleteFileStatusById:$,updateFileStatusById:r,filesEndPoint:p.filesEndPoint,authParams:p.authParams,label:{label:l.certificateOfIncorporation,width:O},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:w,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:h,updateFilesEntity:p.updateFilesEntity,onEditFileName:p.onEditFileName,onDeleteFile:p.onDeleteFile,onFileSizeError:H=>a(H)}),t.jsx(bo,{windowSize:i,isError:h,children:n.formatDocumentText10MB})]})]})}const ge=(e,i)=>`${e}.${i}`,yo=s.div`
|
|
51
51
|
display: flex;
|
|
52
52
|
flex-direction: column;
|
|
53
53
|
padding-top: ${o.sp3};
|
|
@@ -59,7 +59,7 @@ import{Q as B,g as gt,aQ as bt,a9 as wt,cE as $t,F as T,V as t,bB as It,ac as Ot
|
|
|
59
59
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
60
60
|
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
61
61
|
border-radius: ${o.sp2};
|
|
62
|
-
`,go=s(
|
|
62
|
+
`,go=s(Z)`
|
|
63
63
|
color: ${e=>e.theme.colors.champion};
|
|
64
64
|
margin-bottom: ${o.sp3};
|
|
65
65
|
`,Ce=s.div`
|
|
@@ -112,7 +112,7 @@ import{Q as B,g as gt,aQ as bt,a9 as wt,cE as $t,F as T,V as t,bB as It,ac as Ot
|
|
|
112
112
|
border-bottom-left-radius: inherit;
|
|
113
113
|
border-bottom-right-radius: inherit;
|
|
114
114
|
}
|
|
115
|
-
`,ue={labelWidth:new g(110,110,140),mediumLabelWidth:new g(140,140,160),largeLabelWidth:new g(170,170,180),extraLargeLabelWidth:new g(200,250,300),regulatedStatusMaxWidth:new g(343,580,726)},f=T.getLocalizedStrings().commonSetUp.businessVerification,Ge=f.companySourceOfFundOptions,jo=T.getLocalizedStrings(),{companyPassport:F,dateFormat:{analytics:He},common:{yes:Qe,no:Xe}}=jo;function Do({companyViewData:e,allIndustries:i,allNationalityCountries:h,companyInfo:a,companyAddress:c,sectionId:l,isDisabled:n,isCompanyVerified:p,onCompanyAddressClick:y,style:$}){const r=B(),d=Gt(),{watch:b,setValue:j,formState:{errors:u}}=st(),M=e.company.company.companyInfo,C=!(p===!0&&a?.companySubIndustry==null)&&!(n!=null&&a?.companySubIndustry==null),O=!(p===!0&&(a?.countriesOfOperations==null||a?.countriesOfOperations.length===0))&&!(n!=null&&a?.countriesOfOperations==null),v=!(p===!0&&a?.transactionVolume==null)&&!(n!=null&&a?.transactionVolume==null),D=!(p===!0&&a?.regulatedStatus==null)&&!(n!=null&&a?.regulatedStatus==null),w=!(p===!0&&a?.usNexus==null)&&!(n!=null&&a?.usNexus==null),_=!(p===!0&&(a?.purposeOfAccount==null||a?.purposeOfAccount.length===0))&&!(n!=null&&a?.purposeOfAccount==null),se=!(p===!0&&(a?.companySourceOfFunds==null||a?.companySourceOfFunds.length===0))&&!(n!=null&&a?.companySourceOfFunds==null),H=b(x(l,"companySourceOfFunds")),Se=b(x(l,"transactionVolume")),je=b(x(l,"regulatedStatus")),Q=b(x(l,"usNexus")),q=b(x(l,"purposeOfAccount")),me=m=>Ge[m]??m,re=f.transactionVolumeOptions,K=m=>re[m]??m,ce=f.usNexusOptions,X=m=>ce[m]??m,ee=Object.values(ce),De=(a?.usNexusTypes??[]).map(X),fe=f.purposeOfAccountOptions,ve=m=>fe[m]??m,V=ue.labelWidth.value(r),te=ue.mediumLabelWidth.value(r),W=ue.largeLabelWidth.value(r),Z=ue.extraLargeLabelWidth.value(r),oe=r==="small"?F.companyInfo.businessModelPlaceholderSmall:F.companyInfo.businessModelPlaceholder,R=m=>i.find(z=>z.code===m)?.name??m,de=b(x(l,"industry")),Fe=f.companyIndustryOptions??{},le=m=>Fe[m]??m,he=f.companySubIndustryOptions??{},P=m=>{if(m==null||m==="")return[];const z=he[m];return z!=null?Object.keys(z):[]},S=m=>{const z=de?.selectedOption;return z==null||z===""?m:he[z]?.[m]??m},k=m=>{j(x(l,"subIndustry"),{selectedOption:void 0,allOptions:P(m)})},N=de?.selectedOption??a?.industry;return t.jsxs(Fo,{style:$,children:[t.jsx(ko,{children:F.companyInfo.title}),t.jsxs(Co,{children:[t.jsx(E,{isDisabled:n,label:{label:F.companyInfo.companyName,width:W},text:{type:"text",name:x(l,"companyName"),placeholder:Y(F.companyInfo.companyName),defaultValue:a?.companyName,autoComplete:"new-password",options:{required:!!M.name,pattern:Ue}}}),t.jsx(A,{}),t.jsx(E,{isDisabled:n,label:{label:F.companyInfo.legalName,width:te},text:{type:"text",name:x(l,"legalName"),placeholder:Y(F.companyInfo.legalName),defaultValue:a?.legalName,autoComplete:"new-password",options:{required:!!M.companyLegalName,pattern:Ue}}}),t.jsx(A,{}),t.jsx(E,{isDisabled:n,label:{label:F.companyInfo.website,width:V},text:{type:"url",name:x(l,"website"),placeholder:Y(F.companyInfo.website),defaultValue:a?.website?.toString()??"",autoComplete:"new-password"}}),t.jsx(A,{}),C?t.jsx(t.Fragment,{children:t.jsxs(No,{"data-suppress-hover":n!=null?!0:void 0,children:[t.jsx(ae,{label:{label:f.companyIndustryLabel,width:V},singleSelectField:{singleSelect:{name:x(l,"industry"),placeholder:f.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:le,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.industry,allOptions:Object.keys(f.companyIndustryOptions)},onSelectChange:k},isFunctional:!0,errorInfoLabel:f.companyIndustryError.replace("_product_type_","company"),style:{padding:0,margin:0,outline:"none",paddingRight:o.sp2}}),N!=null&&t.jsx(ae,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:x(l,"subIndustry"),placeholder:f.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:S,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.companySubIndustry,allOptions:P(de?.selectedOption)}},isFunctional:!0,keepFocusedStyle:!0,errorInfoLabel:f.companySubIndustryError.replace("_product_type_","company"),additionalInfoLabel:n==null?f.companyIndustryAdditionalInfo:void 0,additionalInfoStyle:{color:d.colors.hero},style:{outline:"none",paddingBottom:o.sp0,width:"100%"}})]})}):t.jsx(ae,{label:{label:F.companyInfo.industry,width:V},singleSelectField:{singleSelect:{name:x(l,"industry"),placeholder:F.companyInfo.industryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:R,isDisabled:n,showTickMark:!0},defaultValue:{selectedOption:a?.industry,allOptions:i?.map(m=>m.code)??[]}},isFunctional:!0}),t.jsx(A,{}),t.jsx(ut,{isDisabled:n,label:{label:F.companyInfo.businessModel,width:W},creatableSingleSelectField:{name:x(l,"businessModel"),placeholder:oe,defaultValue:{selectedOption:a?.businessModel,allOptions:F.companyInfo.allBusinessModels}}}),O&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsx(oo,{label:{label:f.countriesOfOperationsLabel,width:W},isDisabled:n,additionalInfoLabel:n==null?f.countriesOfOperationsAdditionalInfo:void 0,multiSelectField:{name:x(l,"countriesOfOperations"),placeholder:f.countriesOfOperationsPlaceholder,defaultValue:nt(a?.countriesOfOperations,(h??[]).map(m=>m.countryCode))}})]}),se&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsx(ae,{label:{label:f.companySourceOfFundsLabel,width:W},singleSelectField:{singleSelect:{name:x(l,"companySourceOfFunds"),placeholder:f.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:me,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.companySourceOfFunds,allOptions:Object.keys(Ge)}},isFunctional:!0,additionalContent:Kt.includes(H?.selectedOption)?t.jsx(E,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:x(l,"companySourceOfFundsDescription"),placeholder:f.descriptionPlaceholder,style:{backgroundColor:u[l]!=null&&u[l]?.companySourceOfFundsDescription!=null?L.importantLight:d.colors.background},options:{}},additionalInfoLabel:f.companySourceOfFundsDescriptionError,style:{position:"relative",top:0,left:-W,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||u[l]!=null&&u[l]?.companySourceOfFundsDescription!=null?void 0:f.companySourceOfFundsAdditionalInfo,additionalInfoStyle:{color:d.colors.hero}})]}),v&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsx(ae,{label:{label:f.transactionVolumeLabel,width:Z},singleSelectField:{singleSelect:{name:x(l,"transactionVolume"),placeholder:f.transactionVolumePlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:K,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.transactionVolume,allOptions:Object.keys(re)}},isFunctional:!0,additionalContent:eo.includes(Se?.selectedOption)?t.jsx(E,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:x(l,"transactionVolumeDescription"),placeholder:f.descriptionPlaceholder,style:{backgroundColor:u[l]!=null&&u[l]?.transactionVolumeDescription!=null?L.importantLight:d.colors.background},options:{}},additionalInfoLabel:f.transactionVolumeDescriptionError,style:{position:"relative",top:0,left:-Z,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||u[l]!=null&&u[l]?.transactionVolumeDescription!=null?void 0:f.transactionVolumeAdditionalInfo,additionalInfoStyle:{color:d.colors.hero}})]}),D&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsxs(Ze,{windowSize:r,"data-suppress-hover":n!=null?!0:void 0,children:[t.jsxs(Je,{children:[t.jsx($e,{label:f.regulatedStatusLabel,htmlFor:x(l,"regulatedStatus"),isDisabled:n,style:{width:W,color:n==="disabled"?d.colors.grey1:d.colors.hero}}),t.jsxs(Ke,{labelWidth:W,windowSize:r,children:[t.jsx(ye,{label:{label:Qe},style:{paddingRight:`${o.sp4}`,width:"auto"},radioField:{name:x(l,"regulatedStatus"),id:`${x(l,"regulatedStatus")}.yes`,value:"yes",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0}),t.jsx(ye,{label:{label:Xe},style:{width:"auto"},radioField:{name:x(l,"regulatedStatus"),id:`${x(l,"regulatedStatus")}.no`,value:"no",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0})]})]}),je==="yes"&&t.jsx(E,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},text:{type:"text",name:x(l,"regulatedStatusDescription"),placeholder:f.regulatedStatusDescriptionPlaceholder,style:{backgroundColor:u[l]!=null&&u[l]?.regulatedStatusDescription!=null?L.importantLight:d.colors.background},options:{}},additionalInfoLabel:f.regulatedStatusDescriptionError,style:{outline:"none",width:"100%",padding:0}}),u[l]!=null&&u[l]?.regulatedStatus!=null?t.jsx(ke,{windowSize:r,children:f.regulatedStatusError.replace("_product_type_","company details")}):u[l]!=null&&u[l]?.regulatedStatusDescription!=null?null:n==null?t.jsx(et,{windowSize:r,children:f.regulatedStatusAdditionalInfo}):null]})]}),w&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsxs(Ze,{windowSize:r,"data-suppress-hover":n!=null?!0:void 0,children:[t.jsxs(Je,{children:[t.jsx($e,{label:f.usNexusLabel,htmlFor:x(l,"usNexus"),isDisabled:n,style:{width:W,color:n==="disabled"?d.colors.grey1:d.colors.hero}}),t.jsxs(Ke,{labelWidth:W,windowSize:r,children:[t.jsx(ye,{label:{label:Qe},style:{paddingRight:`${o.sp4}`,width:"auto"},radioField:{name:x(l,"usNexus"),id:`${x(l,"usNexus")}.yes`,value:"yes",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0}),t.jsx(ye,{label:{label:Xe},style:{width:"auto"},radioField:{name:x(l,"usNexus"),id:`${x(l,"usNexus")}.no`,value:"no",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0})]})]}),Q==="yes"&&t.jsxs(t.Fragment,{children:[t.jsx(Lo,{hasError:u[l]!=null&&u[l]?.usNexusTypes!=null,children:t.jsx(ft,{isDisabled:n,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},multiSelectField:{name:x(l,"usNexusTypes"),placeholder:f.usNexusPlaceholder,defaultValue:{selectedOptions:De,allOptions:ee},registerOptions:{required:n==null,shouldUnregister:!0,validate:m=>{const z=m?.selectedOptions;return z!=null&&z.length>0}}},style:{outline:"none",margin:0,padding:0,width:"100%"}})}),u[l]!=null&&u[l]?.usNexusTypes!=null&&t.jsx(ke,{windowSize:r,children:f.usNexusTypesError})]}),u[l]!=null&&u[l]?.usNexus!=null?t.jsx(ke,{windowSize:r,children:f.usNexusError.replace("_product_type_","company details")}):u[l]!=null&&u[l]?.usNexusTypes!=null?null:n==null?t.jsx(et,{windowSize:r,children:f.usNexusAdditionalInfo}):null]})]}),_&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsx(ae,{label:{label:f.purposeOfAccountLabel,width:Z},singleSelectField:{singleSelect:{name:x(l,"purposeOfAccount"),placeholder:f.purposeOfAccountPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ve,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.purposeOfAccount,allOptions:Object.keys(fe)}},isFunctional:!0,additionalContent:to.includes(q?.selectedOption)?t.jsx(E,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:x(l,"purposeOfAccountDescription"),placeholder:f.descriptionPlaceholder,style:{backgroundColor:u[l]!=null&&u[l]?.purposeOfAccountDescription!=null?L.importantLight:d.colors.background},options:{}},additionalInfoLabel:f.purposeOfAccountDescriptionError,style:{position:"relative",top:0,left:-Z,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||u[l]!=null&&u[l]?.purposeOfAccountDescription!=null?void 0:f.purposeOfAccountAdditionalInfo,additionalInfoStyle:{color:d.colors.hero}})]}),t.jsx(A,{}),t.jsx(ht,{isDisabled:n,label:{label:F.companyInfo.address,width:V},addressValue:{placeholder:Y(F.companyInfo.address),address:c?.addressToCreate,onClick:()=>y("company_address")}}),t.jsx(A,{}),t.jsx(rt,{isDisabled:n,label:{label:F.companyInfo.phone,width:V},text:{name:x(l,"phone"),placeholder:Y(F.companyInfo.phone),defaultValue:a?.phone,autoComplete:"new-password"}}),t.jsx(A,{}),t.jsx(we,{label:{label:F.companyInfo.fiscalYear,width:V},bullettedLabels:{labels:[{text:vo(a?.firstMonthOfFY??1)}],listStyleType:"none"}})]})]})}const vo=e=>{const{fiscalYearMonths:i}=Jt(e);return`${Pe().month(i[0]-1).format(He.MMMFormat)} to ${Pe().month(i[11]-1).format(He.MMMFormat)}`},x=(e,i)=>`${e}.${i}`,Fo=s.div`
|
|
115
|
+
`,ue={labelWidth:new g(110,110,140),mediumLabelWidth:new g(140,140,160),largeLabelWidth:new g(170,170,180),extraLargeLabelWidth:new g(200,250,300),regulatedStatusMaxWidth:new g(343,580,726)},f=T.getLocalizedStrings().commonSetUp.businessVerification,Ge=f.companySourceOfFundOptions,jo=T.getLocalizedStrings(),{companyPassport:F,dateFormat:{analytics:He},common:{yes:Je,no:Qe}}=jo;function Do({companyViewData:e,allIndustries:i,allNationalityCountries:h,companyInfo:a,companyAddress:c,sectionId:l,isDisabled:n,isCompanyVerified:p,onCompanyAddressClick:y,style:$}){const r=B(),d=Gt(),{watch:b,setValue:j,formState:{errors:u}}=st(),M=e.company.company.companyInfo,C=!(p===!0&&a?.companySubIndustry==null)&&!(n!=null&&a?.companySubIndustry==null),O=!(p===!0&&(a?.countriesOfOperations==null||a?.countriesOfOperations.length===0))&&!(n!=null&&a?.countriesOfOperations==null),v=!(p===!0&&a?.transactionVolume==null)&&!(n!=null&&a?.transactionVolume==null),D=!(p===!0&&a?.regulatedStatus==null)&&!(n!=null&&a?.regulatedStatus==null),w=!(p===!0&&a?.usNexus==null)&&!(n!=null&&a?.usNexus==null),_=!(p===!0&&(a?.purposeOfAccount==null||a?.purposeOfAccount.length===0))&&!(n!=null&&a?.purposeOfAccount==null),se=!(p===!0&&(a?.companySourceOfFunds==null||a?.companySourceOfFunds.length===0))&&!(n!=null&&a?.companySourceOfFunds==null),H=b(x(l,"companySourceOfFunds")),Se=b(x(l,"transactionVolume")),je=b(x(l,"regulatedStatus")),J=b(x(l,"usNexus")),q=b(x(l,"purposeOfAccount")),me=m=>Ge[m]??m,re=f.transactionVolumeOptions,K=m=>re[m]??m,ce=f.usNexusOptions,Q=m=>ce[m]??m,ee=Object.values(ce),De=(a?.usNexusTypes??[]).map(Q),fe=f.purposeOfAccountOptions,ve=m=>fe[m]??m,V=ue.labelWidth.value(r),te=ue.mediumLabelWidth.value(r),W=ue.largeLabelWidth.value(r),X=ue.extraLargeLabelWidth.value(r),oe=r==="small"?F.companyInfo.businessModelPlaceholderSmall:F.companyInfo.businessModelPlaceholder,R=m=>i.find(z=>z.code===m)?.name??m,de=b(x(l,"industry")),Fe=f.companyIndustryOptions??{},le=m=>Fe[m]??m,he=f.companySubIndustryOptions??{},P=m=>{if(m==null||m==="")return[];const z=he[m];return z!=null?Object.keys(z):[]},S=m=>{const z=de?.selectedOption;return z==null||z===""?m:he[z]?.[m]??m},k=m=>{j(x(l,"subIndustry"),{selectedOption:void 0,allOptions:P(m)})},N=de?.selectedOption??a?.industry;return t.jsxs(Fo,{style:$,children:[t.jsx(ko,{children:F.companyInfo.title}),t.jsxs(Co,{children:[t.jsx(E,{isDisabled:n,label:{label:F.companyInfo.companyName,width:W},text:{type:"text",name:x(l,"companyName"),placeholder:Y(F.companyInfo.companyName),defaultValue:a?.companyName,autoComplete:"new-password",options:{required:!!M.name,pattern:Ue}}}),t.jsx(A,{}),t.jsx(E,{isDisabled:n,label:{label:F.companyInfo.legalName,width:te},text:{type:"text",name:x(l,"legalName"),placeholder:Y(F.companyInfo.legalName),defaultValue:a?.legalName,autoComplete:"new-password",options:{required:!!M.companyLegalName,pattern:Ue}}}),t.jsx(A,{}),t.jsx(E,{isDisabled:n,label:{label:F.companyInfo.website,width:V},text:{type:"url",name:x(l,"website"),placeholder:Y(F.companyInfo.website),defaultValue:a?.website?.toString()??"",autoComplete:"new-password"}}),t.jsx(A,{}),C?t.jsx(t.Fragment,{children:t.jsxs(No,{"data-suppress-hover":n!=null?!0:void 0,children:[t.jsx(ae,{label:{label:f.companyIndustryLabel,width:V},singleSelectField:{singleSelect:{name:x(l,"industry"),placeholder:f.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:le,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.industry,allOptions:Object.keys(f.companyIndustryOptions)},onSelectChange:k},isFunctional:!0,errorInfoLabel:f.companyIndustryError.replace("_product_type_","company"),style:{padding:0,margin:0,outline:"none",paddingRight:o.sp2}}),N!=null&&t.jsx(ae,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:x(l,"subIndustry"),placeholder:f.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:S,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.companySubIndustry,allOptions:P(de?.selectedOption)}},isFunctional:!0,keepFocusedStyle:!0,errorInfoLabel:f.companySubIndustryError.replace("_product_type_","company"),additionalInfoLabel:n==null?f.companyIndustryAdditionalInfo:void 0,additionalInfoStyle:{color:d.colors.hero},style:{outline:"none",paddingBottom:o.sp0,width:"100%"}})]})}):t.jsx(ae,{label:{label:F.companyInfo.industry,width:V},singleSelectField:{singleSelect:{name:x(l,"industry"),placeholder:F.companyInfo.industryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:R,isDisabled:n,showTickMark:!0},defaultValue:{selectedOption:a?.industry,allOptions:i?.map(m=>m.code)??[]}},isFunctional:!0}),t.jsx(A,{}),t.jsx(ut,{isDisabled:n,label:{label:F.companyInfo.businessModel,width:W},creatableSingleSelectField:{name:x(l,"businessModel"),placeholder:oe,defaultValue:{selectedOption:a?.businessModel,allOptions:F.companyInfo.allBusinessModels}}}),O&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsx(oo,{label:{label:f.countriesOfOperationsLabel,width:W},isDisabled:n,additionalInfoLabel:n==null?f.countriesOfOperationsAdditionalInfo:void 0,multiSelectField:{name:x(l,"countriesOfOperations"),placeholder:f.countriesOfOperationsPlaceholder,defaultValue:nt(a?.countriesOfOperations,(h??[]).map(m=>m.countryCode))}})]}),se&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsx(ae,{label:{label:f.companySourceOfFundsLabel,width:W},singleSelectField:{singleSelect:{name:x(l,"companySourceOfFunds"),placeholder:f.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:me,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.companySourceOfFunds,allOptions:Object.keys(Ge)}},isFunctional:!0,additionalContent:Kt.includes(H?.selectedOption)?t.jsx(E,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:x(l,"companySourceOfFundsDescription"),placeholder:f.descriptionPlaceholder,style:{backgroundColor:u[l]!=null&&u[l]?.companySourceOfFundsDescription!=null?L.importantLight:d.colors.background},options:{}},additionalInfoLabel:f.companySourceOfFundsDescriptionError,style:{position:"relative",top:0,left:-W,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||u[l]!=null&&u[l]?.companySourceOfFundsDescription!=null?void 0:f.companySourceOfFundsAdditionalInfo,additionalInfoStyle:{color:d.colors.hero}})]}),v&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsx(ae,{label:{label:f.transactionVolumeLabel,width:X},singleSelectField:{singleSelect:{name:x(l,"transactionVolume"),placeholder:f.transactionVolumePlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:K,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.transactionVolume,allOptions:Object.keys(re)}},isFunctional:!0,additionalContent:eo.includes(Se?.selectedOption)?t.jsx(E,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:x(l,"transactionVolumeDescription"),placeholder:f.descriptionPlaceholder,style:{backgroundColor:u[l]!=null&&u[l]?.transactionVolumeDescription!=null?L.importantLight:d.colors.background},options:{}},additionalInfoLabel:f.transactionVolumeDescriptionError,style:{position:"relative",top:0,left:-X,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||u[l]!=null&&u[l]?.transactionVolumeDescription!=null?void 0:f.transactionVolumeAdditionalInfo,additionalInfoStyle:{color:d.colors.hero}})]}),D&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsxs(Xe,{windowSize:r,"data-suppress-hover":n!=null?!0:void 0,children:[t.jsxs(Ze,{children:[t.jsx($e,{label:f.regulatedStatusLabel,htmlFor:x(l,"regulatedStatus"),isDisabled:n,style:{width:W,color:n==="disabled"?d.colors.grey1:d.colors.hero}}),t.jsxs(Ke,{labelWidth:W,windowSize:r,children:[t.jsx(ye,{label:{label:Je},style:{paddingRight:`${o.sp4}`,width:"auto"},radioField:{name:x(l,"regulatedStatus"),id:`${x(l,"regulatedStatus")}.yes`,value:"yes",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0}),t.jsx(ye,{label:{label:Qe},style:{width:"auto"},radioField:{name:x(l,"regulatedStatus"),id:`${x(l,"regulatedStatus")}.no`,value:"no",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0})]})]}),je==="yes"&&t.jsx(E,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},text:{type:"text",name:x(l,"regulatedStatusDescription"),placeholder:f.regulatedStatusDescriptionPlaceholder,style:{backgroundColor:u[l]!=null&&u[l]?.regulatedStatusDescription!=null?L.importantLight:d.colors.background},options:{}},additionalInfoLabel:f.regulatedStatusDescriptionError,style:{outline:"none",width:"100%",padding:0}}),u[l]!=null&&u[l]?.regulatedStatus!=null?t.jsx(ke,{windowSize:r,children:f.regulatedStatusError.replace("_product_type_","company details")}):u[l]!=null&&u[l]?.regulatedStatusDescription!=null?null:n==null?t.jsx(et,{windowSize:r,children:f.regulatedStatusAdditionalInfo}):null]})]}),w&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsxs(Xe,{windowSize:r,"data-suppress-hover":n!=null?!0:void 0,children:[t.jsxs(Ze,{children:[t.jsx($e,{label:f.usNexusLabel,htmlFor:x(l,"usNexus"),isDisabled:n,style:{width:W,color:n==="disabled"?d.colors.grey1:d.colors.hero}}),t.jsxs(Ke,{labelWidth:W,windowSize:r,children:[t.jsx(ye,{label:{label:Je},style:{paddingRight:`${o.sp4}`,width:"auto"},radioField:{name:x(l,"usNexus"),id:`${x(l,"usNexus")}.yes`,value:"yes",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0}),t.jsx(ye,{label:{label:Qe},style:{width:"auto"},radioField:{name:x(l,"usNexus"),id:`${x(l,"usNexus")}.no`,value:"no",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0})]})]}),J==="yes"&&t.jsxs(t.Fragment,{children:[t.jsx(Lo,{hasError:u[l]!=null&&u[l]?.usNexusTypes!=null,children:t.jsx(ft,{isDisabled:n,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},multiSelectField:{name:x(l,"usNexusTypes"),placeholder:f.usNexusPlaceholder,defaultValue:{selectedOptions:De,allOptions:ee},registerOptions:{required:n==null,shouldUnregister:!0,validate:m=>{const z=m?.selectedOptions;return z!=null&&z.length>0}}},style:{outline:"none",margin:0,padding:0,width:"100%"}})}),u[l]!=null&&u[l]?.usNexusTypes!=null&&t.jsx(ke,{windowSize:r,children:f.usNexusTypesError})]}),u[l]!=null&&u[l]?.usNexus!=null?t.jsx(ke,{windowSize:r,children:f.usNexusError.replace("_product_type_","company details")}):u[l]!=null&&u[l]?.usNexusTypes!=null?null:n==null?t.jsx(et,{windowSize:r,children:f.usNexusAdditionalInfo}):null]})]}),_&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsx(ae,{label:{label:f.purposeOfAccountLabel,width:X},singleSelectField:{singleSelect:{name:x(l,"purposeOfAccount"),placeholder:f.purposeOfAccountPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ve,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.purposeOfAccount,allOptions:Object.keys(fe)}},isFunctional:!0,additionalContent:to.includes(q?.selectedOption)?t.jsx(E,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:x(l,"purposeOfAccountDescription"),placeholder:f.descriptionPlaceholder,style:{backgroundColor:u[l]!=null&&u[l]?.purposeOfAccountDescription!=null?L.importantLight:d.colors.background},options:{}},additionalInfoLabel:f.purposeOfAccountDescriptionError,style:{position:"relative",top:0,left:-X,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||u[l]!=null&&u[l]?.purposeOfAccountDescription!=null?void 0:f.purposeOfAccountAdditionalInfo,additionalInfoStyle:{color:d.colors.hero}})]}),t.jsx(A,{}),t.jsx(ht,{isDisabled:n,label:{label:F.companyInfo.address,width:V},addressValue:{placeholder:Y(F.companyInfo.address),address:c?.addressToCreate,onClick:()=>y("company_address")}}),t.jsx(A,{}),t.jsx(rt,{isDisabled:n,label:{label:F.companyInfo.phone,width:V},text:{name:x(l,"phone"),placeholder:Y(F.companyInfo.phone),defaultValue:a?.phone,autoComplete:"new-password"}}),t.jsx(A,{}),t.jsx(we,{label:{label:F.companyInfo.fiscalYear,width:V},bullettedLabels:{labels:[{text:vo(a?.firstMonthOfFY??1)}],listStyleType:"none"}})]})]})}const vo=e=>{const{fiscalYearMonths:i}=Zt(e);return`${Pe().month(i[0]-1).format(He.MMMFormat)} to ${Pe().month(i[11]-1).format(He.MMMFormat)}`},x=(e,i)=>`${e}.${i}`,Fo=s.div`
|
|
116
116
|
display: flex;
|
|
117
117
|
flex-direction: column;
|
|
118
118
|
padding-top: ${o.sp3};
|
|
@@ -124,7 +124,7 @@ import{Q as B,g as gt,aQ as bt,a9 as wt,cE as $t,F as T,V as t,bB as It,ac as Ot
|
|
|
124
124
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
125
125
|
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
126
126
|
border-radius: ${o.sp2};
|
|
127
|
-
`,ko=s(
|
|
127
|
+
`,ko=s(Z)`
|
|
128
128
|
color: ${e=>e.theme.colors.champion};
|
|
129
129
|
margin-bottom: ${o.sp3};
|
|
130
130
|
`,A=s.div`
|
|
@@ -153,7 +153,7 @@ import{Q as B,g as gt,aQ as bt,a9 as wt,cE as $t,F as T,V as t,bB as It,ac as Ot
|
|
|
153
153
|
outline: none;
|
|
154
154
|
background-color: inherit;
|
|
155
155
|
}
|
|
156
|
-
`,
|
|
156
|
+
`,Xe=s.div`
|
|
157
157
|
display: flex;
|
|
158
158
|
flex-direction: column;
|
|
159
159
|
width: ${e=>ue.regulatedStatusMaxWidth.valuePx(e.windowSize)};
|
|
@@ -173,7 +173,7 @@ import{Q as B,g as gt,aQ as bt,a9 as wt,cE as $t,F as T,V as t,bB as It,ac as Ot
|
|
|
173
173
|
outline: none;
|
|
174
174
|
background-color: inherit;
|
|
175
175
|
}
|
|
176
|
-
`,
|
|
176
|
+
`,Ze=s.div`
|
|
177
177
|
display: flex;
|
|
178
178
|
flex-direction: row;
|
|
179
179
|
align-items: center;
|
|
@@ -218,7 +218,7 @@ import{Q as B,g as gt,aQ as bt,a9 as wt,cE as $t,F as T,V as t,bB as It,ac as Ot
|
|
|
218
218
|
margin-bottom: ${o.sp4};
|
|
219
219
|
`,Ve=s.div`
|
|
220
220
|
padding-bottom: ${o.sp6};
|
|
221
|
-
`,Ao=s(
|
|
221
|
+
`,Ao=s(Z)`
|
|
222
222
|
color: ${e=>e.theme.colors.champion};
|
|
223
223
|
margin-bottom: ${o.sp4};
|
|
224
224
|
`,Wo=s.div`
|
|
@@ -227,7 +227,7 @@ import{Q as B,g as gt,aQ as bt,a9 as wt,cE as $t,F as T,V as t,bB as It,ac as Ot
|
|
|
227
227
|
display: flex;
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
|
-
`,Bo=s(
|
|
230
|
+
`,Bo=s(Z)`
|
|
231
231
|
display: flex;
|
|
232
232
|
align-items: center;
|
|
233
233
|
justify-content: space-between;
|
|
@@ -279,19 +279,19 @@ import{Q as B,g as gt,aQ as bt,a9 as wt,cE as $t,F as T,V as t,bB as It,ac as Ot
|
|
|
279
279
|
background-color: ${e=>e.theme.colors.grey3};
|
|
280
280
|
min-height: 1px;
|
|
281
281
|
max-height: 1px;
|
|
282
|
-
`,tt={labelWidth:new g(160,160,160),largeLabelWidth:new g(150,215,215)};function
|
|
282
|
+
`,tt={labelWidth:new g(160,160,160),largeLabelWidth:new g(150,215,215)};function Jo(e){const i=B(),h=kt(),[a,c]=G.useState(!1),{companyPassport:l,commonSetUp:{businessVerification:n},common:{documents:p}}=T.getLocalizedStrings(),{fileProps:y,companyFiles:$,deleteFileStatusById:r,updateFileStatusById:d,sectionId:b,isDisabled:j,companyTaxInfo:u,style:M}=e,C=tt.labelWidth.value(i),O=tt.largeLabelWidth.value(i),v=!Xt(h.loggedInUserRole??[]),D=$.find(w=>w.documentType==="tax_ein");return t.jsxs(Qo,{style:M,children:[t.jsx(Zo,{children:l.companyTaxInfo.title}),t.jsxs(Xo,{children:[t.jsx(E,{isDisabled:j,label:{label:l.companyTaxInfo.taxIdOrEIN,width:C},text:{type:"text",name:ie(b,"taxIdOrEIN"),placeholder:l.companyTaxInfo.taxIdOrEINPlaceholder,defaultValue:v===!0?l.protectedContent:u?.taxIdOrEIN,options:{pattern:Nt},autoComplete:"new-password"},protectedInfoText:v===!0?l.companyTaxInfo.adminPrivilegeRequired:void 0}),t.jsx(pe,{}),t.jsx(E,{isDisabled:j,label:{label:l.companyTaxInfo.dunsNumber,width:C},text:{type:"text",name:ie(b,"dunsNumber"),placeholder:l.companyTaxInfo.dunsNumberPlaceholder,defaultValue:u?.dunsNumber,options:{pattern:/^\d{9}$/},autoComplete:"new-password"}}),t.jsx(pe,{}),t.jsx(E,{isDisabled:j,label:{label:l.companyTaxInfo.naicsCode,width:C},text:{type:"text",name:ie(b,"naicsCode"),placeholder:l.companyTaxInfo.naicsCodePlaceholder,defaultValue:u?.naicsCode,options:{pattern:/^([2-9]{1}[0-9]{1}|[1-9]{1}[1-9]{1})\d{0,4}$/},autoComplete:"new-password"}}),t.jsx(pe,{}),t.jsx(E,{isDisabled:j,label:{label:l.companyTaxInfo.sicCode,width:C},text:{type:"text",name:ie(b,"sicCode"),placeholder:l.companyTaxInfo.sicCodePlaceholder,defaultValue:u?.sicCode,options:{pattern:/^\d{2,4}$/},autoComplete:"new-password"}}),t.jsx(pe,{}),t.jsx(ft,{isDisabled:j,label:{label:l.companyTaxInfo.taxesFiledYears,width:C},multiSelectField:{name:ie(b,"taxesFiledYears"),placeholder:l.companyTaxInfo.taxesFiledYearsPlaceholder,defaultValue:{selectedOptions:u?.taxesFiledYears.map(w=>w.toString())??[],allOptions:pt().map(w=>w.toString())}}}),t.jsx(pe,{}),t.jsx(mt,{name:ie(b,"einDocument"),isDisabled:j,sizeLimit:ct,deleteFileStatusById:r,updateFileStatusById:d,filesEndPoint:y.filesEndPoint,authParams:y.authParams,label:{label:n.einDocument,width:O},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:D,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:a,updateFilesEntity:y.updateFilesEntity,onEditFileName:y.onEditFileName,onDeleteFile:y.onDeleteFile,onFileSizeError:w=>c(w)}),t.jsx(Ko,{windowSize:i,isError:a,children:p.formatDocumentText10MB})]})]})}const ie=(e,i)=>`${e}.${i}`,Qo=s.div`
|
|
283
283
|
display: flex;
|
|
284
284
|
flex-direction: column;
|
|
285
285
|
padding-top: ${o.sp3};
|
|
286
286
|
padding-bottom: ${o.sp9};
|
|
287
|
-
`,
|
|
287
|
+
`,Xo=s.div`
|
|
288
288
|
display: flex;
|
|
289
289
|
flex-direction: column;
|
|
290
290
|
background-color: ${e=>e.theme.colors.grey5};
|
|
291
291
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
292
292
|
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
293
293
|
border-radius: ${o.sp2};
|
|
294
|
-
`,
|
|
294
|
+
`,Zo=s(Z)`
|
|
295
295
|
color: ${e=>e.theme.colors.champion};
|
|
296
296
|
margin-bottom: ${o.sp3};
|
|
297
297
|
`,pe=s.div`
|
|
@@ -318,7 +318,7 @@ import{Q as B,g as gt,aQ as bt,a9 as wt,cE as $t,F as T,V as t,bB as It,ac as Ot
|
|
|
318
318
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
319
319
|
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
320
320
|
border-radius: ${o.sp2};
|
|
321
|
-
`,al=s(
|
|
321
|
+
`,al=s(Z)`
|
|
322
322
|
color: ${e=>e.theme.colors.champion};
|
|
323
323
|
margin-bottom: ${o.sp3};
|
|
324
324
|
`,il=s.div`
|
|
@@ -384,7 +384,7 @@ import{Q as B,g as gt,aQ as bt,a9 as wt,cE as $t,F as T,V as t,bB as It,ac as Ot
|
|
|
384
384
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
385
385
|
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
386
386
|
border-radius: ${o.sp2};
|
|
387
|
-
`,bl=s(
|
|
387
|
+
`,bl=s(Z)`
|
|
388
388
|
color: ${e=>e.theme.colors.champion};
|
|
389
389
|
margin-bottom: ${o.sp3};
|
|
390
390
|
`,be=s.div`
|
|
@@ -393,7 +393,7 @@ import{Q as B,g as gt,aQ as bt,a9 as wt,cE as $t,F as T,V as t,bB as It,ac as Ot
|
|
|
393
393
|
background-color: ${e=>e.theme.colors.grey3};
|
|
394
394
|
min-height: 1px;
|
|
395
395
|
max-height: 1px;
|
|
396
|
-
`,Ee={width:new g(343,580,726),buttonWidth:new g(85,85)},lt="companyPassportPage",Me="companyInfo",Ae="companyIncInfo",We="companyTaxInfo",Be="primaryContact",_e="companyOfficer",Re="zeniFinanceTeam";function Wl(e){const i=B(),h=gt(),{companyPassportView:a,isZeniUser:c,filesEndPoint:l,authParams:n,allIndustries:p,allNationalityCountries:y,isCompanyVerified:$,isDisabled:r,isSettings:d=!1,onCompanyDetailsChanged:b,onCompanyOfficerUpdated:j,onNewCompanyOfficerAdded:u,onPrimaryContactDetailsUpdated:M,onNewCompanyOfficerRemoved:C,onSaveAll:O,onAddressClick:v,onScheduleClick:D,onBackClick:w,onResetClick:_,onEditFileName:se,updateFilesEntity:H,onDeleteFile:Se,onClickMenuIcon:je}=e,{companyView:
|
|
396
|
+
`,Ee={width:new g(343,580,726),buttonWidth:new g(85,85)},lt="companyPassportPage",Me="companyInfo",Ae="companyIncInfo",We="companyTaxInfo",Be="primaryContact",_e="companyOfficer",Re="zeniFinanceTeam";function Wl(e){const i=B(),h=gt(),{companyPassportView:a,isZeniUser:c,filesEndPoint:l,authParams:n,allIndustries:p,allNationalityCountries:y,isCompanyVerified:$,isDisabled:r,isSettings:d=!1,onCompanyDetailsChanged:b,onCompanyOfficerUpdated:j,onNewCompanyOfficerAdded:u,onPrimaryContactDetailsUpdated:M,onNewCompanyOfficerRemoved:C,onSaveAll:O,onAddressClick:v,onScheduleClick:D,onBackClick:w,onResetClick:_,onEditFileName:se,updateFilesEntity:H,onDeleteFile:Se,onClickMenuIcon:je}=e,{companyView:J,localData:q,deleteFileStatusById:me,updateFileStatusById:re}=a,{companyFiles:K}=q,ce={authParams:n,filesEndPoint:l,onEditFileName:se,onDeleteFile:Se,updateFilesEntity:H},[Q,ee]=G.useState(void 0),{companyDetails:De,primaryContact:fe,companyOfficerUpdateStatus:ve,updateStatus:V}=q,{localData:te,addressStatus:W}=De,X=bt(V.fetchState),oe=Object.values(ve).filter(P=>P.localData!=null),R=wt({mode:"all",defaultValues:it(q,p,y)});G.useEffect(()=>()=>{ee(void 0)},[]),G.useEffect(()=>{X==="In-Progress"&&(V.fetchState==="Completed"||V.fetchState==="Error")&&(R.reset(it(q,p,y)),Q!==V.fetchState&&ee(V.fetchState))},[Q,R,X,V,q,J,p,y,K]);const de=async(P,S)=>{if(P.includes(Me)||P.includes(Ae)||P.includes(We)||P.includes(Re)){const{companyInfo:k,companyIncInfo:N,companyTaxInfo:m,zeniFinanceTeam:z}=S;b({companyInfo:k,incInfo:N,taxDetails:m,zeniFinanceTeam:z})}else if(P.includes(Be)){M(S.primaryContact);const k=S.companyOfficer.map(N=>N.userId);if(S.primaryContact.userId!=null&&k.includes(S.primaryContact.userId)){const N=k.findIndex(m=>m===S.primaryContact.userId);N>=0&&j({...S.companyOfficer[N],name:S.primaryContact.name,officerType:`Officer_${N+1}`})}}else if(P.includes(_e)){const k=parseInt(P.split(".")[1]);if(k>=0)j({...S.companyOfficer[k],officerType:`Officer_${k+1}`}),S.companyOfficer[k].userId!=null&&S.companyOfficer[k].userId===S.primaryContact.userId&&M({...S.primaryContact,name:S.companyOfficer[k].name});else if(S.companyOfficer.length>oe.length){const N=S.companyOfficer[S.companyOfficer.length-1];u(N)}else{const N=S.companyOfficer.filter(m=>m.officerType!=null);if(N.length<oe.length){const m=N.map((z,xt)=>{const Ye={...z,officerType:`Officer_${xt+1}`};return j(Ye),Ye});N.length<oe.length&&(C(`Officer_${N.length+1}`),R.reset({companyOfficer:m}))}}}};G.useEffect(()=>{const P=R.watch((S,{name:k})=>{k!=null&&S!=null&&$t(()=>de(k,S))});return()=>{P.unsubscribe()}});const Fe=R.handleSubmit(P=>{Q!=null&&ee(void 0),O()}),{companyPassport:le,common:{settings:he}}=T.getLocalizedStrings();if(J==null)throw new Error("Company View is null");return t.jsxs(wl,{children:[t.jsx(It,{title:le.title,backgroundColor:h.colors.grey4,style:{zIndex:3},onBackClick:w,showBackButton:!d,showMenuIcon:d?i==="medium-compact"||i==="small":!1,source:"CompanyPassportPage",onClickMenuIcon:je}),Q!=null?t.jsx(fo,{fetchState:Q,onRemoveSnackbar:()=>ee(void 0)}):null,t.jsxs($l,{children:[t.jsx(Il,{windowSize:i,children:d?he.infoText.companyDetails:le.quickAccessInfo}),t.jsx(Ot,{...R,children:t.jsxs("form",{id:at(lt),onSubmit:Fe,children:[t.jsx(Do,{sectionId:Me,companyInfo:te?.companyInfo,companyViewData:J,companyAddress:W,isDisabled:r,isCompanyVerified:$,onCompanyAddressClick:v,allIndustries:p,allNationalityCountries:y}),t.jsx(ho,{sectionId:Ae,updateFileStatusById:re,deleteFileStatusById:me,companyFiles:K,companyIncInfo:te?.incInfo,fileProps:ce,isDisabled:r}),t.jsx(Jo,{sectionId:We,updateFileStatusById:re,deleteFileStatusById:me,companyFiles:K,companyTaxInfo:te?.taxDetails,fileProps:ce,isDisabled:r}),t.jsx(tl,{sectionId:Be,primaryContact:fe.localData,isDisabled:r}),t.jsx(Po,{companyOfficers:oe,sectionId:_e,isDisabled:r,onOfficerAddressClick:v}),t.jsx(hl,{data:J,companyInfo:te?.companyInfo,isDisabled:r,isZeniUser:c,sectionId:Re,onScheduleClick:D})]})})]}),St(R.formState.dirtyFields)||Jt(q,J,K)?t.jsx(jt,{formId:at(lt),primaryBtn:{label:le.save,isLoading:V.fetchState==="In-Progress",style:{width:Ee.buttonWidth.value(i)},isDisabled:e.isDisabled!=null},cancelBtn:{label:le.cancel,style:{width:Ee.buttonWidth.value(i)},onClick:()=>{R.reset(),_()}}}):null]})}const at=e=>`${e}_form`,it=(e,i,h)=>{const{companyDetails:a,primaryContact:c,companyOfficerUpdateStatus:l}=e,n=T.getLocalizedStrings().companyPassport,p=a.localData?.incInfo.fileId!=null?[a.localData?.incInfo.fileId]:[],y=a.localData?.taxDetails.fileId!=null?[a.localData?.taxDetails.fileId]:[],$=T.getLocalizedStrings().commonSetUp.businessVerification,r=a.localData?.companyInfo;return{[Me]:{...Dt(a.localData?.companyInfo??{},["meetingLink","companySourceOfFunds","companySourceOfFundsDescription","countriesOfOperations","transactionVolume","transactionVolumeDescription","regulatedStatus","regulatedStatusDescription","usNexus","usNexusTypes","purposeOfAccount","purposeOfAccountDescription"]),businessModel:{selectedOption:r?.businessModel,allOptions:n.companyInfo.allBusinessModels},website:r?.website?.toString()??"",industry:{selectedOption:r?.industry,allOptions:i?.map(d=>d.code)},firstMonthOfFY:r?.firstMonthOfFY,companySourceOfFunds:{selectedOption:r?.companySourceOfFunds,allOptions:Object.keys($.companySourceOfFundOptions)},companySourceOfFundsDescription:r?.companySourceOfFundsDescription,countriesOfOperations:nt(r?.countriesOfOperations,(h??[]).map(d=>d.countryCode)),transactionVolume:{selectedOption:r?.transactionVolume,allOptions:Object.keys($.transactionVolumeOptions??{})},transactionVolumeDescription:r?.transactionVolumeDescription,regulatedStatus:r?.regulatedStatus??"",regulatedStatusDescription:r?.regulatedStatusDescription,usNexus:r?.usNexus??"",usNexusTypes:{selectedOptions:r?.usNexusTypes??[],allOptions:Object.values($.usNexusOptions??{})},purposeOfAccount:{selectedOption:r?.purposeOfAccount,allOptions:Object.keys($.purposeOfAccountOptions??{})},purposeOfAccountDescription:r?.purposeOfAccountDescription},[We]:{...a.localData?.taxDetails,taxesFiledYears:{selectedOptions:a.localData?.taxDetails.taxesFiledYears.map(d=>d.toString())??[],allOptions:pt().map(d=>d.toString())},einDocument:e.companyFiles.find(d=>d.documentType==="tax_ein"),fileIds:y},[Ae]:{typeOfInc:{selectedOption:a.localData?.incInfo?.typeOfInc,allOptions:n.companyIncInfo.allTypesOfIncorporation},stateOfInc:{selectedOption:a.localData?.incInfo?.stateOfInc,allOptions:n.companyIncInfo.allStatesOfIncorporation},incDate:a.localData?.incInfo.incDate?.toDate(),certificateOfIncorporation:e.companyFiles.find(d=>d.documentType==="certificate_of_incorporation"),fileIds:p},[Be]:{userId:c.localData?.userId,name:{firstName:c.localData?.firstName,lastName:c.localData?.lastName},email:c.localData?.email},[_e]:Object.values(l).filter(d=>d.localData!=null).map(d=>{const b=d.localData;return{userId:b.userId,officerType:b.officerType,name:{firstName:b.firstName,lastName:b.lastName},email:b.email,phone:b.phone}}),[Re]:{meetingLink:a.localData?.companyInfo.meetingLink?.toString()??""}}},wl=s.div`
|
|
397
397
|
display: flex;
|
|
398
398
|
min-height: 100%;
|
|
399
399
|
flex-direction: column;
|
package/dist/assets/{CompleteProfile-CMnTwbXr-DZqd8rFQ.js → CompleteProfile-CRXV-nNq-DpRL426l.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a9 as V,gR as v,F as S,V as g,gS as J,aa as l,al as $,ac as q,cJ as _,cT as W,cQ as T,o as E,gT as Z,cO as z,aR as X,M as AA,c1 as gA,gU as BA}from"./index-DVgY55Ab.js";import{a as B,P as c}from"./sentry-DMXY90dB.js";import{n as o}from"./mui-CR-wYMmN.js";import{bh as eA}from"./zeni-epic-state-BXMuLX_S.js";import{$ as EA}from"./LabeledAddressValue-D09c5wJR-784mespz.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new A.Error().stack;i&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[i]="47dce017-1219-4b58-ad79-e3068f524f94",A._sentryDebugIdIdentifier="sentry-dbid-47dce017-1219-4b58-ad79-e3068f524f94")}catch{}})();const QA=A=>B.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...A},B.createElement("path",{opacity:.2,d:"M26.3252 5H51.6377C51.6377 5 57.2627 5 57.2627 10.625V64.0625C57.2627 64.0625 57.2627 69.6875 51.6377 69.6875H26.3252C26.3252 69.6875 20.7002 69.6875 20.7002 64.0625V10.625C20.7002 10.625 20.7002 5 26.3252 5Z",fill:"#97C3B9"}),B.createElement("path",{d:"M23.3252 2H48.6377C48.6377 2 54.2627 2 54.2627 7.625V61.0625C54.2627 61.0625 54.2627 66.6875 48.6377 66.6875H23.3252C23.3252 66.6875 17.7002 66.6875 17.7002 61.0625V7.625C17.7002 7.625 17.7002 2 23.3252 2Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.0127 2V4.8125C43.0127 5.55842 42.7164 6.27379 42.1889 6.80124C41.6615 7.32868 40.9461 7.625 40.2002 7.625H31.7627C31.0168 7.625 30.3014 7.32868 29.774 6.80124C29.2465 6.27379 28.9502 5.55842 28.9502 4.8125V2",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("g",{style:{mixBlendMode:"darken"}},B.createElement("rect",{width:26,height:26,transform:"translate(22 12)",fill:"url(#pattern0_2225_11447)"}),B.createElement("circle",{cx:42,cy:32,r:12,fill:"url(#pattern1_2225_11447)"})),B.createElement("path",{d:"M39.625 57.875H67.125C67.4565 57.875 67.7745 57.7433 68.0089 57.5089C68.2433 57.2745 68.375 56.9565 68.375 56.625V47.875C68.375 47.5435 68.2433 47.2255 68.0089 46.9911C67.7745 46.7567 67.4565 46.625 67.125 46.625H40.875C40.5435 46.625 40.2255 46.7567 39.9911 46.9911C39.7567 47.2255 39.625 47.5435 39.625 47.875V57.875Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M62.1543 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0629 50.9288L64.2441 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0744 53.6874L64.2344 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M53.9727 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8812 50.9288L56.0625 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8927 53.6874L56.0527 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M45.792 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7006 50.9288L47.8818 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7121 53.6874L47.8721 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("defs",null,B.createElement("pattern",{id:"pattern0_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"scale(0.002)"})),B.createElement("pattern",{id:"pattern1_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"translate(-0.332832 -0.331172) scale(0.00333133)"})),B.createElement("image",{id:"image0_2225_11447",width:500,height:500,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAYAAADL1t+KAAAAAXNSR0IArs4c6QAAFQVJREFUeF7t1cENwCAQA0Hov1s+yS+R6OJWQwV4fJL3ed5veQQIECB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MeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDgB7iZk96LOSbbAAAAAElFTkSuQmCC"}))),CA=A=>B.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},B.createElement("path",{d:"M1.33333 6.16693H2.52343C2.68125 6.16693 2.8326 6.22962 2.94419 6.34122C3.05579 6.45281 3.11848 6.60416 3.11848 6.76198V13.9026C3.11848 14.0604 3.05579 14.2118 2.94419 14.3233C2.8326 14.4349 2.68125 14.4976 2.52343 14.4976H1.33333",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M3.11848 12.7125C7.48556 14.9296 7.27253 14.6374 11.0118 14.6374C12.578 14.6374 13.367 13.6169 13.8276 12.1216V12.1121L14.9624 8.30373V8.29659C15.016 8.11929 15.0275 7.93192 14.9959 7.74939C14.9644 7.56686 14.8907 7.39421 14.7807 7.24519C14.6707 7.09617 14.5274 6.97488 14.3622 6.89099C14.1971 6.8071 14.0146 6.76292 13.8294 6.76196H10.9136C10.7315 6.76197 10.5518 6.72017 10.3883 6.63977C10.2249 6.55937 10.082 6.44253 9.97086 6.29824C9.85968 6.15395 9.7831 5.98606 9.74704 5.80751C9.71097 5.62896 9.71637 5.44452 9.76281 5.26838L10.2876 3.27854C10.3485 3.04716 10.326 2.80175 10.2241 2.58528C10.1223 2.36881 9.94748 2.19507 9.73041 2.09448C9.51334 1.99388 9.2678 1.97285 9.03679 2.03506C8.80577 2.09727 8.604 2.23876 8.4668 2.43475L5.55819 6.55548C5.44832 6.7112 5.30266 6.83826 5.13345 6.92597C4.96425 7.01368 4.77646 7.05947 4.58588 7.05948H3.11848",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),e=S.getLocalizedStrings(),p="completeProfilePage",C="basicDetailsSection",m="addressSection",n=(A,i)=>`${A}.${i}`,fA=({userEmail:A,googleAPIKey:i,twoFactorAuthenticationView:r,saveStatus:G,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:M,onVerifyOtp:f,onResendOtp:y})=>{const[t,a]=B.useState(!1),[k,Y]=B.useState(!1),I=V({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=v({control:I.control,name:`${C}.address`}),{dateFormat:F}=S.getLocalizedStrings(),h=()=>{const Q=I.getValues(`${C}.phone`);Q!=null&&Q.trim().length>0&&M(Q)},L=(Q,d)=>{f(Q,d)},R=Q=>{Q!=null&&Q.trim().length>0&&y(Q)},U=()=>{a(!0)},K=()=>{a(!1)},b=()=>{const Q=I.getValues(`${m}`);if(Q!=null){const d=BA(Q);I.setValue(`${C}.address`,d)}a(!1)},P=I.handleSubmit(Q=>{if(Q[C].phone!=null&&r.otpVerificationStatus.fetchState!=="Completed"||r.otpVerificationStatus.fetchState==="Completed"&&Q[C].phone!=r.phone){h();return}D&&D(Q)}),{sendOtpStatus:O,otpVerificationStatus:s,otpChallenge:H,phone:j}=r,N=g.jsxs(rA,{children:[g.jsx(QA,{}),g.jsxs(sA,{children:[g.jsxs(lA,{children:[g.jsx(J,{children:s.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),g.jsx(l,{controller:s.fetchState==="Completed",children:g.jsx(nA,{})})]}),g.jsx($,{children:e.completeProfile.enableTwoFADescription})]})]});return g.jsxs(oA,{children:[g.jsxs(tA,{children:[g.jsxs(IA,{children:[t&&g.jsx(iA,{onClick:K}),e.completeProfile.title]}),g.jsx(q,{...I,children:g.jsxs("form",{id:`${p}_form`,onSubmit:P,children:[g.jsx(l,{controller:w===!1,children:g.jsxs(u,{children:[g.jsx(l,{controller:t===!1,children:g.jsxs(c.Fragment,{children:[g.jsx(_,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:n(C,"email")}}),g.jsx(W,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:n(C,"name"),placeHolder:{firstName:e.common.placeholder.firstNamePlaceholder,lastName:e.common.placeholder.lastNamePlaceholder,name:e.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),g.jsx(T,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:n(C,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:F.visual.defaultInput,autoComplete:"off",maxDate:eA().subtract(18,"year")}}),g.jsx(EA,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:x,onClick:U},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),g.jsx(l,{controller:t===!0,children:g.jsx(c.Fragment,{children:g.jsx(Z,{sectionId:m,googleAPIKey:i,isSubPage:!0})})})]})}),g.jsx(u,{children:g.jsx(z,{infoBox:N,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:n(C,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:I.getValues(`${C}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:k,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:H,showOtpButton:!0,onGetOtp:h,onVerifyOtp:L,onResendOtp:R,isPhoneVerified:s.fetchState==="Completed",phoneVerificationStatus:s,getOtpStatus:O,verifiedPhoneNumber:s.fetchState==="Completed"?j:void 0,openPopup:()=>{Y(!0)},focusNotRequired:!0},bottomText:s.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),g.jsx(X,{formId:t?void 0:`${p}_form`,primaryBtn:{label:t?e.companyPassport.address.saveAddress:e.common.footer.save,type:t?"button":"submit",onClick:t?b:void 0,isLoading:G.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},oA=o.div`
|
|
1
|
+
import{a9 as V,gR as v,F as S,V as g,gS as J,aa as l,al as $,ac as q,cJ as _,cT as W,cQ as T,o as E,gT as Z,cO as z,aR as X,M as AA,c1 as gA,gU as BA}from"./index-WEj6FS32.js";import{a as B,P as c}from"./sentry-B0WgNUxa.js";import{n as o}from"./mui-BTtN6lbG.js";import{bh as eA}from"./zeni-epic-state-DnAAAEmj.js";import{$ as EA}from"./LabeledAddressValue-AuzW29LK-99vdzqZR.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new A.Error().stack;i&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[i]="381c62f4-3f54-4bd3-a75f-b110c1bf7e21",A._sentryDebugIdIdentifier="sentry-dbid-381c62f4-3f54-4bd3-a75f-b110c1bf7e21")}catch{}})();const QA=A=>B.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...A},B.createElement("path",{opacity:.2,d:"M26.3252 5H51.6377C51.6377 5 57.2627 5 57.2627 10.625V64.0625C57.2627 64.0625 57.2627 69.6875 51.6377 69.6875H26.3252C26.3252 69.6875 20.7002 69.6875 20.7002 64.0625V10.625C20.7002 10.625 20.7002 5 26.3252 5Z",fill:"#97C3B9"}),B.createElement("path",{d:"M23.3252 2H48.6377C48.6377 2 54.2627 2 54.2627 7.625V61.0625C54.2627 61.0625 54.2627 66.6875 48.6377 66.6875H23.3252C23.3252 66.6875 17.7002 66.6875 17.7002 61.0625V7.625C17.7002 7.625 17.7002 2 23.3252 2Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.0127 2V4.8125C43.0127 5.55842 42.7164 6.27379 42.1889 6.80124C41.6615 7.32868 40.9461 7.625 40.2002 7.625H31.7627C31.0168 7.625 30.3014 7.32868 29.774 6.80124C29.2465 6.27379 28.9502 5.55842 28.9502 4.8125V2",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("g",{style:{mixBlendMode:"darken"}},B.createElement("rect",{width:26,height:26,transform:"translate(22 12)",fill:"url(#pattern0_2225_11447)"}),B.createElement("circle",{cx:42,cy:32,r:12,fill:"url(#pattern1_2225_11447)"})),B.createElement("path",{d:"M39.625 57.875H67.125C67.4565 57.875 67.7745 57.7433 68.0089 57.5089C68.2433 57.2745 68.375 56.9565 68.375 56.625V47.875C68.375 47.5435 68.2433 47.2255 68.0089 46.9911C67.7745 46.7567 67.4565 46.625 67.125 46.625H40.875C40.5435 46.625 40.2255 46.7567 39.9911 46.9911C39.7567 47.2255 39.625 47.5435 39.625 47.875V57.875Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M62.1543 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0629 50.9288L64.2441 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0744 53.6874L64.2344 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M53.9727 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8812 50.9288L56.0625 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8927 53.6874L56.0527 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M45.792 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7006 50.9288L47.8818 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7121 53.6874L47.8721 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("defs",null,B.createElement("pattern",{id:"pattern0_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"scale(0.002)"})),B.createElement("pattern",{id:"pattern1_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"translate(-0.332832 -0.331172) scale(0.00333133)"})),B.createElement("image",{id:"image0_2225_11447",width:500,height:500,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAYAAADL1t+KAAAAAXNSR0IArs4c6QAAFQVJREFUeF7t1cENwCAQA0Hov1s+yS+R6OJWQwV4fJL3ed5veQQIECB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MeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDgB7iZk96LOSbbAAAAAElFTkSuQmCC"}))),CA=A=>B.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},B.createElement("path",{d:"M1.33333 6.16693H2.52343C2.68125 6.16693 2.8326 6.22962 2.94419 6.34122C3.05579 6.45281 3.11848 6.60416 3.11848 6.76198V13.9026C3.11848 14.0604 3.05579 14.2118 2.94419 14.3233C2.8326 14.4349 2.68125 14.4976 2.52343 14.4976H1.33333",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M3.11848 12.7125C7.48556 14.9296 7.27253 14.6374 11.0118 14.6374C12.578 14.6374 13.367 13.6169 13.8276 12.1216V12.1121L14.9624 8.30373V8.29659C15.016 8.11929 15.0275 7.93192 14.9959 7.74939C14.9644 7.56686 14.8907 7.39421 14.7807 7.24519C14.6707 7.09617 14.5274 6.97488 14.3622 6.89099C14.1971 6.8071 14.0146 6.76292 13.8294 6.76196H10.9136C10.7315 6.76197 10.5518 6.72017 10.3883 6.63977C10.2249 6.55937 10.082 6.44253 9.97086 6.29824C9.85968 6.15395 9.7831 5.98606 9.74704 5.80751C9.71097 5.62896 9.71637 5.44452 9.76281 5.26838L10.2876 3.27854C10.3485 3.04716 10.326 2.80175 10.2241 2.58528C10.1223 2.36881 9.94748 2.19507 9.73041 2.09448C9.51334 1.99388 9.2678 1.97285 9.03679 2.03506C8.80577 2.09727 8.604 2.23876 8.4668 2.43475L5.55819 6.55548C5.44832 6.7112 5.30266 6.83826 5.13345 6.92597C4.96425 7.01368 4.77646 7.05947 4.58588 7.05948H3.11848",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),e=S.getLocalizedStrings(),p="completeProfilePage",C="basicDetailsSection",m="addressSection",n=(A,i)=>`${A}.${i}`,MA=({userEmail:A,googleAPIKey:i,twoFactorAuthenticationView:r,saveStatus:G,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:f,onVerifyOtp:M,onResendOtp:y})=>{const[t,a]=B.useState(!1),[k,Y]=B.useState(!1),I=V({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=v({control:I.control,name:`${C}.address`}),{dateFormat:F}=S.getLocalizedStrings(),h=()=>{const Q=I.getValues(`${C}.phone`);Q!=null&&Q.trim().length>0&&f(Q)},L=(Q,d)=>{M(Q,d)},R=Q=>{Q!=null&&Q.trim().length>0&&y(Q)},b=()=>{a(!0)},U=()=>{a(!1)},K=()=>{const Q=I.getValues(`${m}`);if(Q!=null){const d=BA(Q);I.setValue(`${C}.address`,d)}a(!1)},P=I.handleSubmit(Q=>{if(Q[C].phone!=null&&r.otpVerificationStatus.fetchState!=="Completed"||r.otpVerificationStatus.fetchState==="Completed"&&Q[C].phone!=r.phone){h();return}D&&D(Q)}),{sendOtpStatus:O,otpVerificationStatus:s,otpChallenge:H,phone:j}=r,N=g.jsxs(rA,{children:[g.jsx(QA,{}),g.jsxs(sA,{children:[g.jsxs(lA,{children:[g.jsx(J,{children:s.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),g.jsx(l,{controller:s.fetchState==="Completed",children:g.jsx(nA,{})})]}),g.jsx($,{children:e.completeProfile.enableTwoFADescription})]})]});return g.jsxs(oA,{children:[g.jsxs(tA,{children:[g.jsxs(IA,{children:[t&&g.jsx(iA,{onClick:U}),e.completeProfile.title]}),g.jsx(q,{...I,children:g.jsxs("form",{id:`${p}_form`,onSubmit:P,children:[g.jsx(l,{controller:w===!1,children:g.jsxs(u,{children:[g.jsx(l,{controller:t===!1,children:g.jsxs(c.Fragment,{children:[g.jsx(_,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:n(C,"email")}}),g.jsx(W,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:n(C,"name"),placeHolder:{firstName:e.common.placeholder.firstNamePlaceholder,lastName:e.common.placeholder.lastNamePlaceholder,name:e.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),g.jsx(T,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:n(C,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:F.visual.defaultInput,autoComplete:"off",maxDate:eA().subtract(18,"year")}}),g.jsx(EA,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:x,onClick:b},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),g.jsx(l,{controller:t===!0,children:g.jsx(c.Fragment,{children:g.jsx(Z,{sectionId:m,googleAPIKey:i,isSubPage:!0})})})]})}),g.jsx(u,{children:g.jsx(z,{infoBox:N,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:n(C,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:I.getValues(`${C}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:k,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:H,showOtpButton:!0,onGetOtp:h,onVerifyOtp:L,onResendOtp:R,isPhoneVerified:s.fetchState==="Completed",phoneVerificationStatus:s,getOtpStatus:O,verifiedPhoneNumber:s.fetchState==="Completed"?j:void 0,openPopup:()=>{Y(!0)},focusNotRequired:!0},bottomText:s.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),g.jsx(X,{formId:t?void 0:`${p}_form`,primaryBtn:{label:t?e.companyPassport.address.saveAddress:e.common.footer.save,type:t?"button":"submit",onClick:t?K:void 0,isLoading:G.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},oA=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
min-height: 100vh;
|
|
@@ -49,4 +49,4 @@ import{a9 as V,gR as v,F as S,V as g,gS as J,aa as l,al as $,ac as q,cJ as _,cT
|
|
|
49
49
|
width: ${E.sp3};
|
|
50
50
|
height: ${E.sp3};
|
|
51
51
|
color: ${A=>A.theme.colors.success};
|
|
52
|
-
`;export{
|
|
52
|
+
`;export{MA as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d5 as p,av as f,V as a,b5 as l,o as d}from"./index-WEj6FS32.js";import{a as r}from"./sentry-B0WgNUxa.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./zeni-epic-state-DnAAAEmj.js";import"./mui-BTtN6lbG.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.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]="2772a9d9-95dd-4d89-b013-356a09a80be0",e._sentryDebugIdIdentifier="sentry-dbid-2772a9d9-95dd-4d89-b013-356a09a80be0")}catch{}})();const u="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",v=({showConfetti:e})=>{const[t,o]=r.useState(e),[s,i]=p(u,e),[n]=f("ConfettiSuccess");return r.useEffect(()=>{e&&o(!0)},[e]),r.useEffect(()=>{t&&s===!1&&i(!0)},[t,s,i]),a.jsx(a.Fragment,{children:t&&s&&n!=null?a.jsx(l,{style:{position:"absolute",width:"100%",height:"100vh",top:d.sp0,left:d.sp0,zIndex:5},onComplete:()=>{i(!1),o(!1)},animationData:n,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{v as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as He,
|
|
1
|
+
import{g as He,J as v,aD as Y,cH as Ye,V as t,bB as Je,aP as $,T as qe,co as ie,cp as se,cq as le,d1 as Ke,aR as Qe,y as J,F as x,c1 as Xe,o,d2 as Ze,bS as D,ch as de,u as w,b7 as ce,ai as pe,al as K,bt as Ge,c_ as me,d3 as et,p as B,d4 as ue,cZ as he}from"./index-WEj6FS32.js";import{a as g}from"./sentry-B0WgNUxa.js";import{n as r}from"./mui-BTtN6lbG.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./zeni-epic-state-DnAAAEmj.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";(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]="dfb73a8b-e869-489a-a6d2-c12f9da5bcde",e._sentryDebugIdIdentifier="sentry-dbid-dfb73a8b-e869-489a-a6d2-c12f9da5bcde")}catch{}})();const tt=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:n,accountTypeLabel:s,accountType:l,bankName:m,routingNumberOrSwiftCode:p,accountName:f,routingNumberOrSwiftCodeLabel:j,onDeleteClick:u})=>{const b=v(),h=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,C=t.jsxs(ot,{children:[t.jsxs(I,{children:[t.jsx(N,{children:j}),t.jsx(T,{children:p})]}),t.jsxs(I,{children:[t.jsx(N,{children:h.achDetails.bankName}),t.jsx(T,{children:m})]}),t.jsxs(I,{children:[t.jsx(N,{children:n}),t.jsx(T,{children:e})]}),t.jsxs(I,{children:[t.jsx(N,{children:s}),t.jsx(T,{children:typeof l=="string"&&l!==""?et(l.toLowerCase()):l??""})]})]});return t.jsxs(it,{size:b,children:[t.jsxs(nt,{children:[t.jsxs(K,{children:[`${m} ${h.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(D,{title:C,placement:"top",children:t.jsx(lt,{children:t.jsx(dt,{})})})]}),t.jsx(rt,{children:f??h.emptyPlaceholderString})]}),t.jsx(at,{children:t.jsx(D,{enterDelay:600,display:"flex",title:h.deleteAccountTooltip,placement:"top",children:t.jsx(st,{onClick:k=>{k.stopPropagation(),u()},"data-testid":$("delete-vendor-account-section",f),children:t.jsx(ct,{})})})})]})},ot=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-wrap: wrap;
|
|
4
4
|
gap: ${o.sp1};
|
|
@@ -54,7 +54,7 @@ import{g as He,Q as v,aD as Y,cH as Ye,V as t,bB as Je,aP as $,T as Qe,co as ie,
|
|
|
54
54
|
width: ${o.sp3};
|
|
55
55
|
transform: translate(${o.sp2}, 2px);
|
|
56
56
|
height: ${o.sp3};
|
|
57
|
-
`,
|
|
57
|
+
`,dt=r(ue)`
|
|
58
58
|
cursor: pointer;
|
|
59
59
|
height: ${o.sp3};
|
|
60
60
|
width: ${o.sp3};
|
|
@@ -62,7 +62,7 @@ import{g as He,Q as v,aD as Y,cH as Ye,V as t,bB as Je,aP as $,T as Qe,co as ie,
|
|
|
62
62
|
&:hover {
|
|
63
63
|
color: ${e=>e.theme.colors.primary};
|
|
64
64
|
}
|
|
65
|
-
`,
|
|
65
|
+
`,ct=r(he)`
|
|
66
66
|
width: ${o.sp3};
|
|
67
67
|
height: ${o.sp3};
|
|
68
68
|
cursor: pointer;
|
|
@@ -70,7 +70,7 @@ import{g as He,Q as v,aD as Y,cH as Ye,V as t,bB as Je,aP as $,T as Qe,co as ie,
|
|
|
70
70
|
&:hover {
|
|
71
71
|
color: ${B.important};
|
|
72
72
|
}
|
|
73
|
-
`,pt=({paymentInstrument:e,onDeleteClick:n})=>{const s=v(),l=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,m=t.jsx(mt,{children:e.piLabels.map(p=>t.jsxs(ut,{children:[t.jsxs(ht,{children:[p.name,l.colon]}),t.jsx(xt,{children:p.value})]},p.name))});return t.jsxs(
|
|
73
|
+
`,pt=({paymentInstrument:e,onDeleteClick:n})=>{const s=v(),l=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,m=t.jsx(mt,{children:e.piLabels.map(p=>t.jsxs(ut,{children:[t.jsxs(ht,{children:[p.name,l.colon]}),t.jsx(xt,{children:p.value})]},p.name))});return t.jsxs(yt,{size:s,children:[t.jsx(gt,{children:t.jsxs(K,{children:[e.displayText,t.jsx(D,{title:m,placement:"top",children:t.jsx(ft,{children:t.jsx(wt,{})})})]})}),t.jsx(bt,{children:t.jsx(D,{enterDelay:600,display:"flex",title:l.deleteAccountTooltip,placement:"top",children:t.jsx($t,{onClick:p=>{p.stopPropagation(),n()},"data-testid":$("delete-vendor-international-account-section",e.paymentInstrumentId),children:t.jsx(vt,{})})})})]})},mt=r.div`
|
|
74
74
|
display: flex;
|
|
75
75
|
flex-wrap: wrap;
|
|
76
76
|
gap: ${o.sp1};
|
|
@@ -91,12 +91,12 @@ import{g as He,Q as v,aD as Y,cH as Ye,V as t,bB as Je,aP as $,T as Qe,co as ie,
|
|
|
91
91
|
`,gt=r.div`
|
|
92
92
|
display: flex;
|
|
93
93
|
flex-direction: column;
|
|
94
|
-
`,
|
|
94
|
+
`,bt=r.div`
|
|
95
95
|
margin-top: ${o.sp0};
|
|
96
96
|
display: flex;
|
|
97
97
|
flex-direction: row;
|
|
98
98
|
gap: ${o.sp5};
|
|
99
|
-
`,
|
|
99
|
+
`,yt=r.div`
|
|
100
100
|
display: flex;
|
|
101
101
|
flex-direction: row;
|
|
102
102
|
align-items: flex-start;
|
|
@@ -140,7 +140,7 @@ import{g as He,Q as v,aD as Y,cH as Ye,V as t,bB as Je,aP as $,T as Qe,co as ie,
|
|
|
140
140
|
&:hover {
|
|
141
141
|
color: ${B.important};
|
|
142
142
|
}
|
|
143
|
-
`,xe=(e,n)=>{const s=x.getLocalizedStrings().spendManagement.billPay.vendorCreation;switch(e){case"ach":return s.achDetails.ach;case"wire":switch(n){case"us-domestic":return s.wireDetails.domestic.domestic;case"international":return s.wireDetails.international.international;default:return""}default:return""}},
|
|
143
|
+
`,xe=(e,n)=>{const s=x.getLocalizedStrings().spendManagement.billPay.vendorCreation;switch(e){case"ach":return s.achDetails.ach;case"wire":switch(n){case"us-domestic":return s.wireDetails.domestic.domestic;case"international":return s.wireDetails.international.international;default:return""}default:return""}},q=({type:e,subType:n,vendorAccountDetails:s,vendorAccountDetailsInternational:l,onRemoveBankAccount:m,onAddNewAccountDetailClick:p})=>{const f=v(),[j,u]=g.useState(!1),[b,h]=g.useState(""),[C,k]=g.useState(!1),c=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,A=i=>{h(i),u(!0)},z={onOkClick:()=>{u(!1),m(b,C)},onCancelClick:()=>{u(!1),h("")}},V=i=>e==="ach"||e==="wire"&&n==="us-domestic"?i.bankAccountNumber:e==="wire"&&n==="international"?i.bankAccountIban??"":"",F=i=>e==="ach"?i.bankRoutingNumberAch:e==="wire"&&n==="us-domestic"?i.bankRoutingNumberWireTransfer:e==="wire"&&n==="international"?i.bankSwiftCode??"":"",R=()=>e==="ach"?c.achDetails.bankRoutingNumber:e==="wire"&&n==="us-domestic"?c.wireDetails.bankRoutingNumber:e==="wire"&&n==="international"?c.wireDetails.international.swiftCode:"",E=()=>e==="ach"?c.achDetails.bankAccountNumber:e==="wire"&&n==="us-domestic"?c.wireDetails.accountNumber:e==="wire"&&n==="international"?c.wireDetails.international.iban:"",O=()=>e==="ach"||e==="wire"&&n==="us-domestic"?c.achDetails.accountTypeLabel:"";return t.jsxs(Dt,{children:[j===!0?t.jsx(ie,{titleComponent:t.jsx(le,{children:c.areYOuSure}),descriptionComponent:t.jsx(se,{children:c.ifYouSubmit}),primaryButtonText:c.delete,secondaryButtonText:c.cancel,action:z,isEditPopup:!0,proceedButtonVariant:"danger"}):null,t.jsx(St,{windowSize:f,children:`${xe(e,n)} ${c.accountsLabel}`}),s?.map(i=>t.jsx(oe,{children:t.jsx(tt,{bankName:i.bankName,accountType:i.bankAccountType??"",bankAccountNumberOrIban:V(i),routingNumberOrSwiftCode:F(i),routingNumberOrSwiftCodeLabel:R(),accountNumberOrIbanLabel:E(),accountTypeLabel:O(),accountName:i.bankAccountName,onDeleteClick:()=>A(i.bankAccountId)})},i.bankAccountId)),l?.map(i=>t.jsx(oe,{children:t.jsx(pt,{paymentInstrument:i,onDeleteClick:()=>{k(!0),A(i.paymentInstrumentId)}})},i.paymentInstrumentId)),t.jsx(jt,{onAddAccountDetailsSection:p,type:e,subType:n})]})},jt=({onAddAccountDetailsSection:e,type:n,subType:s})=>{const l=v(),m=x.getLocalizedStrings().spendManagement.billPay;return t.jsx(t.Fragment,{children:t.jsxs(kt,{windowSize:l,onClick:e,"data-testid":$("add-vendor-account",n),children:[t.jsx(Ct,{}),t.jsx(de,{children:`${m.vendorCreation.addPrefix} ${xe(n,s)}`})]})})},Ct=r(me)`
|
|
144
144
|
margin-right: ${o.sp2};
|
|
145
145
|
width: ${o.sp3};
|
|
146
146
|
height: ${o.sp3};
|
|
@@ -160,7 +160,7 @@ import{g as He,Q as v,aD as Y,cH as Ye,V as t,bB as Je,aP as $,T as Qe,co as ie,
|
|
|
160
160
|
color: ${e=>e.theme.colors.primary};
|
|
161
161
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
162
162
|
}
|
|
163
|
-
`,St=r(
|
|
163
|
+
`,St=r(ce)`
|
|
164
164
|
color: ${e=>e.theme.colors.primary};
|
|
165
165
|
margin-bottom: ${o.sp2};
|
|
166
166
|
`,oe=r.div``,Dt=r.div`
|
|
@@ -170,7 +170,7 @@ import{g as He,Q as v,aD as Y,cH as Ye,V as t,bB as Je,aP as $,T as Qe,co as ie,
|
|
|
170
170
|
padding-bottom: ${o.sp2};
|
|
171
171
|
margin-top: ${o.sp3};
|
|
172
172
|
margin-bottom: ${o.sp3};
|
|
173
|
-
`,At=({addressState:e,onUpdateMailingAddress:n})=>{const s=v(),l=x.getLocalizedStrings().spendManagement.billPay.vendorCreation;return t.jsxs(Ft,{children:[t.jsxs(Vt,{windowSize:s,children:[`${l.mailingAddressLabel}`,t.jsx(zt,{children:`${l.mailingAddressPlaceholder}`})]}),e!=null?t.jsxs(Bt,{children:[Lt(e),t.jsx(D,{enterDelay:600,display:"flex",title:l.editMailingAddressTooltip,placement:"top",children:t.jsx(It,{"data-testid":$("edit-vendor-mailing-address"),onClick:()=>n("vendor_address"),children:t.jsx(Nt,{})})})]}):t.jsx(t.Fragment,{children:t.jsxs(Pt,{windowSize:s,"data-testid":$("add-vendor-mailing-address"),onClick:()=>n("vendor_address"),children:[t.jsx(Tt,{}),t.jsx(
|
|
173
|
+
`,At=({addressState:e,onUpdateMailingAddress:n})=>{const s=v(),l=x.getLocalizedStrings().spendManagement.billPay.vendorCreation;return t.jsxs(Ft,{children:[t.jsxs(Vt,{windowSize:s,children:[`${l.mailingAddressLabel}`,t.jsx(zt,{children:`${l.mailingAddressPlaceholder}`})]}),e!=null?t.jsxs(Bt,{children:[Lt(e),t.jsx(D,{enterDelay:600,display:"flex",title:l.editMailingAddressTooltip,placement:"top",children:t.jsx(It,{"data-testid":$("edit-vendor-mailing-address"),onClick:()=>n("vendor_address"),children:t.jsx(Nt,{})})})]}):t.jsx(t.Fragment,{children:t.jsxs(Pt,{windowSize:s,"data-testid":$("add-vendor-mailing-address"),onClick:()=>n("vendor_address"),children:[t.jsx(Tt,{}),t.jsx(de,{children:l.addMailingAddress})]})})]})},Lt=e=>[e.street[2],e.street[0],e.street[1],e.city,`${e.state} ${e.postalCode}`.trim(),e.countryCode??e.country].filter(Boolean).join(", "),It=r.div`
|
|
174
174
|
width: ${o.sp3};
|
|
175
175
|
svg {
|
|
176
176
|
display: none;
|
|
@@ -203,7 +203,7 @@ import{g as He,Q as v,aD as Y,cH as Ye,V as t,bB as Je,aP as $,T as Qe,co as ie,
|
|
|
203
203
|
color: ${e=>e.theme.colors.primary};
|
|
204
204
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
205
205
|
}
|
|
206
|
-
`,Bt=r(
|
|
206
|
+
`,Bt=r(K)`
|
|
207
207
|
margin-top: ${o.sp2};
|
|
208
208
|
padding: ${o.sp3} ${o.sp4};
|
|
209
209
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -226,7 +226,7 @@ import{g as He,Q as v,aD as Y,cH as Ye,V as t,bB as Je,aP as $,T as Qe,co as ie,
|
|
|
226
226
|
`,zt=r(pe)`
|
|
227
227
|
color: ${e=>e.theme.colors.grey1};
|
|
228
228
|
transform: translateY(${o.sp1});
|
|
229
|
-
`,Vt=r(
|
|
229
|
+
`,Vt=r(ce)`
|
|
230
230
|
color: ${e=>e.theme.colors.primary};
|
|
231
231
|
margin-bottom: ${o.sp2};
|
|
232
232
|
display: flex;
|
|
@@ -278,4 +278,4 @@ import{g as He,Q as v,aD as Y,cH as Ye,V as t,bB as Je,aP as $,T as Qe,co as ie,
|
|
|
278
278
|
display: flex;
|
|
279
279
|
flex-direction: column;
|
|
280
280
|
padding-top: ${o.sp11};
|
|
281
|
-
`,
|
|
281
|
+
`,y=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,_t=x.getLocalizedStrings().common.footer,ae=x.getLocalizedStrings().common.currency,oo=({vendorViewDetails:e,vendorId:n,screenType:s,analytics:l,filesEndPoint:m,authParams:p,vendorSearchAutoCompleteData:f,vendorSearchAutoCompleteActions:j,isLocalCurrencyEnabled:u,onBackClick:b,onVendorSelected:h,navigateToBankDetailPage:C,updateSelectedVendorForCreate:k,onRemoveBankAccount:c,updateSaveFetchState:A,onSaveVendor:z,navigateToMailingAddressPage:V,saveVendorDetailLocalData:F,resetVendorDetailLocalData:R,saveContactsInVendorDetailLocalData:E,updateFilesEntity:O,onEditFileName:i,onFetchAndUpdateVendorRecommendations:ge})=>{const{accountList:{accounts:be},classList:{classes:ye},vendorTypeList:$e,ownerList:fe,editVendorState:Q,newVendorState:X,fetchState:we,hasWireTransfer:Z,hasInternationalWireTransfer:M,deleteFileStatusById:ve,updateFileStatusById:je,accountsHierarchyList:Ce,classHierarchyList:ke}=e,L=n!=null?Q?.vendorDetailLocalData:X?.vendorDetailLocalData,d=Object.assign({},Q??X),Se=He(),S=v(),[De,U]=g.useState(!1),[Ae,W]=g.useState(!1),G=s==="create"?y.newVendorTitle:y.editVendor,Le=(d.bankAccountsUpdated??[]).map(a=>a.bankAccountId).sort(),Ie=(d.vendorBasic?.bankAccounts??[]).map(a=>a.bankAccountId).sort(),Ne=!Y(Le,Ie),Te=(d.paymentInstrumentsUpdated??[]).map(a=>a.paymentInstrumentId).sort(),Pe=(d.vendorBasic?.paymentInstruments??[]).map(a=>a.paymentInstrumentId).sort(),Be=!Y(Te,Pe),ze=(L?.contacts??[]).filter(a=>a.email!==""||a.fullName!==""||a.phone!=="").map(a=>Ye(a,"contactInfoType")),Ve=d.vendorBasic?.contacts??[],Fe=!Y(ze,Ve),Re=d.bankAccountsUpdated.filter(a=>!!a.bankRoutingNumberAch),Ee=d.bankAccountsUpdated.filter(a=>!!a.bankRoutingNumberWireTransfer),Oe=d.paymentInstrumentsUpdated.filter(a=>!!a.piNumber),ee=()=>{W(!0)},Me=a=>{U(a)},Ue={onOkClick:()=>{W(!1),U(!1),R?.(),b()},onCancelClick:()=>{W(!1),U(!1)}},_=g.useRef(null),We=a=>{_.current?.syncFormData(),V(a)},H=(a,_e)=>{_.current?.syncFormData(),C(a,_e)};g.useEffect(()=>{d?.saveStatus?.fetchState==="Completed"&&(A(),b())},[d]);const te=g.useRef(null);return t.jsxs(Rt,{windowSize:S,children:[t.jsx(Je,{"data-testid":$("vendor-detail-container-nav-bar"),title:G,backgroundColor:Se.colors.grey4,leftSideComponent:t.jsx(Ut,{onClick:ee,"data-testid":$("create-edit-vendor-nav-bar-back")}),enableTitleOnScroll:!0,scrollableContent:te,source:"CreateOrEditVendorPage"}),t.jsxs(Et,{windowSize:S,ref:te,children:[we==="In-Progress"?t.jsx(Ot,{children:t.jsx(qe,{size:"ExtraLarge",start:!0})}):t.jsxs(t.Fragment,{children:[De===!0?t.jsx(ie,{titleComponent:t.jsx(le,{children:y.discardTitle}),descriptionComponent:t.jsx(se,{children:y.discardDescription}),primaryButtonText:y.discard,secondaryButtonText:y.cancel,action:Ue}):null,S!=="small"?t.jsx(Mt,{children:G}):null,t.jsx(Ke,{ref:_,id:ne(re),allAccounts:be,allClasses:ye,accountsHierarchyList:Ce,classHierarchyList:ke,vendorTypeList:$e,allOwners:fe,vendorSearchAutoCompleteData:f,vendorSearchAutoCompleteActions:j,onVendorSelected:h,screenType:s,hasInternationalWireTransfer:M,selectedVendor:d,formLocalData:L,isBankAccountChanged:Ne,isContactListChanged:Fe,isPaymentInstrumentChanged:Be,analytics:l,pageBackBtnClicked:Ae,onBackClick:b,onSaveVendor:z,saveContactsInVendorDetailLocalData:E,updateSelectedVendorForCreate:k,saveVendorDetailLocalData:F,updateFilesEntity:O,toggleConfirmationPopup:Me,filesEndPoint:m,authParams:p,onEditFileName:i,deleteFileStatusById:ve,updateFileStatusById:je,onFetchAndUpdateVendorRecommendations:ge,isLocalCurrencyEnabled:u}),Z||M?t.jsx(At,{addressState:d.vendorNewAddressStatus?.addressToCreate,onUpdateMailingAddress:We}):null,d.vendorDetailLocalData?.currencyCode==null||d.vendorDetailLocalData?.currencyCode===ae.currencyCode?t.jsx(q,{type:"ach",vendorAccountDetails:Re,onAddNewAccountDetailClick:()=>H("ach","standard"),onRemoveBankAccount:c}):null,Z&&(d.vendorDetailLocalData?.currencyCode==null||d.vendorDetailLocalData?.currencyCode===ae.currencyCode)?t.jsx(q,{type:"wire",subType:"us-domestic",vendorAccountDetails:Ee,onAddNewAccountDetailClick:()=>H("wire","us-domestic"),onRemoveBankAccount:c}):null,M&&(L?.countryCode!=null&&L.countryCode!=="US"||u)?t.jsx(q,{type:"wire",subType:"international",vendorAccountDetailsInternational:Oe,isLocalCurrencyEnabled:u,onAddNewAccountDetailClick:()=>H("wire","international"),onRemoveBankAccount:c}):null]}),t.jsx(Wt,{})]}),t.jsx(Qe,{formId:ne(re),primaryBtn:{label:y.saveDetails,isLoading:d.saveStatus?.fetchState==="In-Progress",style:{width:P.buttonWidth.value(S)},isDisabled:!1},cancelBtn:{label:_t.cancel,style:{width:P.buttonWidth.value(S)},shouldResetOnCancel:!1,onClick:ee}})]})};export{oo as default,ne as formUniqueName};
|