@zeniai/web-cockpit-ui 1.13.91-prod → 1.13.92-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---jqahtW-DnJlZXJA.js → ACHDetailsPage-DSxVnTLA-DXaPhpBb.js} +1 -1
- package/dist/assets/{AIPerformancePage-CqtdCyg8-CEIQfHdy.js → AIPerformancePage-DpJmdFIS-DdYjoAnf.js} +36 -36
- package/dist/assets/{AccountInfoPage-Bj1CYa-r-C5F-Leu2.js → AccountInfoPage-UxE6vaxM-CTCDVeHj.js} +2 -2
- package/dist/assets/AccountInfoPageContent-B8luWP8D-BvO-xoVa.js +149 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-B4UwcNN9-DTaBhUge.js → AccountReconDetailsDrawerPage-CRuSLa04-C6RSAAh5.js} +18 -18
- package/dist/assets/AccountRow-DVnBiB7_-BUb357r1.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-DJRAw09x-CDwLvvA4.js → AccountsPromoCardStack-oPvi6hmo-Cb1NCYmc.js} +26 -26
- package/dist/assets/{AddAddressForCardDrawer-C16ksTIf-B6JjehbJ.js → AddAddressForCardDrawer-Bl8FShie-B0Exe6lR.js} +1 -1
- package/dist/assets/{AddToWalletPage-CDP1oPrv-CxCKIfKE.js → AddToWalletPage-BykgUTfa-Cb4sl07y.js} +22 -22
- package/dist/assets/{AgingReportsPage-BE4plS7V-3TKSPA3a.js → AgingReportsPage-CtpuS77Y-CRkQ2tHo.js} +7 -7
- package/dist/assets/{AllUserItems-hoI2_gnV-BLP0YBON.js → AllUserItems-zqRosy03-ampV7sMY.js} +8 -8
- package/dist/assets/{ApAgingDetailPage-Lxprtz8c-BEC8jKJb.js → ApAgingDetailPage-B4dHhJE1-DX7CQmyB.js} +2 -2
- package/dist/assets/{AppBasePage-DNOkJf4q--8-X2sXp.js → AppBasePage-ntAldChd-Da_5AGnO.js} +1 -1
- package/dist/assets/{AppDrawerContent-DG2Jr298-CbWkIlEM.js → AppDrawerContent-LRG0OW3a-BgVe2pK0.js} +11 -11
- package/dist/assets/{ApprovalRulesSettingsPage-DnKXln0A-Zj5-kWYr.js → ApprovalRulesSettingsPage-CFCbNOcB-CE0uOkBi.js} +1 -1
- package/dist/assets/ArAgingChart-BmfMCB8_-Bg3m3QlY.js +24 -0
- package/dist/assets/{ArAgingDetailPage-Djsocm6M-C26Jn884.js → ArAgingDetailPage-C2lhYsGV-BhHfiwwM.js} +3 -3
- package/dist/assets/{AttachmentView-C3AzH7cN-BUOusCJ1.js → AttachmentView-CQlsMYN3-DG4dPEyp.js} +8 -8
- package/dist/assets/{BankAccountSection-6zosSfPV-_bfleBk6.js → BankAccountSection-D1tQzNSO-piXQT6-V.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-CWeN3me0-CDpqfTVJ.js → BankAccountWarningSection-Dj_S6brX-2DYBSMY8.js} +8 -8
- package/dist/assets/{BankConnectionsSettingsPage-C6e0pgD4-0H1TdsJc.js → BankConnectionsSettingsPage-UQAJXShM-C8thl88u.js} +22 -22
- package/dist/assets/{BillDetailPage-DyIokQbf-DgpBGeoJ.js → BillDetailPage-BOy1MkMT-CTieBS_0.js} +8 -8
- package/dist/assets/{BillPayApprovalRuleDetailPage-BOhQfwEj-BCMyOQcf.js → BillPayApprovalRuleDetailPage-C7c04fyW-D_3vBsw2.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-CSua3b4v-BNVDIyiJ.js → BillPayApprovalRulesPage-D7vn36vA-CcaFc_r3.js} +7 -7
- package/dist/assets/{BillPayPromoPage-CtenNypw-BC9LkoWX.js → BillPayPromoPage-VCQ0v0Ko-_chCPS2P.js} +2 -2
- package/dist/assets/{BillPaySetUpPage-CAnvQ_-Q-CbyucZLN.js → BillPaySetUpPage-MD1PbTMB-DAVLcuLh.js} +1 -1
- package/dist/assets/{BillingSettingsPage-CjSAhEFl-BzqmoSoH.js → BillingSettingsPage-B0U9RKLC-CSDiDt5p.js} +4 -4
- package/dist/assets/{BillsBulkReviewDrawerPage-B62rj2kN-DhbxqMjq.js → BillsBulkReviewDrawerPage-CStmvhgL-CRjbCjmC.js} +1 -1
- package/dist/assets/{BoxItem-Cqmd_7h4-Dv6Gxo6e.js → BoxItem-D3v5T6bP-DCh7smhZ.js} +1 -1
- package/dist/assets/BusinessVerificationPage-BIba2-zs-BbKHm-00.js +140 -0
- package/dist/assets/{CardNumberSubText-DszoXtgg-DZyC1JnT.js → CardNumberSubText-DoWj5vAy-CUdY7eYA.js} +1 -1
- package/dist/assets/{CashbackDetailPage-DAwARNZD-7CF1-wWW.js → CashbackDetailPage-CPz0J2HA-mlCo9BqT.js} +9 -9
- package/dist/assets/{ChargeCardDetailPage-BzbR-Z63-B8EROlnT.js → ChargeCardDetailPage-DxE5h1S5-_Ar3evhS.js} +29 -29
- package/dist/assets/{ChargeCardListPage-DSOp7sFg-BUxYEe2Y.js → ChargeCardListPage-fXayrykw-DfSXe2y4.js} +10 -10
- package/dist/assets/{ChargeCardListTable-BE4it4le-DayjC6nz.js → ChargeCardListTable-C-WxFg6W-ZTAQI24j.js} +103 -103
- package/dist/assets/ChargeCardPromoPage-CiwWzvym-CQS1Kn9Z.js +175 -0
- package/dist/assets/{ChargeCardSetupPage-Dm_N5oDM-Dwe310b8.js → ChargeCardSetupPage-ByLkUH5I-CAqoYnxa.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-Dhqs5CF4-De2hPf6C.js → ChargeCardStatementsPage-Dsv5AXrZ-DLsXp3ds.js} +2 -2
- package/dist/assets/{ChargeCardUtils-oF0M6Gmc-C7CbDHyH.js → ChargeCardUtils-CVC43_6w-DTPKdzGf.js} +1 -1
- package/dist/assets/{ChaseOverlay-DPgGIuyV-CJPjKqgA.js → ChaseOverlay-CHWBgNa9-BGn2Q_2a.js} +7 -7
- package/dist/assets/CheckDepositDrawerPage-DySu5_BH-zAFSAP0i.js +206 -0
- package/dist/assets/{CollapsableReportTable-DMr2UDgH-BRQiHTxy.js → CollapsableReportTable-ZObwzBbY-BfOvomCm.js} +29 -29
- package/dist/assets/{CompanyOfficerDetailsSection-B_cIues7-Cxl-k5rk.js → CompanyOfficerDetailsSection-DVG0lvX--Dfy9v0Wy.js} +19 -19
- package/dist/assets/{CompanyPassportCard-CHF83hfN-Co_424o0.js → CompanyPassportCard-DBZRV0g0-BA5CzU7Q.js} +2 -2
- package/dist/assets/{CompanyPassportPage-C5W3KcDY-9FetRhxp.js → CompanyPassportPage-BoaNol0L-DnxxOJfB.js} +17 -17
- package/dist/assets/CompleteProfile-nkRKLJTF-D06O2tPg.js +36 -0
- package/dist/assets/{ConfettiBurst-DVT9EpwF-DojTLrIM.js → ConfettiBurst-BYoGZ66F-DY-7GLNq.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-DVbYQaWM-CbAPJPq5.js → CreateOrEditVendorPage-C1Yx8t4M-BzNtZfYl.js} +10 -10
- package/dist/assets/{CreditCardPaymentDrawerPage-D2qT7vsE-6HiNR28B.js → CreditCardPaymentDrawerPage-DlnR16jr-Cp09nlhb.js} +10 -10
- package/dist/assets/{CreditCardPaymentPlgSection-7cmMRTQm-ByUK3A64.js → CreditCardPaymentPlgSection-CZ2vyMiF-CAkrDs6q.js} +9 -9
- package/dist/assets/{CurrencySelectField-ClhIJFVw-Cuj7jFbB.js → CurrencySelectField-vH1oB0K8-B5AHvAUJ.js} +4 -4
- package/dist/assets/{CustomerOnboardingActivationPage-D-Ihd-H0-C2bq2dEV.js → CustomerOnboardingActivationPage-rpZmgNZo-CwICpwxp.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DEDQrgtq-a_kK-7zZ.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CUxNOK4z-DK4_uIa1.js → CustomerOnboardingDetailPageSkeleton-CFIeHxxw-SHM_Ui8B.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-B9ts3Tla-DKUZswXj.js → CustomerOnboardingNoStepsPage-BueMiyFl-46-BK9fl.js} +7 -7
- package/dist/assets/CustomerOnboardingPage-CmHXtB9v-BJU0moTi.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-iSJtAhvu-BHz78EGH.js → CustomerOnboardingProductSuitePage-I9pftf_j-DOK-Bf5L.js} +5 -5
- package/dist/assets/{Dashboard-SKeHZ5QY-DF211AQA.js → Dashboard-DcfkiicK-D3UJUCYb.js} +38 -38
- package/dist/assets/DashboardReportPage-B7J8yZR6-B09J8zzA.js +349 -0
- package/dist/assets/{DepositAccTransactionItem-DJNio75H-Dxf2gNvA.js → DepositAccTransactionItem-CP_2AL3M-BdaPu6PV.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-DTIjlF2l-BfQK5oMo.js → DepositAccTransactionListPage-C4o1y1mJ-KyIyoawm.js} +4 -4
- package/dist/assets/{DocumentSecurityBanner-CVNWDvAg-BtG0xkpK.js → DocumentSecurityBanner-C5w0d_S8-DMiwYsyK.js} +1 -1
- package/dist/assets/DomesticWireDetailsPage-t0Ebo518-CZtrAoDV.js +21 -0
- package/dist/assets/{DownloadOverlay-BLj0xso_-C6DwpnXr.js → DownloadOverlay-CPW9ebxu-B84vZ8Vf.js} +1 -1
- package/dist/assets/{DrawerPage-CEetzMMx-IRv71ZvX.js → DrawerPage-Xc2rQipJ-CbzWMzby.js} +1 -1
- package/dist/assets/{EditPeoplePage-DDUuO0Nh-DqRnFx-k.js → EditPeoplePage-CF5UleI0-DHfURipS.js} +8 -8
- package/dist/assets/{EditReimbursementDetailPage-CT8mqYr5-BidGZIIe.js → EditReimbursementDetailPage-DGCkOykv-BxliJYVA.js} +24 -24
- package/dist/assets/{EntityDetailPage-DMh6o0bo-pHSPNKBZ.js → EntityDetailPage-BykQZo8S-TLciQOdt.js} +1 -1
- package/dist/assets/{EntitySummarySection-tK_X4uAf-Dp0ODS-o.js → EntitySummarySection-Dw4PBcg_-D8XPKjkN.js} +5 -5
- package/dist/assets/{ExpenseAutomationOverviewPage-CLUiYjKg-29WBaTXV.js → ExpenseAutomationOverviewPage-BwAaZVq3-DULdspcH.js} +17 -17
- package/dist/assets/{ExpenseAutomationPage-C9biTgak-CqBGDzCQ.js → ExpenseAutomationPage-Cqiyk-AY-Cbn2hM3p.js} +82 -82
- package/dist/assets/{ExpressPayPage-DpAixmcQ-DRJERqMh.js → ExpressPayPage-D0lCczvw-DeekuCPU.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-BohUqOFz-C7UREL2T.js → FeaturePreviewPage-CxZIUB8l-xGc8umN-.js} +1 -1
- package/dist/assets/{FollowStepsSection-BAUXUzTr-Bt6EnCL_.js → FollowStepsSection-CILr1_vc-DOHzLCEi.js} +10 -10
- package/dist/assets/{GlobalReviewListPage-BxYHNkut-YQAMqbD_.js → GlobalReviewListPage-DL6H7PZG-CcFAQ4Jd.js} +8 -8
- package/dist/assets/{HelpButton-8AQIbLQM-BGmSYuu4.js → HelpButton-CkSfhBfN-BCuT-w0J.js} +2 -2
- package/dist/assets/{InformationCardStack-76GlZ-Bq-D2NuF640.js → InformationCardStack-i76c5dym-B_ZpROXq.js} +2 -2
- package/dist/assets/{InsightsCardStack-CvOFi2Uu-CMXkT3ON.js → InsightsCardStack-wcWhovKK-DSw729j8.js} +9 -9
- package/dist/assets/{InsightsSection-DyF8JZIR-Ba4Edr3x.js → InsightsSection-CCzgI0uK-wk2msd_s.js} +2 -2
- package/dist/assets/{IntegrationsSettingsPage-mys0-i40-D6hpCjXM.js → IntegrationsSettingsPage-B2CDE2Xd-D7F50RmA.js} +4 -4
- package/dist/assets/{InternationalWireSwiftDetailsPage-km4qEcXH-BNeowmSn.js → InternationalWireSwiftDetailsPage-DNT75nXv-Ugsofr3W.js} +7 -7
- package/dist/assets/{InternationalWireVerificationPage-DauhGM3c-FV1PNbfL.js → InternationalWireVerificationPage-BDxujQK--CFeRgIkU.js} +5 -5
- package/dist/assets/{InviteFormPage-FSL8fEXT-DcCB77N5.js → InviteFormPage-BnLBPR7X-QQpB8eQo.js} +16 -16
- package/dist/assets/{InvitePageListView-zaQ1xEHJ-bdUJ0_yl.js → InvitePageListView-7mhz_Fyy-D6doua_f.js} +32 -32
- package/dist/assets/{InvitePeoplePage-BNB36i8Y-fBOLcBoL.js → InvitePeoplePage-B8gb9N_8-DX1GZlvh.js} +2 -2
- package/dist/assets/{InvoiceUploadSection-FXrB92T6-Ee1Ti_S1.js → InvoiceUploadSection-Bes1nCJn-Be4DogKt.js} +6 -6
- package/dist/assets/{IssueChargeCardPage-D3cUp2DE-BtI5RGZ7.js → IssueChargeCardPage-DC3yIsQd-D0BAohGU.js} +21 -21
- package/dist/assets/{LabeledAddressValue-BF6r800B-_Leb_eWa.js → LabeledAddressValue-Dtw8vM0g-D81z6ltq.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-DYelJL4d-B8hx-xCL.js → LabeledAddressValueField-D72yUpQl-C0ZR7mu4.js} +3 -3
- package/dist/assets/{LabeledControlledCheckBoxField-B2ATKJBH-BJtdB2bJ.js → LabeledControlledCheckBoxField-BFaru2xf-AfZiR_o0.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-B9zUAA6L-D7rl6n6N.js → LabeledCreatableSingleSelectField-CCXfjgxP-BI63rs1t.js} +6 -6
- package/dist/assets/LabeledDocumentField-aYYBY16j-D9fngETw.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-Co7u6hHL-Cpugeu34.js +59 -0
- package/dist/assets/{LabeledText-C34I_iEo-CF4V70ja.js → LabeledText-BrOLGzO5-CQVuQAJd.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-B6aVL-fb-Ce6EEFHl.js → LabeledUserSingleSelectWithSubtitlesField-D-Huhkbq-B8_Gy80w.js} +5 -5
- package/dist/assets/{LabeledZeniRolesDropDownField-Caj0_1zM-C242ITAr.js → LabeledZeniRolesDropDownField-WXH8xLJq-Bz0_UVs1.js} +12 -12
- package/dist/assets/{LinkJETransactionPage-DLmZGscZ-zCMuKt6w.js → LinkJETransactionPage-NFV4Vo3i-Dh75sd9Q.js} +12 -12
- package/dist/assets/{LowBalancePopup-ll1SesgY-B6jGvSbo.js → LowBalancePopup-Bxkd2pBR-DnLeMaGm.js} +7 -7
- package/dist/assets/{MagicLinkACHDetailsPage-DXzjYrdU-Bp3Pui0J.js → MagicLinkACHDetailsPage-BJFlUq7i-CR2iAlWE.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-CUwp46Wf-D6GYUui4.js → MagicLinkDomesticWireDetailsPage-CTuaNol6-CwHBeiVQ.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-B_h0EHoZ-CNTurwbH.js → MagicLinkInternationalWireDetailsPage-L2dPsfWM-jS2Sj2EL.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-BX4E-l5M-DcLhDo6l.js → MagicLinkSuccessPage-DutanrSJ-BcHGJ4_T.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DHe9TfVe-BOSN41pz.js → MagicLinkTitleSection-5B8jYoBn-ChnkNHHY.js} +2 -2
- package/dist/assets/MailingDetailsSection-DwWeiSC0-CYpVyPYc.js +21 -0
- package/dist/assets/{MeetingCalenderPopup-D4tz-H5i-DRJag4hu.js → MeetingCalenderPopup-rC3PQdjG-DZoBtMzd.js} +3 -3
- package/dist/assets/{Menu-C9u3eDJk-B6BTFoM9.js → Menu-CrSQ1yNo-Cx3bEBb1.js} +2 -2
- package/dist/assets/{MyBankConnectionsSettingsPage-DVp3h4c0-DektOgAW.js → MyBankConnectionsSettingsPage-CJjW9ymP-BqJ36Kdj.js} +8 -8
- package/dist/assets/{MyPendingActivationChargeCardListPage-BTk8mY7B-C0Py-Esb.js → MyPendingActivationChargeCardListPage-CvxqOjc7-DSUp87U3.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BdcDAwKZ-CUpx3w30.js → MyProfileSettingsPage-BX5dXulH-rLCsz38p.js} +9 -9
- package/dist/assets/{NavBarWithPicker-DbSWvh0o-CjlAab2L.js → NavBarWithPicker-CuVAj7o5-QRyCYrfU.js} +4 -4
- package/dist/assets/{NavigationArrow-BP8cU19I-B-iknftj.js → NavigationArrow-BPQ9vRqR-CA2ua3KM.js} +1 -1
- package/dist/assets/{NavigationDots-nvOimTil-DT9B51FC.js → NavigationDots-Toh5TKEv-D4TuvGNx.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-D-imjD0M-DTBK5g17.js → NewGlobalMerchantPage-B4r1haCm-V82_isUI.js} +6 -6
- package/dist/assets/NoDataChart-CVM-QPHf-C-oyhVAy.js +26 -0
- package/dist/assets/{NoDataTable-d0_62BR0-CxXAVuhp.js → NoDataTable-CM-tApqo-CD71WwmK.js} +1 -1
- package/dist/assets/{NotFoundPage-BydQGX11-Dq8fbiEG.js → NotFoundPage-I-EBmx2b-H5l_OBUP.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-BIzaZFzy-JxZ4N9IZ.js → NotificationSettingsPage-CtZ7hdMN-D-_tIuJn.js} +6 -6
- package/dist/assets/NotificationsListConfig-BAKipCDG-DNDbmhPU.js +1 -0
- package/dist/assets/{NotificationsPage-BdI4E6uL-Dtdtsrxb.js → NotificationsPage-xyLmK3l7-D0WoPK5r.js} +21 -21
- package/dist/assets/{OpExByVendorPage-Dm90CRYi-CRnxfwgA.js → OpExByVendorPage-B63DEuJM-BARCJc78.js} +5 -5
- package/dist/assets/{OverlayContainerPage-nhe7xtoR-B2VuCGmE.js → OverlayContainerPage-C0rUb6-5-BDWmQRwQ.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DhbFHH25-B_jOsETc.js → PandLWithForecastPage-uY-ajYp4-Lez30LQU.js} +6 -6
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-Debi_lWf-DgZH-stN.js → PaymentAccountSetupBillingAddressSection-DM9NYbmX-C_WC5GD-.js} +6 -6
- package/dist/assets/{PeoplePage-BACu55RO-Pf-QB0XE.js → PeoplePage-DPZj6XeQ-87NclcP_.js} +24 -24
- package/dist/assets/{PortfolioAllocationFormPage-Cjz_E3BK-0agDNn7e.js → PortfolioAllocationFormPage-De56plDa-D_5OdoiP.js} +3 -3
- package/dist/assets/{PortfolioDetails-CS2st-Mx-CqOAHDDP.js → PortfolioDetails-DiITguNZ-C9ff3dxU.js} +9 -9
- package/dist/assets/{ProductsCarousel-TB4uKZbg-jHCmwr3_.js → ProductsCarousel-BojgZxY7-C7ixhh1B.js} +9 -9
- package/dist/assets/{PromoBaseCards-BMPp9RNQ-CfCVTYBz.js → PromoBaseCards-DPAkjdDp-BSbN47iG.js} +5 -5
- package/dist/assets/{QBOConnectionDialog-B1b1wGeq-Bv09ZJ5Q.js → QBOConnectionDialog-CzuH4c1o-CmxBeQPY.js} +9 -9
- package/dist/assets/{QBOSetupSection-Bj_y0Lo2-i5olJfVN.js → QBOSetupSection-DJBfLeXn-CaDVg5Hs.js} +9 -9
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-Cz4RtqYb-BkpvBSQs.js → ReimbursementApprovalRuleDetailPage-CAcLCt68-CHZOZjbd.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-DJlNT4Ov-Bl6ySL6S.js → ReimbursementApprovalRulesPage-edz_6MDX-C6mJ2DuI.js} +43 -43
- package/dist/assets/ReimbursementDetailPage-DD_GbfiV-DO_TXxDc.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-ppaPJby5-COCfOhRQ.js → ReimbursementPromoPage-B_HZWdXi-ujWpRxU3.js} +6 -6
- package/dist/assets/{ReimbursementSetUpPage-B6mZrzQB-Fiw0qBGy.js → ReimbursementSetUpPage-C0SNbg5D-CMixW-_k.js} +5 -5
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DS55QesG-B74D85P7.js → ReimbursementsBulkReviewDrawerPage-NOK5jPjr-DI2xKDYj.js} +1 -1
- package/dist/assets/{ReloadCard-DDDYlCsI-uet9tXMw.js → ReloadCard-CqyGWGqs-B2pPTz9i.js} +3 -3
- package/dist/assets/ReportTableViewSelector-B8ZW0kxU-_1sW9OpN.js +150 -0
- package/dist/assets/ReportsPage-DdqQgvJt-pEgVGJHX.js +120 -0
- package/dist/assets/{RevenueChart-DPkxzWaE-DuQQfz8T.js → RevenueChart-QoBLII7z-Brgj42T7.js} +15 -15
- package/dist/assets/{ReviewDetailsPage-CyF2YP3t-qsNy7OU7.js → ReviewDetailsPage-BVoI7xF7--oTVBYBc.js} +14 -14
- package/dist/assets/{ReviewOverlay-AoSgYufX-dwAI_sdq.js → ReviewOverlay-CbpylyCx-CRT_fGNL.js} +10 -10
- package/dist/assets/{RoleWithToolTip-aoWU03so-Dwlqauj8.js → RoleWithToolTip-TxLTa63q-S46u0htc.js} +4 -4
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-Bfj3vclV-Bh0VQjus.js → ScheduleDetailsFixedAssetsPage-CuwxZJjj-CbljEJHF.js} +4 -4
- package/dist/assets/{ScheduleDetailsPage-B30aUjKr-yo5UZBZa.js → ScheduleDetailsPage-u0VNz7hA-DBA6XeYX.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-CStdRSyQ-DoVYhvfX.js → ScheduleSequenceTable-usJjTfAn-CsILXb5x.js} +19 -19
- package/dist/assets/{ScreenRoutes-BUy9Iwzd.js → ScreenRoutes-DfucM-A_.js} +1 -1
- package/dist/assets/{SetUpAccountSection-nul4pyeP-DU6cZy0a.js → SetUpAccountSection-DDe06VBR--XDyyAq7.js} +103 -103
- package/dist/assets/{SetUpDefaultSection-ByW3h9zl-DGn4f3RC.js → SetUpDefaultSection-B6pcOXMO-DgPwbXlv.js} +8 -8
- package/dist/assets/{SignIn-R1Rsh38G-F9AuCIeN.js → SignIn-BdhV8PbY-BEcS89H3.js} +16 -16
- package/dist/assets/{SignInScreen-Zt_tSoMj.js → SignInScreen-CQe6jUnb.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-BqOQ7NY_-b4Sdc3rB.js → SpendManagementListViewPage-DNgC__pX-CtNBT1Yc.js} +4 -4
- package/dist/assets/{SpendManagementPerTabPage--2EC1Oz4-h4ycN1O9.js → SpendManagementPerTabPage-BkiWOMch-DNxdfM54.js} +36 -36
- package/dist/assets/{SpendManagementSection-COMVry1E-BWp0dXiq.js → SpendManagementSection-DuR3sx7V-wtusVJD4.js} +9 -9
- package/dist/assets/{SpendMgmtSetupAccountSection-fV4qxxEy-CCp-swkD.js → SpendMgmtSetupAccountSection-DoUKX4Sf-BWt9unUe.js} +8 -8
- package/dist/assets/{StatementItem-BksIBztP-B831iK9_.js → StatementItem-VYK0Vtgt-CDJF9Bdy.js} +8 -8
- package/dist/assets/{StatementsPage-DnAoeqze-DA62l4Hk.js → StatementsPage-CLxned7l-kbRne1uO.js} +1 -1
- package/dist/assets/{StatusSwitcher-b1A9RnRP-DAlRwEN4.js → StatusSwitcher-Jqpvk1VX-KiHu5pz2.js} +2 -2
- package/dist/assets/{SubTabSwitcher-CgJW4ZXd-DJMKxW1_.js → SubTabSwitcher-C7_JB54g-TfIjK1e4.js} +1 -1
- package/dist/assets/{SummaryCard-sEKhcIH5-5V5OHe0n.js → SummaryCard-oqK_zyxl-DP8NWbIJ.js} +1 -1
- package/dist/assets/TaskManagementPage-BDOhB7Ny-0hkaxI_I.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-DQ-u6pKk-C9r3FAYu.js → TimeRangeSwitcher-AWKZ7PNb-CoqhGH2B.js} +5 -5
- package/dist/assets/{TimeframeSwitcher-B0yxn0SJ-BcwixCzj.js → TimeframeSwitcher-BlL5woGb-Cmk__EzQ.js} +1 -1
- package/dist/assets/TimeframeSwitcherWithToggle-CRnWI6xW-CcO9Smot.js +31 -0
- package/dist/assets/{TopExCard-CTjfWfCk-C3i8kmEM.js → TopExCard-B4T3kqhZ-Boo9L6AS.js} +4 -4
- package/dist/assets/{TopExDetailPage-CdpvcVME-2JDis9q2.js → TopExDetailPage-Cx9T3i9O-Dego-R-_.js} +11 -11
- package/dist/assets/{TransactionDetailPage-DdF9FS4b-DZnceplN.js → TransactionDetailPage-CAGxHcQ9-D2MX0HZx.js} +46 -46
- package/dist/assets/{TransactionList-CHq3WONc-6OKHlFEQ.js → TransactionList-CVrK_-YB-DNCdrvzR.js} +5 -5
- package/dist/assets/{TransactionListBig-D-Gxd5n0-DanPN3il.js → TransactionListBig-BnI6EofP-_rQrLZ8Q.js} +12 -12
- package/dist/assets/{TransactionListPage-DK9-YK_1-BXggWvxO.js → TransactionListPage-vK6DdhrP-BFxBj0Xu.js} +5 -5
- package/dist/assets/{TransactionVendorDetailPage-Cc9pTpTw-B-XpZb7b.js → TransactionVendorDetailPage-IyAfkyMv-DMgJng31.js} +6 -6
- package/dist/assets/{TransferDrawerPage-DoDTECI8-BIlT9f80.js → TransferDrawerPage-Bp0TG8fm-BrYG-dvh.js} +28 -28
- package/dist/assets/{TreasuryOverviewPage-wlfReqPJ-COqPP-C6.js → TreasuryOverviewPage-Cr1liTpc-DUvbI9m6.js} +12 -12
- package/dist/assets/{TreasuryPromoPage-C9WNRb2_-D68uCH9T.js → TreasuryPromoPage-Da7l7gv8-BI2e-RBa.js} +7 -7
- package/dist/assets/{TreasurySetupPage-CjV0cOq9-Dj6kRagu.js → TreasurySetupPage-DLNsPnS8-CsV7YDNa.js} +2 -2
- package/dist/assets/TreasuryStatementsPage-CNXxykvB-Xo9bsOcj.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-BWGHcQ-i-BKMewaZO.js → TreasuryTaxLetterPage-DUbt8ItG-Bx6VQjMk.js} +2 -2
- package/dist/assets/{TreasuryTransferOrReviewPage-CgL8K7N9-BU_JpBeT.js → TreasuryTransferOrReviewPage-qxabbCrK-Cn6E59-e.js} +19 -19
- package/dist/assets/TrendChart-SOAxSpv2-C2I66UL7.js +16 -0
- package/dist/assets/{TrendWithTransactions-B_fJTS4m-DhL_ksp6.js → TrendWithTransactions-BSQ2TJvu-CXRyOB__.js} +2 -2
- package/dist/assets/{UncategorizedAccountsMappingPage-DpY1kK_K-Tyh7I9oQ.js → UncategorizedAccountsMappingPage-Caf242zp-C8p8QWva.js} +13 -13
- package/dist/assets/{UnitIntegrationPage-BTJI7fx3-ArXBm5Pc.js → UnitIntegrationPage-Bvc4wx_r-CxpS2DzG.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-BH3bRKoG-BcpVEL9h.js → UploadAdditionalDocumentOverlay-BTEhwmVL-Bv1cJYiQ.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-4-XtZDNS-yXogm4Uf.js → Vendor2FAPopup-DimcegQ_-DbqY7M5C.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-B2knDl4H-C8LDkjOw.js → VendorACHDetailsPage-BOIRRgCy-3ls1AaMO.js} +1 -1
- package/dist/assets/{VendorDetailPage-w-tghGpI-COTucAdG.js → VendorDetailPage-CWcqMMpT-CUN694wM.js} +17 -17
- package/dist/assets/{VendorDomesticWireDetailsPage-BXCCdTjh-D1sSssE6.js → VendorDomesticWireDetailsPage-9C2CIkhB-CIWMgQrd.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-DGQO9Qqj-doeBi57Q.js → VendorFiling1099EditablePage-Crz_WLRG-C1B5bpoY.js} +7 -7
- package/dist/assets/{VendorFirstReviewPage-Lblb6X1V-DDX-EnPi.js → VendorFirstReviewPage-hQ0U61KD-DXRFO6yh.js} +44 -44
- package/dist/assets/{VendorInternationalWireDetailsPage-Bi5RBKxI-d7yVndnc.js → VendorInternationalWireDetailsPage-mm1qIXTf-CIqQKpow.js} +7 -7
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CBZmsXnL-oKquyl5C.js → VendorInternationalWireSwiftDetailsPage-BaOsJGNO-DJWhQcKK.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-JI0e3gKo-DV7qAVgA.js → VendorsAccountsSection-CGbDIAMd-CpNcTh0l.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-BQzUQ5-l-eGPm8ckX.js → WarningsDrawerPage-7DzlUfv7-BkCPq2fE.js} +5 -5
- package/dist/assets/{ZeniAccountDetailPage-DPJ4mWoO-CDV8kX3d.js → ZeniAccountDetailPage-B_U4d2iv-CeotXzaF.js} +32 -32
- package/dist/assets/{ZeniAccountListViewPage-iHMJ7FU7-DsSrfvmu.js → ZeniAccountListViewPage-C2Yej3tG-5nEB_ziW.js} +23 -23
- package/dist/assets/ZeniAccountNavBarPieces-DsWyZL7N-DfzfZF8w.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-OxQ03DtJ-DuTzzMXB.js → ZeniAccountPromoPage-D6S3o6xA-Bi4N8dmb.js} +11 -11
- package/dist/assets/{ZeniAccountSetupPage-BahzDcmm-CkQD3H0K.js → ZeniAccountSetupPage-YpW9LEB1-BJ2MLgxE.js} +1 -1
- package/dist/assets/{ZeniCopyright-Dpqdxu7f-DENyHxGI.js → ZeniCopyright-Buv4_0jF-CqCj0NE5.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DwC6pXnb-D2__V8HO.js → ZeniTransferAmountSlider-CvuOgkEg-CuXG6PC2.js} +1 -1
- package/dist/assets/analytics-DThoELaW.js +7 -0
- package/dist/assets/{analyticsHelper-CZ8c8du5-BYQerWlM.js → analyticsHelper-B3QVnfWf-Ii66sXHH.js} +1 -1
- package/dist/assets/{analyticsHelper-BqDRiuen.js → analyticsHelper-ej1xHeXQ.js} +1 -1
- package/dist/assets/{chartTypes-CWLOazD0-DQIU7DHt.js → chartTypes-DYAHlgKd-DnqAO3Rp.js} +1 -1
- package/dist/assets/{commonDimensions-Cg7EWgSP-CvVryzw_.js → commonDimensions-Pkc8qIrn-B-bjjlb8.js} +1 -1
- package/dist/assets/{detailCommon-Cp4eknjq-BH10rVqU.js → detailCommon-CsukAL3T-lIItUxyr.js} +7 -7
- package/dist/assets/{downloadPdf-f3F0OqWf-BOFdFlm6.js → downloadPdf-DlKRXI5W-DoYYMEWD.js} +1 -1
- package/dist/assets/{index-Bh_1R5Ob.js → index-DEtloYMb.js} +3142 -3141
- package/dist/assets/{liveblocks-BUGn2yQ6.js → liveblocks-sSQ9JElv.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-DCLD3rcY-DQE4Fmbr.js → mapLoadingInProgressToTreeNode-KYsp1YPe-CdYtsyMK.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-C-VOXE5I-IEIwZ2Vf.js → mapSectionWithAcOnlyToTreeNode-t5fK12Uc-CbMkSgtE.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-DlDwFA_F-adHbwg_D.js → mapSpacerToTreeNode-1YBqnFwa-K_d13sRq.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-EEyJwCnX-DL3MQtPA.js → mapTimeframeBalancesToTreeNode-DD1v-gTG-9n0fkm_w.js} +1 -1
- package/dist/assets/mui-C5LQ0bMa.js +25 -0
- package/dist/assets/{play-icon-CFa9Uibr-CFpLGFU1.js → play-icon-19dLaWkG-CvLTbZAK.js} +3 -3
- package/dist/assets/{redux-DmDqXYej.js → redux-ByjIRbhZ.js} +1 -1
- package/dist/assets/{routing-BNz5gZgX.js → routing-Cpaypegg.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-DT8-C5u1-B1FoouwO.js → toCOABalancesWithID-B8NxsLlK-741DYvDg.js} +1 -1
- package/dist/assets/{toChartData-63e3B91H-ZtR5NJvP.js → toChartData-CxZEcdj_-B9fAXWHm.js} +1 -1
- package/dist/assets/{treasuryColorHelper-BGGfolJy-CWl7jTQi.js → treasuryColorHelper-BqwCUN2u-C54KKUXs.js} +1 -1
- package/dist/assets/{uploadAttachment-YcPIDoZ--toOwAw7L.js → uploadAttachment-CHFo3qZI-fjIbqTID.js} +21 -21
- package/dist/assets/{uploadReceipts-BH9fi3Vt-CMw2oH6c.js → uploadReceipts-Buvz7DfG-BUbqoJXB.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +5 -5
- package/dist/assets/AccountInfoPageContent-qqbfRfuR-C7-_5sOr.js +0 -149
- package/dist/assets/AccountRow-CPX-627p-DXjzC4oo.js +0 -298
- package/dist/assets/ArAgingChart-BRcy3--o-CVhUhHyt.js +0 -24
- package/dist/assets/BusinessVerificationPage-DT24fycp-C-SVysZz.js +0 -140
- package/dist/assets/ChargeCardPromoPage-DOibcN9n-CE5UscbC.js +0 -175
- package/dist/assets/CheckDepositDrawerPage-DaaWfNin-DQUFbJAl.js +0 -206
- package/dist/assets/CompleteProfile-MP9AF8Iu-Dltf62Ac.js +0 -36
- package/dist/assets/CustomerOnboardingContainerPage-C9jXmYuH-DZXeTXsZ.js +0 -1
- package/dist/assets/CustomerOnboardingPage-DJbFeXms-uTvDgNTn.js +0 -107
- package/dist/assets/DashboardReportPage-3X6wpJL2-BK7Yd62F.js +0 -349
- package/dist/assets/DomesticWireDetailsPage-D-qwPVDs-YqgObZaE.js +0 -21
- package/dist/assets/LabeledDocumentField-DORRl3DI-BiJSEJu5.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-FpRJ9tiX-D495n-7f.js +0 -59
- package/dist/assets/MailingDetailsSection-D8CZart4-Bbi4CmcC.js +0 -21
- package/dist/assets/NoDataChart-VE4W-RUu-D223toQY.js +0 -26
- package/dist/assets/NotificationsListConfig-DVBOQJZq-DD4o-ZVG.js +0 -1
- package/dist/assets/ReimbursementDetailPage-BQiu7Gts-zt4bAw_Z.js +0 -314
- package/dist/assets/ReportTableViewSelector-Bss4AtF1-Y5yDfA7f.js +0 -133
- package/dist/assets/ReportsPage-C-g9588h-CalWBFdb.js +0 -120
- package/dist/assets/TaskManagementPage-z5uvcy81-DXWG5Ln7.js +0 -508
- package/dist/assets/TimeframeSwitcherWithToggle-BlbY3qcY-bVTDjcsV.js +0 -31
- package/dist/assets/TreasuryStatementsPage-DqOWNGB_-CL_O8Dxf.js +0 -58
- package/dist/assets/TrendChart-76tuu9Dr-CtZTTvAn.js +0 -16
- package/dist/assets/ZeniAccountNavBarPieces-D1g1REsS-D5-Eit3W.js +0 -14
- package/dist/assets/analytics-BSSiLa6f.js +0 -7
- package/dist/assets/mui-BgvZYSo0.js +0 -22
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import{u as et,X as tt,a5 as we,j as i,M as Te,i as G,a as it,ch as at,l as L,z as st,c3 as nt,aJ as ot,a0 as rt,K as lt,aW as ct,Y as dt,c4 as mt,bN as pt,bP as ut,bQ as ft,d as yt,F as ht,a7 as gt,o as r,C as j,f as $e,fF as xt,fd as Ce,cw as St,c0 as wt,a6 as Ct,s as ke,Q as bt,h as vt,p as k}from"./index-Bh_1R5Ob.js";import{b as P,n as d}from"./vendor-CnQcJ2Lu.js";import{o as Dt,G as Tt}from"./CompanyOfficerDetailsSection-B_cIues7-Cxl-k5rk.js";import{r as $t}from"./verification-CW6uEyev-DdkqedMU.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./LabeledAddressValueField-DYelJL4d-B8hx-xCL.js";import"./LabeledCreatableSingleSelectField-B9zUAA6L-D7rl6n6N.js";import"./LabeledDocumentField-DORRl3DI-BiJSEJu5.js";import"./DocumentSecurityBanner-CVNWDvAg-BtG0xkpK.js";const x={width:new j(343,580,726),titleWidth:new j(343,580,726,826),subTitlePaddingTop:new j(12,k[3]),subTitlePaddingBottom:new j(k[3],k[3]),verificationDetailsRowGap:new j(12,k[5],k[5]),termsPaddingLeftRight:new j(k[0],k[3])},kt={stepTitle:new bt("h6Regular","h5Regular")},be="businessVerificationPage",b="companyDetails",v="companyOfficerDetails",{commonSetUp:{businessVerification:s},common:{settings:It,currency:jt,footer:ve,strings:{empty:Pt}}}=Te.getLocalizedStrings(),pi=({businessVerificationDetails:t,allNationalityCountries:A,verficationDetailsFetchState:F,isRefreshingViewInBackground:B,filesEndPoint:o,authParams:_,productType:y,allIndustries:z,companyTitles:E,maxInsuredAmount:p,isDisabled:I,isSettings:n=!1,isOverlay:h=!1,analytics:g,isStepInProgress:S=!1,onAddressClick:H,onRegisteredAddressClick:je,onBackClick:N,onGetOtp:Pe,onVerifyOtp:Fe,onResendOtp:Ne,onSendForVerificationClick:Oe,onEditFileName:ee,onCompanyDetailsChanged:Ve,updateFilesEntity:te,onDeleteFile:ie,onDeleteFileList:Le,onCompanyOfficerUpdated:Ae,saveNewAddressInLocalStore:ae,onSaveDetailsClick:Be,onClickMenuIcon:_e})=>{const ze=et(),m=tt(),{updateStatus:R,companyView:O,companyDetailsLocalData:l,companyOfficerLocalData:w}=t,Ee=we(R.fetchState),U=O?.company.company.featuresActivationInfo.connectedAccountProvider,Re=U==="unit"?i.jsxs(zt,{children:[s.terms.term1,i.jsx(G,{href:s.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.consent}),s.terms.term2,i.jsx(G,{href:s.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.depositTerms}),s.terms.term3,i.jsx(G,{href:s.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.privacy}),s.terms.term4,i.jsx(G,{href:s.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:s.terms.tos}),s.terms.term5]}):s.terms.termsForStripe,[Ue,W]=P.useState(!1),[M,se]=P.useState("save"),[Z,Me]=P.useState(!1),u=it({mode:"all",reValidateMode:"onChange",defaultValues:Ft(t,z,E,A)}),{isValid:Ge}=u.formState,K=O?.company.company.companyBillPayInfo,Q=O?.company.company.companyTreasuryInfo,V=y==="zeni_treasury"?Q?.companyVerificationStatus:K?.companyVerificationStatus,D=Object.values(w).findIndex(e=>e?.isSelectedForVerification===!0),T=`Officer_${D<0?1:D+1}`,We=()=>{const e=w[T],a=e?.email,c=e?.birthday?.toString(),f=e?.ownershipInCompany,C=e?.firstName,$=e?.lastName,re=e?.titleAtCompany,le=e?.documentTypeSelectedForVerification,ce=e?.phone,de=e?.addressStatus?.addressToCreate,me=de!=null?L.getFormattedAddress(de):void 0,pe=l?.companyDescription,J=l?.companyLegalName,ue=l?.companyIndustry,fe=l?.phone,ye=l?.website,he=l?.addressStatus?.addressToCreate!=null?L.getFormattedAddress(l?.addressStatus?.addressToCreate):void 0,Y=l?.primaryContactLocalData,ge=Y?.firstName,xe=Y?.lastName,Se=Y?.email;a!=null&&f!=null&&C!=null&&$!=null&&c!=null&&re!=null&&ce!=null&&me!=null&&le!=null&&pe!=null&&J!=null&&fe!=null&&ye!=null&&ue!=null&&J!=null&&he!=null&&ge!=null&&xe!=null&&Se!=null&&g?.trackBusinessVerificationSend({email:a,birthday:c.toString(),companyOwnership:f,firstName:C,lastName:$,companyRole:re,phone:ce,formattedAddress:me,documentTypeForVerification:le},{companyDescription:pe,legalName:J,phone:fe,website:ye.toString(),industry:ue,formattedAddress:he},{firstName:ge,lastName:xe,email:Se},y,n?"Settings":void 0)},Ze=()=>{const e=w[T],a=l?.primaryContactLocalData,c=e?.email??"",f=!!e?.firstName&&!!e?.lastName,C=a?.email??"",$=!!a?.firstName&&!!a?.lastName;return c&&!f?((!e?.firstName||!e?.lastName)&&u.trigger(`${v}.${D<0?0:D}.name`,{shouldFocus:!0}),!1):C&&!$?((!a?.firstName||!a?.lastName)&&u.trigger(`${b}.primaryContactName`,{shouldFocus:!0}),!1):!0},Ke=()=>{const e=w[T],a=l?.primaryContactLocalData,c=e?.email,f=a?.email;if(c){if(!f)return(a?.firstName||a?.lastName)&&u.trigger(`${b}.primaryContactEmail`,{shouldFocus:!0}),!1}else if(e?.firstName||e?.lastName||e?.birthday||e?.nationalityCountryCode||e?.ownershipInCompany||e?.phone||e?.ssn||e?.titleAtCompany||e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0||X!=null&&X?.length>0)return u.trigger(`${v}.${D<0?0:D}.email`,{shouldFocus:!0}),!1;return!0},Qe=u.handleSubmit(()=>{if(M!=="verification"&&se("verification"),U==="unit"&&w[T]?.isPhoneVerified!==!0){u.setError(`${v}.${D}.phone`,{type:"custom"});return}const e=at(Object.values(w).map(c=>Object.values(c?.deleteFileStatusById??{}).filter(f=>f!=null))),a=Object.values(l?.deleteFileStatusById??{}).filter(c=>c!=null);L.reduceAllFetchState(e.concat(a)).fetchState!=="In-Progress"&&Ge&&(We(),Oe?.(T))}),Xe=async(e,a)=>{e.includes(b)?Ve?.(a[b]):e.includes(v)&&Ae?.(a[v])},qe=P.useCallback(st((e,a)=>{Xe(e,a)},300),[]);P.useEffect(()=>{const e=u.watch((a,{name:c})=>{c!=null&&a!=null&&nt(()=>qe(c,a))});return()=>{e.unsubscribe()}});const ne=we(t.companyDetailsLocalData?.addressStatus);P.useEffect(()=>{t.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&t.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&ne==null&&(ae?.("company_registered_address",t.companyDetailsLocalData?.addressStatus?.addressToCreate),u.setValue(`${b}.registeredAddress`,t.companyDetailsLocalData?.addressStatus?.addressToCreate))},[t.companyDetailsLocalData?.addressStatus,t.companyDetailsLocalData?.registeredAddressStatus,ne,ae,u]);const oe=O?.companyOfficers.slice(0,10).sort((e,a)=>e.user.createTime?.isAfter(a.user.createTime)===!0?1:-1),X=oe?.map(e=>e.user),Je=oe?.map(e=>e.role),Ye={onOkClick:()=>{W(!1),N();const e=[],a=O?.company.company.incInfo.fileIds??[];u.getValues(`${b}.fileIds`).forEach(c=>{a.includes(c)||e.push(c)}),Je?.forEach((c,f)=>{const C=c?.fileIds??[];u.getValues(`${v}.${f}.fileIds`).forEach($=>{C.includes($)||e.push($)})}),e.length!==0&&Le?.(e)},onCancelClick:()=>{W(!1)}},He=ot(rt(p),p,jt.currencySymbol).toUpperCase(),q=V?.code==="pending_review"||V?.code==="verified";return y==="zeni_treasury"&&Ee==="In-Progress"&&R.fetchState==="Completed"?i.jsxs(Kt,{children:[i.jsxs(Qt,{children:[i.jsx($t,{}),i.jsx(Xt,{windowSize:m,children:s.submittedTitle}),i.jsx(Zt,{isReadonly:!1,children:s.submittedDescription})]}),i.jsx(lt,{label:s.submittedButton,onClick:N,variant:"primary"})]}):i.jsxs(Nt,{isSettings:n,children:[i.jsx(ct,{title:h&&S===!0?Pt:s.header,backgroundColor:ze.colors.grey5,style:{zIndex:Z?1:4},onBackClick:()=>{mt(u.formState.dirtyFields)?W(!0):N()},showBackButton:!n&&!h,showMenuIcon:n?m==="medium-compact"||m==="small":!1,onClickMenuIcon:_e,rightSideComponent:h?i.jsx(qt,{"data-testid":dt("nav-bar-close-business-verification-overlay"),onClick:()=>{N()}}):null,source:"BusinessVerificationPage"}),Ue===!0?i.jsx(pt,{titleComponent:i.jsx(ft,{children:s.discardTitle}),descriptionComponent:i.jsx(ut,{children:s.discardDescription}),primaryButtonText:s.discard,secondaryButtonText:s.cancel,action:Ye}):null,i.jsxs(Lt,{windowSize:m,children:[(!h||S===!1)&&i.jsx(Vt,{windowSize:m,children:n?It.infoText.businessVerification:s.title}),F==="In-Progress"||F==="Not-Started"?i.jsx(At,{children:i.jsx(yt,{size:"ExtraLarge",start:!0})}):i.jsx(ht,{...u,children:i.jsxs("form",{id:De(be),onSubmit:Qe,children:[h&&S===!0&&i.jsxs(Ot,{children:[i.jsxs(Et,{windowSize:m,children:[i.jsx(Rt,{windowSize:m,children:q?s.businessVerificationDetails:s.verifyBusinessDetails}),!q&&i.jsx(Ut,{children:i.jsxs(Mt,{children:[i.jsx(Gt,{}),i.jsx(Wt,{})]})})]}),i.jsx(Ie,{isReadonly:q,children:s.verifyBusinessDetailsDescription})]}),i.jsxs(Bt,{children:[i.jsx(Dt,{companyOfficerData:w,allNationalityCountries:A,allOfficers:X??[],sectionId:v,isRefreshingViewInBackground:B,connectedAccountProvider:U,productType:"business_verification",updateFilesEntity:te,onEditFileName:ee,onOfficerAddressClick:H,onDeleteFile:ie,isDisabled:I,filesEndPoint:o,authParams:_,isPopupOpen:Z,openPopup:Me,onGetOtp:Pe,onVerifyOtp:Fe,onResendOtp:Ne,companyTitles:E,isForTreasury:y==="zeni_treasury",isOverlay:h}),i.jsx(Tt,{companyDetails:l,businessVerificationProps:{companyVerificationStatus:V,isRefreshingViewInBackground:B},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",sectionId:b,isDisabled:V?.code==="pending_review"||V?.code==="verified"?"readonly":I,fileProps:{authParams:_,filesEndPoint:o,onEditFileName:ee,onDeleteFile:ie,updateFilesEntity:te},onCompanyAddressClick:H,onRegisteredAddressClick:je,connectedAccountProvider:U,allIndustries:z})]}),y==="zeni_accounts"?i.jsx(_t,{windowSize:m,children:s.threadText.replace("__amount__",He)}):null]})})]}),F==="Completed"&&(y==="zeni_treasury"?Q?.companyVerificationStatus?.code!=="pending_review"&&Q?.companyVerificationStatus?.code!=="verified":K?.businessVerificationStatus?.code!=="pending_review"&&K?.businessVerificationStatus?.code!=="verified")?i.jsx(gt,{formId:De(be),primaryBtn:{label:S?ve.submit:s.sendForVerificationButton,style:{width:"auto",minWidth:m==="small"?"auto":S?"83px":"181px"},isLoading:M==="verification"&&R.fetchState==="In-Progress",isDisabled:I!=null},containerStyle:{width:m==="small"?x.width.valuePx(m):"auto",justifyContent:m==="small"?"space-between":"center"},helperStyle:{width:m==="small"?x.width.valuePx(m):"auto",paddingLeft:x.termsPaddingLeftRight.valuePx(m),paddingRight:x.termsPaddingLeftRight.valuePx(m),textAlign:m==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:S?ve.back:s.saveDetailsButton,style:{width:m==="small"?"auto":S?"83px":"181px"},isLoading:M==="save"&&R.fetchState==="In-Progress",onClick:()=>{if(S)N();else{const e=w[T],a=l?.primaryContactLocalData;M!=="save"&&se("save");const c=e?.email??"",f=Ze(),C=Ke();f&&C&&(g?.trackBusinessVerificationSave({email:c,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?L.getFormattedAddress(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification},{companyDescription:l?.companyDescription,legalName:l?.companyLegalName,phone:l?.phone,website:l?.website?.toString(),industry:l?.companyIndustry??"",formattedAddress:l?.addressStatus?.addressToCreate!=null?L.getFormattedAddress(l?.addressStatus?.addressToCreate):void 0},{firstName:a?.firstName,lastName:a?.lastName,email:a?.email},y,n?"Settings":void 0),Be?.(T))}}},helperText:Re,style:{padding:`12px ${r.sp3}`,zIndex:Z?0:4}}):null]})},Ft=(t,A,F,B)=>{const{companyDetailsLocalData:o,companyOfficerLocalData:_,companyView:y}=t,z=Te.getLocalizedStrings().companyPassport,E=y?.companyOfficers!=null&&y?.companyOfficers.length>0;return{[b]:{companyDescription:o?.companyDescription??"",ein:o?.companyFiles.find(p=>p.documentType==="tax_ein"),companyId:o?.companyId??"",syncToken:o?.syncToken,companyLegalName:o?.companyLegalName??"",companyWebsite:o?.website?.toString()??"",companyAddress:o?.addressStatus?.addressToCreate,registeredAddress:o?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:o?.companyIndustry,allOptions:A?.map(p=>p.code)},companyPhone:o?.phone??"",companyTaxId:o?.taxIdOrEIN??"",primaryContactName:{firstName:o?.primaryContactLocalData?.firstName??"",lastName:o?.primaryContactLocalData?.lastName??""},primaryContactEmail:o?.primaryContactLocalData?.email??"",primaryContactUserId:o?.primaryContactLocalData?.userId,primaryContactSyncToken:o?.primaryContactLocalData?.syncToken,fileIds:o?.companyFiles.map(p=>p.fileId)??[],certificateOfIncorporation:o?.companyFiles.find(p=>p.documentType==="certificate_of_incorporation"),incDate:o?.incDate?.toDate(),typeOfIncorporation:{selectedOption:o?.typeOfIncorporation,allOptions:z.companyIncInfo.allTypesOfIncorporation},sourceOfFunds:{selectedOption:o?.sourceOfFunds??"",allOptions:Object.keys(s.sourceOfFundOptions)},formationDocument:o?.companyFiles.find(p=>p.documentType==="company_formation_document")},[v]:Object.values(_).map((p,I)=>{const n=p,h=xt(n?.documentTypeSelectedForVerification);return{userId:n?.userId,officerType:n?.officerType??`Officer_${I+1}`,name:{firstName:n?.firstName,lastName:n?.lastName},email:n?.email,fileIds:n?.fileIds??[],dob:n?.birthday?.toDate(),nationalityCountryCode:St(n?.nationalityCountryCode,B.map(g=>g.countryCode)),ssn:n?.ssn,role:{selectedOption:n?.titleAtCompany,allOptions:F?.map(g=>g.code)},phone:n?.phone??"",ownership:n?.ownershipInCompany,officerAddress:n?.addressStatus?.addressToCreate,selectDocument:{front:Ce(!0,n?.userFiles??[],h),back:Ce(!1,n?.userFiles??[],h),selectDocumentType:h},isSelectedForVerification:!E&&I===0?!0:n?.isSelectedForVerification??!1,userVerificationStatus:n?.userVerificationStatus,treasuryUserVerificationStatus:n?.treasuryUserVerificationStatus,syncToken:n?.syncToken,isPhoneVerified:n?.isPhoneVerified,otpChallenge:n?.otpChallenge}})}},De=t=>`${t}_form`,Nt=d.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
min-height: 100%;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
width: 100%;
|
|
6
|
-
row-gap: ${r.sp3};
|
|
7
|
-
background-color: ${t=>t.isSettings?"unset":t.theme.colors.grey5};
|
|
8
|
-
`,Ot=d.div`
|
|
9
|
-
display: flex;
|
|
10
|
-
flex-direction: column;
|
|
11
|
-
align-items: flex-start;
|
|
12
|
-
justify-content: center;
|
|
13
|
-
gap: ${r.sp1};
|
|
14
|
-
width: 100%;
|
|
15
|
-
padding-bottom: ${r.sp3};
|
|
16
|
-
`,Vt=d(ke)`
|
|
17
|
-
color: ${t=>t.theme.colors.hero};
|
|
18
|
-
display: flex;
|
|
19
|
-
justify-content: center;
|
|
20
|
-
width: ${t=>x.titleWidth.valuePx(t.windowSize)};
|
|
21
|
-
padding-top: ${t=>x.subTitlePaddingTop.valuePx(t.windowSize)};
|
|
22
|
-
padding-bottom: ${t=>x.subTitlePaddingBottom.valuePx(t.windowSize)};
|
|
23
|
-
text-align: ${t=>t.windowSize==="small"?"initial":"center"};
|
|
24
|
-
`,Lt=d.div`
|
|
25
|
-
display: flex;
|
|
26
|
-
justify-content: flex-start;
|
|
27
|
-
height: 100%;
|
|
28
|
-
overflow-y: auto;
|
|
29
|
-
flex-direction: column;
|
|
30
|
-
align-items: center;
|
|
31
|
-
padding-bottom: ${r.sp9};
|
|
32
|
-
row-gap: ${t=>x.verificationDetailsRowGap.valuePx(t.windowSize)};
|
|
33
|
-
`,At=d.div`
|
|
34
|
-
display: flex;
|
|
35
|
-
width: 100%;
|
|
36
|
-
height: calc(100vh - 110px);
|
|
37
|
-
flex-direction: row;
|
|
38
|
-
justify-content: center;
|
|
39
|
-
align-items: center;
|
|
40
|
-
background-color: ${t=>t.theme.colors.grey4};
|
|
41
|
-
`,Bt=d.div`
|
|
42
|
-
display: flex;
|
|
43
|
-
flex-direction: column;
|
|
44
|
-
row-gap: ${r.sp11};
|
|
45
|
-
`,_t=d($e)`
|
|
46
|
-
margin-top: ${r.sp2};
|
|
47
|
-
padding: ${r.sp2} ${r.sp2};
|
|
48
|
-
text-align: center;
|
|
49
|
-
color: ${t=>t.theme.colors.grey1};
|
|
50
|
-
width: ${t=>x.width.valuePx(t.windowSize)};
|
|
51
|
-
`,zt=d($e)`
|
|
52
|
-
text-align: center;
|
|
53
|
-
max-width: 750px;
|
|
54
|
-
color: ${t=>t.theme.colors.hero};
|
|
55
|
-
`,Et=d.div`
|
|
56
|
-
display: flex;
|
|
57
|
-
flex-direction: column;
|
|
58
|
-
gap: ${r.sp3};
|
|
59
|
-
width: 100%;
|
|
60
|
-
`,Rt=d(vt)`
|
|
61
|
-
${t=>`${kt.stepTitle.style(t.windowSize)}`};
|
|
62
|
-
color: ${t=>t.theme.colors.primary};
|
|
63
|
-
text-align: left;
|
|
64
|
-
`,Ut=d.div`
|
|
65
|
-
display: flex;
|
|
66
|
-
align-items: center;
|
|
67
|
-
overflow: hidden;
|
|
68
|
-
gap: ${r.sp2};
|
|
69
|
-
`,Mt=d.div`
|
|
70
|
-
display: flex;
|
|
71
|
-
width: 100%;
|
|
72
|
-
gap: ${r.sp3};
|
|
73
|
-
`,Gt=d.div`
|
|
74
|
-
width: 50%;
|
|
75
|
-
height: 2px;
|
|
76
|
-
background-color: ${t=>t.theme.colors.primary};
|
|
77
|
-
border-radius: ${r.sp2};
|
|
78
|
-
flex-shrink: 0;
|
|
79
|
-
`,Wt=d.div`
|
|
80
|
-
width: 50%;
|
|
81
|
-
height: 2px;
|
|
82
|
-
background-color: ${t=>t.theme.colors.grey3};
|
|
83
|
-
border-radius: ${r.sp2};
|
|
84
|
-
flex-shrink: 0;
|
|
85
|
-
position: relative;
|
|
86
|
-
overflow: hidden;
|
|
87
|
-
|
|
88
|
-
&::after {
|
|
89
|
-
content: "";
|
|
90
|
-
position: absolute;
|
|
91
|
-
top: 0;
|
|
92
|
-
left: 0;
|
|
93
|
-
height: 100%;
|
|
94
|
-
width: 100%;
|
|
95
|
-
background-color: ${t=>t.theme.colors.primary};
|
|
96
|
-
animation: fillProgress 1s ease-in-out forwards;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
@keyframes fillProgress {
|
|
100
|
-
0% {
|
|
101
|
-
transform: translateX(-100%);
|
|
102
|
-
}
|
|
103
|
-
100% {
|
|
104
|
-
transform: translateX(0%);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
`,Ie=d(ke)`
|
|
108
|
-
color: ${t=>t.theme.colors.hero};
|
|
109
|
-
margin-top: ${t=>t.isReadonly?r.sp0:r.sp3};
|
|
110
|
-
white-space: pre-line;
|
|
111
|
-
`,Zt=d(Ie)`
|
|
112
|
-
margin-top: ${r.sp0};
|
|
113
|
-
text-align: center;
|
|
114
|
-
`,Kt=d.div`
|
|
115
|
-
display: flex;
|
|
116
|
-
flex-direction: column;
|
|
117
|
-
align-items: center;
|
|
118
|
-
justify-content: center;
|
|
119
|
-
gap: ${r.sp5};
|
|
120
|
-
margin: auto;
|
|
121
|
-
`,Qt=d.div`
|
|
122
|
-
display: flex;
|
|
123
|
-
flex-direction: column;
|
|
124
|
-
align-items: center;
|
|
125
|
-
justify-content: center;
|
|
126
|
-
gap: ${r.sp3};
|
|
127
|
-
`,Xt=d(wt)`
|
|
128
|
-
color: ${t=>t.theme.colors.primary};
|
|
129
|
-
white-space: pre-line;
|
|
130
|
-
text-align: center;
|
|
131
|
-
`,qt=d(Ct)`
|
|
132
|
-
cursor: pointer;
|
|
133
|
-
color: ${t=>t.theme.colors.hero};
|
|
134
|
-
width: ${r.sp4};
|
|
135
|
-
height: ${r.sp4};
|
|
136
|
-
min-height: ${r.sp4};
|
|
137
|
-
&:hover {
|
|
138
|
-
color: ${t=>t.theme.colors.primary};
|
|
139
|
-
}
|
|
140
|
-
`;export{pi as default,De as uniqueName};
|
|
@@ -1,175 +0,0 @@
|
|
|
1
|
-
import{X as f,M as V,j as r,u as F,w as ce,d3 as me,a5 as pe,_ as ue,l as xe,fn as he,aW as ge,o as t,c0 as we,k as Y,c1 as fe,Z as ye,C as x,bO as $e,bu as Ce,K,Y as W,i9 as be,q as Se,p,Q as C,g as $,av as je,aa as ze}from"./index-Bh_1R5Ob.js";import{b,n as a,j as Te}from"./vendor-CnQcJ2Lu.js";import{x as ve}from"./MeetingCalenderPopup-D4tz-H5i-DRJag4hu.js";import{f as Pe}from"./NavigationDots-nvOimTil-DT9B51FC.js";import{J as D,A as E}from"./PromoBaseCards-BMPp9RNQ-CfCVTYBz.js";import{M as L}from"./usp-line-BBd1wKwW-CgKq8-Xn.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const m={midContainerMarginBottom:new x(p[5],p[7]),containerPaddingTopBottom:new x(p[0],p[0]),containerPaddingLeftRight:new x(p[3],p[8]),uspContainerMarginX:new x(p[6],p[0]),buttonTrayGap:new x(12,p[4]),midContainerGap:new x(p[4],84),iconContainerMinHeight:new x(236,396),emptySectionHeight:new x(p[6],43),navigationBottom:new x(p[4],94),navigationLeft:new x(192,244),carouselHeight:new x(268,396),carouselMarginTop:new x(54,p[4]),carouselMarginLeft:new x(120,p[12])},S={promoBadgeText:new C("standardRegular","largeRegular"),promoBadgeTextBold:new C("standardBold","largeBold"),cardsContent:new C("extraSmallRegular","smallRegular"),contactAdmin:new C("extraSmallRegular","smallRegular"),uspText:new C("smallRegular","standardRegular"),uspBoldText:new C("smallMedium","standardMedium")},{spendManagement:{chargeCard:{chargeCardsPromo:s}}}=V.getLocalizedStrings(),wr=({meetingUrl:e,companyLegalName:n,chargeCardSetupView:d,showEnableCardButton:i,controllerEmails:o,isCardsOnlyTenantOrCreditCardFeatureEnabled:h,isDebitCardFeatureEnabled:u,isDebitCardSetupEnabled:j,isChargeCardSetupEnabled:g,admins:z,cashbackRate:M,cardPromoType:y="credit",onSetupButtonClick:c,onBackClick:l,onClickMenuIcon:ie,onSetupChargeCardSuccess:N})=>{const ae=F(),O=ce(),A=f(),H=me().analytics,{chargeCardTermsDetails:_,companyChargeCardInfo:U,companyLocaleInfo:I}=d,G=pe(_?.fetchStatus.fetchState),[oe,J]=b.useState(!1),ne=()=>{H.trackCardsPromoPageClicked("schedule demo"),H.trackCardsScheduleDemoClick(o,{isCreditCardOffered:h,isDebitCardOffered:u,isDebitCardEnabled:j,isCreditCardEnabled:g},"Cards Promo"),J(!0)},se=U!=null&&I!=null?ue("0,0",{amount:U.chargeCardsCreditAccountLimit,currencyCode:I.currencyCode,currencySymbol:I.currencySymbol}):void 0;b.useEffect(()=>{G==="In-Progress"&&_?.fetchStatus.fetchState==="Completed"&&N()},[G,N,_?.fetchStatus]);const de=xe.hasChargeCardAdminLevelAccess(O.loggedInUserRoleMap),le=he(O);return r.jsxs(Ie,{children:[r.jsx(ge,{title:s.title[y],backgroundColor:ae.colors.grey4,onBackClick:l,showBackButton:!0,showMenuIcon:A==="medium-compact"||A==="small",onClickMenuIcon:ie,style:{zIndex:9},source:"ChargeCardPromoPage"}),oe===!0?r.jsx(ve,{onCancelClick:()=>{J(!1)},meetingUrl:e}):null,r.jsx(Re,{windowSize:A,children:de===!0?r.jsxs(r.Fragment,{children:[r.jsx(Le,{creditAmount:se,cardPromoType:y}),r.jsx(q,{forAdmin:!0,cardPromoType:y,cashbackRate:M}),r.jsx(Be,{showEnableCardButton:i,chargeCardSetupView:d,handleSecondaryBtnClick:ne,onSetupButtonClick:()=>c(y)})]}):r.jsx(Me,{companyLegalName:n,cards:[],admins:z,hasZeniFinopsRoles:le,cardPromoType:y})})]})},ke=({admins:e})=>{const n=e.flatMap(i=>i.user?.firstName+" "+i.user?.lastName).join(", "),d=f();return r.jsxs(Ye,{windowSize:d,children:[r.jsx(R,{underline:!1,windowSize:d,children:s.noCardAssigned.pre}),r.jsx(Ce,{title:n,placement:"top-start",style:{padding:`2px ${t.sp2}`},children:r.jsx(R,{underline:!0,windowSize:d,children:s.noCardAssigned.tooltip})}),r.jsx(R,{underline:!1,windowSize:d,children:s.noCardAssigned.post})]})},Be=({showEnableCardButton:e,chargeCardSetupView:n,handleSecondaryBtnClick:d,onSetupButtonClick:i})=>{const o=f();return r.jsxs(He,{windowSize:o,children:[r.jsxs(Ue,{windowSize:o,children:[r.jsx(K,{variant:"secondary",label:s.scheduleDemoButton,onClick:d,"data-testid":W("schedule-demo-button")}),r.jsx(K,{variant:"primary",label:e?s.enableCardsButton:s.setupCardsButton,loading:n.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress",onClick:i,style:{width:"146px"},"data-testid":W("enable-card-button")})]}),r.jsx(be,{textStyle:Se.smallRegular.cssObject,buttonTermLabel:e?s.terms.alternateTerm1:s.terms.terms1,showEndIcon:!0})]})},Le=({cardPromoType:e,creditAmount:n})=>{const d=f(),i=e==="debit_and_credit"?s.promoTextDebitCreditCard:e==="debit"?s.promoTextDebitCard:s.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[r.jsx(r.Fragment,{children:d==="small"?r.jsxs(r.Fragment,{children:[r.jsx(re,{children:i}),r.jsx(te,{children:s.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(Q,{children:i}),r.jsx(ee,{children:s.promoSubText})]})}),r.jsx(Ee,{cardPromoType:e,hideBadge:n==null||e==="debit",windowSize:d,children:r.jsxs(Fe,{windowSize:d,children:[s.promoBadgeText,r.jsx(Ne,{children:n}),s.creditLimit]})})]})},Me=({companyLegalName:e,cards:n,admins:d,hasZeniFinopsRoles:i,cardPromoType:o="credit"})=>{const h=f(),u=o==="debit_and_credit"?s.promoTextDebitCreditCard:o==="debit"?s.promoTextDebitCard:s.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[h==="small"?r.jsxs(r.Fragment,{children:[r.jsx(re,{children:u}),r.jsx(te,{children:s.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(Q,{children:u}),r.jsx(ee,{children:s.promoSubText})]}),n.length===0?r.jsx(Ve,{windowSize:h}):r.jsx(Ae,{cards:n,companyLegalName:e}),r.jsx(q,{forAdmin:!1,cardPromoType:o}),i?null:r.jsx(ke,{admins:d})]})},Ae=({cards:e,companyLegalName:n})=>{const d=F(),i=f();let o="",h;if(e.length===1){h=e[0].cardCreatedByUser.photo;const u=e[0].cardCreatedByUser.firstName+" "+e[0].cardCreatedByUser.lastName;o=s.cardAssigned.singleCreditCard.replace("__issuing-user__",u).replace("__company-name__",n)}else o=s.cardAssigned.multipleCreditCards.replace("__company-name__",n);return r.jsxs(Qe,{children:[h!=null?r.jsx(De,{width:t.sp5,height:t.sp5,style:{paddingTop:i==="small"?t.sp1:t.sp0},src:h.href,alt:V.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:u})=>{u.onerror=null,u.src=$e},loading:"lazy"}):null,r.jsx(qe,{windowSize:i,mode:d.mode,children:r.jsx(er,{windowSize:i,children:o})})]})},X=({windowSize:e,cardPromoType:n})=>{let d=s.businessText;return n==="debit"&&(d=`${d} ${s.debit}`),r.jsx(r.Fragment,{children:n==="debit_and_credit"?r.jsx(_e,{}):r.jsxs(Je,{windowSize:e,children:[r.jsx(D,{cardPromoType:n,cardText:d,shouldAnimate:!0,showChip:!0,forDashboard:!1,forListPage:!1}),r.jsx(E,{cardPromoType:n,cardText:d,showChip:!0,forDashboard:!1,shouldAnimate:!0,forListPage:!1})]})})},q=({forAdmin:e,cardPromoType:n,cashbackRate:d})=>{const i=f(),o=e?s.admin:s.nonAdmin;return r.jsxs(Oe,{windowSize:i,children:[i==="small"?r.jsx(X,{windowSize:i,cardPromoType:n}):null,r.jsxs(Ge,{windowSize:i,children:[r.jsxs(v,{windowSize:i,children:[r.jsx(k,{children:r.jsx(Xe,{})}),r.jsxs(B,{children:[r.jsx(w,{windowSize:i,children:o.item1.pre}),r.jsx(P,{windowSize:i,children:e&&d!=null?o.item1.bold.replace("__cashback__",(d*100).toFixed(2)):o.item1.bold}),r.jsx(w,{windowSize:i,children:o.item1.post})]})]}),r.jsxs(v,{windowSize:i,children:[r.jsx(k,{children:r.jsx(Ke,{})}),r.jsxs(B,{children:[r.jsx(w,{windowSize:i,children:o.item2.pre}),r.jsx(P,{windowSize:i,children:o.item2.bold}),r.jsx(w,{windowSize:i,children:o.item2.post})]})]}),r.jsxs(v,{windowSize:i,children:[r.jsx(k,{children:r.jsx(Ze,{})}),r.jsxs(B,{children:[r.jsx(w,{windowSize:i,children:o.item3.pre}),r.jsx(P,{windowSize:i,children:o.item3.bold}),r.jsx(w,{windowSize:i,children:o.item3.post})]})]}),r.jsxs(v,{windowSize:i,children:[r.jsx(k,{children:r.jsx(We,{})}),r.jsxs(B,{children:[r.jsx(w,{windowSize:i,children:o.item4.pre}),r.jsx(P,{windowSize:i,children:o.item4.bold}),r.jsx(w,{windowSize:i,children:o.item4.post})]})]})]}),i==="small"?null:r.jsx(X,{windowSize:i,cardPromoType:n})]})};let T;const _e=()=>{const e=f(),n=F(),[d,i]=b.useState(0),[o,h]=b.useState(!1),u=s.businessText,j=`${u} ${s.debit}`,g=[{id:1,cardType:"debit",cardText:j},{id:2,cardType:"debit",cardText:j},{id:3,cardType:"credit",cardText:u},{id:4,cardType:"credit",cardText:u}];b.useEffect(()=>(o||(T=setInterval(()=>{i(c=>{const l=c+1;return l===g.length?(h(!0),0):l})},2e3)),()=>clearInterval(T)),[o,g.length]),b.useEffect(()=>{o&&T!=null&&clearInterval(T)},[o]);const z=(c,l)=>{switch((c-d+g.length)%g.length){case 0:return{transform:`translate(0,${l?"100%":0}) scale(1)`,zIndex:l?5:6,opacity:1,transition:"transform 0.4s"};case 1:return{transform:`translate(35%, ${l?"80%":"5%"}) scale(0.75)`,zIndex:l?4:5,opacity:1,transition:"all 0.4s"};case 2:return{transform:`translate(35%,${l?"80%":"5%"}) scale(0.75)`,zIndex:l?3:4,opacity:0,transition:"transform 0.4s 0.2s, opacity 0.4s 0.0s"};case 3:return{transform:`translate(-35%, ${l?"80%":"5%"}) scale(0.75)`,zIndex:l?4:5,opacity:1,transition:"all 0.4s"};default:return}},M=c=>{const l=z(c,!0);return{...l,transform:`${l?.transform} scaleY(-1)`,opacity:1,transition:"transform 0s 0s, z-index 0s 0s"}},y=c=>{o||h(!0),i(c)};return r.jsxs(rr,{windowSize:e,children:[r.jsx(tr,{windowSize:e,children:g.map((c,l)=>r.jsxs(ir,{children:[r.jsx(Z,{isReflection:!1,style:{...z(l,!1)},onClick:()=>y(l),children:l===0||l===2?r.jsx(D,{cardPromoType:c.cardType,cardText:c.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:n.colors.grey2,...n.mode==="light"&&{borderBottom:"none"}}}):r.jsx(E,{cardPromoType:c.cardType,cardText:c.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:n.colors.grey2,...n.mode==="light"&&{borderBottom:"none"}}})},c.id),r.jsx(Z,{isReflection:!0,style:{...M(l)},children:l===0||l===2?r.jsx(D,{cardPromoType:c.cardType,cardText:c.cardText,shouldAnimate:!1,forDashboard:!1,showChip:!0,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent 90%)",WebkitMaskImage:"linear-gradient(to top, black, transparent 90%)"}}):r.jsx(E,{cardPromoType:c.cardType,cardText:c.cardText,showChip:!0,shouldAnimate:!1,forDashboard:!1,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent)",WebkitMaskImage:"linear-gradient(to top, black, transparent)"}})},`reflection-${c.id}`)]},c.id))}),o&&r.jsx(Pe,{numberOfDots:g.length,activeIndex:d,handleClick:i,promoColor:n.colors.primary,promoColorHover:n.colors.grey5,spendManagementPromoCardActive:!0,dotStyle:{width:t.sp2,height:t.sp2},style:{cursor:"default",position:"absolute",bottom:m.navigationBottom.valuePx(e),left:m.navigationLeft.valuePx(e),zIndex:7}})]})},Ie=a.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex: 1 1 auto;
|
|
4
|
-
min-height: 100%;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
7
|
-
`,Re=a.div`
|
|
8
|
-
padding-top: ${e=>m.containerPaddingTopBottom.valuePx(e.windowSize)};
|
|
9
|
-
padding-bottom: ${e=>m.containerPaddingTopBottom.valuePx(e.windowSize)};
|
|
10
|
-
padding-left: ${e=>m.containerPaddingLeftRight.valuePx(e.windowSize)};
|
|
11
|
-
padding-right: ${e=>m.containerPaddingLeftRight.valuePx(e.windowSize)};
|
|
12
|
-
text-align: center;
|
|
13
|
-
`,Q=a(fe)`
|
|
14
|
-
max-width: 927px;
|
|
15
|
-
margin: auto;
|
|
16
|
-
display: flex;
|
|
17
|
-
justify-content: center;
|
|
18
|
-
flex-wrap: wrap;
|
|
19
|
-
padding: ${t.sp7} ${t.sp0} ${t.sp0} ${t.sp0};
|
|
20
|
-
color: ${e=>e.theme.colors.primary};
|
|
21
|
-
`,ee=a(ye)`
|
|
22
|
-
color: ${e=>e.theme.colors.primary};
|
|
23
|
-
margin: auto;
|
|
24
|
-
margin-top: ${t.sp2};
|
|
25
|
-
`,re=a(we)`
|
|
26
|
-
margin: auto;
|
|
27
|
-
max-width: 343px;
|
|
28
|
-
display: flex;
|
|
29
|
-
justify-content: center;
|
|
30
|
-
text-align: center;
|
|
31
|
-
flex-wrap: wrap;
|
|
32
|
-
padding: ${t.sp5} ${t.sp0} ${t.sp0} ${t.sp0};
|
|
33
|
-
color: ${e=>e.theme.colors.primary};
|
|
34
|
-
`,te=a(Y)`
|
|
35
|
-
max-width: 314px;
|
|
36
|
-
margin: auto;
|
|
37
|
-
color: ${e=>e.theme.colors.primary};
|
|
38
|
-
padding: 6px ${t.sp3} ${t.sp0} ${t.sp3};
|
|
39
|
-
text-align: center;
|
|
40
|
-
margin-top: 6px;
|
|
41
|
-
`,De=a.img`
|
|
42
|
-
border-radius: 50%;
|
|
43
|
-
justify-content: center;
|
|
44
|
-
color: ${e=>e.theme.colors.hero};
|
|
45
|
-
`,Ee=a.div`
|
|
46
|
-
display: flex;
|
|
47
|
-
flex-direction: row;
|
|
48
|
-
align-items: center;
|
|
49
|
-
justify-content: center;
|
|
50
|
-
padding: ${t.sp2} ${t.sp3};
|
|
51
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
52
|
-
border-radius: 96px;
|
|
53
|
-
margin-top: ${t.sp4};
|
|
54
|
-
margin-left: auto;
|
|
55
|
-
margin-right: auto;
|
|
56
|
-
margin-bottom: ${e=>e.cardPromoType==="debit_and_credit"&&e.windowSize==="small"?t.sp0:t.sp6};
|
|
57
|
-
width: fit-content;
|
|
58
|
-
gap: ${t.sp1};
|
|
59
|
-
${e=>e.hideBadge&&`
|
|
60
|
-
visibility: hidden;
|
|
61
|
-
`}
|
|
62
|
-
`,Fe=a(Y)`
|
|
63
|
-
color: ${e=>e.theme.mode==="dark"?$.brandColorJade:$.brandColorSapphire};
|
|
64
|
-
${e=>`${S.promoBadgeText.style(e.windowSize)}`};
|
|
65
|
-
span {
|
|
66
|
-
color: ${$.success};
|
|
67
|
-
${e=>`${S.promoBadgeTextBold.style(e.windowSize)}`};
|
|
68
|
-
}
|
|
69
|
-
`,Ne=a.span``,Oe=a.div`
|
|
70
|
-
display: flex;
|
|
71
|
-
gap: ${e=>m.midContainerGap.valuePx(e.windowSize)};
|
|
72
|
-
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
73
|
-
align-items: center;
|
|
74
|
-
justify-content: center;
|
|
75
|
-
margin-bottom: ${e=>m.midContainerMarginBottom.valuePx(e.windowSize)};
|
|
76
|
-
`,He=a.div`
|
|
77
|
-
display: flex;
|
|
78
|
-
flex-direction: column;
|
|
79
|
-
`,Ue=a.div`
|
|
80
|
-
display: flex;
|
|
81
|
-
flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
|
|
82
|
-
align-items: center;
|
|
83
|
-
justify-content: center;
|
|
84
|
-
gap: ${e=>m.buttonTrayGap.valuePx(e.windowSize)};
|
|
85
|
-
z-index: 8;
|
|
86
|
-
`,Ge=a.div`
|
|
87
|
-
width: ${e=>e.windowSize==="small"?"auto":"288px"};
|
|
88
|
-
display: flex;
|
|
89
|
-
flex-direction: column;
|
|
90
|
-
margin-left: ${e=>m.uspContainerMarginX.valuePx(e.windowSize)};
|
|
91
|
-
margin-right: ${e=>m.uspContainerMarginX.valuePx(e.windowSize)};
|
|
92
|
-
z-index: 8;
|
|
93
|
-
`,Je=a.div`
|
|
94
|
-
display: flex;
|
|
95
|
-
justify-content: ${e=>e.windowSize==="small"?"center":"flex-start"};
|
|
96
|
-
min-height: ${e=>m.iconContainerMinHeight.valuePx(e.windowSize)};
|
|
97
|
-
align-items: center;
|
|
98
|
-
min-width: 480px;
|
|
99
|
-
`,v=a.div`
|
|
100
|
-
border-radius: ${t.sp12};
|
|
101
|
-
border: ${e=>`1px solid ${e.theme.colors.grey2}`};
|
|
102
|
-
padding: ${e=>e.windowSize==="small"?`${t.sp2} ${t.sp4} ${t.sp2} ${t.sp0}`:`${t.sp3} ${t.sp5} ${t.sp3} ${t.sp0}`};
|
|
103
|
-
background: ${e=>e.theme.colors.grey5};
|
|
104
|
-
position: relative;
|
|
105
|
-
margin-bottom: ${t.sp3};
|
|
106
|
-
display: flex;
|
|
107
|
-
align-items: center;
|
|
108
|
-
text-align: start;
|
|
109
|
-
width: ${e=>e.windowSize==="small"?"288px":"100%"};
|
|
110
|
-
min-height: ${e=>e.windowSize!=="small"?"83px":"44px"};
|
|
111
|
-
box-sizing: ${e=>e.windowSize==="small"?"unset":"border-box"};
|
|
112
|
-
`,w=a(je)`
|
|
113
|
-
color: ${e=>e.theme.colors.champion};
|
|
114
|
-
${e=>`${S.uspText.style(e.windowSize)}`};
|
|
115
|
-
`,P=a(ze)`
|
|
116
|
-
color: ${e=>e.theme.colors.champion};
|
|
117
|
-
${e=>`${S.uspBoldText.style(e.windowSize)}`};
|
|
118
|
-
`,k=a.div``,B=a.div`
|
|
119
|
-
padding-left: ${t.sp3};
|
|
120
|
-
`,Ke=a(L)`
|
|
121
|
-
color: ${$.graphColor16Dark};
|
|
122
|
-
`,We=a(L)`
|
|
123
|
-
color: ${$.alert};
|
|
124
|
-
`,Xe=a(L)`
|
|
125
|
-
color: ${$.graphColor11};
|
|
126
|
-
`,Ze=a(L)`
|
|
127
|
-
color: ${$.success};
|
|
128
|
-
`,Ve=a.div`
|
|
129
|
-
height: ${e=>m.emptySectionHeight.valuePx(e.windowSize)};
|
|
130
|
-
${e=>e.windowSize==="small"?null:Te`
|
|
131
|
-
margin-top: ${t.sp4};
|
|
132
|
-
margin-bottom: ${t.sp6};
|
|
133
|
-
`}
|
|
134
|
-
`,Ye=a.div`
|
|
135
|
-
color: ${e=>e.theme.colors.hero};
|
|
136
|
-
margin: ${e=>e.windowSize==="small"?`${t.sp0} ${t.sp3} ${t.sp4} ${t.sp3}`:"auto"};
|
|
137
|
-
text-align: center;
|
|
138
|
-
`,R=a.span`
|
|
139
|
-
${e=>`${S.contactAdmin.style(e.windowSize)}`};
|
|
140
|
-
text-decoration: ${e=>e.underline?"underline":"none"};
|
|
141
|
-
cursor: ${e=>e.underline?"default":null};
|
|
142
|
-
`,qe=a.div`
|
|
143
|
-
color: ${e=>e.mode==="dark"?e.theme.colors.brandColorJade:e.theme.colors.brandColorSapphire};
|
|
144
|
-
`,Qe=a.div`
|
|
145
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
146
|
-
padding: ${t.sp2} ${t.sp3};
|
|
147
|
-
display: flex;
|
|
148
|
-
gap: ${t.sp2};
|
|
149
|
-
margin: auto;
|
|
150
|
-
max-width: fit-content;
|
|
151
|
-
border-radius: 96px;
|
|
152
|
-
margin-top: ${t.sp4};
|
|
153
|
-
margin-bottom: ${t.sp6};
|
|
154
|
-
`,er=a.span`
|
|
155
|
-
${e=>`${S.cardsContent.style(e.windowSize)}`};
|
|
156
|
-
`,rr=a.div`
|
|
157
|
-
display: flex;
|
|
158
|
-
flex-direction: column;
|
|
159
|
-
min-height: ${e=>m.carouselHeight.valuePx(e.windowSize)};
|
|
160
|
-
min-width: 480px;
|
|
161
|
-
position: relative;
|
|
162
|
-
`,tr=a.div`
|
|
163
|
-
position: relative;
|
|
164
|
-
margin-top: ${e=>m.carouselMarginTop.valuePx(e.windowSize)};
|
|
165
|
-
margin-left: ${e=>m.carouselMarginLeft.valuePx(e.windowSize)};
|
|
166
|
-
`,ir=a.div`
|
|
167
|
-
position: relative;
|
|
168
|
-
overflow: visible;
|
|
169
|
-
`,Z=a.div`
|
|
170
|
-
position: absolute;
|
|
171
|
-
${e=>e.isReflection&&`
|
|
172
|
-
background-color: ${e.theme.colors.grey4};
|
|
173
|
-
clip-path: inset(10% 0 0 0);
|
|
174
|
-
`}
|
|
175
|
-
`;export{Me as ChargeCardPromoUserContent,wr as default};
|
|
@@ -1,206 +0,0 @@
|
|
|
1
|
-
import{X as Z,j as t,Y as $,h0 as pe,M as ee,_ as M,K,o,a7 as he,C as l,a6 as oe,k as ue,as as me,c0 as te,v as ge,s as F,a5 as xe,a as fe,c3 as ke,g as w,F as De,fG as $e,c6 as we,eQ as Y,cd as J,p as s,cW as be,ah as ye,bo as je,cz as Pe,fa as Se,f as q,fc as Le}from"./index-Bh_1R5Ob.js";import{b as k,n as a}from"./vendor-CnQcJ2Lu.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const ve="checkDepositDetailPage",g="checkDepositDetails",Fe="amount",Ce="depositTo",Te="source",ie="fileIds",R="selectDocument",I=e=>{const p=[];return e.checkFront!=null&&p.push(e.checkFront.fileId),e.checkBack!=null&&p.push(e.checkBack.fileId),{[g]:{[Fe]:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,[Te]:e.checkDepositLocalData.source,[Ce]:{allOptions:e.depositAccounts.depositAccounts.map(x=>({label:x.accountName,value:x.id})),selectedOption:e.checkDepositLocalData.depositTo?.id},[ie]:p,[R]:{front:e.checkFront,back:e.checkBack}}}},D=(e,p)=>`${e}.${p}`,Be=e=>`${e}_form`,u={largeLabelWidth:new l(160,160,160),rowContentPaddingLeft:new l(s[3],s[4]),checkPicRowContentPaddingXAxis:new l(s[3],s[4]),labeleMarginLeft:new l(s[0],s[0]),labeleMarginBottom:new l(s[2],s[0]),labelMarginRight:new l(s[3],s[3]),labeledFieldPaddingLeft:new l(s[3],s[0]),labeledFieldPaddingRight:new l(s[3],s[2]),labeledFieldPaddingTop:new l(s[3],s[3]),labeledFieldPaddingBottom:new l(s[3],s[2]),infoLabelPaddingRight:new l(s[0],s[3]),infoLabelMarginTop:new l(s[1],s[0])},{spendManagement:ze,common:V}=ee.getLocalizedStrings(),c=ze.zeniAccounts.zeniAccountList,Ae=V.documents;function Ee({checkDeposit:e,analytics:p,filesEndPoint:x,openPopup:b,authParams:y,onSaveChangesToLocalStore:C,updateFilesEntity:j,onDeleteFile:P,onEditFileName:S,onCheckDpositClick:T}){const r=Z(),n=e.fetchState,L=xe(n),[v,X]=k.useState(!1),[se,B]=k.useState(!1),z=u.largeLabelWidth.value(r),f=fe({mode:"all",reValidateMode:"onBlur",defaultValues:I(e),values:I(e)}),{isValid:re}=f.formState,G=i=>{const d={amount:{amount:i[g].amount??0,currencyCode:V.currency.currencyCode,currencySymbol:V.currency.currencySymbol},source:i[g].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===i[g].depositTo.selectedOption),fileIds:i[g][ie]};C(d)},ce=async(i,d)=>{if(i!=null){if(i.includes("source")||i.includes("amount"))return;const h=Object.assign({},d);G(h)}};k.useEffect(()=>{const i=f.watch((d,{name:h})=>{h!=null&&d!=null&&ke(()=>ce(h,d))});return()=>{i.unsubscribe()}}),k.useEffect(()=>{L==="Completed"&&n==="Not-Started"&&f.reset(I(e))},[L,n,f,e]),k.useEffect(()=>{e.error!=null?B(!0):B(!1)},[e.error]);const le=f.handleSubmit(()=>{if(re){p.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const i=f.getValues();G(i),T?.()}}),ne=(i,d)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(E=>E.id===i),A=e.depositAccounts.depositAccounts.findIndex(E=>E.id===i);return h?t.jsx(Ve,{color:Se(A),isSelectedValue:d}):null},de=(i,d)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(A=>A.id===i);return h?d===!0?t.jsx(Re,{children:h?.maskedAccountNumber}):t.jsxs(Me,{children:[t.jsx(W,{children:h?.maskedAccountNumber}),t.jsx(to,{}),t.jsx(W,{children:M("0,0[.]00",h?.accountBalance?.available)})]}):null};return t.jsxs(t.Fragment,{children:[se?t.jsx(Oe,{children:t.jsxs(qe,{children:[t.jsxs(Xe,{children:[t.jsx(Ke,{}),t.jsxs(Ye,{children:[t.jsx(Je,{children:e.error?.title}),t.jsx(We,{children:e.error?.message})]})]}),t.jsx(Ge,{children:t.jsx(ro,{"data-testid":$("check-deposit-form-close"),onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),B(!1)},style:{width:o.sp3,height:o.sp3,color:w.heroLight}})})]})}):null,t.jsx(_e,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(De,{...f,children:t.jsx("form",{id:Be(ve),onSubmit:le,children:t.jsxs(He,{children:[t.jsx($e,{showAdditionalInfoLabel:!1,label:{label:c.checkDepositDrawer.amountLabel,width:z},formattedTextField:{type:"number",name:D(g,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:c.checkDepositDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:i=>!!i&&i>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}}),t.jsx(N,{}),t.jsx(we,{label:{label:c.checkDepositDrawer.sourceLabel,width:z},style:{width:"100%"},text:{type:"text",name:D(g,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:c.checkDepositDrawer.sourcePlaceholder,options:{required:!0,validate:i=>i!=null}}}),t.jsx(N,{}),t.jsx(ae,{size:r,children:t.jsx(eo,{size:r,children:t.jsx(Qe,{label:{label:c.checkDepositDrawer.depositToLabel,width:z,style:{marginLeft:u.labeleMarginLeft.valuePx(r),marginBottom:u.labeleMarginBottom.valuePx(r),marginRight:u.labelMarginRight.valuePx(r)}},style:{paddingTop:u.labeledFieldPaddingTop.valuePx(r),paddingBottom:u.labeledFieldPaddingBottom.valuePx(r),paddingLeft:u.labeledFieldPaddingLeft.valuePx(r),paddingRight:u.labeledFieldPaddingRight.valuePx(r),border:"none",width:"100%",outline:"none",padding:0,display:r==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:r==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(r),marginTop:u.infoLabelMarginTop.valuePx(r)},singleSelectPickerField:{valueToLogo:(i,d)=>ne(i,d),valueToSubLabels:(i,d)=>de(i,d),name:D(g,"depositTo"),placeholder:c.checkDepositDrawer.depositToPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e.checkDepositLocalData.depositTo?.id,allOptions:e.depositAccounts.depositAccounts.map(i=>({label:i.accountName,value:i.id}))},textAlignment:"right",registerOptions:{required:!0,validate:i=>!!(i!=null&&i.selectedOption)}}})})}),t.jsx(N,{}),t.jsxs(Ue,{size:r,children:[t.jsxs(Ze,{size:r,children:[t.jsx(Ie,{children:c.checkDepositDrawer.checkPicLabel}),t.jsx(_,{isLast:!1,children:c.checkDepositDrawer.frontSide}),t.jsx(Y,{name:`${D(g,R)}.front`,registerOptions:{required:!0},file:e.checkFront,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:x,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>X(i),onEditFileName:S,openPopup:b,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(_,{isLast:!0,children:c.checkDepositDrawer.backSide}),t.jsx(Y,{name:`${D(g,R)}.back`,registerOptions:{required:!0},file:e.checkBack,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:x,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>X(i),onEditFileName:S,openPopup:b,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(io,{children:c.checkDepositDrawer.picGuides.map(i=>t.jsxs(ao,{children:[t.jsx(oo,{}),t.jsx(Ne,{children:i})]},i))})]}),t.jsx(so,{windowSize:r,children:Ae.formatJPGText10MB})]})]})})})]})}const Ie=a(F)`
|
|
2
|
-
color: ${e=>e.theme.colors.hero};
|
|
3
|
-
`,Ne=a(F)`
|
|
4
|
-
color: ${e=>e.theme.colors.hero};
|
|
5
|
-
margin-left: ${o.sp3};
|
|
6
|
-
`,Me=a(q)`
|
|
7
|
-
color: ${e=>e.theme.colors.grey1};
|
|
8
|
-
display: flex;
|
|
9
|
-
align-items: center;
|
|
10
|
-
gap: ${o.sp2};
|
|
11
|
-
`,W=a.div``,Re=a.span`
|
|
12
|
-
margin-left: ${o.sp2};
|
|
13
|
-
`,Ve=a(Le)`
|
|
14
|
-
min-width: ${e=>e.isSelectedValue?o.sp4:o.sp5};
|
|
15
|
-
width: ${e=>e.isSelectedValue?o.sp4:o.sp5};
|
|
16
|
-
height: ${e=>e.isSelectedValue?o.sp4:o.sp5};
|
|
17
|
-
margin-right: ${o.sp2};
|
|
18
|
-
`,Oe=a.div`
|
|
19
|
-
margin-top: ${o.sp3};
|
|
20
|
-
display: flex;
|
|
21
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
22
|
-
justify-content: space-between;
|
|
23
|
-
padding: ${o.sp3} ${o.sp4};
|
|
24
|
-
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
25
|
-
border-radius: ${o.sp2};
|
|
26
|
-
box-shadow: ${e=>`${o.sp0} 2px 2px ${e.theme.colors.dropShadowNormal}`};
|
|
27
|
-
`,qe=a.div`
|
|
28
|
-
display: flex;
|
|
29
|
-
width: 100%;
|
|
30
|
-
justify-content: space-between;
|
|
31
|
-
padding: ${o.sp3} ${o.sp4};
|
|
32
|
-
background-color: ${w.importantLight};
|
|
33
|
-
border-radius: ${o.sp2};
|
|
34
|
-
`,Xe=a.div`
|
|
35
|
-
display: flex;
|
|
36
|
-
align-items: flex-start;
|
|
37
|
-
`,Ge=a.div``,Ke=a(be)`
|
|
38
|
-
width: ${o.sp4};
|
|
39
|
-
height: ${o.sp4};
|
|
40
|
-
color: ${w.important};
|
|
41
|
-
`,Ye=a.div`
|
|
42
|
-
display: flex;
|
|
43
|
-
flex-direction: column;
|
|
44
|
-
margin-left: ${o.sp2};
|
|
45
|
-
`,Je=a(ye)`
|
|
46
|
-
color: ${w.important};
|
|
47
|
-
`,We=a(F)`
|
|
48
|
-
color: ${w.important};
|
|
49
|
-
`,_e=a(je)`
|
|
50
|
-
color: ${e=>e.theme.colors.primary};
|
|
51
|
-
margin: ${o.sp5} ${o.sp0} ${o.sp3} ${o.sp0};
|
|
52
|
-
`,Qe=a(Pe)`
|
|
53
|
-
border-radius: ${o.sp2};
|
|
54
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
55
|
-
`,He=a.div`
|
|
56
|
-
display: flex;
|
|
57
|
-
flex-direction: column;
|
|
58
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
59
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
60
|
-
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
61
|
-
border-radius: ${o.sp2};
|
|
62
|
-
margin-bottom: ${o.sp3};
|
|
63
|
-
`,N=a.div`
|
|
64
|
-
display: flex;
|
|
65
|
-
flex: 1;
|
|
66
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
67
|
-
min-height: 1px;
|
|
68
|
-
max-height: 1px;
|
|
69
|
-
`,ae=a.div`
|
|
70
|
-
display: flex;
|
|
71
|
-
flex-direction: "row";
|
|
72
|
-
padding: ${o.sp2};
|
|
73
|
-
padding-left: ${e=>u.rowContentPaddingLeft.valuePx(e.size)};
|
|
74
|
-
justify-content: space-between;
|
|
75
|
-
color: ${e=>e.theme.colors.hero};
|
|
76
|
-
&:hover {
|
|
77
|
-
z-index: 1;
|
|
78
|
-
outline: 1px solid ${e=>e.theme.colors.primary};
|
|
79
|
-
.select-control {
|
|
80
|
-
background-color: ${e=>e.theme.colors.background};
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
&:focus-within {
|
|
84
|
-
border-color: ${e=>e.theme.colors.primary};
|
|
85
|
-
color: ${e=>e.theme.colors.primary};
|
|
86
|
-
z-index: 2;
|
|
87
|
-
outline: 1px solid ${e=>e.theme.colors.primary};
|
|
88
|
-
}
|
|
89
|
-
:last-of-type {
|
|
90
|
-
border-bottom-left-radius: inherit;
|
|
91
|
-
border-bottom-right-radius: inherit;
|
|
92
|
-
}
|
|
93
|
-
`,Ue=a(ae)`
|
|
94
|
-
flex-direction: column;
|
|
95
|
-
padding: ${o.sp0};
|
|
96
|
-
`,Ze=a.div`
|
|
97
|
-
padding: ${e=>`${o.sp3} ${u.checkPicRowContentPaddingXAxis.valuePx(e.size)}`};
|
|
98
|
-
`,eo=a.div`
|
|
99
|
-
width: 100%;
|
|
100
|
-
display: flex;
|
|
101
|
-
flex-grow: ${e=>e.size==="small"?1:0};
|
|
102
|
-
align-items: flex-start;
|
|
103
|
-
`,_=a(q)`
|
|
104
|
-
color: ${e=>e.theme.colors.hero};
|
|
105
|
-
margin-bottom: ${o.sp2};
|
|
106
|
-
margin-top: ${e=>e.isLast?o.sp3:o.sp0};
|
|
107
|
-
`,oo=a.div`
|
|
108
|
-
background-color: ${e=>e.theme.colors.hero};
|
|
109
|
-
border-radius: 50%;
|
|
110
|
-
border-style: solid;
|
|
111
|
-
width: 2px;
|
|
112
|
-
height: 2px;
|
|
113
|
-
position: absolute;
|
|
114
|
-
top: 10px;
|
|
115
|
-
`,to=a.div`
|
|
116
|
-
width: ${o.sp1};
|
|
117
|
-
height: ${o.sp1};
|
|
118
|
-
min-width: ${o.sp1};
|
|
119
|
-
background-color: ${e=>e.theme.colors.grey1};
|
|
120
|
-
border-radius: 50%;
|
|
121
|
-
`,io=a.div`
|
|
122
|
-
display: flex;
|
|
123
|
-
flex-direction: column;
|
|
124
|
-
margin: ${o.sp3} ${o.sp0};
|
|
125
|
-
margin-bottom: ${o.sp0};
|
|
126
|
-
`,ao=a.div`
|
|
127
|
-
display: flex;
|
|
128
|
-
flex-direction: row;
|
|
129
|
-
position: relative;
|
|
130
|
-
`,so=a(q)`
|
|
131
|
-
margin-top: ${o.sp2};
|
|
132
|
-
padding: ${o.sp1} ${o.sp4};
|
|
133
|
-
background: ${e=>e.theme.colors.grey4};
|
|
134
|
-
border-radius: ${o.sp0} ${o.sp0} ${o.sp2} ${o.sp2};
|
|
135
|
-
width: 100%;
|
|
136
|
-
box-sizing: border-box;
|
|
137
|
-
text-align: ${e=>e.windowSize==="small"?"initial":"right"};
|
|
138
|
-
color: ${e=>e.theme.colors.grey1};
|
|
139
|
-
`,ro=a(oe)`
|
|
140
|
-
cursor: pointer;
|
|
141
|
-
color: ${e=>e.theme.colors.hero};
|
|
142
|
-
width: ${o.sp4};
|
|
143
|
-
height: ${o.sp4};
|
|
144
|
-
min-height: ${o.sp4};
|
|
145
|
-
&:hover {
|
|
146
|
-
color: ${e=>e.theme.colors.primary};
|
|
147
|
-
}
|
|
148
|
-
`,co="checkDepositDetailPage",lo={NavBarContainerPaddingYAxis:new l(10,s[3])},no=e=>`${e}_form`,O={containerPaddingLeft:new l(s[3],s[6],s[8]),containerPaddingRight:new l(s[3],s[6],s[8]),successContentMargin:new l(s[3],s[12])},{spendManagement:po}=ee.getLocalizedStrings(),m=po.zeniAccounts.zeniAccountList,Co=({checkDeposit:e,analytics:p,filesEndPoint:x,authParams:b,onSaveChangesToLocalStore:y,onAnotherTransferClick:C,updateFilesEntity:j,onDeleteFile:P,onEditFileName:S,onCheckDpositClick:T,onDismissClick:r})=>{const n=Z(),[L,v]=k.useState(!1);return t.jsx(go,{windowSize:n,children:e.fetchState==="Completed"?t.jsxs(Q,{windowSize:n,children:[t.jsx(H,{windowSize:n,children:t.jsx(U,{"data-testid":$("check-deposit-drawer-close"),onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),r?.()}})}),t.jsxs(ko,{windowSize:n,children:[t.jsx(pe,{width:150,height:150,shouldDisplay:!0,animationInLoop:!0}),t.jsxs(xo,{children:[m.checkDepositDrawer.transferSuccessMsgPrefix,t.jsx(mo,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),m.checkDepositDrawer.transferSuccessMsgSuffix]}),t.jsxs(fo,{children:[t.jsx(K,{variant:"secondary",label:m.checkDepositDrawer.makeAnotherTransferBtn,onClick:C,"data-testid":$("check-deposit-drawer-another-transfer")}),t.jsx(K,{variant:"primary",label:m.checkDepositDrawer.goToAccountBtn,onClick:r,style:{marginLeft:n==="small"?o.sp3:o.sp5},"data-testid":$("check-deposit-drawer-go-to-account")})]})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(Q,{windowSize:n,children:[t.jsx(H,{windowSize:n,children:t.jsx(U,{"data-testid":$("check-deposit-drawer-close"),onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),r?.()}})}),n==="small"?t.jsx(Do,{windowSize:n,children:m.checkDepositDrawer.title}):t.jsx($o,{children:m.checkDepositDrawer.title}),n==="small"?t.jsx(uo,{children:m.checkDepositDrawer.subTitle}):t.jsx(ho,{children:m.checkDepositDrawer.subTitle}),t.jsx(Ee,{analytics:p,authParams:b,checkDeposit:e,filesEndPoint:x,onSaveChangesToLocalStore:y,openPopup:v,onCheckDpositClick:T,onDeleteFile:P,onEditFileName:S,updateFilesEntity:j})]}),t.jsx(he,{formId:no(co),helperText:m.checkDepositDrawer.footNote,helperStyle:{paddingTop:o.sp0,paddingBottom:o.sp0},style:{zIndex:L?0:4,paddingTop:o.sp3,paddingBottom:o.sp3},primaryBtn:{label:m.checkDepositDrawer.depositBtn,isLoading:e.fetchState==="In-Progress"},cancelBtn:{label:m.checkDepositDrawer.cancelBtn,onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cancel",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),r?.()}}})]})})},ho=a(F)`
|
|
149
|
-
color: ${e=>e.theme.colors.hero};
|
|
150
|
-
`,uo=a(ge)`
|
|
151
|
-
color: ${e=>e.theme.colors.hero};
|
|
152
|
-
`,mo=a(me)`
|
|
153
|
-
display: inline;
|
|
154
|
-
`,go=a.div`
|
|
155
|
-
display: flex;
|
|
156
|
-
flex-direction: column;
|
|
157
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
158
|
-
overflow-x: hidden;
|
|
159
|
-
height: 100%;
|
|
160
|
-
width: 100%;
|
|
161
|
-
`,xo=a(ue)`
|
|
162
|
-
color: ${e=>e.theme.colors.primary};
|
|
163
|
-
text-align: center;
|
|
164
|
-
`,Q=a.div`
|
|
165
|
-
height: ${e=>e.windowSize==="small"?"auto":"100%"};
|
|
166
|
-
padding-left: ${e=>`${O.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
167
|
-
padding-right: ${e=>`${O.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
168
|
-
`,fo=a.div`
|
|
169
|
-
display: flex;
|
|
170
|
-
justify-content: center;
|
|
171
|
-
margin-top: ${o.sp7};
|
|
172
|
-
`,ko=a.div`
|
|
173
|
-
height: 80%;
|
|
174
|
-
display: flex;
|
|
175
|
-
flex-direction: column;
|
|
176
|
-
justify-content: center;
|
|
177
|
-
margin: ${e=>`${o.sp0} ${O.successContentMargin.valuePx(e.windowSize)} `};
|
|
178
|
-
align-items: center;
|
|
179
|
-
`,H=a.div`
|
|
180
|
-
display: flex;
|
|
181
|
-
flex-direction: row-reverse;
|
|
182
|
-
justify-content: space-between;
|
|
183
|
-
align-items: center;
|
|
184
|
-
width: 100%;
|
|
185
|
-
top: ${o.sp0};
|
|
186
|
-
padding: ${e=>`${lo.NavBarContainerPaddingYAxis.valuePx(e.windowSize)} ${o.sp0}`};
|
|
187
|
-
z-index: 2;
|
|
188
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
189
|
-
`,U=a(oe)`
|
|
190
|
-
cursor: pointer;
|
|
191
|
-
color: ${e=>e.theme.colors.hero};
|
|
192
|
-
width: ${o.sp4};
|
|
193
|
-
height: ${o.sp4};
|
|
194
|
-
min-height: ${o.sp4};
|
|
195
|
-
&:hover {
|
|
196
|
-
color: ${e=>e.theme.colors.primary};
|
|
197
|
-
}
|
|
198
|
-
`,Do=a(te)`
|
|
199
|
-
color: ${e=>e.theme.colors.primary};
|
|
200
|
-
margin-top: ${o.sp3};
|
|
201
|
-
margin-bottom: ${o.sp0};
|
|
202
|
-
margin-right: ${o.sp3};
|
|
203
|
-
`,$o=a(te)`
|
|
204
|
-
color: ${e=>e.theme.colors.primary};
|
|
205
|
-
margin-top: ${o.sp3};
|
|
206
|
-
`;export{Co as default,no as uniqueFormName};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import{a as R,gh as q,M as $,j as e,F as M,T as f,c6 as z,cf as G,cc as K,l as T,o as l,ca as _,gi as H,a7 as W,c0 as Y,bq as Z,gj as J}from"./index-Bh_1R5Ob.js";import{b,f as g,n}from"./vendor-CnQcJ2Lu.js";import{$ as Q}from"./LabeledAddressValue-BF6r800B-_Leb_eWa.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const t=$.getLocalizedStrings(),x="completeProfilePage",r="basicDetailsSection",y="addressSection",d=(o,m)=>`${o}.${m}`,he=({userEmail:o,googleAPIKey:m,otpChallenge:j,sendOtpStatus:w,verifyOtpStatus:h,saveStatus:v,onSave:u,onGetOtp:P,onVerifyOtp:S,onResendOtp:O})=>{const[s,c]=b.useState(!1),[V,C]=b.useState(!1),i=R({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:o,dateOfBirth:void 0,phone:"",address:void 0}}}),F=q({control:i.control,name:`${r}.address`}),{dateFormat:I}=$.getLocalizedStrings(),N=i.handleSubmit(a=>{u&&u(a)}),L=()=>{const a=i.getValues(`${r}.phone`);a!=null&&a.trim().length>0&&P(a)},k=(a,p)=>{S(a,p)},D=a=>{a!=null&&a.trim().length>0&&O(a)},B=()=>{c(!0)},E=()=>{c(!1)},A=()=>{const a=i.getValues(`${y}`);if(a!=null){const p=J(a);i.setValue(`${r}.address`,p)}c(!1)};return e.jsxs(U,{children:[e.jsxs(X,{children:[e.jsxs(ee,{children:[s&&e.jsx(oe,{onClick:E}),t.completeProfile.title]}),e.jsx(te,{children:e.jsx(M,{...i,children:e.jsxs("form",{id:`${x}_form`,onSubmit:N,children:[e.jsx(f,{controller:s===!1,children:e.jsxs(g.Fragment,{children:[e.jsx(z,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:t.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:d(r,"email")}}),e.jsx(G,{isDisabled:void 0,label:{label:t.common.labels.name,width:168},style:{width:"100%"},nameField:{name:d(r,"name"),placeHolder:{firstName:t.common.placeholder.firstNamePlaceholder,lastName:t.common.placeholder.lastNamePlaceholder,name:t.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),e.jsx(K,{isOptional:!0,label:{label:t.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:d(r,"dateOfBirth"),placeholder:t.common.placeholder.dobPlaceholder,dateFormat:I.visual.defaultInput,autoComplete:"off",maxDate:T.dateNow().subtract(18,"year")}}),e.jsx(Q,{isOptional:!0,label:{label:t.common.labels.address,width:168},addressValue:{placeholder:t.common.placeholder.addressPlaceholder,address:F,onClick:B},style:{width:"100%",padding:`${l.sp2} ${l.sp2} ${l.sp2} ${l.sp0}`}}),e.jsx(_,{isOptional:!0,label:{label:t.common.labels.phone,width:168},style:{width:"100%"},text:{name:d(r,"phone"),placeholder:t.common.placeholder.phonePlaceholder,defaultValue:"",autoComplete:"new-password"},errorInfoLabel:"",verificationErrorInfoLabel:t.common.errorMessage.invalidPhoneNumber,isPopupOpen:V,phoneVerifyButtonProps:{otpChallenge:j,showOtpButton:!0,onGetOtp:L,onVerifyOtp:k,onResendOtp:D,isPhoneVerified:h.fetchState==="Completed",phoneVerificationStatus:h,getOtpStatus:w,openPopup:()=>{C(!0)},focusNotRequired:!0}})]})}),e.jsx(f,{controller:s===!0,children:e.jsx(g.Fragment,{children:e.jsx(H,{sectionId:y,googleAPIKey:m,isSubPage:!0})})})]})})})]}),e.jsx(W,{formId:s?void 0:`${x}_form`,primaryBtn:{label:s?t.companyPassport.address.saveAddress:t.common.footer.save,type:s?"button":"submit",onClick:s?A:void 0,isLoading:v.fetchState==="In-Progress"},showCancel:!1})]})},U=n.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
min-height: 100vh;
|
|
5
|
-
`,X=n.div`
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
align-items: flex-start;
|
|
9
|
-
padding: ${l.sp5};
|
|
10
|
-
row-gap: ${l.sp3};
|
|
11
|
-
flex: 1;
|
|
12
|
-
`,ee=n(Y)`
|
|
13
|
-
color: ${o=>o.theme.colors.primary};
|
|
14
|
-
text-align: left;
|
|
15
|
-
display: flex;
|
|
16
|
-
align-items: center;
|
|
17
|
-
justify-content: flex-start;
|
|
18
|
-
gap: ${l.sp2};
|
|
19
|
-
`,oe=n(Z)`
|
|
20
|
-
cursor: pointer;
|
|
21
|
-
width: ${l.sp4};
|
|
22
|
-
height: ${l.sp4};
|
|
23
|
-
color: ${o=>o.theme.colors.hero};
|
|
24
|
-
display: flex;
|
|
25
|
-
align-items: center;
|
|
26
|
-
justify-content: center;
|
|
27
|
-
&:hover {
|
|
28
|
-
color: ${o=>o.theme.colors.primary};
|
|
29
|
-
}
|
|
30
|
-
`,te=n.div`
|
|
31
|
-
background-color: ${o=>o.theme.colors.grey5};
|
|
32
|
-
border-radius: ${l.sp2};
|
|
33
|
-
width: 100%;
|
|
34
|
-
box-shadow: ${o=>o.theme.colors.elevation1};
|
|
35
|
-
border-color: ${o=>o.theme.colors.grey3};
|
|
36
|
-
`;export{he as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as r}from"./index-Bh_1R5Ob.js";import o from"./CustomerOnboardingNoStepsPage-B9ts3Tla-DKUZswXj.js";import i from"./CustomerOnboardingPage-DJbFeXms-uTvDgNTn.js";import"./mui-BgvZYSo0.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./HelpButton-8AQIbLQM-BGmSYuu4.js";import"./MeetingCalenderPopup-D4tz-H5i-DRJag4hu.js";import"./PaymentAccountSetupBillingAddressSection-Debi_lWf-DgZH-stN.js";import"./SetUpAccountSection-nul4pyeP-DU6cZy0a.js";import"./SetUpDefaultSection-ByW3h9zl-DGn4f3RC.js";import"./ChaseOverlay-DPgGIuyV-CJPjKqgA.js";import"./CustomerOnboardingDetailPageSkeleton-CUxNOK4z-DK4_uIa1.js";import"./CompanyOfficerDetailsSection-B_cIues7-Cxl-k5rk.js";import"./LabeledAddressValueField-DYelJL4d-B8hx-xCL.js";import"./LabeledCreatableSingleSelectField-B9zUAA6L-D7rl6n6N.js";import"./LabeledDocumentField-DORRl3DI-BiJSEJu5.js";import"./DocumentSecurityBanner-CVNWDvAg-BtG0xkpK.js";import"./QBOSetupSection-Bj_y0Lo2-i5olJfVN.js";import"./QBOConnectionDialog-B1b1wGeq-Bv09ZJ5Q.js";const w=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?r.jsx(o,{...t}):r.jsx(i,{...t});export{w as default};
|