@zeniai/web-cockpit-ui 1.14.58-qa → 1.14.59-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-DzIkTxTe-szY0ZmSw.js → ACHDetailsPage-Dh-9B-tS-BKldvbI-.js} +1 -1
- package/dist/assets/{AIPerformancePage-DcSfABe8-aip8cm7a.js → AIPerformancePage-BXVWoVop-BDz2sJSr.js} +1 -1
- package/dist/assets/{AccountInfoPage-DKZf9iEj-BWYLGbNJ.js → AccountInfoPage-DQaAqqov-zqBvvgmh.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-Z1na4dJy-LKHjtXPv.js → AccountInfoPageContent-CpnCTuuB-D1N9AAbn.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-4c3W-zeE-COIlptNP.js → AccountLockedInfoModal-DkfP7Aw7-DxqMYMO2.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-C5vlTGj8-DGLOEb2a.js → AccountReconDetailsDrawerPage-D4wc6twC-DYJu-DGm.js} +1 -1
- package/dist/assets/{AccountRow-3d9RsrK--CzSmDsqS.js → AccountRow-CrG8EbbJ-C5c4hS7Z.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-CebFf63k-MO4-ur9l.js → AccountsPromoCardStack-BJPtx2Pe-BrO3SurU.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-CUUW8OmY-WtojkQYs.js → AddAddressForCardDrawer-DdNhdiuv-DR_rGPF5.js} +1 -1
- package/dist/assets/{AddToWalletPage-C-7QiNhe-BBaNm0hV.js → AddToWalletPage-DhYdz5U2-CBBekvlG.js} +1 -1
- package/dist/assets/{AgingReportsPage-BDNPqEUA-CFmHoT7t.js → AgingReportsPage-D42GrcOf-CoErzTcB.js} +1 -1
- package/dist/assets/{AllUserItems-q1-exTg0-C-vzW5ZK.js → AllUserItems-vKh3Mm2X-BwTySL_M.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-Biqhlmi5-r_fB2Ah7.js → ApAgingDetailPage-CwPtOern-CdQtrx1v.js} +1 -1
- package/dist/assets/{AppBasePage-OcF9VjD2-B4E_fdOu.js → AppBasePage-DOG_AFC0-CUT3wwJW.js} +1 -1
- package/dist/assets/{AppDrawerContent-Bvp-m86Z-BCjt1uzD.js → AppDrawerContent-BxOuACFq-BY_Wi0pb.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-DoU4XLU1-CtvRd_j4.js → ApprovalRulesSettingsPage-C_Op8xKo-YAo6-Sxl.js} +1 -1
- package/dist/assets/{ArAgingChart-Derurnjv-CgEJ1Uyl.js → ArAgingChart-DXEYzHyG-D0PB8GjF.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-BANucXvz-BeAFS3t0.js → ArAgingDetailPage-Bc-KHlzV-ucTrDSe4.js} +1 -1
- package/dist/assets/{AttachmentView-DmZoR5fC-Cxq55CaJ.js → AttachmentView-D7RHXhJ5-BAAcjA-7.js} +1 -1
- package/dist/assets/{BankAccountSection-Cw7uDvEJ-DEZ19vJg.js → BankAccountSection-DC6iSj4R-BsAxAbXu.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-ClNYTjN_-C0GUXdVn.js → BankAccountWarningSection-2lKoI5Zs-Dj_Poz3W.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-B48-v1cX-B87m3vQH.js → BankConnectionsSettingsPage-C8yHSddE-BPyE73uV.js} +1 -1
- package/dist/assets/{BillDetailPage-Dz1Us8Hp-CCHNGJZt.js → BillDetailPage-JnsrnTiI-CRxufuo7.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-DJhSGn1E-DP-F92v0.js → BillPayApprovalRuleDetailPage-BUZRTI5I-CRkErJ6g.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-DZMg0cXF-DtQtvFNa.js → BillPayApprovalRulesPage-CLTcaidy-Bvnb2yJv.js} +1 -1
- package/dist/assets/{BillPayPromoPage-B0XdQSYS-C3p0-kIy.js → BillPayPromoPage-CkHwMvaQ-CwQAQZgp.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-Ft2KuiQF-CK6xYLj1.js → BillPaySetUpPage-zJq3HkEC-bT_1YYhS.js} +1 -1
- package/dist/assets/{BillingSettingsPage-uQpN2px5-Yl2Cylds.js → BillingSettingsPage-DQKc4f6L-Bkf9rSRY.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-DBtKf5-t-DHZAPQFs.js → BillsBulkReviewDrawerPage-SpuBHxBw-BgFnsCSs.js} +1 -1
- package/dist/assets/{BoxItem-DR7ZjTUs-Dij4RmTj.js → BoxItem-Di-YXnG--cmTXxwxj.js} +1 -1
- package/dist/assets/BusinessVerificationPage-7EvtWjc2-CdOmJRrr.js +138 -0
- package/dist/assets/{CardNumberSubText-C1IwXiVs-Dqn3-4zM.js → CardNumberSubText-DzFn3_PZ-C9ZCSTzM.js} +1 -1
- package/dist/assets/{CashbackDetailPage-uh_slX-Q-CSlnj0Y7.js → CashbackDetailPage-CjQngqJh-CNd0id6g.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-DEsNdsI1-BXmIwZAL.js → ChargeCardDetailPage-RIKW8QpG-5zMhrBmS.js} +1 -1
- package/dist/assets/{ChargeCardListPage-BRErjFyU-DDFTxheC.js → ChargeCardListPage-BLscpHh2-CtC38uJe.js} +1 -1
- package/dist/assets/{ChargeCardListTable-3b_fwt_f-C0sFK40q.js → ChargeCardListTable-CWs0yRb7-CCfyCYfZ.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-Dn0omfoT-uDoVdr0U.js → ChargeCardPromoPage-DcSxmF13-B--2dn9Z.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-doVAo_Au-DdGCqluH.js → ChargeCardSetupPage-D7KYTRhl-BcT1JXlI.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-DGOegtho-BgHIWvXY.js → ChargeCardStatementsPage-Dcp15xx_-BOrgAbrH.js} +1 -1
- package/dist/assets/{ChargeCardUtils-BlLiJhdJ-DMqoMM0H.js → ChargeCardUtils-CCCxZqkT-61TtCpjk.js} +1 -1
- package/dist/assets/{ChaseOverlay-DY7W-VhR-vZ_gPYHY.js → ChaseOverlay-Nom4V5v9-NN79_kIT.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-CDelWBRG-B1k1OmWA.js → CheckDepositDrawerPage-CtWXEXK--BravvnwG.js} +1 -1
- package/dist/assets/{CollapsableReportTable-BEIzIiuS-DSPsVPW9.js → CollapsableReportTable-CfzLsUMN-BupSz6gn.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-B5JwDvdV-DqnjkUNS.js → CompanyOfficerDetailsSection-CuRcAM-3-BHLJpVyH.js} +1 -1
- package/dist/assets/{CompanyPassportCard-BcnnhR8L-DtcG5160.js → CompanyPassportCard-D23lD2Qq-ByoYXAJb.js} +1 -1
- package/dist/assets/{CompanyPassportPage-Cjc8jDSu-B7YHMqiV.js → CompanyPassportPage-tteVIvVs-Dnqp0vpO.js} +1 -1
- package/dist/assets/{CompleteProfile-bOwTw1Lh-_7Yxh2zS.js → CompleteProfile-BkpO098y-ORcz2OsL.js} +1 -1
- package/dist/assets/{ConfettiBurst-w-1sEoT7-Cc6gVviT.js → ConfettiBurst-xzxQ6c8X-BoCLy-7Y.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-B7_YMeTg-DI5Jb9Bn.js → CreateOrEditVendorPage-fv_bmvfi-CzsLkNiO.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-1CZyhIOU-DMxRxZoh.js → CreditCardPaymentDrawerPage-7fnYwExb-CgcY_sd_.js} +1 -1
- package/dist/assets/{CreditCardPaymentPlgSection-zy5jp8oZ-DwH8e2C-.js → CreditCardPaymentPlgSection-DthqKiKn-CaFdyplw.js} +1 -1
- package/dist/assets/{CurrencySelectField-DLcojhnq-LEdI6qEo.js → CurrencySelectField-DIdZl5cW-DZ4QIRLF.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-DIwdLnW_-DZpcXe7V.js → CustomerOnboardingActivationPage-JhAaD-FC-CgaXelGg.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-BOI3JIGP-D4jiLFc2.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-G6eM-LXh-Do2IIou-.js → CustomerOnboardingDetailPageSkeleton-D__ymliT-CIUKwMvS.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-ZUm80ZnR-DMGMOEZ_.js → CustomerOnboardingNoStepsPage-CVere1yI-Dhi2fPd3.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-ap2hRZbg-Bo_Un-Di.js → CustomerOnboardingPage-WNQCQJ5n-CAH1yTcO.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-JHpQNLLp-BUZQChoL.js → CustomerOnboardingProductSuitePage-CAJfbnLK-BfYQQwIw.js} +1 -1
- package/dist/assets/{Dashboard-BGw23hBU-B19g_awj.js → Dashboard-D0UMJmya-BczA5Giq.js} +1 -1
- package/dist/assets/{DashboardReportPage-DxQfaMpu-DYtlC0eo.js → DashboardReportPage-BCFw6ao6-D3KPXS3h.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-G2W4zpsl-MOmO21T6.js → DashboardSidebarBackgroundAnimation-DHkCvHUA-3uoAq2Nw.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DMKKoFPE-CF64rSeT.js → DepositAccTransactionItem-d34JxwvA-xP5xNNeO.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-P_jQozTg-3ZOulPIT.js → DepositAccTransactionListPage-D7gDhDY8-CbzNTNTF.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-Cukq5TMS-ERF3exDh.js → DomesticWireDetailsPage-OrNehTKb-ZjH_fRSO.js} +1 -1
- package/dist/assets/{DownloadOverlay-0TBZx4M5-ByMEel37.js → DownloadOverlay-DaCUudXP-CVZNoWAL.js} +1 -1
- package/dist/assets/{DrawerPage-BCFgiTrx-VKGmyzQW.js → DrawerPage-CmSHpc-z-iSTxaMwa.js} +1 -1
- package/dist/assets/{EditPeoplePage-Bz6R4dHg-BTjQQhEC.js → EditPeoplePage-8KV3IPex-Bj4F00HM.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-CpyYBV_p-DLjfVB1T.js → EditReimbursementDetailPage-CeB1Zddt-CX7-LisA.js} +1 -1
- package/dist/assets/{EntityDetailPage-B2zcu4ey-B4LA9yJE.js → EntityDetailPage-0gSd2S2a-Bk21CGEs.js} +1 -1
- package/dist/assets/{EntitySummarySection-D5aLYTXS-BkfRlv-0.js → EntitySummarySection-CDqJFGbo-C_BhPxVx.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-DOCWbVlk-DmyrxVBN.js → ExpenseAutomationOverviewPage-m3uEsbuA-y6GuNqtY.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-CvRVtFoX-2gIzi6LR.js → ExpenseAutomationPage-41S7xtG5-gBOsYzMM.js} +50 -50
- package/dist/assets/{ExpressPayPage-BXf-9l9G-CC7Z3dOp.js → ExpressPayPage-D-7iK8kb-B4NN7Ool.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-LOJ6iaCh-0O88GlZa.js → FeaturePreviewPage-CGX75zlc-Da-yfHhx.js} +1 -1
- package/dist/assets/{FollowStepsSection-BgJIGSUb-CkoWMlHD.js → FollowStepsSection-SyRYm6Xk-qRHgTOZ1.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-vKPeBn-E-BnywyD3i.js → GlobalReviewListPage-cFCPjHNY-Bu6QwgAj.js} +1 -1
- package/dist/assets/{HelpButton-JzcF30dH-DLUx9CMf.js → HelpButton-BaJhgb0U-D2odikp_.js} +1 -1
- package/dist/assets/{InformationCardStack-DE_mlx0b-CPdUvJef.js → InformationCardStack-CKwUXzzO-CxZ4zJeR.js} +1 -1
- package/dist/assets/{InsightsCardStack-CPmZ9Zr6--vMWhqeE.js → InsightsCardStack-DgbzOi4U-Dvc9XXCQ.js} +1 -1
- package/dist/assets/{InsightsSection-mpQV3wZ8-CfoJ1FF7.js → InsightsSection-Baicql5I-Cy9IT7DF.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-CPSSCQzQ-Ds1xikyB.js → IntegrationsSettingsPage-F3YIomsV-MWcDg6Dx.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-D6WfqTKR-BZJpEOTH.js → InternationalWireSwiftDetailsPage-Bk3_uQsM-fzkyRJu7.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-CryJKJXs-D3YrzZOR.js → InternationalWireVerificationPage-e30e4EN3-DosRWfnw.js} +1 -1
- package/dist/assets/{InviteFormPage-C7nLoXTU-CKDwjUes.js → InviteFormPage--XxaRUk9-8SgyKEGU.js} +1 -1
- package/dist/assets/{InvitePageListView-CtRAy7TX-DRn754w_.js → InvitePageListView-BxqSNNLQ-D2-KFzQG.js} +1 -1
- package/dist/assets/{InvitePeoplePage-ClFxfSTT-DHxAubtk.js → InvitePeoplePage-DH3kZeNR-JarVlmok.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-DjnuyOSw-BzB_1eSD.js → InvoiceUploadSection-D-8BRSZh-C_cyOMSQ.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-CstjZX3q-CnXQ18Tm.js → IssueChargeCardPage-Cx-mINDz-CHMPey88.js} +1 -1
- package/dist/assets/{LabeledAddressValue-Brk71Pjr-CbncPSM-.js → LabeledAddressValue-CBCPqHGX-Dr3MadHP.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-CvCb2aoN-BYPcHugY.js → LabeledAddressValueField-CMBF_lk1-CXJsPPo5.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-Gqssp1Ri-BC9ElSs1.js → LabeledControlledCheckBoxField-DaiUqmLm-z5jbKpsi.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-VKo2nKGM-C5nWLniy.js → LabeledCreatableSingleSelectField-DnywMYhK-CuEc_EGD.js} +1 -1
- package/dist/assets/{LabeledDocumentField-COC_Ej58-B7sKhk_9.js → LabeledDocumentField-M2THEAOY-Dc822rdF.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-r2aCE7Vv-BqBkqEAq.js → LabeledDropDownFormattedTextField-3XtnFSSO-BjRnQvhd.js} +1 -1
- package/dist/assets/{LabeledText-VrCpjPlp-f50Lqvph.js → LabeledText-imTCum1u-C4LjRwSo.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CoAdkKTm-XaSCNDrO.js → LabeledUserSingleSelectWithSubtitlesField-DlOa-ACw-D4rNrj__.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-BP7diqSR-CA1Pyi7y.js → LabeledZeniRolesDropDownField-XfcFfufN-DyDyz251.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-WS_VPmbY-C4uBwEZU.js → LinkJETransactionPage-B9eOkkRL-UaAvocit.js} +4 -4
- package/dist/assets/{LockCardPage-C0sABFjo-BVlSLk_G.js → LockCardPage-Ct7vGNS4-xE0ij8xJ.js} +1 -1
- package/dist/assets/{LowBalancePopup-Cnt8hF5d-CFST9NVY.js → LowBalancePopup-YZDhdF8c-YFnNkRi7.js} +1 -1
- package/dist/assets/{MagicLinkACHDetailsPage-DHMQHaja-BzK_yQB7.js → MagicLinkACHDetailsPage-BN-A0Efu-BDE_yHQ4.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-CiLUscCx-C_flYJNw.js → MagicLinkDomesticWireDetailsPage-dzeckdoJ-C14GG0C5.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-X2ADFf0h-CyKhV7wU.js → MagicLinkInternationalWireDetailsPage-CYqXDRUn-wjMDal6c.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-BRHxmUGi-CqKnko0M.js → MagicLinkSuccessPage-DC24iw6B-Dbig4zBi.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-CHy41StU-CODeKCpT.js → MagicLinkTitleSection-BccVjN_n-DUbrRyeh.js} +1 -1
- package/dist/assets/{MailingDetailsSection-Djpl2M02-Clv4aZLv.js → MailingDetailsSection-BfdZmdwA-GzNbRy1Z.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-qui2SnEi-D13HOxSn.js → MeetingCalenderPopup-YzTE9xU9-DZIf1_Kg.js} +1 -1
- package/dist/assets/{Menu-BMPH4-8R-twEftGkH.js → Menu-EG5GC1HM-B-5uM-Tx.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-Mohwcu-e-BIUdfsnE.js → MyBankConnectionsSettingsPage-DvbBOAdm-BPRzynV4.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-DePpW1nZ-6QYpbtTT.js → MyPendingActivationChargeCardListPage-BeNJP6gE-DFEiICFV.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-C--PD-iR-6QZuO8SJ.js → MyProfileSettingsPage-BRxBJZKl-gKdlJU9u.js} +1 -1
- package/dist/assets/{NavBarWithPicker-CDrtlEhe-BGmnf0qG.js → NavBarWithPicker-DcoxoePr-DY0E0Sw4.js} +1 -1
- package/dist/assets/{NavigationArrow-Ci8e8S3O-D0FrCepx.js → NavigationArrow-B8mAmEJR-C3_D4DIN.js} +1 -1
- package/dist/assets/{NavigationDots-CT4KVH38-Cxet2hdJ.js → NavigationDots-DWLQ8EKT-Dn6PHYKg.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-Cih2BVZW-BP_IzGQ-.js → NewGlobalMerchantPage-BB_toJEW-DUyS3CYX.js} +1 -1
- package/dist/assets/{NoDataChart-Bb4iomO0-DjYfMx27.js → NoDataChart-BuWkhFal-CMKpuqZD.js} +1 -1
- package/dist/assets/{NoDataTable-CGhIXUQS-C71sow7j.js → NoDataTable-BUdL3yV2-BAXiHNpg.js} +1 -1
- package/dist/assets/{NotFoundPage-C1yRpH5R-DmahrbCG.js → NotFoundPage-DIKyx0G7-QpsaV-Y3.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-B6niw-yz-BkI-B2wX.js → NotificationSettingsPage-BQKqMo0w-RU_hwiPu.js} +1 -1
- package/dist/assets/{NotificationsListConfig-BXhnYFMc-CgGcB0AY.js → NotificationsListConfig-DY24LAfq-CzV20Ii_.js} +1 -1
- package/dist/assets/{NotificationsPage-BxD_x5RM-jKKT4lH3.js → NotificationsPage-CcSiCmhM-DzTB0TJ2.js} +1 -1
- package/dist/assets/{OpExByVendorPage-DhU6KaAy-DXukgz7n.js → OpExByVendorPage-BOD4I42j-4oUDHO_u.js} +1 -1
- package/dist/assets/{OverlayContainerPage-D1XDQqSC-BBBCEdPK.js → OverlayContainerPage-D1XDQqSC-CbO1P_nf.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-a4spNLTC-DqtSMOm0.js → PandLWithForecastPage-DR0hOvcK-BZ8eDuBW.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BNP1S38J-B4CSZ3us.js → PaymentAccountSetupBillingAddressSection-aY0Kwk1v-B2LjsYYN.js} +1 -1
- package/dist/assets/{PeoplePage-BkflVTQ7-CZkWk1Jc.js → PeoplePage-CgbpQTzF-ytts5urg.js} +1 -1
- package/dist/assets/{PortfolioAllocationFormPage-B6dIZdSj-BAxP5Qz4.js → PortfolioAllocationFormPage-DyQS9mGR-k3yBOCSq.js} +29 -29
- package/dist/assets/{PortfolioDetails-DgBQTG2N-D9w2PpF1.js → PortfolioDetails-YqgY6irK-B5_kIUnF.js} +1 -1
- package/dist/assets/{ProductsCarousel-98LvzRjI-D_Ew5v2e.js → ProductsCarousel-D0vNX0Lg-BIRltpPH.js} +1 -1
- package/dist/assets/{PromoBaseCards-8w-GQx13-DtJWY6xl.js → PromoBaseCards-D7B2WP4y-lLUSWcFR.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-Sok8rRG4-BBgIq76h.js → QBOConnectionDialog-BM3Ei-Uy-B7LqspAX.js} +1 -1
- package/dist/assets/{QBOSetupSection-BMRMT06i-Bp-caScU.js → QBOSetupSection-C1C9oOYp-CVAP_hlM.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-Cye5Dfay-Y6TTSpt_.js → ReimbursementApprovalRuleDetailPage-2NCQPRtH-CR9C88jV.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-C8C8pUIT-DEe2ZJqQ.js → ReimbursementApprovalRulesPage-D7M5LyNE-dlLzOYWa.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-BkrQE22J-DKvZxT2K.js → ReimbursementDetailPage-CFvkeM65-CSth0LqE.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-qafth1vd-BCvOyXrt.js → ReimbursementPromoPage-BiajhsSb-Baig1ByR.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-CnroOkJk-Cvl76xek.js → ReimbursementSetUpPage--vFw3Coy-BZ_6GPaW.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-2zlPBW1D-Dm47ghET.js → ReimbursementsBulkReviewDrawerPage-40sklAAn-B5qdPWLm.js} +1 -1
- package/dist/assets/{ReloadCard-B0LL0bsO-C47dx2C9.js → ReloadCard-DHXj7tDB-CoTLieDN.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-CwM38MkL-sHSkOZUs.js → ReportTableViewSelector-BReW2rBY-De5-H-8i.js} +1 -1
- package/dist/assets/{ReportsPage-Cyl_WUQz-CtoykTaV.js → ReportsPage-8dRHTbBF-BSX3EPHA.js} +1 -1
- package/dist/assets/{RevenueChart-CXxEH9pM-D3g9dhJR.js → RevenueChart-BrJtZTP6-ckjmqhbu.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-C0soI4uR-Bcmmq9xN.js → ReviewDetailsPage-BYKWuqrn-BR43E93Y.js} +1 -1
- package/dist/assets/{ReviewOverlay-BKS6IxUd-B4wfg7Gq.js → ReviewOverlay-DejTxf0F-D0BNFHZK.js} +1 -1
- package/dist/assets/{RoleWithToolTip-BfLzD5K8-DuzLs0Uw.js → RoleWithToolTip-SDWCAZAR-C5xFKYbN.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-1ULyqeCq-BzlJ6bjV.js → ScheduleDetailsFixedAssetsPage-DmrofLij-wGg0nxY-.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-D-Z-Fi_m-B2de1c09.js → ScheduleDetailsPage-ChMFxnSM-D7lnbvGR.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-DAwNCXh_-BKNkLrcn.js → ScheduleSequenceTable-D8Xld3H6-DxHk09G_.js} +1 -1
- package/dist/assets/{ScreenRoutes-BkWojgcY.js → ScreenRoutes-Lk4dQSrW.js} +1 -1
- package/dist/assets/{SetUpAccountSection-_zsQfBq1-Ixp7eWRa.js → SetUpAccountSection-D3cMHFo9-tGxpQ_Hm.js} +1 -1
- package/dist/assets/{SetUpDefaultSection-BHYOBJ7g-ugz5Fdi4.js → SetUpDefaultSection-DAYmX0ZV-wM42lVKW.js} +1 -1
- package/dist/assets/{SignIn-BOLyauQa-CSsg1k-k.js → SignIn-44novL5w-Da7_TNTW.js} +1 -1
- package/dist/assets/{SignInScreen-wnotOD9V.js → SignInScreen-DD04CaKk.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-zh_Ui5iH-YWp73SwO.js → SpendManagementListViewPage-DSoYdq_m-7NkIVVia.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-Bu4V_wEU-CJZCCT7c.js → SpendManagementPerTabPage-xTIW-X7N-B96IfkCc.js} +1 -1
- package/dist/assets/{SpendManagementSection-vhFCT9_L-BgmgsOzT.js → SpendManagementSection-CJlsHGkm-CqhN8V8O.js} +1 -1
- package/dist/assets/{SpendMgmtSetupAccountSection-DiiBySox-DEuCmldp.js → SpendMgmtSetupAccountSection-S-3M9Tex-DxNcuUHJ.js} +1 -1
- package/dist/assets/{StatementItem-5oh_s6z3-CvMn_6Gz.js → StatementItem-DX6-flmJ-DQRFWSb3.js} +1 -1
- package/dist/assets/{StatementsPage-CQqrzaz3-BqgZGPio.js → StatementsPage-DCKr_4XZ-Bsxshbva.js} +1 -1
- package/dist/assets/{StatusSwitcher-C1BUhsR_-RxZm1ZuG.js → StatusSwitcher-C6SduIx3-CZMTB5w2.js} +1 -1
- package/dist/assets/{SubTabSwitcher-DbtPzcHo-C9Q3gR3c.js → SubTabSwitcher-W3Ntabka-CkJnLFDQ.js} +1 -1
- package/dist/assets/{SummaryCard-ChBY9-wb-BrnQwF1R.js → SummaryCard-z1Y1Z21L-BvNDOBhc.js} +1 -1
- package/dist/assets/{TaskManagementPage-BLvvJOu7-0xGKm0io.js → TaskManagementPage-Dr7_IfHc-AYu_HBiG.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-BKBRRSFm-Cz1Ee_vx.js → TimeRangeSwitcher-CrkB8n_m-UKQ-nTM4.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-BYbWJkqV-D9PNXfI7.js → TimeframeSwitcher-CMpQebr--jb5OdLW-.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-CQ7RqzAP-C0sGzizA.js → TimeframeSwitcherWithToggle-MSmSK_yv-1RIM15xs.js} +1 -1
- package/dist/assets/{TopExCard-DlOpHPBt-DLFzs4DQ.js → TopExCard-VQ8z2vI8-CcFX43B0.js} +1 -1
- package/dist/assets/{TopExDetailPage-DiRn3jsO-Y2QDGhmR.js → TopExDetailPage-DpnzP9SJ-DfzJMOHT.js} +1 -1
- package/dist/assets/TransactionDetailPage-CYUaKiqB-BzE195Mu.js +912 -0
- package/dist/assets/{TransactionList-bXlPU8EJ-CJpXRXe5.js → TransactionList-BingIVb_-DtIsd8Hw.js} +1 -1
- package/dist/assets/{TransactionListBig-C8XRWb2H-BtpYfolj.js → TransactionListBig-u-0Ia9Ua-K9wDHKU_.js} +1 -1
- package/dist/assets/{TransactionListPage-CUX45pNJ-BRuLNSm-.js → TransactionListPage-CYnEa2xe-O-SDZdNu.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-CN37v29r-BwIXvjQA.js → TransactionVendorDetailPage-BFkUirn2-CeHhiYbe.js} +1 -1
- package/dist/assets/{TransferDrawerPage-GsrHKsdt-CTUErw4B.js → TransferDrawerPage-CX9GJ8vi-CEFyGVCx.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-C-yNzG5C-YBn2IUrW.js → TreasuryOverviewPage-C9I-VnRo-DTnaN1Tn.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-BENRjIY1-r3JAqrfu.js → TreasuryPromoPage-DUScnOPQ-Dkbv6YRb.js} +1 -1
- package/dist/assets/TreasurySetupPage-DzkvNyQm-B3xMK5Hg.js +144 -0
- package/dist/assets/{TreasuryStatementsPage-DTCPq8Gp-iWzCT7nf.js → TreasuryStatementsPage-BipG_ii3-Dy6JBSif.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-O433FhAV-C1k6tduP.js → TreasuryTaxLetterPage-DCrdgOsu-DCMVMaW8.js} +1 -1
- package/dist/assets/{TreasuryTransferOrReviewPage-D_3AEXbX-Cn5Yufcy.js → TreasuryTransferOrReviewPage-DO9VVbX6-DZ53XF10.js} +62 -62
- package/dist/assets/{TrendChart-DdACpA7D-CjQnnjyH.js → TrendChart-BpsoQkO0-DB1sMg9j.js} +1 -1
- package/dist/assets/{TrendWithTransactions-BnHF9LmW-tSH-lIqy.js → TrendWithTransactions-D61X4lVu-B1TFib9_.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-CPwbKmda-DK_YTS86.js → UncategorizedAccountsMappingPage-CGGKjJaZ-D-H5tUAz.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-Du-y-JVz-Dj8kt9Jm.js → UnitIntegrationPage-cQpbU9rB-Cbb-Whyn.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-Pjy5PzIW-CGkZI-1j.js → UploadAdditionalDocumentOverlay-jDJV9q65-D9UMm7kL.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-DgjZcTQX-D9W9dZq3.js → Vendor2FAPopup-B3ecYMnd-64QYc3pi.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-DcNKtZ0R-Bi8pbvaS.js → VendorACHDetailsPage-DgHf5ptD-DJ7gUVt7.js} +1 -1
- package/dist/assets/{VendorDetailPage-DEEb2gjp-CCMM19HN.js → VendorDetailPage-Bi8U23Yu-CYAI7EU_.js} +1 -1
- package/dist/assets/{VendorDomesticWireDetailsPage-y3jp785O-Cn755Yd_.js → VendorDomesticWireDetailsPage-1NJj7GtJ-D3rBN46J.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-BduWVF51-ZFGfV5H2.js → VendorFiling1099EditablePage-BRytcxuo-CZqTJihb.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-B8vqDzGi-DJiwpQ21.js → VendorFirstReviewPage-wW6F5Vyp-CwmSDV52.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-DmJ3Bq2T-koc0rrhz.js → VendorInternationalWireDetailsPage-BvOCNJjZ-C9fzsF24.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Bxy4g8yL-BEOh0GH5.js → VendorInternationalWireSwiftDetailsPage-DfyLskrB-CQ9ndRc7.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-DhleXBjq-ChXEGqE2.js → VendorsAccountsSection-BgZ0EsGs-KDRhKsoW.js} +1 -1
- package/dist/assets/{VerifyDevice-BdUpM2Xk-BumcsjMz.js → VerifyDevice-Djjoi0YZ-_3zMjBLM.js} +1 -1
- package/dist/assets/{VideoPlayer-Bh9pi5bb-TiF1CvxS.js → VideoPlayer-DGYFB2YS-DUfF6yFC.js} +1 -1
- package/dist/assets/{VideoPopup-BmSbL0tQ-DjmLvupK.js → VideoPopup-DJk2FZWR-CM_0HjD0.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-DfPbJNDz-D6Qv89yX.js → WarningsDrawerPage-CD08YNAB-Dx2KFQiH.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-BgJTjD7y-CLcudSUF.js → ZeniAccountDetailPage-BymuJnpr-wd8ZOXRP.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-BWVLF3FE-bImThYTF.js → ZeniAccountListViewPage-CSf3_-PQ-BIF2NgM3.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-Qs5xZ8ja-Snqvnod-.js → ZeniAccountNavBarPieces-F42ZriYE-DqNJ1jU2.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-B9FLpxZq-DAjEd67A.js → ZeniAccountPromoPage-VVCQ_UDm-Ct-iLwvJ.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-CvumFc2I-DGe5s0B-.js → ZeniAccountSetupPage-BOwiGnM--Dz_2kMjh.js} +1 -1
- package/dist/assets/{ZeniCopyright-2Gm8bvIj-DzzOVwWa.js → ZeniCopyright-DkcWuMgx-RWRqD984.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-3iNLjlk5-BHZ8X84U.js → ZeniTransferAmountSlider-tcmR5JIX-Cd37-VEc.js} +1 -1
- package/dist/assets/{analyticsHelper-BjdxHYNU-D0RzuG-N.js → analyticsHelper-DgQ9dYv6-De-krZ12.js} +1 -1
- package/dist/assets/{analyticsHelper-Bz2Bv2NU.js → analyticsHelper-JHJDqaL3.js} +1 -1
- package/dist/assets/{chartTypes-C55wRbZm-DZYdSC6g.js → chartTypes-BkGKZtjd-9mZz2BPE.js} +1 -1
- package/dist/assets/{commonDimensions-kvPZ9uhR-B0JIHYIl.js → commonDimensions-D-rqQGD_-DguqB4oO.js} +1 -1
- package/dist/assets/{detailCommon-flEwHQWE-BLWYWFmQ.js → detailCommon-GKfk0vsu-okwQGabL.js} +1 -1
- package/dist/assets/{downloadPdf-9PwAfZrf-DIShnr79.js → downloadPdf-De1ILdAb-TsI5sZUf.js} +1 -1
- package/dist/assets/{index-JJMBnBNB.js → index-Ci6w3djJ.js} +156 -156
- package/dist/assets/{mapLoadingInProgressToTreeNode-D2-Xk-a2-CMsQ-3ZE.js → mapLoadingInProgressToTreeNode-BQLjNvTv-Bsg376BD.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-D8mXp6cH-CNK3VSms.js → mapSectionWithAcOnlyToTreeNode-C0VNdd8s-DEUZo2Rp.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-DgTZkD7S-B5si502J.js → mapSpacerToTreeNode-BU36CqfC-Cr9vicKb.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Dc8D2GxV-D8-XEGh6.js → mapTimeframeBalancesToTreeNode-BVtoixEC-BiHZ5pyZ.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DacdNIKt-CLQ_K0_1.js → mapTimeframeBalancesToTreeNode-C45lf-nZ-CyNDhoCp.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-ByVkwcZX-Czj_JvYh.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DeErljHZ-B_ZutE8q.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-CHP1NmFV-BEycbicm.js → toCOABalancesWithID-jZvgYCO7-K9Aq1Sm_.js} +1 -1
- package/dist/assets/{toChartData-CV-IsjGn-Dk8tQTe6.js → toChartData-XC5K1jEk-BCy0qlOQ.js} +1 -1
- package/dist/assets/{treasuryColorHelper-73WJKkar-DR4hSDYc.js → treasuryColorHelper-Bn8hh2DU-D0UXXZoq.js} +1 -1
- package/dist/assets/{uploadAttachment-Cj3QcGO3-CSfQMSBZ.js → uploadAttachment-CAl_Ockc-C-WoP6Qy.js} +1 -1
- package/dist/assets/{uploadReceipts-CQ7whQyJ-Bg8PayZa.js → uploadReceipts-CQ7whQyJ-CcIwDZ8Y.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/BusinessVerificationPage-Ccqlx-_j-Bv3lOKHi.js +0 -140
- package/dist/assets/CustomerOnboardingContainerPage-AGr9ylBU-C-H4DDTq.js +0 -1
- package/dist/assets/TransactionDetailPage-CVxiCsG1-sNJ-d0rt.js +0 -912
- package/dist/assets/TreasurySetupPage-DmIyCtnW-DIYIFb2p.js +0 -146
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as ye,aC as
|
|
1
|
+
import{q as ye,aC as Pt,j as r,aM as D,hw as Ct,F as $e,aN as q,a as qe,m as at,aQ as nt,o as t,y as w,A as Oe,s as zt,b6 as Dt,c as Lt,aP as Z,c5 as Ft,ft as st,O,l as L,gG as Mt,h as j,ar as Rt,H as lt,ai as I,am as Y,fG as Bt,aa as Ot,cS as It,ad as Et,gm as _t,u as d,ce as ct,fB as dt,cw as ut,dm as Nt,dd as Vt,fS as Wt,fK as qt,a9 as Yt,an as Gt,fL as Xt,dM as Jt,cM as Kt,cL as Ut,bz as Zt,bX as Qt,fU as Ht,g1 as er,aX as tr}from"./index-Ci6w3djJ.js";import{n as o,b as y}from"./vendor-Bs1fkIUX.js";import{q as pt}from"./PortfolioDetails-YqgY6irK-B5_kIUnF.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./treasuryColorHelper-Bn8hh2DU-D0UXXZoq.js";const rr=$e.getLocalizedStrings().spendManagement.treasury,R=[0,125e4,25e5,35e5,5e6],or=1e3;function ir({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:i}){const l=Yt().analytics,[c,h]=y.useState(a);y.useEffect(()=>{h(a)},[a]);const p=f=>{const $=parseFloat(f.target.value),s=ge($,e);h($),u(s),i($),l.trackTreasuryCalculatorClick("fund transfer",$)},k=f=>{const $=ge(f,e);h(f),i(f),u($),l.trackTreasuryCalculatorClick("fund transfer",f)};return r.jsxs(cr,{sliderValue:c,children:[r.jsx(lr,{sliderValue:c,type:"range",min:R[0],max:R[R.length-1],step:or,value:c,onChange:p}),r.jsx(dr,{style:{width:`${Math.min(c/R[R.length-1]*92.5,92.5)}%`}}),r.jsx(mr,{sliderValue:c,style:{left:`calc(${Math.min(Math.max(c/R[R.length-1]*100,5),95)}% - 50px)`},children:ar(c)}),r.jsx(ur,{children:R.map((f,$)=>r.jsx(pr,{onClick:()=>k(f),"data-testid":D("slider-label",f.toString()),style:{left:nr($)},children:r.jsx(hr,{isSelected:c>=f,children:sr(f)})},f))})]})}const ar=e=>{const a=tr("0,0.[00]a",e,"$").toUpperCase();return`${rr.transferDrawer.calculator.sliderTooltipText} ${a}`};function ge(e,a){const u=a/100,i=e*Math.pow(1+u/12,12);return Math.floor(i-e)}const nr=e=>{switch(e){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},sr=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),lr=o.input`
|
|
2
2
|
width: 100%;
|
|
3
3
|
&[type="range"]::-webkit-slider-runnable-track {
|
|
4
4
|
height: 2px;
|
|
@@ -22,7 +22,7 @@ import{q as ye,aC as Tt,j as r,aM as D,hw as Pt,F as $e,aN as q,a as qe,m as it,
|
|
|
22
22
|
background-repeat: no-repeat;
|
|
23
23
|
cursor: pointer;
|
|
24
24
|
}
|
|
25
|
-
`,
|
|
25
|
+
`,cr=o.div`
|
|
26
26
|
position: relative;
|
|
27
27
|
width: 70%;
|
|
28
28
|
margin-left: 30px;
|
|
@@ -30,26 +30,26 @@ import{q as ye,aC as Tt,j as r,aM as D,hw as Pt,F as $e,aN as q,a as qe,m as it,
|
|
|
30
30
|
margin-bottom: 20px;
|
|
31
31
|
margin-top: ${t.sp5};
|
|
32
32
|
min-height: ${t.sp8};
|
|
33
|
-
`,
|
|
33
|
+
`,dr=o.div`
|
|
34
34
|
position: absolute;
|
|
35
35
|
height: 2px;
|
|
36
36
|
margin-top: -${t.sp2};
|
|
37
37
|
background-color: ${e=>e.theme.colors.hero};
|
|
38
|
-
`,
|
|
38
|
+
`,ur=o.div`
|
|
39
39
|
position: absolute;
|
|
40
40
|
bottom: ${t.sp0};
|
|
41
41
|
top: ${t.sp5};
|
|
42
42
|
width: 100%;
|
|
43
43
|
display: flex;
|
|
44
44
|
justify-content: center;
|
|
45
|
-
`,
|
|
45
|
+
`,pr=o.span`
|
|
46
46
|
position: absolute;
|
|
47
47
|
cursor: pointer;
|
|
48
48
|
transform: translateX(-50%);
|
|
49
|
-
`,
|
|
49
|
+
`,hr=o(I)`
|
|
50
50
|
color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.grey1};
|
|
51
51
|
white-space: nowrap;
|
|
52
|
-
`,
|
|
52
|
+
`,mr=o(I)`
|
|
53
53
|
position: absolute;
|
|
54
54
|
top: -${t.sp5};
|
|
55
55
|
white-space: nowrap;
|
|
@@ -60,7 +60,7 @@ import{q as ye,aC as Tt,j as r,aM as D,hw as Pt,F as $e,aN as q,a as qe,m as it,
|
|
|
60
60
|
justify-content: center;
|
|
61
61
|
align-items: center;
|
|
62
62
|
padding: 2px ${t.sp2};
|
|
63
|
-
`,Q={navBarContainerPaddingXaxis:new w(10,19),containerPaddingLeft:new w(d[3],d[6],d[8]),containerPaddingRight:new w(d[3],d[6],d[8]),reviewContentWrapperPaddingBottom:new w(d[5],d[8]),elementsContainerPadding:new w(d[3],d[4])},Re={pageTitle:new O("h6Regular","h5Regular"),integerStyles:new O("h5Regular","h2Regular"),decimalStyles:new O("extraLargeMedium","h5Medium")},{common:{edit:
|
|
63
|
+
`,Q={navBarContainerPaddingXaxis:new w(10,19),containerPaddingLeft:new w(d[3],d[6],d[8]),containerPaddingRight:new w(d[3],d[6],d[8]),reviewContentWrapperPaddingBottom:new w(d[5],d[8]),elementsContainerPadding:new w(d[3],d[4])},Re={pageTitle:new O("h6Regular","h5Regular"),integerStyles:new O("h5Regular","h2Regular"),decimalStyles:new O("extraLargeMedium","h5Medium")},{common:{edit:fr,footer:{back:gr}},dateFormat:{visual:{DMMMYYYYFormat:wr}},spendManagement:{treasury:{transferDrawer:F},billPay:{insufficientFunds:{lowBalance:xr,addOrSwitchInitiateTransfer:yr,lowBalanceIn:$r}}}}=$e.getLocalizedStrings(),br=({fromAccount:e,themeContext:a,toAccount:u,transferDetails:i})=>{const l=ye();if(l==="small"){const c=Tr(e,u,i.treasuryAccount.id);return r.jsxs(r.Fragment,{children:[r.jsxs(he,{style:c.topAccount?.id===i.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:l,children:[r.jsx(me,{children:c.topAccountLabel}),r.jsxs(pe,{windowSize:l,children:[V(i.transferMoneyParties,c.topAccount?.id??"",!0,c.topAccount?.id===i.treasuryAccount.id,!0),r.jsxs(de,{windowSize:l,children:[c.topAccount?.label,r.jsx(ue,{children:W(i.transferMoneyParties,i.treasuryAccount,c.topAccount?.id??"",!0,!0,!0)})]})]}),ce(c.topAccount,i.treasuryAccount.id,l,!1)?r.jsx(fe,{}):null]}),c.arrowDirection==="up"?r.jsx(ao,{}):r.jsx(no,{}),r.jsxs(he,{style:c.bottomAccount?.id===i.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:l,children:[r.jsx(me,{children:c.bottomAccountLabel}),r.jsxs(pe,{windowSize:l,children:[V(i.transferMoneyParties,c.bottomAccount?.id??"",!0,c.bottomAccount?.id===i.treasuryAccount.id,!0),r.jsxs(de,{windowSize:l,children:[c.bottomAccount?.label,r.jsx(ue,{children:W(i.transferMoneyParties,i.treasuryAccount,c.bottomAccount?.id??"",!0,!1,!0)})]})]}),ce(c.bottomAccount,i.treasuryAccount.id,l,!0)?r.jsx(fe,{}):null]})]})}else return r.jsxs(r.Fragment,{children:[r.jsxs(he,{style:e?.id===i.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:l,children:[r.jsx(me,{children:"Transfer Funds From"}),r.jsxs(pe,{windowSize:l,children:[V(i.transferMoneyParties,e?.id??"",!0,e?.id===i.treasuryAccount.id,!0),r.jsxs(de,{windowSize:l,children:[e?.label,r.jsx(ue,{children:W(i.transferMoneyParties,i.treasuryAccount,e?.id??"",!0,!0,!0)})]})]}),ce(e,i.treasuryAccount.id,l,!1)?r.jsx(fe,{}):null]}),r.jsx(io,{}),r.jsxs(he,{style:u?.id===i.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:l,children:[r.jsx(me,{children:"To"}),r.jsxs(pe,{windowSize:l,children:[V(i.transferMoneyParties,u?.id??"",!0,u?.id===i.treasuryAccount.id,!0),r.jsxs(de,{windowSize:l,children:[u?.label,r.jsx(ue,{children:W(i.transferMoneyParties,i.treasuryAccount,u?.id??"",!0,!1,!0)})]})]}),ce(u,i.treasuryAccount.id,l,!1)?r.jsx(fe,{}):null]})]})},vr=(e,a,u)=>{if(!e)return!0;if(e.id===a.id){const i=a.balance;return i?L.checkIfLowBalance(u,i):!0}if("accountBalance"in e){const i=e.accountBalance?.available;return i==null?!1:L.checkIfLowBalance(u,i)}return!1},Sr=({transferDetails:e,fundDetails:a,portfolioAllocation:u,isOnSetup:i,setShowReviewContent:l,onTransferClick:c,onCancelClick:h})=>{const p=ye(),k=Lt(),f=Z(e.fetchState),[$,s]=y.useState(!1);y.useEffect(()=>{f==="In-Progress"&&e.fetchState==="Error"&&e.error!=null?s(!0):s(!1)},[e.error]);const{fromAccount:S,toAccount:P,amount:m}=e.treasuryTransferMoneyLocalData,C=vr(S,e.treasuryAccount,m);return r.jsxs(r.Fragment,{children:[r.jsxs(Br,{windowSize:p,children:[r.jsx(Vr,{windowSize:p,children:r.jsx(Ft,{title:"Close",enterTouchDelay:600,placement:"bottom",children:r.jsx(Ye,{"data-testid":D("nav-bar-close-transfer-review"),onClick:h})})}),r.jsx(Wr,{windowSize:p,children:i===!0?F.stepTitle:F.reviewAndConfirm}),i===!0&&r.jsxs(r.Fragment,{children:[r.jsx(qr,{windowSize:p,children:r.jsx(Yr,{children:r.jsxs(Gr,{children:[r.jsx(Ge,{}),r.jsx(Ge,{}),r.jsx(Xr,{})]})})}),p==="small"?r.jsx(oo,{children:F.subTitle}):r.jsx(Ke,{children:F.subTitle})]}),r.jsx(ro,{windowSize:p,children:r.jsx(st,{amount:m,alwaysShowDecimal:!0,integerStyles:Re.integerStyles.styleObject(p),decimalStyles:Re.decimalStyles.styleObject(p)})}),i!==!0&&r.jsxs(r.Fragment,{children:[r.jsx(_r,{}),r.jsx(Ke,{children:r.jsxs(r.Fragment,{children:[F.review.prefix,`"${P?.label}" `,F.success.midfix,` "${S?.label}" `,F.review.suffix.replace("__date__",L.zeniDate(L.getNextNthWorkingDay(L.dateNow().toDate(),[0,6],1).toDateString()).format(wr))]})})]}),C?r.jsx(Mt,{variant:"low-balance",style:{marginTop:t.sp3,marginBottom:t.sp3},title:$r.replace("__account__",S?.id===e.treasuryAccount.id?S?.label??"":`${S?.label??""} ${S?.maskedAccountNumber??""}`),description:yr}):null,$?r.jsx(Rr,{children:r.jsxs(Dr,{children:[r.jsxs(Or,{children:[r.jsx(Er,{}),r.jsxs(Lr,{children:[r.jsx(Fr,{children:e.error?.title}),r.jsx(Mr,{children:e.error?.message})]})]}),r.jsx(Ir,{children:r.jsx(Ye,{"data-testid":D("close-error-transfer-review"),onClick:()=>{s(!1)},style:{width:t.sp3,height:t.sp3,color:j.heroLight}})})]})}):null,r.jsx(Nr,{windowSize:p,children:r.jsxs(Pr,{windowSize:p,children:[r.jsx(Cr,{windowSize:p,children:r.jsx(br,{fromAccount:S,themeContext:k,toAccount:P,transferDetails:e})}),r.jsx(zr,{children:r.jsx(pt,{isInReview:!0,isSetup:!1,fundDetails:a,allocation:u,amount:kr(e),fundAllocations:Ar(e),page:"transfer review"})})]})})]}),r.jsx(nt,{style:i!==!0?{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp0}:{zIndex:4},helperText:i!==!0?F.review.footNote:void 0,helperStyle:{padding:`${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0}`},cancelBtn:{label:i===!0?gr:fr,onClick:()=>{s(!1),l(!1)},style:{minWidth:94}},primaryBtn:{label:F.transferBtn,onClick:c,isLoading:e.fetchState==="In-Progress",isDisabled:C,style:{minWidth:94}}})]})},V=(e,a,u,i,l)=>{if(i===!0)return r.jsx(Xe,{isOptionSelected:u,isForReview:l,children:r.jsx(Je,{color:j.brandColorGoldDark})});if(a==="")return r.jsx(to,{isForReview:l,children:r.jsx(Vt,{})});const c=e.find(p=>p.id===a),h=e.findIndex(p=>p.id===a);if(c!=null){if(c.accType==="depositAccount")return r.jsx(Xe,{isOptionSelected:u,isForReview:l,children:r.jsx(Je,{color:Wt(h)})});if(c.accType==="paymentAccount")return c.logo!==void 0&&(c.logo.base64||c.logo.url)?r.jsx(Qr,{src:jr(c.logo),isOptionSelected:u,isForReview:l,loading:"lazy"}):r.jsx(Hr,{isOptionSelected:u,isForReview:l,children:r.jsx(eo,{})})}return null},W=(e,a,u,i,l,c,h)=>{if(!u)return null;if(u===a.id)return(c||!i)&&a.balance?r.jsx(Ce,{children:q("0,0[.]00",a.balance)}):null;const p=e.find(f=>f.id===u);let k=!1;return l===!0&&h!=null&&p?.accountBalance?.available?.amount!=null&&(k=L.checkIfLowBalance(h,p.accountBalance.available)),i===!0&&!c?r.jsx(Kr,{children:p?.maskedAccountNumber}):r.jsxs(Jr,{className:"option-sublabel",children:[r.jsx(Ce,{children:p?.maskedAccountNumber}),p?.accountBalance?.available?r.jsx(Zr,{className:"dot"}):null,p?.accountBalance?.available?r.jsxs(Ce,{children:[q("0,0[.]00",p.accountBalance.available),k?r.jsx(Ur,{children:xr}):null]}):null,p?.balanceFetchStatus?.fetchState==="In-Progress"?r.jsx(at,{size:"Small",start:!0}):null]})},jr=e=>e.base64!==void 0?`${qt}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",kr=e=>{const{fromAccount:a}=e.treasuryTransferMoneyLocalData;if(a?.id!==e.treasuryAccount.id)return e.treasuryTransferMoneyLocalData.amount},Ar=e=>{const{fromAccount:a}=e.treasuryTransferMoneyLocalData;if(a?.id===e.treasuryAccount.id)return e.treasuryAccount.fundAllocations},Tr=(e,a,u)=>e?.id===u?{topAccount:a,bottomAccount:e,topAccountLabel:"To",bottomAccountLabel:"Transfer Funds From",arrowDirection:"up"}:{topAccount:e,bottomAccount:a,topAccountLabel:"Transfer Funds From",bottomAccountLabel:"To",arrowDirection:"down"},ce=(e,a,u,i)=>u==="small"?e?.id===a&&i:e?.id===a,de=o.div`
|
|
64
64
|
display: flex;
|
|
65
65
|
flex-direction: column;
|
|
66
66
|
`,ue=o(I)`
|
|
@@ -68,7 +68,7 @@ import{q as ye,aC as Tt,j as r,aM as D,hw as Pt,F as $e,aN as q,a as qe,m as it,
|
|
|
68
68
|
`,pe=o(Y)`
|
|
69
69
|
display: flex;
|
|
70
70
|
align-items: center;
|
|
71
|
-
`,
|
|
71
|
+
`,Pr=o.div`
|
|
72
72
|
display: flex;
|
|
73
73
|
flex-direction: column;
|
|
74
74
|
width: 100%;
|
|
@@ -81,7 +81,7 @@ import{q as ye,aC as Tt,j as r,aM as D,hw as Pt,F as $e,aN as q,a as qe,m as it,
|
|
|
81
81
|
${e=>e.windowSize==="small"&&`
|
|
82
82
|
width: auto;
|
|
83
83
|
`}
|
|
84
|
-
`,
|
|
84
|
+
`,Cr=o.div`
|
|
85
85
|
display: flex;
|
|
86
86
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
87
87
|
justify-content: space-between;
|
|
@@ -97,27 +97,27 @@ import{q as ye,aC as Tt,j as r,aM as D,hw as Pt,F as $e,aN as q,a as qe,m as it,
|
|
|
97
97
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
98
98
|
border-radius: ${t.sp2};
|
|
99
99
|
width: ${e=>e.windowSize==="small"?"auto":"288px"};
|
|
100
|
-
`,
|
|
100
|
+
`,zr=o.div`
|
|
101
101
|
padding: ${t.sp2} ${t.sp3};
|
|
102
102
|
background-color: ${e=>e.theme.colors.grey4};
|
|
103
103
|
border: 1px solid ${e=>e.theme.colors.grey1};
|
|
104
104
|
border-radius: ${t.sp2};
|
|
105
|
-
`,
|
|
105
|
+
`,Dr=o.div`
|
|
106
106
|
display: flex;
|
|
107
107
|
width: 100%;
|
|
108
108
|
justify-content: space-between;
|
|
109
109
|
padding: ${t.sp3} ${t.sp4};
|
|
110
110
|
background-color: ${j.importantLight};
|
|
111
111
|
border-radius: ${t.sp2};
|
|
112
|
-
`,
|
|
112
|
+
`,Lr=o.div`
|
|
113
113
|
display: flex;
|
|
114
114
|
flex-direction: column;
|
|
115
115
|
margin-left: ${t.sp2};
|
|
116
|
-
`,
|
|
116
|
+
`,Fr=o(ut)`
|
|
117
117
|
color: ${j.important};
|
|
118
|
-
`,
|
|
118
|
+
`,Mr=o(Y)`
|
|
119
119
|
color: ${j.important};
|
|
120
|
-
`,
|
|
120
|
+
`,Rr=o.div`
|
|
121
121
|
margin-top: ${t.sp3};
|
|
122
122
|
display: flex;
|
|
123
123
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -126,15 +126,15 @@ import{q as ye,aC as Tt,j as r,aM as D,hw as Pt,F as $e,aN as q,a as qe,m as it,
|
|
|
126
126
|
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
127
127
|
border-radius: ${t.sp2};
|
|
128
128
|
box-shadow: ${e=>`${t.sp0} 2px 2px ${e.theme.colors.dropShadowNormal}`};
|
|
129
|
-
`,
|
|
129
|
+
`,Br=o.div`
|
|
130
130
|
height: auto;
|
|
131
131
|
padding-left: ${e=>`${Q.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
132
132
|
padding-right: ${e=>`${Q.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
133
133
|
margin-bottom: auto;
|
|
134
|
-
`,
|
|
134
|
+
`,Or=o.div`
|
|
135
135
|
display: flex;
|
|
136
136
|
align-items: flex-start;
|
|
137
|
-
`,
|
|
137
|
+
`,Ir=o.div``,Er=o(dt)`
|
|
138
138
|
width: ${t.sp4};
|
|
139
139
|
height: ${t.sp4};
|
|
140
140
|
color: ${j.important};
|
|
@@ -147,7 +147,7 @@ import{q as ye,aC as Tt,j as r,aM as D,hw as Pt,F as $e,aN as q,a as qe,m as it,
|
|
|
147
147
|
&:hover {
|
|
148
148
|
color: ${e=>e.theme.colors.primary};
|
|
149
149
|
}
|
|
150
|
-
`,
|
|
150
|
+
`,_r=o.div`
|
|
151
151
|
display: flex;
|
|
152
152
|
flex: 1;
|
|
153
153
|
background-color: ${e=>e.theme.colors.grey3};
|
|
@@ -155,12 +155,12 @@ import{q as ye,aC as Tt,j as r,aM as D,hw as Pt,F as $e,aN as q,a as qe,m as it,
|
|
|
155
155
|
max-height: 1px;
|
|
156
156
|
`,me=o(I)`
|
|
157
157
|
color: ${e=>e.theme.colors.hero};
|
|
158
|
-
`,
|
|
158
|
+
`,Nr=o.div`
|
|
159
159
|
display: flex;
|
|
160
160
|
flex-direction: column;
|
|
161
161
|
padding-top: ${t.sp3};
|
|
162
162
|
padding-bottom: ${e=>`${Q.reviewContentWrapperPaddingBottom.valuePx(e.windowSize)}`};
|
|
163
|
-
`,
|
|
163
|
+
`,Vr=o.div`
|
|
164
164
|
display: flex;
|
|
165
165
|
flex-direction: row;
|
|
166
166
|
justify-content: flex-end;
|
|
@@ -170,23 +170,23 @@ import{q as ye,aC as Tt,j as r,aM as D,hw as Pt,F as $e,aN as q,a as qe,m as it,
|
|
|
170
170
|
padding: ${e=>`${Q.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${t.sp0}`};
|
|
171
171
|
z-index: 2;
|
|
172
172
|
background-color: transparent;
|
|
173
|
-
`,
|
|
173
|
+
`,Wr=o(lt)`
|
|
174
174
|
${e=>`${Re.pageTitle.style(e.windowSize)}`};
|
|
175
175
|
color: ${e=>e.theme.colors.primary};
|
|
176
176
|
padding: ${t.sp3} ${t.sp0} ${t.sp2} ${t.sp0};
|
|
177
177
|
${e=>e.windowSize==="small"&&`
|
|
178
178
|
padding-bottom: ${t.sp0};
|
|
179
179
|
`}
|
|
180
|
-
`,
|
|
180
|
+
`,qr=o.div`
|
|
181
181
|
display: flex;
|
|
182
182
|
flex-direction: column;
|
|
183
183
|
gap: ${t.sp3};
|
|
184
184
|
width: 100%;
|
|
185
185
|
margin-bottom: ${t.sp3};
|
|
186
|
-
`,
|
|
186
|
+
`,Yr=o.div`
|
|
187
187
|
display: flex;
|
|
188
188
|
align-items: center;
|
|
189
|
-
`,
|
|
189
|
+
`,Gr=o.div`
|
|
190
190
|
display: flex;
|
|
191
191
|
width: 100%;
|
|
192
192
|
gap: ${t.sp3};
|
|
@@ -195,40 +195,40 @@ import{q as ye,aC as Tt,j as r,aM as D,hw as Pt,F as $e,aN as q,a as qe,m as it,
|
|
|
195
195
|
height: 2px;
|
|
196
196
|
background-color: ${e=>e.theme.colors.primary};
|
|
197
197
|
border-radius: ${t.sp2};
|
|
198
|
-
`,
|
|
198
|
+
`,Xr=o.div`
|
|
199
199
|
width: 33.33%;
|
|
200
200
|
height: 2px;
|
|
201
201
|
background-color: ${e=>e.theme.colors.grey2};
|
|
202
202
|
border-radius: ${t.sp2};
|
|
203
|
-
`,
|
|
203
|
+
`,Jr=o(I)`
|
|
204
204
|
color: ${e=>e.theme.colors.hero};
|
|
205
205
|
display: flex;
|
|
206
206
|
flex-direction: row;
|
|
207
207
|
align-items: center;
|
|
208
208
|
gap: ${t.sp2};
|
|
209
|
-
`,
|
|
209
|
+
`,Kr=o.span`
|
|
210
210
|
margin-left: ${t.sp2};
|
|
211
|
-
`,Ce=o.div``,
|
|
211
|
+
`,Ce=o.div``,Ur=o(Qt)`
|
|
212
212
|
color: ${e=>e.theme.colors.brandColorGoldDark};
|
|
213
213
|
margin-left: ${t.sp1};
|
|
214
|
-
`,
|
|
214
|
+
`,Zr=o.div`
|
|
215
215
|
width: ${t.sp1};
|
|
216
216
|
height: ${t.sp1};
|
|
217
217
|
min-width: ${t.sp1};
|
|
218
218
|
background-color: ${e=>e.theme.colors.grey1};
|
|
219
219
|
border-radius: 50%;
|
|
220
|
-
`,
|
|
220
|
+
`,Qr=o.img`
|
|
221
221
|
display: flex;
|
|
222
222
|
width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
|
|
223
223
|
height: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
|
|
224
224
|
min-width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
|
|
225
225
|
margin-right: ${t.sp2};
|
|
226
|
-
`,
|
|
226
|
+
`,Hr=o.div`
|
|
227
227
|
min-width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
|
|
228
228
|
width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
|
|
229
229
|
height: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
|
|
230
230
|
margin-right: ${t.sp2};
|
|
231
|
-
`,
|
|
231
|
+
`,eo=o(er)`
|
|
232
232
|
min-width: inherit;
|
|
233
233
|
width: inherit;
|
|
234
234
|
height: inherit;
|
|
@@ -238,18 +238,18 @@ import{q as ye,aC as Tt,j as r,aM as D,hw as Pt,F as $e,aN as q,a as qe,m as it,
|
|
|
238
238
|
width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
|
|
239
239
|
height: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
|
|
240
240
|
margin-right: ${t.sp2};
|
|
241
|
-
`,Je=o(
|
|
241
|
+
`,Je=o(Ht)`
|
|
242
242
|
min-width: inherit;
|
|
243
243
|
width: inherit;
|
|
244
244
|
height: inherit;
|
|
245
245
|
margin-right: ${t.sp2};
|
|
246
|
-
`,
|
|
246
|
+
`,to=o.div`
|
|
247
247
|
width: ${e=>e.isForReview?t.sp6:t.sp4};
|
|
248
248
|
height: ${e=>e.isForReview?t.sp6:t.sp4};
|
|
249
249
|
margin-right: 12px;
|
|
250
250
|
margin-left: ${t.sp1};
|
|
251
251
|
color: ${e=>e.theme.colors.hero};
|
|
252
|
-
`,
|
|
252
|
+
`,ro=o(ct)`
|
|
253
253
|
color: ${e=>e.theme.colors.primary};
|
|
254
254
|
margin: ${t.sp2} ${t.sp0} ${t.sp3} ${t.sp0};
|
|
255
255
|
${e=>e.windowSize==="small"&&`
|
|
@@ -259,18 +259,18 @@ import{q as ye,aC as Tt,j as r,aM as D,hw as Pt,F as $e,aN as q,a as qe,m as it,
|
|
|
259
259
|
`,Ke=o(Y)`
|
|
260
260
|
color: ${e=>e.theme.colors.hero};
|
|
261
261
|
margin-top: ${t.sp3};
|
|
262
|
-
`,
|
|
262
|
+
`,oo=o(I)`
|
|
263
263
|
color: ${e=>e.theme.colors.hero};
|
|
264
|
-
`,
|
|
264
|
+
`,io=o(Zt)`
|
|
265
265
|
width: ${t.sp4};
|
|
266
266
|
height: ${t.sp4};
|
|
267
267
|
color: ${e=>e.theme.colors.hero};
|
|
268
|
-
`,
|
|
268
|
+
`,ao=o(Kt)`
|
|
269
269
|
width: ${t.sp4};
|
|
270
270
|
height: ${t.sp4};
|
|
271
271
|
color: ${e=>e.theme.colors.hero};
|
|
272
272
|
align-self: center;
|
|
273
|
-
`,
|
|
273
|
+
`,no=o(Ut)`
|
|
274
274
|
width: ${t.sp4};
|
|
275
275
|
height: ${t.sp4};
|
|
276
276
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -282,7 +282,7 @@ import{q as ye,aC as Tt,j as r,aM as D,hw as Pt,F as $e,aN as q,a as qe,m as it,
|
|
|
282
282
|
position: absolute;
|
|
283
283
|
right: 50%;
|
|
284
284
|
bottom: -25px;
|
|
285
|
-
`,{common:ze,spendManagement:{treasury:B,zeniAccounts:{zeniAccountList:no},billPay:{insufficientFunds:De}}}=$e.getLocalizedStrings(),pt="amount",so="transferTo",lo="transferFrom",N="transferDetails",ht="transferDetailPage",Le=(e,a)=>`${e}.${a}`,mt=e=>`${e}_form`,x={largeLabelWidth:new w(120,120,160),labeleMarginLeft:new w(d[0],d[0]),labelMarginRight:new w(d[3],d[3]),labeleMarginBottom:new w(d[2],d[0]),labeledFieldPaddingLeft:new w(d[3],d[0]),labeledFieldPaddingRight:new w(d[3],d[2]),labeledFieldPaddingTop:new w(d[3],d[3]),labeledFieldPaddingBottom:new w(d[3],d[2]),infoLabelPaddingRight:new w(d[0],d[3]),infoLabelMarginTop:new w(d[1],d[0]),portfolioContainerPadding:new w(d[3],d[4]),rowContentSelectPaddingLeft:new w(d[3],d[4]),formFieldPaddingRight:new w(0,d[2])},we={yieldEarned:new O("smallMedium","standardMedium"),calculatorFooterText:new O("extraSmallRegular","smallRegular"),integerStyles:new O("h5Regular","h2Regular"),decimalStyles:new O("extraLargeMedium","h5Medium")};function co({transferDetails:e,fundDetails:a,portfolioAllocation:u,isFirstTransfer:i,maxInsuredAmount:l,plaidConnectionDetails:c,isOnSetup:h,onSaveChangesToLocalStore:p,onReviewClick:A,onEstablishConnectionClick:f,onFetchLinkTokenClick:$}){const s=ye(),S=x.largeLabelWidth.value(s),[P,m]=y.useState(!1),[C,G]=y.useState(!1),[b,X]=y.useState(e.treasuryTransferMoneyLocalData.amount?.amount??0),E=a.reduce((n,g)=>{const T=g.yield;return Math.max(n,T)},0),[be,ee]=y.useState(ge(b,E)),v=c.link_account_no_microdeposit,[M,ve]=y.useState(v.linkToken??null),[te,re]=y.useState(!1),[oe,Ie]=y.useState(!1),Se=e.transferMoneyPartiesFetchState,Ee=Z(Se),je=e.treasuryTransferMoneyLocalData.fromAccount?.id,Ae=e.treasuryTransferMoneyLocalData.toAccount?.id,_e=Z(je),Ne=Z(Ae),ke=e.transferMoneyParties.map(n=>n.id),Te=Z(ke),ft=y.useCallback(n=>{f?.(n),Ie(!1),re(!1)},[f]),gt=y.useCallback((n,g)=>{n!=null&&console.log("Plaid Connection Error",n,g)},[]),{open:ie,ready:J}=Rt({token:M,onSuccess:ft,onExit:gt}),K=y.useCallback(n=>{n.preventDefault(),n.stopPropagation(),J?ie():re(!0)},[ie,J]),_=Bt({mode:"all",reValidateMode:"onChange",defaultValues:y.useMemo(()=>Ue(e,i,h??!1,K),[e,i])}),{isValid:wt}=_.formState,{setError:xt,clearErrors:yt}=_;y.useEffect(()=>{v.fetchStatus.fetchState==="Completed"&&v.linkToken!=null&&v.linkToken!==M&&ve(v.linkToken)},[v.fetchStatus.fetchState,v.linkToken,M]),y.useEffect(()=>{v.linkToken===M&&v.fetchStatus.fetchState==="Completed"&&J&&Ie(!0)},[J,M,v.fetchStatus,v.linkToken,v.fetchStatus.fetchState]),y.useEffect(()=>{oe&&te&&ie()},[oe,ie,te]),y.useEffect(()=>{(L.zeniDate(new Date().toISOString()).isAfter(v.expiration)||v.linkToken==null)&&$?.("link_account_no_microdeposit")},[]),y.useEffect(()=>{const n=Te!=null&&JSON.stringify(Te)!==JSON.stringify(ke);(Ee==="In-Progress"&&Se==="Completed"||_e!==je||Ne!==Ae||n)&&_.reset(Ue(e,i,h??!1,K))},[J,M,v.fetchStatus.fetchState,Ee,Se,_e,Ne,Ae,je,Te,ke,_,e,i,h,K]);const $t=()=>e.transferMoneyParties.find(n=>n.id!==e.treasuryAccount.id&&n.accType==="depositAccount"),bt=()=>{const n=e.primaryPaymentAccount?.paymentAccountId;return e.transferMoneyParties.find(g=>g.id===n)},vt=async(n,g)=>{if(n!=null){const T={...g},ae=T[N].transferFrom.selectedOption,ne=T[N].transferTo.selectedOption;let se=e.transferMoneyParties.find(Pe=>Pe.id===ae),le=e.transferMoneyParties.find(Pe=>Pe.id===ne);ae===e.treasuryAccount.id&&(se=e.treasuryAccount),ne===e.treasuryAccount.id&&(le=e.treasuryAccount);const We={amount:T[N].amount??0,currencyCode:"USD",currencySymbol:"$"};n.includes("transferFrom")?ae===e.treasuryAccount.id?ne===e.treasuryAccount.id&&(le=$t()):le=e.treasuryAccount:n.includes("transferTo")&&(ne===e.treasuryAccount.id?ae===e.treasuryAccount.id&&(se=bt()):se=e.treasuryAccount);const kt={amount:We,fromAccount:se,toAccount:le};X(We.amount),p(kt)}};y.useEffect(()=>{const n=_.watch((g,{name:T})=>{T!=null&&g!=null&&Ot(()=>vt(T,g))});return()=>{n.unsubscribe()}}),y.useEffect(()=>{ee(ge(b,E))},[b,E]);const St=()=>{if(U?.id==null||U.id===""||!z.amount)return!1;if(U.id===e.treasuryAccount.id){const n=e.treasuryAccount.balance;if(n&&L.checkIfLowBalance(z,n))return!0}else{const n=e.transferMoneyParties.find(g=>g.id===U.id);if(n?.accountBalance?.available&&L.checkIfLowBalance(z,n.accountBalance.available))return!0}return!1},jt=_.handleSubmit(()=>{if(St()){xt("transferDetails.transferFrom",{type:"lowBalance",message:De.addMoney});return}yt("transferDetails.transferFrom"),wt&&A()}),{fromAccount:U,toAccount:Ve,amount:z}=e.treasuryTransferMoneyLocalData,At=n=>{if(!n||!z.amount)return"";const g=e.transferMoneyParties.find(T=>T.id===n);if(n===e.treasuryAccount.id){const T=e.treasuryAccount.balance;if(T&&L.checkIfLowBalance(z,T))return De.addMoney}else if(g?.accountBalance?.available&&L.checkIfLowBalance(z,g.accountBalance.available))return De.addMoney;return""};return r.jsxs(r.Fragment,{children:[P?r.jsx(po,{children:r.jsxs(mo,{children:[r.jsxs(fo,{children:[r.jsx(wo,{}),r.jsxs(xo,{children:[r.jsx(yo,{children:e.error?.title}),r.jsx($o,{children:e.error?.message})]})]}),r.jsx(go,{children:r.jsx(jo,{"data-testid":D("amount-details-error-close"),onClick:()=>{m(!1)},style:{width:t.sp3,height:t.sp3,color:j.heroLight}})})]})}):null,r.jsx(bo,{windowSize:s,children:r.jsx(nt,{amount:z,integerStyles:we.integerStyles.styleObject(s),decimalStyles:we.decimalStyles.styleObject(s),alwaysShowDecimal:!0})}),r.jsx(It,{..._,children:r.jsxs(ho,{id:mt(ht),onSubmit:jt,children:[r.jsxs(vo,{children:[r.jsx(Be,{size:s,children:r.jsx(Ze,{label:{label:ze.labels.transferFrom,width:S,style:{marginLeft:x.labeleMarginLeft.valuePx(s),marginBottom:x.labeleMarginBottom.valuePx(s),marginRight:x.labelMarginRight.valuePx(s)}},style:{paddingTop:x.labeledFieldPaddingTop.valuePx(s),paddingBottom:x.labeledFieldPaddingBottom.valuePx(s),paddingLeft:x.labeledFieldPaddingLeft.valuePx(s),paddingRight:x.labeledFieldPaddingRight.valuePx(s),border:"none",width:"100%",outline:"none",padding:0,display:s==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:x.infoLabelPaddingRight.valuePx(s),marginTop:x.infoLabelMarginTop.valuePx(s),color:j.brandColorGoldDark},singleSelectPickerField:{name:Le(N,lo),style:{position:"relative"},capitalizeOptions:!0,placeholder:B.transferDrawer.selectAccount,valueToLogo:(n,g)=>V(e.transferMoneyParties,n,g,n===e.treasuryAccount.id,!1),valueToSubLabels:(n,g)=>W(e.transferMoneyParties,e.treasuryAccount,n,g,!0,!1,z),defaultValue:{selectedOption:U?.id,allOptions:xe(e,!0,i,!0,K,!0)},textAlignment:"right",registerOptions:{required:!0,validate:n=>n!=null&&!!n.selectedOption}},valueToAdditionalLabel:At})}),!i&&r.jsxs(r.Fragment,{children:[r.jsx(Fe,{}),r.jsx(Be,{size:s,children:r.jsx(Ze,{label:{label:ze.labels.transferTo,width:S,style:{marginLeft:x.labeleMarginLeft.valuePx(s),marginBottom:x.labeleMarginBottom.valuePx(s),marginRight:x.labelMarginRight.valuePx(s)}},style:{paddingTop:x.labeledFieldPaddingTop.valuePx(s),paddingBottom:x.labeledFieldPaddingBottom.valuePx(s),paddingLeft:x.labeledFieldPaddingLeft.valuePx(s),paddingRight:x.labeledFieldPaddingRight.valuePx(s),border:"none",width:"100%",outline:"none",padding:0,display:s==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:x.infoLabelPaddingRight.valuePx(s),marginTop:x.infoLabelMarginTop.valuePx(s),color:j.brandColorGoldDark},singleSelectPickerField:{name:Le(N,so),style:{position:"relative"},capitalizeOptions:!0,placeholder:B.transferDrawer.selectAccount,valueToLogo:(n,g)=>V(e.transferMoneyParties,n,g,n===e.treasuryAccount.id,!1),valueToSubLabels:(n,g)=>W(e.transferMoneyParties,e.treasuryAccount,n,g,!1,!1),defaultValue:{selectedOption:Ve?.id,allOptions:xe(e,!1,i,!0,K,!1)},textAlignment:"right",registerOptions:{required:!0,validate:n=>n!=null&&!!n.selectedOption}}})})]}),r.jsx(Fe,{}),r.jsx(Et,{showAdditionalInfoLabel:!1,label:{label:ze.labels.amount,width:S},style:{padding:t.sp2,paddingLeft:t.sp0,paddingRight:x.formFieldPaddingRight.valuePx(s),width:"auto"},formattedTextField:{type:"number",name:Le(N,pt),defaultValue:z.amount===0?void 0:z.amount,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:n=>!!n&&n>0},placeholder:B.transferDrawer.amountPlaceholder,autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1}}),i&&r.jsxs(r.Fragment,{children:[r.jsx(Fe,{}),r.jsx(So,{size:s,children:r.jsx(ut,{isInReview:!0,fundDetails:a,allocation:u,isSetup:!1,amount:z,page:"fund transfer"})})]})]}),!i&&Ve?.accType==="treasuryAccount"&&r.jsxs(Ao,{children:[C?r.jsxs(ko,{children:[r.jsx(To,{windowSize:s,children:B.transferDrawer.calculator.heading.replace("__amount__",q("0,0.[00]a",{amount:l,currencySymbol:"$"})).replace("__rate__",E.toString())}),r.jsx(or,{interestRate:E,transferAmount:b,setYieldEarned:ee,setTransferAmount:X})]}):null,r.jsxs(Co,{windowSize:s,children:[r.jsxs(Lo,{windowSize:s,children:[r.jsx(zo,{children:r.jsx(Po,{windowSize:s,children:`${B.transferDrawer.calculator.footerText.annualYieldEarned} ${q("0,0",{amount:be,currencySymbol:"$"})}`})}),r.jsx(Do,{windowSize:s}),r.jsx(Fo,{children:`${B.transferDrawer.calculator.footerText.forTotalDeposit} ${q("0,0",{amount:b,currencySymbol:"$"})}`})]}),C?r.jsxs(He,{windowSize:s,onClick:()=>G(!1),"data-testid":D("calculator-footer-close"),children:[r.jsx(Qe,{className:"calculatorFooterLeftText",windowSize:s,children:B.transferDrawer.calculator.footerText.hide}),r.jsx(Mo,{className:"calculatorFooterArrowIcon"})]}):r.jsxs(He,{windowSize:s,onClick:()=>G(!0),"data-testid":D("calculator-footer-show"),children:[r.jsx(Qe,{className:"calculatorFooterLeftText",windowSize:s,children:B.transferDrawer.calculator.footerText.showYieldCalculator}),r.jsx(Ro,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]})}const xe=(e,a,u,i=!0,l,c=!1,h,p)=>{const A=e.treasuryTransferMoneyLocalData.fromAccount?.id,f=e.treasuryTransferMoneyLocalData.toAccount?.id,$=e.transferMoneyParties.find(m=>m.id===A)||e.treasuryAccount,s=e.transferMoneyParties.find(m=>m.id===f)||e.treasuryAccount;let S=e.transferMoneyParties;a||(S=S.filter(m=>m.accType!=="paymentAccount"));const P=S.map(m=>{const C={label:m.label,value:m.id};return i&&(a?C.isDisabled=m.id===f||m.accType==="paymentAccount"&&s?.accType==="paymentAccount":C.isDisabled=m.id===A||m.accType==="paymentAccount"&&$?.accType==="paymentAccount"),C});if(!u){const m={label:"Treasury",value:e.treasuryAccount.id,isDisabled:!1};i&&(a?m.isDisabled=!1:m.isDisabled=e.treasuryAccount.id===A),a?P.push(m):P.unshift(m)}if(c&&l){const m={label:no.transferDrawer.selectAddAccount,value:"",type:"button",onClick:l};P.push(m)}return P},uo=e=>{let a=-1,u;return e.transferMoneyParties.forEach(i=>{const l=i.accountBalance?.available?.amount??0;l>a&&(a=l,u=i.id)}),u},Ue=(e,a,u,i)=>{const{fromAccount:l,toAccount:c,amount:h}=e.treasuryTransferMoneyLocalData,p=()=>u?uo(e):l!=null?l.id:e.primaryPaymentAccount?.paymentAccountId;return{transferDetails:{[pt]:h.amount===0?void 0:h.amount,transferFrom:{allOptions:xe(e,!0,a,!0,i,!0),selectedOption:p()},transferTo:{allOptions:xe(e,!1,a,!0,i,!1),selectedOption:c?.id}}}},po=o.div`
|
|
285
|
+
`,{common:ze,spendManagement:{treasury:B,zeniAccounts:{zeniAccountList:so},billPay:{insufficientFunds:De}}}=$e.getLocalizedStrings(),ht="amount",lo="transferTo",co="transferFrom",N="transferDetails",mt="transferDetailPage",Le=(e,a)=>`${e}.${a}`,ft=e=>`${e}_form`,x={largeLabelWidth:new w(120,120,160),labeleMarginLeft:new w(d[0],d[0]),labelMarginRight:new w(d[3],d[3]),labeleMarginBottom:new w(d[2],d[0]),labeledFieldPaddingLeft:new w(d[3],d[0]),labeledFieldPaddingRight:new w(d[3],d[2]),labeledFieldPaddingTop:new w(d[3],d[3]),labeledFieldPaddingBottom:new w(d[3],d[2]),infoLabelPaddingRight:new w(d[0],d[3]),infoLabelMarginTop:new w(d[1],d[0]),portfolioContainerPadding:new w(d[3],d[4]),rowContentSelectPaddingLeft:new w(d[3],d[4]),formFieldPaddingRight:new w(0,d[2])},we={yieldEarned:new O("smallMedium","standardMedium"),calculatorFooterText:new O("extraSmallRegular","smallRegular"),integerStyles:new O("h5Regular","h2Regular"),decimalStyles:new O("extraLargeMedium","h5Medium")};function uo({transferDetails:e,fundDetails:a,portfolioAllocation:u,isFirstTransfer:i,maxInsuredAmount:l,plaidConnectionDetails:c,isOnSetup:h,onSaveChangesToLocalStore:p,onReviewClick:k,onEstablishConnectionClick:f,onFetchLinkTokenClick:$}){const s=ye(),S=x.largeLabelWidth.value(s),[P,m]=y.useState(!1),[C,G]=y.useState(!1),[b,X]=y.useState(e.treasuryTransferMoneyLocalData.amount?.amount??0),E=a.reduce((n,g)=>{const T=g.yield;return Math.max(n,T)},0),[be,ee]=y.useState(ge(b,E)),v=c.link_account_no_microdeposit,[M,ve]=y.useState(v.linkToken??null),[te,re]=y.useState(!1),[oe,Ie]=y.useState(!1),Se=e.transferMoneyPartiesFetchState,Ee=Z(Se),je=e.treasuryTransferMoneyLocalData.fromAccount?.id,ke=e.treasuryTransferMoneyLocalData.toAccount?.id,_e=Z(je),Ne=Z(ke),Ae=e.transferMoneyParties.map(n=>n.id),Te=Z(Ae),gt=y.useCallback(n=>{f?.(n),Ie(!1),re(!1)},[f]),wt=y.useCallback((n,g)=>{n!=null&&console.log("Plaid Connection Error",n,g)},[]),{open:ie,ready:J}=Bt({token:M,onSuccess:gt,onExit:wt}),K=y.useCallback(n=>{n.preventDefault(),n.stopPropagation(),J?ie():re(!0)},[ie,J]),_=Ot({mode:"all",reValidateMode:"onChange",defaultValues:y.useMemo(()=>Ze(e,i,h??!1,K),[e,i])}),{isValid:xt}=_.formState,{setError:yt,clearErrors:$t}=_;y.useEffect(()=>{v.fetchStatus.fetchState==="Completed"&&v.linkToken!=null&&v.linkToken!==M&&ve(v.linkToken)},[v.fetchStatus.fetchState,v.linkToken,M]),y.useEffect(()=>{v.linkToken===M&&v.fetchStatus.fetchState==="Completed"&&J&&Ie(!0)},[J,M,v.fetchStatus,v.linkToken,v.fetchStatus.fetchState]),y.useEffect(()=>{oe&&te&&ie()},[oe,ie,te]),y.useEffect(()=>{(L.zeniDate(new Date().toISOString()).isAfter(v.expiration)||v.linkToken==null)&&$?.("link_account_no_microdeposit")},[]),y.useEffect(()=>{const n=Te!=null&&JSON.stringify(Te)!==JSON.stringify(Ae);(Ee==="In-Progress"&&Se==="Completed"||_e!==je||Ne!==ke||n)&&_.reset(Ze(e,i,h??!1,K))},[J,M,v.fetchStatus.fetchState,Ee,Se,_e,Ne,ke,je,Te,Ae,_,e,i,h,K]);const bt=()=>e.transferMoneyParties.find(n=>n.id!==e.treasuryAccount.id&&n.accType==="depositAccount"),vt=()=>{const n=e.primaryPaymentAccount?.paymentAccountId;return e.transferMoneyParties.find(g=>g.id===n)},St=async(n,g)=>{if(n!=null){const T={...g},ae=T[N].transferFrom.selectedOption,ne=T[N].transferTo.selectedOption;let se=e.transferMoneyParties.find(Pe=>Pe.id===ae),le=e.transferMoneyParties.find(Pe=>Pe.id===ne);ae===e.treasuryAccount.id&&(se=e.treasuryAccount),ne===e.treasuryAccount.id&&(le=e.treasuryAccount);const We={amount:T[N].amount??0,currencyCode:"USD",currencySymbol:"$"};n.includes("transferFrom")?ae===e.treasuryAccount.id?ne===e.treasuryAccount.id&&(le=bt()):le=e.treasuryAccount:n.includes("transferTo")&&(ne===e.treasuryAccount.id?ae===e.treasuryAccount.id&&(se=vt()):se=e.treasuryAccount);const Tt={amount:We,fromAccount:se,toAccount:le};X(We.amount),p(Tt)}};y.useEffect(()=>{const n=_.watch((g,{name:T})=>{T!=null&&g!=null&&It(()=>St(T,g))});return()=>{n.unsubscribe()}}),y.useEffect(()=>{ee(ge(b,E))},[b,E]);const jt=()=>{if(U?.id==null||U.id===""||!z.amount)return!1;if(U.id===e.treasuryAccount.id){const n=e.treasuryAccount.balance;if(n&&L.checkIfLowBalance(z,n))return!0}else{const n=e.transferMoneyParties.find(g=>g.id===U.id);if(n?.accountBalance?.available&&L.checkIfLowBalance(z,n.accountBalance.available))return!0}return!1},kt=_.handleSubmit(()=>{if(jt()){yt("transferDetails.transferFrom",{type:"lowBalance",message:De.addMoney});return}$t("transferDetails.transferFrom"),xt&&k()}),{fromAccount:U,toAccount:Ve,amount:z}=e.treasuryTransferMoneyLocalData,At=n=>{if(!n||!z.amount)return"";const g=e.transferMoneyParties.find(T=>T.id===n);if(n===e.treasuryAccount.id){const T=e.treasuryAccount.balance;if(T&&L.checkIfLowBalance(z,T))return De.addMoney}else if(g?.accountBalance?.available&&L.checkIfLowBalance(z,g.accountBalance.available))return De.addMoney;return""};return r.jsxs(r.Fragment,{children:[P?r.jsx(po,{children:r.jsxs(mo,{children:[r.jsxs(fo,{children:[r.jsx(wo,{}),r.jsxs(xo,{children:[r.jsx(yo,{children:e.error?.title}),r.jsx($o,{children:e.error?.message})]})]}),r.jsx(go,{children:r.jsx(jo,{"data-testid":D("amount-details-error-close"),onClick:()=>{m(!1)},style:{width:t.sp3,height:t.sp3,color:j.heroLight}})})]})}):null,r.jsx(bo,{windowSize:s,children:r.jsx(st,{amount:z,integerStyles:we.integerStyles.styleObject(s),decimalStyles:we.decimalStyles.styleObject(s),alwaysShowDecimal:!0})}),r.jsx(Et,{..._,children:r.jsxs(ho,{id:ft(mt),onSubmit:kt,children:[r.jsxs(vo,{children:[r.jsx(Be,{size:s,children:r.jsx(Qe,{label:{label:ze.labels.transferFrom,width:S,style:{marginLeft:x.labeleMarginLeft.valuePx(s),marginBottom:x.labeleMarginBottom.valuePx(s),marginRight:x.labelMarginRight.valuePx(s)}},style:{paddingTop:x.labeledFieldPaddingTop.valuePx(s),paddingBottom:x.labeledFieldPaddingBottom.valuePx(s),paddingLeft:x.labeledFieldPaddingLeft.valuePx(s),paddingRight:x.labeledFieldPaddingRight.valuePx(s),border:"none",width:"100%",outline:"none",padding:0,display:s==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:x.infoLabelPaddingRight.valuePx(s),marginTop:x.infoLabelMarginTop.valuePx(s),color:j.brandColorGoldDark},singleSelectPickerField:{name:Le(N,co),style:{position:"relative"},capitalizeOptions:!0,placeholder:B.transferDrawer.selectAccount,valueToLogo:(n,g)=>V(e.transferMoneyParties,n,g,n===e.treasuryAccount.id,!1),valueToSubLabels:(n,g)=>W(e.transferMoneyParties,e.treasuryAccount,n,g,!0,!1,z),defaultValue:{selectedOption:U?.id,allOptions:xe(e,!0,i,!0,K,!1)},textAlignment:"right",registerOptions:{required:!0,validate:n=>n!=null&&!!n.selectedOption}},valueToAdditionalLabel:At})}),!i&&r.jsxs(r.Fragment,{children:[r.jsx(Fe,{}),r.jsx(Be,{size:s,children:r.jsx(Qe,{label:{label:ze.labels.transferTo,width:S,style:{marginLeft:x.labeleMarginLeft.valuePx(s),marginBottom:x.labeleMarginBottom.valuePx(s),marginRight:x.labelMarginRight.valuePx(s)}},style:{paddingTop:x.labeledFieldPaddingTop.valuePx(s),paddingBottom:x.labeledFieldPaddingBottom.valuePx(s),paddingLeft:x.labeledFieldPaddingLeft.valuePx(s),paddingRight:x.labeledFieldPaddingRight.valuePx(s),border:"none",width:"100%",outline:"none",padding:0,display:s==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:x.infoLabelPaddingRight.valuePx(s),marginTop:x.infoLabelMarginTop.valuePx(s),color:j.brandColorGoldDark},singleSelectPickerField:{name:Le(N,lo),style:{position:"relative"},capitalizeOptions:!0,placeholder:B.transferDrawer.selectAccount,valueToLogo:(n,g)=>V(e.transferMoneyParties,n,g,n===e.treasuryAccount.id,!1),valueToSubLabels:(n,g)=>W(e.transferMoneyParties,e.treasuryAccount,n,g,!1,!1),defaultValue:{selectedOption:Ve?.id,allOptions:xe(e,!1,i,!0,K,!1)},textAlignment:"right",registerOptions:{required:!0,validate:n=>n!=null&&!!n.selectedOption}}})})]}),r.jsx(Fe,{}),r.jsx(_t,{showAdditionalInfoLabel:!1,label:{label:ze.labels.amount,width:S},style:{padding:t.sp2,paddingLeft:t.sp0,paddingRight:x.formFieldPaddingRight.valuePx(s),width:"auto"},formattedTextField:{type:"number",name:Le(N,ht),defaultValue:z.amount===0?void 0:z.amount,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:n=>!!n&&n>0},placeholder:B.transferDrawer.amountPlaceholder,autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1}}),i&&r.jsxs(r.Fragment,{children:[r.jsx(Fe,{}),r.jsx(So,{size:s,children:r.jsx(pt,{isInReview:!0,fundDetails:a,allocation:u,isSetup:!1,amount:z,page:"fund transfer"})})]})]}),!i&&Ve?.accType==="treasuryAccount"&&r.jsxs(ko,{children:[C?r.jsxs(Ao,{children:[r.jsx(To,{windowSize:s,children:B.transferDrawer.calculator.heading.replace("__amount__",q("0,0.[00]a",{amount:l,currencySymbol:"$"})).replace("__rate__",E.toString())}),r.jsx(ir,{interestRate:E,transferAmount:b,setYieldEarned:ee,setTransferAmount:X})]}):null,r.jsxs(Co,{windowSize:s,children:[r.jsxs(Lo,{windowSize:s,children:[r.jsx(zo,{children:r.jsx(Po,{windowSize:s,children:`${B.transferDrawer.calculator.footerText.annualYieldEarned} ${q("0,0",{amount:be,currencySymbol:"$"})}`})}),r.jsx(Do,{windowSize:s}),r.jsx(Fo,{children:`${B.transferDrawer.calculator.footerText.forTotalDeposit} ${q("0,0",{amount:b,currencySymbol:"$"})}`})]}),C?r.jsxs(et,{windowSize:s,onClick:()=>G(!1),"data-testid":D("calculator-footer-close"),children:[r.jsx(He,{className:"calculatorFooterLeftText",windowSize:s,children:B.transferDrawer.calculator.footerText.hide}),r.jsx(Mo,{className:"calculatorFooterArrowIcon"})]}):r.jsxs(et,{windowSize:s,onClick:()=>G(!0),"data-testid":D("calculator-footer-show"),children:[r.jsx(He,{className:"calculatorFooterLeftText",windowSize:s,children:B.transferDrawer.calculator.footerText.showYieldCalculator}),r.jsx(Ro,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]})}const xe=(e,a,u,i=!0,l,c=!1,h,p)=>{const k=e.treasuryTransferMoneyLocalData.fromAccount?.id,f=e.treasuryTransferMoneyLocalData.toAccount?.id,$=e.transferMoneyParties.find(m=>m.id===k)||e.treasuryAccount,s=e.transferMoneyParties.find(m=>m.id===f)||e.treasuryAccount;let S=e.transferMoneyParties;a||(S=S.filter(m=>m.accType!=="paymentAccount"));const P=S.map(m=>{const C={label:m.label,value:m.id};return i&&(a?C.isDisabled=m.id===f||m.accType==="paymentAccount"&&s?.accType==="paymentAccount":C.isDisabled=m.id===k||m.accType==="paymentAccount"&&$?.accType==="paymentAccount"),C});if(!u){const m={label:"Treasury",value:e.treasuryAccount.id,isDisabled:!1};i&&(a?m.isDisabled=!1:m.isDisabled=e.treasuryAccount.id===k),a?P.push(m):P.unshift(m)}if(c&&l){const m={label:so.transferDrawer.selectAddAccount,value:"",type:"button",onClick:l};P.push(m)}return P},Ue=e=>{let a=-1,u;return e.transferMoneyParties.forEach(i=>{const l=i.accountBalance?.available?.amount??0;l>a&&(a=l,u=i.id)}),u},Ze=(e,a,u,i)=>{const{fromAccount:l,toAccount:c,amount:h}=e.treasuryTransferMoneyLocalData,p=()=>u?Ue(e):l!=null?l.id:Ue(e);return{transferDetails:{[ht]:h.amount===0?void 0:h.amount,transferFrom:{allOptions:xe(e,!0,a,!0,i,!1),selectedOption:p()},transferTo:{allOptions:xe(e,!1,a,!0,i,!1),selectedOption:c?.id}}}},po=o.div`
|
|
286
286
|
margin-top: ${t.sp3};
|
|
287
287
|
display: flex;
|
|
288
288
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -306,7 +306,7 @@ import{q as ye,aC as Tt,j as r,aM as D,hw as Pt,F as $e,aN as q,a as qe,m as it,
|
|
|
306
306
|
`,fo=o.div`
|
|
307
307
|
display: flex;
|
|
308
308
|
align-items: flex-start;
|
|
309
|
-
`,go=o.div``,wo=o(
|
|
309
|
+
`,go=o.div``,wo=o(dt)`
|
|
310
310
|
width: ${t.sp4};
|
|
311
311
|
height: ${t.sp4};
|
|
312
312
|
color: ${j.important};
|
|
@@ -314,18 +314,18 @@ import{q as ye,aC as Tt,j as r,aM as D,hw as Pt,F as $e,aN as q,a as qe,m as it,
|
|
|
314
314
|
display: flex;
|
|
315
315
|
flex-direction: column;
|
|
316
316
|
margin-left: ${t.sp2};
|
|
317
|
-
`,yo=o(
|
|
317
|
+
`,yo=o(ut)`
|
|
318
318
|
color: ${j.important};
|
|
319
319
|
`,$o=o(Y)`
|
|
320
320
|
color: ${j.important};
|
|
321
|
-
`,bo=o(
|
|
321
|
+
`,bo=o(ct)`
|
|
322
322
|
color: ${e=>e.theme.colors.primary};
|
|
323
323
|
margin: ${t.sp5} ${t.sp0} ${t.sp3} ${t.sp0};
|
|
324
324
|
${e=>e.windowSize==="small"&&`
|
|
325
325
|
margin-top: ${t.sp1};
|
|
326
326
|
margin-bottom: ${t.sp1};
|
|
327
327
|
`}
|
|
328
|
-
`,
|
|
328
|
+
`,Qe=o(Nt)`
|
|
329
329
|
border-radius: ${t.sp2};
|
|
330
330
|
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
331
331
|
`,vo=o.div`
|
|
@@ -384,10 +384,10 @@ import{q as ye,aC as Tt,j as r,aM as D,hw as Pt,F as $e,aN as q,a as qe,m as it,
|
|
|
384
384
|
&:hover {
|
|
385
385
|
color: ${e=>e.theme.colors.primary};
|
|
386
386
|
}
|
|
387
|
-
`,
|
|
387
|
+
`,ko=o.div`
|
|
388
388
|
margin-bottom: ${t.sp6};
|
|
389
389
|
width: 90%;
|
|
390
|
-
`,
|
|
390
|
+
`,Ao=o.div`
|
|
391
391
|
background-color: ${e=>e.theme.colors.background};
|
|
392
392
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
393
393
|
border-top: none;
|
|
@@ -418,11 +418,11 @@ import{q as ye,aC as Tt,j as r,aM as D,hw as Pt,F as $e,aN as q,a as qe,m as it,
|
|
|
418
418
|
display: flex;
|
|
419
419
|
flex-direction: row;
|
|
420
420
|
align-items: center;
|
|
421
|
-
`,
|
|
421
|
+
`,He=o.div`
|
|
422
422
|
${e=>we.calculatorFooterText.style(e.windowSize)}
|
|
423
423
|
color: ${e=>e.theme.colors.hero};
|
|
424
424
|
cursor: pointer;
|
|
425
|
-
`,
|
|
425
|
+
`,et=o.div`
|
|
426
426
|
display: flex;
|
|
427
427
|
flex-direction: row;
|
|
428
428
|
align-items: center;
|
|
@@ -449,23 +449,23 @@ import{q as ye,aC as Tt,j as r,aM as D,hw as Pt,F as $e,aN as q,a as qe,m as it,
|
|
|
449
449
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
450
450
|
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
451
451
|
width: ${e=>e.windowSize==="small"?"100%":"unset"};
|
|
452
|
-
`,Fo=o(
|
|
452
|
+
`,Fo=o(Gt)`
|
|
453
453
|
color: ${e=>e.theme.colors.hero};
|
|
454
|
-
`,Mo=o(
|
|
454
|
+
`,Mo=o(Xt)`
|
|
455
455
|
cursor: pointer;
|
|
456
456
|
width: 12px;
|
|
457
457
|
height: 12px;
|
|
458
458
|
min-width: 12px;
|
|
459
459
|
min-height: 12px;
|
|
460
460
|
color: ${e=>e.theme.colors.hero};
|
|
461
|
-
`,Ro=o(
|
|
461
|
+
`,Ro=o(Jt)`
|
|
462
462
|
cursor: pointer;
|
|
463
463
|
width: 12px;
|
|
464
464
|
height: 12px;
|
|
465
465
|
min-width: 12px;
|
|
466
466
|
min-height: 12px;
|
|
467
467
|
color: ${e=>e.theme.colors.hero};
|
|
468
|
-
`,H={navBarContainerPaddingXaxis:new w(10,19),containerPaddingLeft:new w(d[3],d[6],d[8]),containerPaddingRight:new w(d[3],d[6],d[8]),successContentMargin:new w(d[3],d[12]),buttonTrayGap:new w(d[4],d[5])},Bo={formTitle:new O("h6Regular","h5Regular")},{common:Me,spendManagement:{treasury:
|
|
468
|
+
`,H={navBarContainerPaddingXaxis:new w(10,19),containerPaddingLeft:new w(d[3],d[6],d[8]),containerPaddingRight:new w(d[3],d[6],d[8]),successContentMargin:new w(d[3],d[12]),buttonTrayGap:new w(d[4],d[5])},Bo={formTitle:new O("h6Regular","h5Regular")},{common:Me,spendManagement:{treasury:A}}=$e.getLocalizedStrings(),li=({transferDetails:e,treasurySetupView:a,showReviewContent:u,maxInsuredAmount:i,isFirstTransfer:l,plaidConnectionDetails:c,isOnSetup:h,onSaveChangesToLocalStore:p,onTransferClick:k,onAnotherTransferClick:f,onCancelClick:$,onBackClick:s,setShowReviewContent:S,onReviewClick:P,onEstablishConnectionClick:m,onFetchLinkTokenClick:C,onSkipClick:G})=>{const b=ye(),{fundsData:X,currentAllocation:E,fundAllocationOptions:be,fetchState:ee}=a,v=be.find(oe=>Pt(oe.allocation,E))??{allocation:{},riskLevel:"Conservative",riskScore:0,optionIndex:0},M=()=>ee==="Completed"&&(e.treasuryTransferMoneyLocalData.fromAccount!=null||e.treasuryTransferMoneyLocalData.toAccount!=null||e.treasuryTransferMoneyLocalData.amount.amount>0),{fromAccount:ve,toAccount:te,amount:re}=e.treasuryTransferMoneyLocalData;return r.jsx(Eo,{windowSize:b,children:e.fetchState==="Completed"?r.jsxs(tt,{windowSize:b,isTransferCompleted:!0,children:[r.jsx(rt,{windowSize:b,children:r.jsx(ot,{"data-testid":D("cross-transfer-success-close-button"),onClick:()=>{$()}})}),r.jsxs(Wo,{windowSize:b,children:[r.jsx(Ct,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),r.jsx(_o,{children:r.jsxs(r.Fragment,{children:[A.transferDrawer.success.prefix,r.jsx(No,{children:q("0,0.[00]",re)}),A.transferDrawer.success.midfix,`"${ve?.label}"`,A.transferDrawer.success.midfix2,`"${te?.label}".`]})}),r.jsxs(Vo,{windowSize:b,children:[r.jsx(qe,{variant:"secondary",label:A.transferDrawer.anotherTransfer,"data-testid":D("another-transfer-button","treasury"),onClick:()=>{f?.()},style:{minWidth:200}}),r.jsx(qe,{variant:"primary",label:A.transferDrawer.backToTreasury,"data-testid":D("back-to-treasury-button"),onClick:()=>{$()},style:{minWidth:200}})]})]})]}):u?r.jsx(Sr,{transferDetails:e,setShowReviewContent:S,onTransferClick:k,fundDetails:X,portfolioAllocation:v,isOnSetup:h,onCancelClick:$}):r.jsxs(r.Fragment,{children:[r.jsxs(tt,{windowSize:b,isTransferCompleted:!1,children:[r.jsx(rt,{windowSize:b,children:r.jsx(ot,{"data-testid":D("cross-amount-details-close-button"),onClick:()=>{$()}})}),b==="small"?r.jsx(qo,{windowSize:b,children:h===!0?A.transferDrawer.stepTitle:l?A.transferDrawer.title:A.transferDrawer.transferBetweenAccounts}):r.jsx(Yo,{windowSize:b,children:h===!0?A.transferDrawer.stepTitle:l?A.transferDrawer.title:A.transferDrawer.transferBetweenAccounts}),h===!0&&r.jsx(Go,{windowSize:b,children:r.jsx(Xo,{children:r.jsxs(Jo,{children:[r.jsx(it,{}),r.jsx(it,{}),r.jsx(Ko,{})]})})}),b==="small"?r.jsx(Io,{children:A.transferDrawer.subTitle}):r.jsx(Oo,{children:A.transferDrawer.subTitle}),e.transferMoneyPartiesFetchState==="Completed"?r.jsx(uo,{onSaveChangesToLocalStore:p,transferDetails:e,onReviewClick:P,fundDetails:X,portfolioAllocation:v,isOnSetup:h,isFirstTransfer:l,maxInsuredAmount:i,plaidConnectionDetails:c,onEstablishConnectionClick:m,onFetchLinkTokenClick:C}):r.jsx(at,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})]}),M()?r.jsx(nt,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp3},formId:ft(mt),helperStyle:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:h===!0&&G?r.jsx(Uo,{onClick:G,"data-testid":D("skip-transfer-link"),children:A.transferDrawer.skip}):null,primaryBtn:{label:Me.review},cancelBtn:{label:h===!0?Me.footer.back:Me.cancel,onClick:()=>{h===!0?s():$()}}}):null]})})},Oo=o(Y)`
|
|
469
469
|
color: ${e=>e.theme.colors.hero};
|
|
470
470
|
`,Io=o(I)`
|
|
471
471
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -476,12 +476,12 @@ import{q as ye,aC as Tt,j as r,aM as D,hw as Pt,F as $e,aN as q,a as qe,m as it,
|
|
|
476
476
|
overflow-x: hidden;
|
|
477
477
|
height: 100vh;
|
|
478
478
|
width: 100%;
|
|
479
|
-
`,_o=o(
|
|
479
|
+
`,_o=o(zt)`
|
|
480
480
|
color: ${e=>e.theme.colors.primary};
|
|
481
481
|
text-align: center;
|
|
482
|
-
`,No=o(
|
|
482
|
+
`,No=o(Dt)`
|
|
483
483
|
display: inline;
|
|
484
|
-
`,
|
|
484
|
+
`,tt=o.div`
|
|
485
485
|
height: ${e=>e.isTransferCompleted?"100%":"auto"};
|
|
486
486
|
padding-left: ${e=>`${H.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
487
487
|
padding-right: ${e=>`${H.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
@@ -499,7 +499,7 @@ import{q as ye,aC as Tt,j as r,aM as D,hw as Pt,F as $e,aN as q,a as qe,m as it,
|
|
|
499
499
|
justify-content: center;
|
|
500
500
|
margin: ${e=>`${t.sp0} ${H.successContentMargin.valuePx(e.windowSize)}`};
|
|
501
501
|
align-items: center;
|
|
502
|
-
`,
|
|
502
|
+
`,rt=o.div`
|
|
503
503
|
display: flex;
|
|
504
504
|
flex-direction: row-reverse;
|
|
505
505
|
justify-content: space-between;
|
|
@@ -509,7 +509,7 @@ import{q as ye,aC as Tt,j as r,aM as D,hw as Pt,F as $e,aN as q,a as qe,m as it,
|
|
|
509
509
|
padding: ${e=>`${H.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${t.sp0}`};
|
|
510
510
|
z-index: 2;
|
|
511
511
|
background-color: ${e=>e.theme.colors.grey4};
|
|
512
|
-
`,
|
|
512
|
+
`,ot=o(Oe)`
|
|
513
513
|
cursor: pointer;
|
|
514
514
|
color: ${e=>e.theme.colors.hero};
|
|
515
515
|
width: ${t.sp4};
|
|
@@ -518,12 +518,12 @@ import{q as ye,aC as Tt,j as r,aM as D,hw as Pt,F as $e,aN as q,a as qe,m as it,
|
|
|
518
518
|
&:hover {
|
|
519
519
|
color: ${e=>e.theme.colors.primary};
|
|
520
520
|
}
|
|
521
|
-
`,qo=o(
|
|
521
|
+
`,qo=o(Rt)`
|
|
522
522
|
color: ${e=>e.theme.colors.primary};
|
|
523
523
|
margin-top: ${t.sp3};
|
|
524
524
|
margin-bottom: ${t.sp0};
|
|
525
525
|
margin-right: ${t.sp3};
|
|
526
|
-
`,Yo=o(
|
|
526
|
+
`,Yo=o(lt)`
|
|
527
527
|
${e=>`${Bo.formTitle.style(e.windowSize)}`};
|
|
528
528
|
color: ${e=>e.theme.colors.primary};
|
|
529
529
|
margin-top: ${t.sp3};
|
|
@@ -541,7 +541,7 @@ import{q as ye,aC as Tt,j as r,aM as D,hw as Pt,F as $e,aN as q,a as qe,m as it,
|
|
|
541
541
|
display: flex;
|
|
542
542
|
width: 100%;
|
|
543
543
|
gap: ${t.sp3};
|
|
544
|
-
`,
|
|
544
|
+
`,it=o.div`
|
|
545
545
|
width: 33.33%;
|
|
546
546
|
height: 2px;
|
|
547
547
|
background-color: ${e=>e.theme.colors.primary};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{F as Y,j as n,l as u,c as R,aM as w,b3 as Z,bQ as z,bR as A,bh as B,C as $,bg as P,aX as O,bS as q,bi as _,bU as G,o as L,h as K,am as N}from"./index-
|
|
1
|
+
import{F as Y,j as n,l as u,c as R,aM as w,b3 as Z,bQ as z,bR as A,bh as B,C as $,bg as P,aX as O,bS as q,bi as _,bU as G,o as L,h as K,am as N}from"./index-Ci6w3djJ.js";import{b as D,w as Q,n as k}from"./vendor-Bs1fkIUX.js";import{d as V,g as M,p as v,u as W}from"./chartTypes-BkGKZtjd-9mZz2BPE.js";import{o as X}from"./toCOABalancesWithID-jZvgYCO7-K9Aq1Sm_.js";import{V as J}from"./toChartData-XC5K1jEk-BCy0qlOQ.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const U=k.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,H=k.div`
|
|
4
4
|
flex: display;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as D,j as i,m as R,o as t,F,y as c,aM as S,b3 as q,b6 as Y,L as E,u as a,am as K,A as V}from"./index-
|
|
1
|
+
import{q as D,j as i,m as R,o as t,F,y as c,aM as S,b3 as q,b6 as Y,L as E,u as a,am as K,A as V}from"./index-Ci6w3djJ.js";import{b as H,n}from"./vendor-Bs1fkIUX.js";import W from"./TrendChart-BpsoQkO0-DB1sMg9j.js";import{C as _}from"./NoDataChart-BuWkhFal-CMKpuqZD.js";import{q as X}from"./InsightsSection-Baicql5I-Cy9IT7DF.js";import{f as Z}from"./TransactionList-BingIVb_-DtIsd8Hw.js";const G=n.div`
|
|
2
2
|
display: inline-block;
|
|
3
3
|
`,J=n.div`
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey3};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as ce,q as se,ax as Ke,aP as en,gO as R,hP as U,F as H,aa as nn,hQ as tn,hR as Te,cS as on,j as t,bF as cn,cD as sn,cE as ln,cF as an,ad as rn,l as J,hS as dn,m as un,hT as Y,hU as pn,aQ as mn,hV as _e,y as u,am as gn,o as l,d3 as fe,aU as W,gT as oe,hW as ie,u as d,O as Ae,h as $e,gg as Ve,ai as Se,bm as xn}from"./index-
|
|
1
|
+
import{c as ce,q as se,ax as Ke,aP as en,gO as R,hP as U,F as H,aa as nn,hQ as tn,hR as Te,cS as on,j as t,bF as cn,cD as sn,cE as ln,cF as an,ad as rn,l as J,hS as dn,m as un,hT as Y,hU as pn,aQ as mn,hV as _e,y as u,am as gn,o as l,d3 as fe,aU as W,gT as oe,hW as ie,u as d,O as Ae,h as $e,gg as Ve,ai as Se,bm as xn}from"./index-Ci6w3djJ.js";import{b as X,n as s}from"./vendor-Bs1fkIUX.js";import{D as hn}from"./HelpButton-BaJhgb0U-D2odikp_.js";import{h as wn}from"./VendorsAccountsSection-BgZ0EsGs-KDRhKsoW.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./MeetingCalenderPopup-YzTE9xU9-DZIf1_Kg.js";const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(d[6],d[7]),iconContainerMarginRight:new u(12,d[3]),iconPadding:new u(10,12),rowGap:new u(d[2],d[3]),elementsMarginLeftRight:new u(d[3],d[4])},qe={title:new Ae("standardMedium","largeMedium")},bn=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
row-gap: ${e=>C.rowGap.valuePx(e.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aP as b,j as t,hY as R,hZ as _,q as F,F as O,cD as U,af as C,cE as z,cF as N,aa as M,ad as G,c$ as H,l as T,cX as D,y as g,cY as J,h as A,ap as Y,m as K,a as X,o as i,am as Z,u as E,ar as Q,b9 as ee}from"./index-
|
|
1
|
+
import{aP as b,j as t,hY as R,hZ as _,q as F,F as O,cD as U,af as C,cE as z,cF as N,aa as M,ad as G,c$ as H,l as T,cX as D,y as g,cY as J,h as A,ap as Y,m as K,a as X,o as i,am as Z,u as E,ar as Q,b9 as ee}from"./index-Ci6w3djJ.js";import{b as c,n as f}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(E[3],E[2]),width:new g(300,420,420)},te=f.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aa as U,fV as x,aP as k,l as A,q as W,F as q,j as i,cS as _,ad as Q,aM as Z,fW as G,o as a,h as H,d0 as J,aQ as K,y,A as X,L as Y,b9 as ee,b8 as te,u as c}from"./index-
|
|
1
|
+
import{aa as U,fV as x,aP as k,l as A,q as W,F as q,j as i,cS as _,ad as Q,aM as Z,fW as G,o as a,h as H,d0 as J,aQ as K,y,A as X,L as Y,b9 as ee,b8 as te,u as c}from"./index-Ci6w3djJ.js";import{b as m,n as l}from"./vendor-Bs1fkIUX.js";const F={marginRight:new y(c[3],c[8]),marginLeft:new y(c[3],c[8]),height:new y(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function ue(e){const{filesEndPoint:w,authParams:E,companyOfficer:t,updateStatus:f,onClose:$,onEditFileName:I,onDeleteFile:P,updateFilesEntity:v,onSendForVerificationClick:z,onCompanyOfficerUpdated:D}=e,n=U({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[C,S]=m.useState(!1),[N,B]=m.useState(!1),b=k(f.fetchState),j=t?.deleteFileStatusById??{},L=t?.updateFileStatusById??{},O=Object.values(j??{}).filter(o=>o!=null),T=A.reduceAllFetchState(O);m.useEffect(()=>{b==="In-Progress"&&f.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}})},[b,f,n,t?.additionalFiles]);const r=W(),h=q.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,V=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,R=n.handleSubmit(()=>{T.fetchState!=="In-Progress"&&z?.(t?.officerType??"Officer_1")}),M=async(o,p)=>{const d=p[u].front;o.includes("front")&&d?.fileId!=null?(D?.(t?.officerType??"Officer_1",[d?.fileId]),S(!0)):S(!1)};return m.useEffect(()=>{const o=n.watch((p,{name:d})=>{d!=null&&p!=null&&_(()=>M(d,p))});return()=>{o.unsubscribe()}}),i.jsx(Q,{...n,children:i.jsxs("form",{id:u,onSubmit:R,children:[i.jsxs(re,{size:r,children:[i.jsx(oe,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":Z("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(le,{children:i.jsx(se,{children:V})}),i.jsx(G,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:J,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${H.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:x(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:L,filesEndPoint:w,authParams:E,hasError:N,onEditFileName:I,onDeleteFile:P,updateFilesEntity:v,onFileSizeError:o=>B(o),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),C?i.jsx(K,{formId:u,primaryBtn:{label:h.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:f.fetchState==="In-Progress"},cancelBtn:{label:h.cancel,style:{width:r==="small"?"auto":"181px"},onClick:$},style:{position:"absolute",width:"100%"}}):null]})})}const ie=l(Y)`
|
|
2
2
|
margin-top: 19px;
|
|
3
3
|
color: ${e=>e.theme.colors.primary};
|
|
4
4
|
margin-bottom: ${a.sp2};
|
package/dist/assets/{Vendor2FAPopup-DgjZcTQX-D9W9dZq3.js → Vendor2FAPopup-B3ecYMnd-64QYc3pi.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aP as o,F as y,j as i,hY as j,hZ as v}from"./index-
|
|
1
|
+
import{aP as o,F as y,j as i,hY as j,hZ as v}from"./index-Ci6w3djJ.js";import{b as e}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const H=({vendorViewDetails:S,isExpressPayPage:n,onSaveVendor:l,onGetOtp:h,onResendOtp:d,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:t,editVendorState:g,newVendorState:V}=S,r=Object.assign({},g??V),[C,s]=e.useState(!1),[O,a]=e.useState(t.initiateVerification===!0),p=o(r?.saveStatus?.fetchState),x=o(t.userVerificationStatus.fetchState),f=o(t.otpVerificationStatus?.fetchState),u=o(t.sendOtpStatus.fetchState),P=y.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return e.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&t.initiateVerification===!0&&a(!0)},[r,t,p]),e.useEffect(()=>{x==="In-Progress"&&t.userVerificationStatus.fetchState==="Completed"&&(s(!1),l())},[t.userVerificationStatus]),e.useEffect(()=>{f==="In-Progress"&&t.otpVerificationStatus?.fetchState==="Completed"&&c?.(t.userId??"",t.phone??"",t.otpChallenge??"")},[f,t,c]),e.useEffect(()=>{u==="In-Progress"&&t.sendOtpStatus.fetchState==="Completed"&&(s(!0),a(!1))},[u,t.sendOtpStatus.fetchState]),i.jsx(i.Fragment,{children:C===!0?i.jsx(j,{showHelperText:!n,verifyOtpFetchState:t.otpVerificationStatus.fetchState,phoneNumber:t.phone??"",otpChallenge:t.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>s(!1),onResendOtp:d,onEditButtonClick:()=>{a(!0),s(!1)}}}):O===!0?i.jsx(v,{showHelperText:!n,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:n?P:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:E=>h?.(E)}}):null})};export{H as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as u}from"./index-
|
|
1
|
+
import{j as u}from"./index-Ci6w3djJ.js";import{b as d}from"./vendor-Bs1fkIUX.js";import{f as k}from"./ACHDetailsPage-Dh-9B-tS-BKldvbI-.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./BankAccountWarningSection-2lKoI5Zs-Dj_Poz3W.js";import"./MagicLinkTitleSection-BccVjN_n-DUbrRyeh.js";import"./BankAccountSection-DC6iSj4R-BsAxAbXu.js";const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:c,bankAccountToCreate:m,fetchBankNameByRoutingStatus:p}=t;return d.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),u.jsx(k,{bankAccountToCreate:m,bankAccountCreationState:o,bankNameByRouting:c,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})};export{R as default};
|
package/dist/assets/{VendorDetailPage-DEEb2gjp-CCMM19HN.js → VendorDetailPage-Bi8U23Yu-CYAI7EU_.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{F as _,c as Re,q as ne,y as g,aC as fe,l as se,cU as xt,aa as yt,hc as Ae,hd as Be,he as Ee,hf as be,hg as ft,aU as bt,cS as wt,j as t,bF as $t,ad as Ct,hh as St,hi as ue,u as l,cT as Dt,aQ as jt,o,b_ as S,d3 as Tt,gT as we,hj as Lt,cV as Vt,cW as kt,cX as Ot,hk as It,gn as Pt,d1 as Ft,hl as zt,hm as Mt,h as M,dL as _t,dK as Nt,df as Wt,aX as de,b6 as Ue,ai as qe,dM as Ht,a$ as Rt,hn as At,ho as Bt,am as Et,hp as Ut,cw as Ye,hq as qt,O as $e,H as Qe}from"./index-
|
|
1
|
+
import{F as _,c as Re,q as ne,y as g,aC as fe,l as se,cU as xt,aa as yt,hc as Ae,hd as Be,he as Ee,hf as be,hg as ft,aU as bt,cS as wt,j as t,bF as $t,ad as Ct,hh as St,hi as ue,u as l,cT as Dt,aQ as jt,o,b_ as S,d3 as Tt,gT as we,hj as Lt,cV as Vt,cW as kt,cX as Ot,hk as It,gn as Pt,d1 as Ft,hl as zt,hm as Mt,h as M,dL as _t,dK as Nt,df as Wt,aX as de,b6 as Ue,ai as qe,dM as Ht,a$ as Rt,hn as At,ho as Bt,am as Et,hp as Ut,cw as Ye,hq as qt,O as $e,H as Qe}from"./index-Ci6w3djJ.js";import{b as C,n as a,i as Yt}from"./vendor-Bs1fkIUX.js";import{k as Qt}from"./SubTabSwitcher-W3Ntabka-CkJnLFDQ.js";import{f as Xt}from"./TransactionList-BingIVb_-DtIsd8Hw.js";import{R as Gt}from"./TrendWithTransactions-D61X4lVu-B1TFib9_.js";import{o as Zt,t as Jt}from"./arrow-south-east-round-PEovUgvH-DnzbA_s-.js";import{W as Kt}from"./LabeledAddressValueField-CMBF_lk1-CXJsPPo5.js";import{Y as es}from"./LabeledDropDownFormattedTextField-3XtnFSSO-BjRnQvhd.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./BoxItem-Di-YXnG--cmTXxwxj.js";import"./commonDimensions-D-rqQGD_-DguqB4oO.js";import"./TrendChart-BpsoQkO0-DB1sMg9j.js";import"./chartTypes-BkGKZtjd-9mZz2BPE.js";import"./toCOABalancesWithID-jZvgYCO7-K9Aq1Sm_.js";import"./toChartData-XC5K1jEk-BCy0qlOQ.js";import"./NoDataChart-BuWkhFal-CMKpuqZD.js";import"./InsightsSection-Baicql5I-Cy9IT7DF.js";import"./NavigationDots-DWLQ8EKT-Dn6PHYKg.js";const ts=a.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
justify-content: center;
|