@zeniai/web-cockpit-ui 1.14.16-prod → 1.14.17-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-BwrF_fEr-DkyA5i2K.js +21 -0
- package/dist/assets/{AIPerformancePage-Do5bswa_-C_3AQSmW.js → AIPerformancePage-4oC8MJWN-DKgtdhwX.js} +44 -44
- package/dist/assets/{AccountInfoPage-BBhgLi_k-BEL-d9SH.js → AccountInfoPage-mOPytffA-CHwRigZs.js} +3 -3
- package/dist/assets/{AccountInfoPageContent-BJqXMkH6-DyTAoC-w.js → AccountInfoPageContent-VULusDEd-6lGswsvl.js} +14 -14
- package/dist/assets/{AccountReconDetailsDrawerPage-CV09UnoU-C2cwjlKW.js → AccountReconDetailsDrawerPage-89APlrhb-BX-kF9hA.js} +18 -18
- package/dist/assets/{AccountRow-TlJ0aU9H-Bsj_tL7f.js → AccountRow-DJd-IAIl-CfLQe7at.js} +33 -33
- package/dist/assets/{AccountsPromoCardStack-D8Y5MNXA-C-d7RQtl.js → AccountsPromoCardStack-DE39TpIu-DvYK9R7k.js} +33 -33
- package/dist/assets/{AddAddressForCardDrawer-DKJpGW7r-BYzzdY7P.js → AddAddressForCardDrawer-CKdcU_pi-IPZLStMw.js} +2 -2
- package/dist/assets/{AddToWalletPage-1gMvHWq2-Ch9o-ffZ.js → AddToWalletPage-DPXW2fbY-CNPYHMH9.js} +24 -24
- package/dist/assets/{AgingReportsPage-Bzn9xmRs-DNxufvky.js → AgingReportsPage--CLUwcIa-DcSCN91R.js} +17 -17
- package/dist/assets/{AllUserItems-BPSpj-dO-D8kos4-M.js → AllUserItems-CC9l-O5G-DJbAuU58.js} +11 -11
- package/dist/assets/ApAgingDetailPage-CsQ3DujX-DWGGqNtg.js +46 -0
- package/dist/assets/AppBasePage-CgHKYFmd-Bs3-qi9M.js +68 -0
- package/dist/assets/{AppDrawerContent-Cq8GkRBD-DuDQINc_.js → AppDrawerContent-Cofo0-5p-DYgesCt7.js} +19 -19
- package/dist/assets/{ApprovalRulesSettingsPage-zKh1CLv3-B247RgIT.js → ApprovalRulesSettingsPage-DsshEbzW-DLpKueGV.js} +7 -7
- package/dist/assets/{ArAgingChart-Bs2fblA6-ChlWBnho.js → ArAgingChart-K2LSe8mo-CcrD54Kp.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-BWsV1tQP-Dp4cKRq1.js → ArAgingDetailPage-DCFL9YAy-Cw3hCUfd.js} +4 -4
- package/dist/assets/{AttachmentView-BDkq5i_5-DRAfPUB_.js → AttachmentView-Cn3VnVyO-BPJCq-4t.js} +9 -9
- package/dist/assets/{BankAccountSection-DL-Qgypb-ntt1culv.js → BankAccountSection-Au9_D0Ji-bmPPOv5B.js} +8 -8
- package/dist/assets/{BankAccountWarningSection-PFOmZUmz-DYoYlhmR.js → BankAccountWarningSection-927iR_QB-BLBTF_Hr.js} +7 -7
- package/dist/assets/{BankConnectionsSettingsPage-BiPEOltR-BNfKQDuY.js → BankConnectionsSettingsPage-CXab8fzD-0RsCLwrp.js} +49 -49
- package/dist/assets/{BillDetailPage-nUoy5Pib-bkWIkiZj.js → BillDetailPage-yIdrE7YG-CO1_hc0X.js} +21 -21
- package/dist/assets/{BillPayApprovalRuleDetailPage-uCd9CD_--AeSZKocD.js → BillPayApprovalRuleDetailPage-BJl_-eJN-DcYLdRk3.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-BsvzOO92-BCvs-L8u.js → BillPayApprovalRulesPage-rXaFCSLp-DOP05VDc.js} +8 -8
- package/dist/assets/{BillPayPromoPage-D9tHxFrw-C5rtanfF.js → BillPayPromoPage-BLi_wIbj-CZGLSHx_.js} +10 -10
- package/dist/assets/{BillPaySetUpPage-Ci__X7jC-lnXNoOeF.js → BillPaySetUpPage-BFmpWT_x-zTzNnL_X.js} +2 -2
- package/dist/assets/{BillingSettingsPage-JcOqMK9G-BLXc3fsE.js → BillingSettingsPage-Da01aYql-DLGfaRzo.js} +5 -5
- package/dist/assets/{BillsBulkReviewDrawerPage-FeZEMsS6-CBeL4kBc.js → BillsBulkReviewDrawerPage-J2kO9_8C-B_ZetdEJ.js} +1 -1
- package/dist/assets/{BoxItem-BcQH7ATF-C3uqvDXb.js → BoxItem-CQlEDklH-QYh8SK8x.js} +4 -4
- package/dist/assets/BusinessVerificationPage-DWhXCuG5-BlJy48X_.js +140 -0
- package/dist/assets/{CardNumberSubText-CRythvN3-DBYBtHe-.js → CardNumberSubText-BTjxrF3b-CNbVWSfp.js} +1 -1
- package/dist/assets/{CashbackDetailPage-CDa_GOsq-Df17bkjp.js → CashbackDetailPage-qcMtGUQ0-ClM0O4ek.js} +22 -22
- package/dist/assets/{ChargeCardDetailPage-BVxvmvYF-CrmcdJfR.js → ChargeCardDetailPage-BurpUHl9-ks5Ylh0a.js} +32 -32
- package/dist/assets/{ChargeCardListPage-Dk_9p-sM-BKvDCZzD.js → ChargeCardListPage-CBIYOllB-hsormxMA.js} +22 -22
- package/dist/assets/{ChargeCardListTable-DLAZTf8n-YBAKvrSJ.js → ChargeCardListTable-BTZu7ldI-Dtf0dVvX.js} +104 -104
- package/dist/assets/ChargeCardPromoPage-us_v89rV-C0HHgs2t.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-QPLpJN2z-BSMBjY30.js → ChargeCardSetupPage-QOdjFcsr-C35vd8Nk.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-DwJYJjcf-CZn6_bQP.js → ChargeCardStatementsPage-C1UmjyIW-CQoBe4qC.js} +8 -8
- package/dist/assets/{ChargeCardUtils-BbByGmi9-MWdIZgnF.js → ChargeCardUtils-C3fhOMpV-CuPIdUk0.js} +1 -1
- package/dist/assets/{ChaseOverlay-CvXMdD8r-C6JvY114.js → ChaseOverlay-RPex2o5e-Smu9780P.js} +6 -6
- package/dist/assets/CheckDepositDrawerPage-XZJ1F0aC-kws9zCak.js +206 -0
- package/dist/assets/{CollapsableReportTable-BptltmMq-BmHW8pgs.js → CollapsableReportTable-Ds0h8x1N-DplOjSEj.js} +93 -93
- package/dist/assets/{CompanyOfficerDetailsSection-DTbhxCCJ-BSXATmyq.js → CompanyOfficerDetailsSection-B8yGAFVj-BXFGaLke.js} +24 -24
- package/dist/assets/{CompanyPassportCard-CRgbazO4-BRdnM0W_.js → CompanyPassportCard-BDei9Pfp-eYqW_Kg9.js} +6 -6
- package/dist/assets/{CompanyPassportPage-wdWKvOuO-D1RBsSbf.js → CompanyPassportPage-DFA733vS-D6CEIM7b.js} +32 -32
- package/dist/assets/CompleteProfile-BpX6H4vJ-BVnH0M9g.js +52 -0
- package/dist/assets/ConfettiBurst-97CCPVCH-9-b-8JXj.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-DTbrZv48-CQUpdvD5.js → CreateOrEditVendorPage-BSi6pOXN-DT6XT0bI.js} +10 -10
- package/dist/assets/{CreditCardPaymentDrawerPage-CGGM52ND-DELB_-OP.js → CreditCardPaymentDrawerPage-ZletyeGG-umQmaf0k.js} +17 -17
- package/dist/assets/{CreditCardPaymentPlgSection-BS99Rbz7-CRQRdFP6.js → CreditCardPaymentPlgSection-BE982atG-B6gcx6zm.js} +13 -14
- package/dist/assets/{CurrencySelectField-Cz1ZFZNL-DZM2eCDn.js → CurrencySelectField-cnP09xH2-COp3JBgC.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-Bw2z91CF-DSDFVCnm.js → CustomerOnboardingActivationPage-DhcKiTJ_-B4Bo0l5a.js} +9 -9
- package/dist/assets/CustomerOnboardingContainerPage-C1higvpq-CPTgkuej.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BY4rv3eB-DpN2U-_L.js → CustomerOnboardingDetailPageSkeleton-jguCmaVx-CPLJBFIe.js} +9 -9
- package/dist/assets/{CustomerOnboardingNoStepsPage-ByTpLszW-BOTerMcQ.js → CustomerOnboardingNoStepsPage-xakP7IDr-j9vb9__e.js} +2 -2
- package/dist/assets/{CustomerOnboardingPage-eyRDjOy--BiXwJMYF.js → CustomerOnboardingPage-Ct5YbyHs-BO0Sy5Lx.js} +9 -9
- package/dist/assets/{CustomerOnboardingProductSuitePage-C_GOhUsC-CUW7-7xZ.js → CustomerOnboardingProductSuitePage-CugfvMkw-B6aWX1Xf.js} +11 -11
- package/dist/assets/{Dashboard-DXTfxwrE-CdTiAowm.js → Dashboard-XbVGCnvI-Cwm6wdq7.js} +260 -242
- package/dist/assets/{DashboardReportPage-C7LmV0rQ-BbkdxNaL.js → DashboardReportPage-OeEPg2kx-DUWAiMA5.js} +21 -21
- package/dist/assets/{DepositAccTransactionItem-BH6np-wq-C1ri8NnK.js → DepositAccTransactionItem-Dy6qzuSL-bj1K9hi4.js} +10 -10
- package/dist/assets/DepositAccTransactionListPage-BisaE6sH-CXEjoVG5.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-DhM2CLtr-CA7eP7w9.js → DomesticWireDetailsPage-B0tbjNLO-ByvPg7x-.js} +1 -1
- package/dist/assets/{DownloadOverlay-CwqxQGbr-DXP8KffI.js → DownloadOverlay-BKKO1nm1-BQ5P_IH7.js} +15 -15
- package/dist/assets/{DrawerPage-C3k5XFW6-CsvAYe3c.js → DrawerPage-osM8gPVn-2LgFt42m.js} +10 -10
- package/dist/assets/EditPeoplePage-ixJkT03_-nZc9QeAd.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-DXLAtkkp-CbzO6uDg.js → EditReimbursementDetailPage-DvLeCixY-TeZdMP4Z.js} +23 -23
- package/dist/assets/{EntityDetailPage-_060OpVJ-CyhCOk00.js → EntityDetailPage-BzJbAOSj-9yzQeWus.js} +3 -3
- package/dist/assets/{EntitySummarySection-0QXWkpbX-B7-JCudu.js → EntitySummarySection-Drj07P9h-6nsX9189.js} +13 -13
- package/dist/assets/{ExpenseAutomationOverviewPage-GPO42_rS-PTg4tOdM.js → ExpenseAutomationOverviewPage-BQ9dwGkq-BSO9oU-G.js} +23 -23
- package/dist/assets/{ExpenseAutomationPage-BQArYLAG-BzVHNQ4g.js → ExpenseAutomationPage-DLld6Lux-C9UiIoPt.js} +56 -56
- package/dist/assets/{ExpressPayPage-DacK02lD-CKwnL4bJ.js → ExpressPayPage-QBNV0dC8-pBCRR5Rb.js} +12 -12
- package/dist/assets/FeaturePreviewPage-CpBX-Xic-BYSOYP2k.js +11 -0
- package/dist/assets/{FollowStepsSection-CMTo4gYl-Bjx6twPv.js → FollowStepsSection-1RCO2W7K-C-MoCYne.js} +25 -25
- package/dist/assets/{GlobalReviewListPage-BbI2YDxl-k0ysjeTV.js → GlobalReviewListPage-ByMZFe7Y-CdorqsTM.js} +14 -14
- package/dist/assets/{HelpButton-Coe4ii48-krhIkYJy.js → HelpButton-CzTfBZQj-DZRTwrFl.js} +2 -2
- package/dist/assets/{InformationCardStack-BIumm5SJ-C1s5cfXO.js → InformationCardStack-C0AmMOu2-RArJXysN.js} +6 -6
- package/dist/assets/{InsightsCardStack-nndLG-Gx-Bbm-yvFB.js → InsightsCardStack-BiIDBYY8-5lf82tLY.js} +7 -7
- package/dist/assets/InsightsSection-C-kpIvRH-CdqlGqmg.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-BRH3t6mo-CGhczdJp.js → IntegrationsSettingsPage-7wAnV8kG-PXEXvEB6.js} +8 -8
- package/dist/assets/{InternationalWireSwiftDetailsPage-vgA7iek9-DvYFFVKn.js → InternationalWireSwiftDetailsPage-C7D15jtK-Li0eKKsY.js} +16 -16
- package/dist/assets/{InternationalWireVerificationPage-DEIs1ydr-BWxwXlea.js → InternationalWireVerificationPage-GDKPXtU--j4IpooKm.js} +20 -20
- package/dist/assets/{InviteFormPage-Bowy0arK-CUyq4iu1.js → InviteFormPage-CKGJHYWa-DWj-EAub.js} +20 -20
- package/dist/assets/{InvitePageListView-DuXb15Ll-AB5e7fm2.js → InvitePageListView-CWXyDZU2-DCU4lB3m.js} +54 -54
- package/dist/assets/InvitePeoplePage-CPBMZNa--DlK3foAM.js +12 -0
- package/dist/assets/InvoiceUploadSection-C0WzT0uv-Cn2JF08l.js +140 -0
- package/dist/assets/{IssueChargeCardPage-BIL4e5I_-CIFRPoHj.js → IssueChargeCardPage-DLX44XaR-CcflhM3M.js} +31 -31
- package/dist/assets/LabeledAddressValue-B8awEVKI-DfzIlkwb.js +49 -0
- package/dist/assets/LabeledAddressValueField-Dl5yKg2N-CzXWQu_Y.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-CwiyOI1Z-D_Avv8B8.js → LabeledControlledCheckBoxField-B6cLYSmS-taSeLw3M.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-yLzlQU6_-Ju9uxk3s.js → LabeledCreatableSingleSelectField-CV4GQQ7F-G2kg_Moc.js} +8 -8
- package/dist/assets/LabeledDocumentField-BFhyNqP8-B0rZURtH.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-M_7KWHOd-DVW-K4s5.js → LabeledDropDownFormattedTextField-gE3aWP_T-BOWWoTF_.js} +6 -6
- package/dist/assets/{LabeledText-CO_4w9Rx-xHGRFTa6.js → LabeledText-0pRIcJw5-Bl9-fI1Z.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-zPoNOgP7-BN8LY8_q.js → LabeledUserSingleSelectWithSubtitlesField-C-32ySGI-DFmPy8AM.js} +17 -17
- package/dist/assets/{LabeledZeniRolesDropDownField-C8-KfR-4-B0UPMMuM.js → LabeledZeniRolesDropDownField--l6D29VX-CyvURl9h.js} +11 -11
- package/dist/assets/{LinkJETransactionPage-CZVlsT4d-C3vBspYy.js → LinkJETransactionPage-DLcpx9ns-AgvCjDXO.js} +10 -10
- package/dist/assets/{LowBalancePopup-Dl5IXVvh-DAy2ciDD.js → LowBalancePopup-BuelKDeS-DZAUOSm3.js} +6 -6
- package/dist/assets/{MagicLinkACHDetailsPage-CP6ti0Ic-CsFI4O-m.js → MagicLinkACHDetailsPage-NIkquHvv-CI7Zc7xz.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-BhpSDeQW-CrbT-zrP.js → MagicLinkDomesticWireDetailsPage-CdaNz396-BGT3axjJ.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-BXxTeh0G-COpL4rAF.js → MagicLinkInternationalWireDetailsPage-CnEhS5PP-DPChbPBR.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-Bix48QB5-D1kS8RTp.js → MagicLinkSuccessPage-D_VJZV0O-FtY4wcd1.js} +2 -2
- package/dist/assets/MagicLinkTitleSection-tHh2d5Ld-_QN59pd4.js +17 -0
- package/dist/assets/MailingDetailsSection-CTrx1xoB-By7vG4Hi.js +21 -0
- package/dist/assets/{MeetingCalenderPopup-DlnppXL_-BiSyzpy5.js → MeetingCalenderPopup-DWvpTRQJ-Bt4xdKnr.js} +1 -1
- package/dist/assets/{Menu-B_GJLZiP-DFhEZOah.js → Menu-CbQ6Zkdp-B0rPvp7W.js} +2 -2
- package/dist/assets/{MyBankConnectionsSettingsPage-2DAYVmHh-qP9m1w3C.js → MyBankConnectionsSettingsPage-9dQLb8iw-C8Rj57bA.js} +17 -17
- package/dist/assets/{MyPendingActivationChargeCardListPage-CWQq9D2t-D2B3tZ2t.js → MyPendingActivationChargeCardListPage-B2-YthuF-cm2yxhR4.js} +2 -2
- package/dist/assets/{MyProfileSettingsPage-imD_-Umc-Bx10sGY-.js → MyProfileSettingsPage-CfmYPv4_-aC1znwk8.js} +5 -5
- package/dist/assets/NavBarWithPicker-Bzkl4W0x-CDy3Aggh.js +30 -0
- package/dist/assets/{NavigationArrow-De1st3tA-B9w4webb.js → NavigationArrow-9pvhzLz8-DNW8ChSX.js} +1 -1
- package/dist/assets/NavigationDots-CXPwKFh1-CN4i4rO7.js +15 -0
- package/dist/assets/{NewGlobalMerchantPage-euJK3CXB-C5YkICvd.js → NewGlobalMerchantPage-D6ZpP6J1-D56cB-sU.js} +12 -12
- package/dist/assets/{NoDataChart-D_S6Pfkm-LLnc33cc.js → NoDataChart-BUR7CF8w-JBqV9jC1.js} +1 -1
- package/dist/assets/{NoDataTable-CLwNCXFE-Bjg0bIl4.js → NoDataTable-3L4pbKR0-B7fSM3B6.js} +1 -1
- package/dist/assets/{NotFoundPage-JfbMP3OG-CY7i_Kfb.js → NotFoundPage-CgZfmKbj-BRxQmcCY.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-YBgrQBb2-EJXBvlGY.js → NotificationSettingsPage-BwYT3Tdc-D89puZca.js} +14 -14
- package/dist/assets/NotificationsListConfig-CeeJpJ2p-8AiJrLfH.js +1 -0
- package/dist/assets/{NotificationsPage-C3pnQT-K-CJiJ_UTA.js → NotificationsPage-6qNQYQK4-DLvnPKkn.js} +39 -39
- package/dist/assets/{OpExByVendorPage-7FEOhvd--CnoWp8DX.js → OpExByVendorPage-C28MBvmW-CYPqi7IY.js} +6 -6
- package/dist/assets/{OverlayContainerPage-GWXnlbZH-BFHFEcwT.js → OverlayContainerPage-9K5jaX8Z-BZxsFO4t.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-D0f5zvhp-DeUoKhKB.js → PandLWithForecastPage-onJJ3Fh4-_QaDHG-Z.js} +12 -12
- package/dist/assets/PaymentAccountSetupBillingAddressSection-nGuJ5fbq-D3E47Aos.js +107 -0
- package/dist/assets/{PeoplePage-B-j04rvc-DqLWuIxr.js → PeoplePage-CKzezKqB-ByzrDmy1.js} +33 -33
- package/dist/assets/PortfolioAllocationFormPage-28Rg5Um0-BlYwyLHy.js +207 -0
- package/dist/assets/{PortfolioDetails-C-YfZonF-C0LO_lmx.js → PortfolioDetails-CIv1yXo2-BXO78bZH.js} +34 -34
- package/dist/assets/{ProductsCarousel-9USsVLuf-DvG85ADA.js → ProductsCarousel-CSUQ6rVw-BjLG54WQ.js} +7 -7
- package/dist/assets/{PromoBaseCards-OKpdHchW-C8RUmLQR.js → PromoBaseCards-2L1JfY-v-8Fx_ViSz.js} +5 -5
- package/dist/assets/{QBOConnectionDialog-BUr2NQiK-D_4NV4Ob.js → QBOConnectionDialog-DNP_b7aK-BzvUOq7o.js} +5 -5
- package/dist/assets/{QBOSetupSection-Cmf7-3wv-CEW6_Dgm.js → QBOSetupSection-CGrGCC2j-CuJwLC6X.js} +11 -11
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-Dev4FHVt-D2i8KVdM.js → ReimbursementApprovalRuleDetailPage-DqxyCfuQ-BcbdBa6J.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BLMJY7El-CUqIlEIu.js → ReimbursementApprovalRulesPage-D_RMSSoW-DW4d-zUH.js} +33 -33
- package/dist/assets/{ReimbursementDetailPage-BIyq0BC0-DjKUxnpq.js → ReimbursementDetailPage-BkT7zJoE-BUepvklz.js} +20 -20
- package/dist/assets/ReimbursementPromoPage-DQsLI50f-DvpBhx7F.js +112 -0
- package/dist/assets/{ReimbursementSetUpPage-VKXRSodl-Djprhgo8.js → ReimbursementSetUpPage-lH4Z7Lqi-C3uS6udC.js} +15 -15
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BmUcVSjU-DWFwC8Be.js → ReimbursementsBulkReviewDrawerPage-Bvh4mRws-DVwJvL8d.js} +1 -1
- package/dist/assets/{ReloadCard-DZhxB7Ar-BBcsZOJA.js → ReloadCard-BQKVLlzZ-CTM6ZQom.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-DSfx5ZD--C8F9v0zJ.js → ReportTableViewSelector-Cvk4LxRf-eJ2TbRx4.js} +10 -10
- package/dist/assets/{ReportsPage-CLH0u0Bh-DRLLUOMA.js → ReportsPage-C2cIfu51-BxZnm0Ag.js} +5 -5
- package/dist/assets/{RevenueChart-BeqQveLu-CL7EicIj.js → RevenueChart-ByCekdyG-8uQwfY47.js} +17 -17
- package/dist/assets/{ReviewDetailsPage-Dq7hRX5W-pUpjYQJZ.js → ReviewDetailsPage-DGyfz9q5-BKYXEzMr.js} +25 -25
- package/dist/assets/{ReviewOverlay-BNHqYk2g-J_dzfLEw.js → ReviewOverlay-Dp5yLAdR-BtQ_1SYB.js} +24 -24
- package/dist/assets/RoleWithToolTip-B7xRZ-3a-DOUAAL_V.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-QE0wa196-C6RpkKjE.js → ScheduleDetailsFixedAssetsPage-BvJX-G-F-EcV0Ga4I.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-BVyX-Z0H-Eq5Kzwpf.js → ScheduleDetailsPage-CNpkuW7O-B_ravSuG.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-D1FYbPfU-g7L-_vJ3.js → ScheduleSequenceTable-B_90qPjE-CouAcwmm.js} +16 -16
- package/dist/assets/{ScreenRoutes-CV4K1eft.js → ScreenRoutes-AFpRn9FR.js} +62 -62
- package/dist/assets/{SetUpAccountSection-CYn2o43t-BAIcfhcV.js → SetUpAccountSection-D5x8PZG1-DygZSmwk.js} +17 -17
- package/dist/assets/{SetUpDefaultSection-C0-L2ZyA-BZCNHHjT.js → SetUpDefaultSection-BsOdnADR-CaLnvPCj.js} +10 -10
- package/dist/assets/{SignIn-BIxTodeo-xl1UQLqg.js → SignIn-Bt7hCYjV-EKx-pTxB.js} +20 -20
- package/dist/assets/{SignInScreen-BPfKNMHp.js → SignInScreen-rurSzHF5.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-DXtvYcrg-yIFYJuPE.js → SpendManagementListViewPage-C5cJKuRq-BvXZ8iTI.js} +12 -12
- package/dist/assets/{SpendManagementPerTabPage-Cn-UsxaR-BSQJxeEs.js → SpendManagementPerTabPage-IBAw8wc4-CqequpCF.js} +45 -45
- package/dist/assets/{SpendManagementSection-BBR4aFIT-BNxALG4B.js → SpendManagementSection-yNP3swb6-CDpN_vFS.js} +14 -14
- package/dist/assets/{SpendMgmtSetupAccountSection-DedLETSm-Ret-PfmC.js → SpendMgmtSetupAccountSection-CYxt9dN8-jE6ury5g.js} +19 -19
- package/dist/assets/{StatementItem-CnpTW8qb-OJhscqJG.js → StatementItem-q9U89Htr-Dnon4hoE.js} +9 -9
- package/dist/assets/{StatementsPage-Pdhh6wDA-QYGCUpat.js → StatementsPage-BM5Glizw-CQVS_jKg.js} +6 -6
- package/dist/assets/{StatusSwitcher-CY3fhZpk-CZLiE467.js → StatusSwitcher-CtuL5COG-G6MVUY78.js} +1 -1
- package/dist/assets/{SubTabSwitcher-BgzS4on6-BHvnj1rf.js → SubTabSwitcher-DHiC-mOv-DT2nPRyj.js} +3 -3
- package/dist/assets/{SummaryCard-DB_r9qW_-DgDS1FE9.js → SummaryCard-D4Me-qWU-DQUY-zeO.js} +1 -1
- package/dist/assets/{TaskManagementPage-B0gR2j1v-BHfuaSkL.js → TaskManagementPage-D-F7ufTD-e1fJ4aPt.js} +34 -34
- package/dist/assets/{TimeRangeSwitcher-BbdpFsMU-mxUiCV_7.js → TimeRangeSwitcher-CGN9Hq2L-r0shmfu7.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-CUpsv6b1-BsTQ_4Lb.js → TimeframeSwitcher-BN4-ACoQ-D22kJoI6.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DZbOWm8e-0cxkGofr.js → TimeframeSwitcherWithToggle-BkzCFclG-CPGMypUZ.js} +2 -2
- package/dist/assets/{TopExCard-Bn5xXUvj-_4iG4dk9.js → TopExCard-Wuzj4gLV-Dr3lX9dX.js} +5 -5
- package/dist/assets/{TopExDetailPage-DRjO-pGo-BX7dG4ka.js → TopExDetailPage-DMYNc-gj-DbGIeoCc.js} +10 -10
- package/dist/assets/{TransactionDetailPage-L-yLO1SI-CZncMNWY.js → TransactionDetailPage-CcryBjJ4-DTQbu83x.js} +43 -43
- package/dist/assets/{TransactionList-CSb5yqQj-CZz3Dorl.js → TransactionList-BrOpzi25-Db-4cinW.js} +9 -9
- package/dist/assets/{TransactionListBig-f2x4xrky-BskZiapH.js → TransactionListBig-D6QMNaV6-CAdEtJgN.js} +26 -26
- package/dist/assets/TransactionListPage-BB_LkPKR-hsIp58b2.js +35 -0
- package/dist/assets/TransactionVendorDetailPage-RajWBB1I-BdySPl7M.js +80 -0
- package/dist/assets/TransferDrawerPage-D-KFK0BM-lEsdgmBR.js +362 -0
- package/dist/assets/{TreasuryOverviewPage-B01cSfUQ-CoSXkaeB.js → TreasuryOverviewPage-EDaXKMNQ-CrrmzIet.js} +59 -59
- package/dist/assets/{TreasuryPromoPage-DC46ObGy-DJ1swnNW.js → TreasuryPromoPage-Brja4nGR-DglH7Il8.js} +26 -25
- package/dist/assets/{TreasurySetupPage-CiIqfQLR-b0uqhhM3.js → TreasurySetupPage-8ZXXBvyU-l9-yURTU.js} +9 -9
- package/dist/assets/{TreasuryStatementsPage-C_pfPvgz-Da7ziP7d.js → TreasuryStatementsPage-BjT1FVfa-wIBwl3Q0.js} +5 -5
- package/dist/assets/{TreasuryTaxLetterPage-D-4Ntky2-BixhQEkS.js → TreasuryTaxLetterPage-Cxk8TjrI-DPLTc42N.js} +5 -5
- package/dist/assets/TreasuryTransferOrReviewPage-DrNld8H2-DCvG8LPc.js +506 -0
- package/dist/assets/{TrendChart-DKIa4o8k-DmG5FDN6.js → TrendChart-D2B0mwGW-BG_v97N6.js} +5 -5
- package/dist/assets/{TrendWithTransactions-BumhCIjm-CcFQ1c6V.js → TrendWithTransactions-Ch8smOOz-jen0aqye.js} +6 -6
- package/dist/assets/{UncategorizedAccountsMappingPage-C4Njvj_H-Cg_asPOb.js → UncategorizedAccountsMappingPage-CCIn9g7v-pUmVA_Xq.js} +8 -8
- package/dist/assets/{UnitIntegrationPage-D_tfUXdS-DcsOhCUr.js → UnitIntegrationPage-SY0L_D7Z-Cbnt8xFH.js} +5 -5
- package/dist/assets/{UploadAdditionalDocumentOverlay-CSdTPTA3-sOgdeqjQ.js → UploadAdditionalDocumentOverlay-BowxerPw-ByoVxHT3.js} +2 -2
- package/dist/assets/{Vendor2FAPopup-DgKVft1G-DQoFQWGk.js → Vendor2FAPopup-DvWVDx58-nCTKo0G7.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-DdAbrbpS-DQBPQCCa.js → VendorACHDetailsPage-Ba1oMHkp-BxaJZz_l.js} +1 -1
- package/dist/assets/{VendorDetailPage-CSPbUx-h-BBS6ud2p.js → VendorDetailPage-CjBeVAkw-CNG6GTiT.js} +12 -12
- package/dist/assets/{VendorDomesticWireDetailsPage-GODvpEne-CKeD8fZ2.js → VendorDomesticWireDetailsPage-DJcyNUun-B_mMtp62.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-ByfEwSZJ-B7esT-KU.js → VendorFiling1099EditablePage-CUWkLY0f-CFmjh1GG.js} +10 -10
- package/dist/assets/{VendorFirstReviewPage-B2-UtNMO-BwGd6yu3.js → VendorFirstReviewPage-XUgEai-M-DTz6r_sf.js} +14 -14
- package/dist/assets/{VendorInternationalWireDetailsPage-DSziQ0jO-PISWviKk.js → VendorInternationalWireDetailsPage-BgHCBv0S-CqCl2AuO.js} +11 -11
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Dqc7XLbW-itlt2nNB.js → VendorInternationalWireSwiftDetailsPage-axseacZL-DJ6kdu0R.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-BLwMi5AB-BsJP-LC0.js → VendorsAccountsSection-oYghWvs6-YBKazVEG.js} +4 -4
- package/dist/assets/VerifyDevice-XUExnmR9-Dvl0QizA.js +67 -0
- package/dist/assets/{WarningsDrawerPage-3h7UME3Y-Dj4ukktP.js → WarningsDrawerPage-B1his2AN-wDPc6ygf.js} +11 -11
- package/dist/assets/{ZeniAccountDetailPage-Dn70Xhjm-D7PpnMAm.js → ZeniAccountDetailPage-B21kawRR-cYQnKtb2.js} +26 -26
- package/dist/assets/{ZeniAccountListViewPage-C7CX6-Bl-cFXwuwrK.js → ZeniAccountListViewPage-D9lefqbT-BqcU0pmn.js} +26 -26
- package/dist/assets/ZeniAccountNavBarPieces-5yZFq-zt-jLGGdcn1.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-CLufbB-B-1rX7JdIx.js → ZeniAccountPromoPage-B8aWqCOQ-CKv07I8x.js} +21 -21
- package/dist/assets/{ZeniAccountSetupPage-rLdRA3Ld-DNRI9WUg.js → ZeniAccountSetupPage-BmFF5yvk-D-AdXd5I.js} +3 -3
- package/dist/assets/{ZeniCopyright-BItiuePl-krUoL6Cx.js → ZeniCopyright-eQoaUH08-BVCPJkWr.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DYCK5UWr-vjRL3HXw.js → ZeniTransferAmountSlider-B6ftMZ_m-C-6X1EH-.js} +2 -2
- package/dist/assets/{analyticsHelper-D4zFEqKN-2_QyWwnT.js → analyticsHelper-Bns4muDg-CtVpldLz.js} +1 -1
- package/dist/assets/{analyticsHelper-C0R52dsk.js → analyticsHelper-u4uoMPvS.js} +1 -1
- package/dist/assets/{chartTypes-yiqF7w9Y-ClX5-pAK.js → chartTypes-ZJYcsh-k-BCVVPSGZ.js} +1 -1
- package/dist/assets/{commonDimensions-PPvas5dK-CFISpej6.js → commonDimensions-NUQEpowf-g8lux_Te.js} +1 -1
- package/dist/assets/{detailCommon-mCAXI64G-a_lZ_CZU.js → detailCommon-DMKakaa6-DVMNrgCv.js} +7 -7
- package/dist/assets/{downloadPdf-C3XpsGeN-C6jtczmZ.js → downloadPdf-CNrmv_yZ-BgWfIYNz.js} +1 -1
- package/dist/assets/{index-BrN88eSe.js → index-CnrHU8WN.js} +4373 -4206
- package/dist/assets/{liveblocks-sSQ9JElv.js → liveblocks-DZpRS25q.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-7wU2HX2P-waYQk5QB.js → mapLoadingInProgressToTreeNode-CwLhcXcQ-nJqrr22I.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-dSxF1sWM-CHqhyTKB.js → mapSectionWithAcOnlyToTreeNode-D8iLkGEE-Bl5usORJ.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-1mXbBuNs-9BpF4PJZ.js → mapSpacerToTreeNode-CF_gEYDy-aRE98CQL.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DXVQrusd-4VNebFso.js → mapTimeframeBalancesToTreeNode-B672MK55-v1Bjh3U8.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DtAULIDB-0AeuAW-4.js → mapTimeframeBalancesToTreeNode-Dp2QmYvb-Cr-c38Jl.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-DAqn8gdX-CRyeRR0p.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BaEMd-vj-CsyeIH1c.js} +1 -1
- package/dist/assets/mui-Bi8r7UDG.js +25 -0
- package/dist/assets/{play-icon-NvLdXSYk-BED2_JCG.js → play-icon-CgWP2Myd-BVsSsxSg.js} +1 -1
- package/dist/assets/{redux-ByjIRbhZ.js → redux-CC-tnuv1.js} +1 -1
- package/dist/assets/{routing-Cpaypegg.js → routing-CxYXTKiv.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-C9fWPLt9-CuIz_cup.js → toCOABalancesWithID-DJNZCEmi-D5UU_YFX.js} +1 -1
- package/dist/assets/{toChartData-BMDCuCgs-Ca5j5Dv_.js → toChartData-HYsxUPzh-De2YqXiL.js} +1 -1
- package/dist/assets/{treasuryColorHelper-COfuUI3C-Ctxr5wUh.js → treasuryColorHelper-BgV2H9Kv-BBqEUahx.js} +1 -1
- package/dist/assets/{uploadAttachment-DSku547V-DjGPqTKv.js → uploadAttachment-BgjFjkkw-DJYt86D-.js} +34 -34
- package/dist/assets/{uploadReceipts-D80JLNY4-BN-02WEC.js → uploadReceipts-CwjPukNh-SrJVbi2t.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-DyEK-yAb-Dqec5oS9.js +0 -21
- package/dist/assets/ApAgingDetailPage-C2HUvxWk-C2ApdV7h.js +0 -46
- package/dist/assets/AppBasePage-C63xauck-CL9cAUG1.js +0 -68
- package/dist/assets/BusinessVerificationPage-ClBQ39GB-C6UTT9g_.js +0 -140
- package/dist/assets/ChargeCardPromoPage-COA7csMK-BMyJqQkH.js +0 -219
- package/dist/assets/CheckDepositDrawerPage-Cfdkbh0L-SIuwPUlZ.js +0 -206
- package/dist/assets/CompleteProfile-Cp_nXCBI-DjK0K2gW.js +0 -36
- package/dist/assets/ConfettiBurst-tf23hrA_-D4E2Rz_s.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-DXWtttsb-e0citU6h.js +0 -1
- package/dist/assets/DepositAccTransactionListPage-BTZovTIK-uNz03KBJ.js +0 -66
- package/dist/assets/EditPeoplePage-D2zQG-_T-WZZxav2N.js +0 -55
- package/dist/assets/FeaturePreviewPage-Bv0D92ik-IctXHExY.js +0 -11
- package/dist/assets/InsightsSection-CSG5sVaE-BrL3KAS8.js +0 -27
- package/dist/assets/InvitePeoplePage-By3sTPj1-C4Ze5bbl.js +0 -12
- package/dist/assets/InvoiceUploadSection-B8OA6oqe-CeX7qFoF.js +0 -140
- package/dist/assets/LabeledAddressValue-BJ1dXCb1-siykGbUk.js +0 -49
- package/dist/assets/LabeledAddressValueField-DZCn1w6m-CSJvv5iy.js +0 -45
- package/dist/assets/LabeledDocumentField-gxNaFx2j-CxqYn8AB.js +0 -41
- package/dist/assets/MagicLinkTitleSection-DdTLuD-8-BxzYy6hn.js +0 -17
- package/dist/assets/MailingDetailsSection-Bo_v3Gp2-DGQdenpL.js +0 -21
- package/dist/assets/NavBarWithPicker-D0Bv9P4m-W153gset.js +0 -30
- package/dist/assets/NavigationDots-BfJxPG2K-DsedS7eT.js +0 -14
- package/dist/assets/NotificationsListConfig-TCmn6L9k-DfP_1Bdh.js +0 -1
- package/dist/assets/PaymentAccountSetupBillingAddressSection-CBvjcBEH-DwTC1Tj4.js +0 -106
- package/dist/assets/PortfolioAllocationFormPage-yvAHgF_R-CRL7B_ue.js +0 -207
- package/dist/assets/ReimbursementPromoPage-Dox8Q_BC-B4yNteoX.js +0 -112
- package/dist/assets/RoleWithToolTip-Cob2-Ppj-D_c_NDbd.js +0 -22
- package/dist/assets/TransactionListPage-XP6Axg1M-I8kgwBug.js +0 -35
- package/dist/assets/TransactionVendorDetailPage-CY9kUYZc-BzyApvHn.js +0 -80
- package/dist/assets/TransferDrawerPage-DOMX4_HE-Cr4BLbeU.js +0 -362
- package/dist/assets/TreasuryTransferOrReviewPage-CjxiFUqO-g0_nGlvv.js +0 -506
- package/dist/assets/ZeniAccountNavBarPieces-Cl1zQVNd-Bhr_7M-Y.js +0 -14
- package/dist/assets/mui-C5LQ0bMa.js +0 -25
|
@@ -1,506 +0,0 @@
|
|
|
1
|
-
import{X as ge,H as xt,j as o,_ as P,gN as yt,M as we,a0 as W,K as Ie,c as Ze,a4 as He,o as t,C as f,a3 as Ce,k as $t,am as bt,u as St,a2 as pe,bs as vt,cO as Je,Q as R,l as z,fX as jt,g as S,Z as At,h as et,v as X,e as Y,eX as kt,a as Tt,c3 as Pt,F as Ct,fD as zt,q as c,bm as tt,cW as ot,bH as rt,cz as Dt,cq as Lt,f7 as Ft,e$ as Mt,d2 as Rt,m as Bt,f0 as Ot,dp as It,bY as Et,bX as _t,aQ as Nt,bc as Vt,f9 as Wt,fi as Xt,ab as Yt}from"./index-BrN88eSe.js";import{n as r,b as w}from"./vendor-CnQcJ2Lu.js";import{V as nt}from"./PortfolioDetails-C-YfZonF-C0LO_lmx.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./treasuryColorHelper-COfuUI3C-Ctxr5wUh.js";const qt=we.getLocalizedStrings().spendManagement.treasury,F=[0,125e4,25e5,35e5,5e6],Gt=1e3;function Kt({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:n}){const d=Rt().analytics,[s,m]=w.useState(a);w.useEffect(()=>{m(a)},[a]);const x=h=>{const i=parseFloat(h.target.value),$=he(i,e);m(i),u($),n(i),d.trackTreasuryCalculatorClick("fund transfer",i)},v=h=>{const i=he(h,e);m(h),n(h),u(i),d.trackTreasuryCalculatorClick("fund transfer",h)};return o.jsxs(Jt,{sliderValue:s,children:[o.jsx(Ht,{sliderValue:s,type:"range",min:F[0],max:F[F.length-1],step:Gt,value:s,onChange:x}),o.jsx(eo,{style:{width:`${Math.min(s/F[F.length-1]*92.5,92.5)}%`}}),o.jsx(no,{sliderValue:s,style:{left:`calc(${Math.min(Math.max(s/F[F.length-1]*100,5),95)}% - 50px)`},children:Ut(s)}),o.jsx(to,{children:F.map((h,i)=>o.jsx(oo,{onClick:()=>v(h),"data-testid":P("slider-label",h.toString()),style:{left:Qt(i)},children:o.jsx(ro,{isSelected:s>=h,children:Zt(h)})},h))})]})}const Ut=e=>{const a=Yt("0,0.[00]a",e,"$").toUpperCase();return`${qt.transferDrawer.calculator.sliderTooltipText} ${a}`};function he(e,a){const u=a/100,n=e*Math.pow(1+u/12,12);return Math.floor(n-e)}const Qt=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%"}},Zt=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),Ht=r.input`
|
|
2
|
-
width: 100%;
|
|
3
|
-
&[type="range"]::-webkit-slider-runnable-track {
|
|
4
|
-
height: 2px;
|
|
5
|
-
cursor: pointer;
|
|
6
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
&[type="range"] {
|
|
10
|
-
-webkit-appearance: none;
|
|
11
|
-
appearance: none;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
&[type="range"]::-webkit-slider-thumb {
|
|
15
|
-
-webkit-appearance: none;
|
|
16
|
-
height: ${t.sp5};
|
|
17
|
-
width: ${t.sp5};
|
|
18
|
-
border-radius: 100%;
|
|
19
|
-
margin-top: -${t.sp3}; // Centers thumb on the track
|
|
20
|
-
box-shadow: ${t.sp0} ${t.sp0} 2px ${S.blackColor};
|
|
21
|
-
background-image: ${e=>`url(https://storage.googleapis.com/zeni-apis.appspot.com/images/slider-icon-${e.theme.mode==="dark"?"light":"dark"}.svg)`};
|
|
22
|
-
background-repeat: no-repeat;
|
|
23
|
-
cursor: pointer;
|
|
24
|
-
}
|
|
25
|
-
`,Jt=r.div`
|
|
26
|
-
position: relative;
|
|
27
|
-
width: 70%;
|
|
28
|
-
margin-left: 30px;
|
|
29
|
-
margin-right: 30px;
|
|
30
|
-
margin-bottom: 20px;
|
|
31
|
-
margin-top: ${t.sp5};
|
|
32
|
-
min-height: ${t.sp8};
|
|
33
|
-
`,eo=r.div`
|
|
34
|
-
position: absolute;
|
|
35
|
-
height: 2px;
|
|
36
|
-
margin-top: -${t.sp2};
|
|
37
|
-
background-color: ${e=>e.theme.colors.hero};
|
|
38
|
-
`,to=r.div`
|
|
39
|
-
position: absolute;
|
|
40
|
-
bottom: ${t.sp0};
|
|
41
|
-
top: ${t.sp5};
|
|
42
|
-
width: 100%;
|
|
43
|
-
display: flex;
|
|
44
|
-
justify-content: center;
|
|
45
|
-
`,oo=r.span`
|
|
46
|
-
position: absolute;
|
|
47
|
-
cursor: pointer;
|
|
48
|
-
transform: translateX(-50%);
|
|
49
|
-
`,ro=r(X)`
|
|
50
|
-
color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.grey1};
|
|
51
|
-
white-space: nowrap;
|
|
52
|
-
`,no=r(X)`
|
|
53
|
-
position: absolute;
|
|
54
|
-
top: -${t.sp5};
|
|
55
|
-
white-space: nowrap;
|
|
56
|
-
color: ${S.primaryDark};
|
|
57
|
-
background-color: ${S.success};
|
|
58
|
-
display: flex;
|
|
59
|
-
border-radius: ${t.sp1};
|
|
60
|
-
justify-content: center;
|
|
61
|
-
align-items: center;
|
|
62
|
-
padding: 2px ${t.sp2};
|
|
63
|
-
`,K={navBarContainerPaddingXaxis:new f(10,19),containerPaddingLeft:new f(c[3],c[6],c[8]),containerPaddingRight:new f(c[3],c[6],c[8]),reviewContentWrapperPaddingBottom:new f(c[5],c[8]),elementsContainerPadding:new f(c[3],c[4])},Te={pageTitle:new R("h6Regular","h5Regular"),integerStyles:new R("h5Regular","h2Regular"),decimalStyles:new R("extraLargeMedium","h5Medium")},{common:{edit:io},dateFormat:{visual:{DMMMYYYYFormat:ao}},spendManagement:{treasury:{transferDrawer:E},billPay:{insufficientFunds:{lowBalance:so,addOrSwitchInitiateTransfer:lo,lowBalanceIn:co}}}}=we.getLocalizedStrings(),uo=({fromAccount:e,themeContext:a,toAccount:u,transferDetails:n})=>{const d=ge();if(d==="small"){const s=wo(e,u,n.treasuryAccount.id);return o.jsxs(o.Fragment,{children:[o.jsxs(ce,{style:s.topAccount?.id===n.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:d,children:[o.jsx(de,{children:s.topAccountLabel}),o.jsxs(le,{windowSize:d,children:[N(n.transferMoneyParties,s.topAccount?.id??"",!0,s.topAccount?.id===n.treasuryAccount.id,!0),o.jsxs(ae,{windowSize:d,children:[s.topAccount?.label,o.jsx(se,{children:V(n.transferMoneyParties,n.treasuryAccount,s.topAccount?.id??"",!0,!0,!0)})]})]}),ie(s.topAccount,n.treasuryAccount.id,d,!1)?o.jsx(ue,{}):null]}),s.arrowDirection==="up"?o.jsx(Yo,{}):o.jsx(qo,{}),o.jsxs(ce,{style:s.bottomAccount?.id===n.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:d,children:[o.jsx(de,{children:s.bottomAccountLabel}),o.jsxs(le,{windowSize:d,children:[N(n.transferMoneyParties,s.bottomAccount?.id??"",!0,s.bottomAccount?.id===n.treasuryAccount.id,!0),o.jsxs(ae,{windowSize:d,children:[s.bottomAccount?.label,o.jsx(se,{children:V(n.transferMoneyParties,n.treasuryAccount,s.bottomAccount?.id??"",!0,!1,!0)})]})]}),ie(s.bottomAccount,n.treasuryAccount.id,d,!0)?o.jsx(ue,{}):null]})]})}else return o.jsxs(o.Fragment,{children:[o.jsxs(ce,{style:e?.id===n.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:d,children:[o.jsx(de,{children:"Transfer Funds From"}),o.jsxs(le,{windowSize:d,children:[N(n.transferMoneyParties,e?.id??"",!0,e?.id===n.treasuryAccount.id,!0),o.jsxs(ae,{windowSize:d,children:[e?.label,o.jsx(se,{children:V(n.transferMoneyParties,n.treasuryAccount,e?.id??"",!0,!0,!0)})]})]}),ie(e,n.treasuryAccount.id,d,!1)?o.jsx(ue,{}):null]}),o.jsx(Xo,{}),o.jsxs(ce,{style:u?.id===n.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:d,children:[o.jsx(de,{children:"To"}),o.jsxs(le,{windowSize:d,children:[N(n.transferMoneyParties,u?.id??"",!0,u?.id===n.treasuryAccount.id,!0),o.jsxs(ae,{windowSize:d,children:[u?.label,o.jsx(se,{children:V(n.transferMoneyParties,n.treasuryAccount,u?.id??"",!0,!1,!0)})]})]}),ie(u,n.treasuryAccount.id,d,!1)?o.jsx(ue,{}):null]})]})},po=(e,a,u)=>{if(!e)return!0;if(e.id===a.id){const n=a.balance;return n?z.checkIfLowBalance(u,n):!0}if("accountBalance"in e){const n=e.accountBalance?.available;return n==null?!1:z.checkIfLowBalance(u,n)}return!1},ho=({transferDetails:e,fundDetails:a,portfolioAllocation:u,setShowReviewContent:n,onTransferClick:d,onCancelClick:s})=>{const m=ge(),x=St(),v=pe(e.fetchState),[h,i]=w.useState(!1);w.useEffect(()=>{v==="In-Progress"&&e.fetchState==="Error"&&e.error!=null?i(!0):i(!1)},[e.error]);const{fromAccount:$,toAccount:T,amount:A}=e.treasuryTransferMoneyLocalData,p=po($,e.treasuryAccount,A);return o.jsxs(o.Fragment,{children:[o.jsxs(ko,{windowSize:m,children:[o.jsx(Lo,{windowSize:m,children:o.jsx(vt,{title:"Close",enterTouchDelay:600,placement:"bottom",children:o.jsx(Ee,{"data-testid":P("nav-bar-close-transfer-review"),onClick:s})})}),o.jsx(Fo,{windowSize:m,children:E.reviewAndConfirm}),o.jsx(Vo,{windowSize:m,children:o.jsx(Je,{amount:A,alwaysShowDecimal:!0,integerStyles:Te.integerStyles.styleObject(m),decimalStyles:Te.decimalStyles.styleObject(m)})}),o.jsx(zo,{}),o.jsx(Wo,{children:o.jsxs(o.Fragment,{children:[E.review.prefix,`"${T?.label}" `,E.success.midfix,` "${$?.label}" `,E.review.suffix.replace("__date__",z.zeniDate(z.getNextNthWorkingDay(z.dateNow().toDate(),[0,6],1).toDateString()).format(ao))]})}),p?o.jsx(jt,{variant:"low-balance",style:{marginTop:t.sp3,marginBottom:t.sp3},title:co.replace("__account__",$?.id===e.treasuryAccount.id?$?.label??"":`${$?.label??""} ${$?.maskedAccountNumber??""}`),description:lo}):null,h?o.jsx(Ao,{children:o.jsxs(bo,{children:[o.jsxs(To,{children:[o.jsx(Co,{}),o.jsxs(So,{children:[o.jsx(vo,{children:e.error?.title}),o.jsx(jo,{children:e.error?.message})]})]}),o.jsx(Po,{children:o.jsx(Ee,{"data-testid":P("close-error-transfer-review"),onClick:()=>{i(!1)},style:{width:t.sp3,height:t.sp3,color:S.heroLight}})})]})}):null,o.jsx(Do,{windowSize:m,children:o.jsxs(xo,{windowSize:m,children:[o.jsx(yo,{windowSize:m,children:o.jsx(uo,{fromAccount:$,themeContext:x,toAccount:T,transferDetails:e})}),o.jsx($o,{children:o.jsx(nt,{isInReview:!0,isSetup:!1,fundDetails:a,allocation:u,amount:fo(e),fundAllocations:go(e),page:"transfer review"})})]})})]}),o.jsx(He,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp0},helperText:E.review.footNote,helperStyle:{padding:`${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0}`},cancelBtn:{label:io,onClick:()=>{i(!1),n(!1)},style:{minWidth:94}},primaryBtn:{label:E.transferBtn,onClick:d,isLoading:e.fetchState==="In-Progress",isDisabled:p,style:{minWidth:94}}})]})},N=(e,a,u,n,d)=>{if(n===!0)return o.jsx(_e,{isOptionSelected:u,isForReview:d,children:o.jsx(Ne,{color:S.brandColorGoldDark})});if(a==="")return o.jsx(No,{isForReview:d,children:o.jsx(Lt,{})});const s=e.find(x=>x.id===a),m=e.findIndex(x=>x.id===a);if(s!=null){if(s.accType==="depositAccount")return o.jsx(_e,{isOptionSelected:u,isForReview:d,children:o.jsx(Ne,{color:Ft(m)})});if(s.accType==="paymentAccount")return s.logo!==void 0&&(s.logo.base64||s.logo.url)?o.jsx(Io,{src:mo(s.logo),isOptionSelected:u,isForReview:d,loading:"lazy"}):o.jsx(Eo,{isOptionSelected:u,isForReview:d,children:o.jsx(_o,{})})}return null},V=(e,a,u,n,d,s,m)=>{if(!u)return null;if(u===a.id)return(s||!n)&&a.balance?o.jsx(ve,{children:W("0,0[.]00",a.balance)}):null;const x=e.find(h=>h.id===u);let v=!1;return d===!0&&m!=null&&x?.accountBalance?.available?.amount!=null&&(v=z.checkIfLowBalance(m,x.accountBalance.available)),n===!0&&!s?o.jsx(Ro,{children:x?.maskedAccountNumber}):o.jsxs(Mo,{className:"option-sublabel",children:[o.jsx(ve,{children:x?.maskedAccountNumber}),x?.accountBalance?.available?o.jsx(Oo,{className:"dot"}):null,x?.accountBalance?.available?o.jsxs(ve,{children:[W("0,0[.]00",x.accountBalance.available),v?o.jsx(Bo,{children:so}):null]}):null,x?.balanceFetchStatus?.fetchState==="In-Progress"?o.jsx(Ze,{size:"Small",start:!0}):null]})},mo=e=>e.base64!==void 0?`${Mt}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",fo=e=>{const{fromAccount:a}=e.treasuryTransferMoneyLocalData;if(a?.id!==e.treasuryAccount.id)return e.treasuryTransferMoneyLocalData.amount},go=e=>{const{fromAccount:a}=e.treasuryTransferMoneyLocalData;if(a?.id===e.treasuryAccount.id)return e.treasuryAccount.fundAllocations},wo=(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"},ie=(e,a,u,n)=>u==="small"?e?.id===a&&n:e?.id===a,ae=r.div`
|
|
64
|
-
display: flex;
|
|
65
|
-
flex-direction: column;
|
|
66
|
-
`,se=r(X)`
|
|
67
|
-
color: ${e=>e.theme.colors.hero};
|
|
68
|
-
`,le=r(Y)`
|
|
69
|
-
display: flex;
|
|
70
|
-
align-items: center;
|
|
71
|
-
`,xo=r.div`
|
|
72
|
-
display: flex;
|
|
73
|
-
flex-direction: column;
|
|
74
|
-
width: 100%;
|
|
75
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
76
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
77
|
-
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
78
|
-
border-radius: ${t.sp2};
|
|
79
|
-
padding: ${e=>`${K.elementsContainerPadding.valuePx(e.windowSize)}`};
|
|
80
|
-
gap: ${t.sp4};
|
|
81
|
-
${e=>e.windowSize==="small"&&`
|
|
82
|
-
width: auto;
|
|
83
|
-
`}
|
|
84
|
-
`,yo=r.div`
|
|
85
|
-
display: flex;
|
|
86
|
-
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
87
|
-
justify-content: space-between;
|
|
88
|
-
align-items: ${e=>e.windowSize==="small"?"stretch":"center"};
|
|
89
|
-
width: 100%;
|
|
90
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
91
|
-
`,ce=r.div`
|
|
92
|
-
display: flex;
|
|
93
|
-
flex-direction: column;
|
|
94
|
-
gap: ${t.sp1};
|
|
95
|
-
padding: ${t.sp2} ${t.sp3};
|
|
96
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
97
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
98
|
-
border-radius: ${t.sp2};
|
|
99
|
-
width: ${e=>e.windowSize==="small"?"auto":"288px"};
|
|
100
|
-
`,$o=r.div`
|
|
101
|
-
padding: ${t.sp2} ${t.sp3};
|
|
102
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
103
|
-
border: 1px solid ${e=>e.theme.colors.grey1};
|
|
104
|
-
border-radius: ${t.sp2};
|
|
105
|
-
`,bo=r.div`
|
|
106
|
-
display: flex;
|
|
107
|
-
width: 100%;
|
|
108
|
-
justify-content: space-between;
|
|
109
|
-
padding: ${t.sp3} ${t.sp4};
|
|
110
|
-
background-color: ${S.importantLight};
|
|
111
|
-
border-radius: ${t.sp2};
|
|
112
|
-
`,So=r.div`
|
|
113
|
-
display: flex;
|
|
114
|
-
flex-direction: column;
|
|
115
|
-
margin-left: ${t.sp2};
|
|
116
|
-
`,vo=r(rt)`
|
|
117
|
-
color: ${S.important};
|
|
118
|
-
`,jo=r(Y)`
|
|
119
|
-
color: ${S.important};
|
|
120
|
-
`,Ao=r.div`
|
|
121
|
-
margin-top: ${t.sp3};
|
|
122
|
-
display: flex;
|
|
123
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
124
|
-
justify-content: space-between;
|
|
125
|
-
padding: ${t.sp3} ${t.sp4};
|
|
126
|
-
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
127
|
-
border-radius: ${t.sp2};
|
|
128
|
-
box-shadow: ${e=>`${t.sp0} 2px 2px ${e.theme.colors.dropShadowNormal}`};
|
|
129
|
-
`,ko=r.div`
|
|
130
|
-
height: auto;
|
|
131
|
-
padding-left: ${e=>`${K.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
132
|
-
padding-right: ${e=>`${K.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
133
|
-
margin-bottom: auto;
|
|
134
|
-
`,To=r.div`
|
|
135
|
-
display: flex;
|
|
136
|
-
align-items: flex-start;
|
|
137
|
-
`,Po=r.div``,Co=r(ot)`
|
|
138
|
-
width: ${t.sp4};
|
|
139
|
-
height: ${t.sp4};
|
|
140
|
-
color: ${S.important};
|
|
141
|
-
`,Ee=r(Ce)`
|
|
142
|
-
cursor: pointer;
|
|
143
|
-
color: ${e=>e.theme.colors.hero};
|
|
144
|
-
width: ${t.sp4};
|
|
145
|
-
height: ${t.sp4};
|
|
146
|
-
min-height: ${t.sp4};
|
|
147
|
-
&:hover {
|
|
148
|
-
color: ${e=>e.theme.colors.primary};
|
|
149
|
-
}
|
|
150
|
-
`,zo=r.div`
|
|
151
|
-
display: flex;
|
|
152
|
-
flex: 1;
|
|
153
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
154
|
-
min-height: 1px;
|
|
155
|
-
max-height: 1px;
|
|
156
|
-
`,de=r(X)`
|
|
157
|
-
color: ${e=>e.theme.colors.hero};
|
|
158
|
-
`,Do=r.div`
|
|
159
|
-
display: flex;
|
|
160
|
-
flex-direction: column;
|
|
161
|
-
padding-top: ${t.sp3};
|
|
162
|
-
padding-bottom: ${e=>`${K.reviewContentWrapperPaddingBottom.valuePx(e.windowSize)}`};
|
|
163
|
-
`,Lo=r.div`
|
|
164
|
-
display: flex;
|
|
165
|
-
flex-direction: row;
|
|
166
|
-
justify-content: flex-end;
|
|
167
|
-
align-items: center;
|
|
168
|
-
width: 100%;
|
|
169
|
-
top: ${t.sp0};
|
|
170
|
-
padding: ${e=>`${K.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${t.sp0}`};
|
|
171
|
-
z-index: 2;
|
|
172
|
-
background-color: transparent;
|
|
173
|
-
`,Fo=r(et)`
|
|
174
|
-
${e=>`${Te.pageTitle.style(e.windowSize)}`};
|
|
175
|
-
color: ${e=>e.theme.colors.primary};
|
|
176
|
-
padding: ${t.sp3} ${t.sp0} ${t.sp2} ${t.sp0};
|
|
177
|
-
${e=>e.windowSize==="small"&&`
|
|
178
|
-
padding-bottom: ${t.sp0};
|
|
179
|
-
`}
|
|
180
|
-
`,Mo=r(X)`
|
|
181
|
-
color: ${e=>e.theme.colors.hero};
|
|
182
|
-
display: flex;
|
|
183
|
-
flex-direction: row;
|
|
184
|
-
align-items: center;
|
|
185
|
-
gap: ${t.sp2};
|
|
186
|
-
`,Ro=r.span`
|
|
187
|
-
margin-left: ${t.sp2};
|
|
188
|
-
`,ve=r.div``,Bo=r(Vt)`
|
|
189
|
-
color: ${e=>e.theme.colors.brandColorGoldDark};
|
|
190
|
-
margin-left: ${t.sp1};
|
|
191
|
-
`,Oo=r.div`
|
|
192
|
-
width: ${t.sp1};
|
|
193
|
-
height: ${t.sp1};
|
|
194
|
-
min-width: ${t.sp1};
|
|
195
|
-
background-color: ${e=>e.theme.colors.grey1};
|
|
196
|
-
border-radius: 50%;
|
|
197
|
-
`,Io=r.img`
|
|
198
|
-
display: flex;
|
|
199
|
-
width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
|
|
200
|
-
height: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
|
|
201
|
-
min-width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
|
|
202
|
-
margin-right: ${t.sp2};
|
|
203
|
-
`,Eo=r.div`
|
|
204
|
-
min-width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
|
|
205
|
-
width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
|
|
206
|
-
height: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
|
|
207
|
-
margin-right: ${t.sp2};
|
|
208
|
-
`,_o=r(Xt)`
|
|
209
|
-
min-width: inherit;
|
|
210
|
-
width: inherit;
|
|
211
|
-
height: inherit;
|
|
212
|
-
margin-right: ${t.sp2};
|
|
213
|
-
`,_e=r.div`
|
|
214
|
-
min-width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
|
|
215
|
-
width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
|
|
216
|
-
height: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
|
|
217
|
-
margin-right: ${t.sp2};
|
|
218
|
-
`,Ne=r(Wt)`
|
|
219
|
-
min-width: inherit;
|
|
220
|
-
width: inherit;
|
|
221
|
-
height: inherit;
|
|
222
|
-
margin-right: ${t.sp2};
|
|
223
|
-
`,No=r.div`
|
|
224
|
-
width: ${e=>e.isForReview?t.sp6:t.sp4};
|
|
225
|
-
height: ${e=>e.isForReview?t.sp6:t.sp4};
|
|
226
|
-
margin-right: 12px;
|
|
227
|
-
margin-left: ${t.sp1};
|
|
228
|
-
color: ${e=>e.theme.colors.hero};
|
|
229
|
-
`,Vo=r(tt)`
|
|
230
|
-
color: ${e=>e.theme.colors.primary};
|
|
231
|
-
margin: ${t.sp2} ${t.sp0} ${t.sp3} ${t.sp0};
|
|
232
|
-
${e=>e.windowSize==="small"&&`
|
|
233
|
-
margin-top: ${t.sp1};
|
|
234
|
-
margin-bottom: ${t.sp1};
|
|
235
|
-
`}
|
|
236
|
-
`,Wo=r(Y)`
|
|
237
|
-
color: ${e=>e.theme.colors.hero};
|
|
238
|
-
margin-top: ${t.sp3};
|
|
239
|
-
`,Xo=r(Nt)`
|
|
240
|
-
width: ${t.sp4};
|
|
241
|
-
height: ${t.sp4};
|
|
242
|
-
color: ${e=>e.theme.colors.hero};
|
|
243
|
-
`,Yo=r(Et)`
|
|
244
|
-
width: ${t.sp4};
|
|
245
|
-
height: ${t.sp4};
|
|
246
|
-
color: ${e=>e.theme.colors.hero};
|
|
247
|
-
align-self: center;
|
|
248
|
-
`,qo=r(_t)`
|
|
249
|
-
width: ${t.sp4};
|
|
250
|
-
height: ${t.sp4};
|
|
251
|
-
color: ${e=>e.theme.colors.hero};
|
|
252
|
-
align-self: center;
|
|
253
|
-
`,ue=r.div`
|
|
254
|
-
width: 1px;
|
|
255
|
-
height: 25px;
|
|
256
|
-
background-color: ${e=>e.theme.colors.grey1};
|
|
257
|
-
position: absolute;
|
|
258
|
-
right: 50%;
|
|
259
|
-
bottom: -25px;
|
|
260
|
-
`,{common:je,spendManagement:{treasury:M,zeniAccounts:{zeniAccountList:Go},billPay:{insufficientFunds:Ve}}}=we.getLocalizedStrings(),it="amount",Ko="transferTo",Uo="transferFrom",_="transferDetails",at="transferDetailPage",Ae=(e,a)=>`${e}.${a}`,st=e=>`${e}_form`,g={largeLabelWidth:new f(120,120,160),labeleMarginLeft:new f(c[0],c[0]),labelMarginRight:new f(c[3],c[3]),labeleMarginBottom:new f(c[2],c[0]),labeledFieldPaddingLeft:new f(c[3],c[0]),labeledFieldPaddingRight:new f(c[3],c[2]),labeledFieldPaddingTop:new f(c[3],c[3]),labeledFieldPaddingBottom:new f(c[3],c[2]),infoLabelPaddingRight:new f(c[0],c[3]),infoLabelMarginTop:new f(c[1],c[0]),portfolioContainerPadding:new f(c[3],c[4]),rowContentSelectPaddingLeft:new f(c[3],c[4]),formFieldPaddingRight:new f(0,c[2])},me={yieldEarned:new R("smallMedium","standardMedium"),calculatorFooterText:new R("extraSmallRegular","smallRegular"),integerStyles:new R("h5Regular","h2Regular"),decimalStyles:new R("extraLargeMedium","h5Medium")};function Qo({transferDetails:e,fundDetails:a,portfolioAllocation:u,isFirstTransfer:n,maxInsuredAmount:d,plaidConnectionDetails:s,onSaveChangesToLocalStore:m,onReviewClick:x,onEstablishConnectionClick:v,onFetchLinkTokenClick:h}){const i=ge(),$=g.largeLabelWidth.value(i),[T,A]=w.useState(!1),[p,C]=w.useState(!1),[B,Q]=w.useState(e.treasuryTransferMoneyLocalData.amount?.amount??0),O=a.reduce((l,y)=>{const j=y.yield;return Math.max(l,j)},0),[Z,H]=w.useState(he(B,O)),b=s.link_account_no_microdeposit,[D,xe]=w.useState(b.linkToken??null),[J,ze]=w.useState(!1),[De,Le]=w.useState(!1),ye=e.transferMoneyPartiesFetchState,Fe=pe(ye),$e=e.treasuryTransferMoneyLocalData.fromAccount?.id,be=e.treasuryTransferMoneyLocalData.toAccount?.id,Me=pe($e),Re=pe(be),lt=w.useCallback(l=>{v?.(l),Le(!1),ze(!1)},[v]),ct=w.useCallback((l,y)=>{l!=null&&console.log("Plaid Connection Error",l,y)},[]),{open:ee,ready:q}=kt({token:D,onSuccess:lt,onExit:ct}),G=w.useCallback(l=>{l.preventDefault(),l.stopPropagation(),q?ee():ze(!0)},[ee,q]),I=Tt({mode:"all",reValidateMode:"onChange",defaultValues:w.useMemo(()=>We(e,n,G),[e,n])}),{isValid:dt}=I.formState;w.useEffect(()=>{b.fetchStatus.fetchState==="Completed"&&b.linkToken!=null&&b.linkToken!==D&&xe(b.linkToken)},[b.fetchStatus.fetchState,b.linkToken,D]),w.useEffect(()=>{b.linkToken===D&&b.fetchStatus.fetchState==="Completed"&&q&&Le(!0)},[q,D,b.fetchStatus,b.linkToken,b.fetchStatus.fetchState]),w.useEffect(()=>{De&&J&&ee()},[De,ee,J]),w.useEffect(()=>{(z.zeniDate(new Date().toISOString()).isAfter(b.expiration)||b.linkToken==null)&&h?.("link_account_no_microdeposit")},[]),w.useEffect(()=>{(Fe==="In-Progress"&&ye==="Completed"||Me!==$e||Re!==be)&&I.reset(We(e,n,G))},[q,D,b.fetchStatus.fetchState,Fe,ye,Me,Re,be,$e,I,e,n,G]);const ut=()=>e.transferMoneyParties.find(l=>l.id!==e.treasuryAccount.id&&l.accType==="depositAccount"),pt=()=>{const l=e.primaryPaymentAccount?.paymentAccountId;return e.transferMoneyParties.find(y=>y.id===l)},ht=async(l,y)=>{if(l!=null){const j={...y},te=j[_].transferFrom.selectedOption,oe=j[_].transferTo.selectedOption;let re=e.transferMoneyParties.find(Se=>Se.id===te),ne=e.transferMoneyParties.find(Se=>Se.id===oe);te===e.treasuryAccount.id&&(re=e.treasuryAccount),oe===e.treasuryAccount.id&&(ne=e.treasuryAccount);const Oe={amount:j[_].amount??0,currencyCode:"USD",currencySymbol:"$"};l.includes("transferFrom")?te===e.treasuryAccount.id?oe===e.treasuryAccount.id&&(ne=ut()):ne=e.treasuryAccount:l.includes("transferTo")&&(oe===e.treasuryAccount.id?te===e.treasuryAccount.id&&(re=pt()):re=e.treasuryAccount);const wt={amount:Oe,fromAccount:re,toAccount:ne};Q(Oe.amount),m(wt)}};w.useEffect(()=>{const l=I.watch((y,{name:j})=>{j!=null&&y!=null&&Pt(()=>ht(j,y))});return()=>{l.unsubscribe()}}),w.useEffect(()=>{H(he(B,O))},[B,O]);const mt=I.handleSubmit(()=>{dt&&x()}),{fromAccount:ft,toAccount:Be,amount:L}=e.treasuryTransferMoneyLocalData,gt=l=>{if(!l||!L.amount)return"";const y=e.transferMoneyParties.find(j=>j.id===l);if(l===e.treasuryAccount.id){const j=e.treasuryAccount.balance;if(j&&z.checkIfLowBalance(L,j))return Ve.addMoney}else if(y?.accountBalance?.available&&z.checkIfLowBalance(L,y.accountBalance.available))return Ve.addMoney;return""};return o.jsxs(o.Fragment,{children:[T?o.jsx(Zo,{children:o.jsxs(Jo,{children:[o.jsxs(er,{children:[o.jsx(or,{}),o.jsxs(rr,{children:[o.jsx(nr,{children:e.error?.title}),o.jsx(ir,{children:e.error?.message})]})]}),o.jsx(tr,{children:o.jsx(cr,{"data-testid":P("amount-details-error-close"),onClick:()=>{A(!1)},style:{width:t.sp3,height:t.sp3,color:S.heroLight}})})]})}):null,o.jsx(ar,{windowSize:i,children:o.jsx(Je,{amount:L,integerStyles:me.integerStyles.styleObject(i),decimalStyles:me.decimalStyles.styleObject(i),alwaysShowDecimal:!0})}),o.jsx(Ct,{...I,children:o.jsxs(Ho,{id:st(at),onSubmit:mt,children:[o.jsxs(sr,{children:[o.jsx(Pe,{size:i,children:o.jsx(Xe,{label:{label:je.labels.transferFrom,width:$,style:{marginLeft:g.labeleMarginLeft.valuePx(i),marginBottom:g.labeleMarginBottom.valuePx(i),marginRight:g.labelMarginRight.valuePx(i)}},style:{paddingTop:g.labeledFieldPaddingTop.valuePx(i),paddingBottom:g.labeledFieldPaddingBottom.valuePx(i),paddingLeft:g.labeledFieldPaddingLeft.valuePx(i),paddingRight:g.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:g.infoLabelPaddingRight.valuePx(i),marginTop:g.infoLabelMarginTop.valuePx(i),color:S.brandColorGoldDark},singleSelectPickerField:{name:Ae(_,Uo),style:{position:"relative"},capitalizeOptions:!0,placeholder:M.transferDrawer.selectAccount,valueToLogo:(l,y)=>N(e.transferMoneyParties,l,y,l===e.treasuryAccount.id,!1),valueToSubLabels:(l,y)=>V(e.transferMoneyParties,e.treasuryAccount,l,y,!0,!1,L),defaultValue:{selectedOption:ft?.id,allOptions:fe(e,!0,n,!0,G,!0)},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}},valueToAdditionalLabel:gt})}),!n&&o.jsxs(o.Fragment,{children:[o.jsx(ke,{}),o.jsx(Pe,{size:i,children:o.jsx(Xe,{label:{label:je.labels.transferTo,width:$,style:{marginLeft:g.labeleMarginLeft.valuePx(i),marginBottom:g.labeleMarginBottom.valuePx(i),marginRight:g.labelMarginRight.valuePx(i)}},style:{paddingTop:g.labeledFieldPaddingTop.valuePx(i),paddingBottom:g.labeledFieldPaddingBottom.valuePx(i),paddingLeft:g.labeledFieldPaddingLeft.valuePx(i),paddingRight:g.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:g.infoLabelPaddingRight.valuePx(i),marginTop:g.infoLabelMarginTop.valuePx(i),color:S.brandColorGoldDark},singleSelectPickerField:{name:Ae(_,Ko),style:{position:"relative"},capitalizeOptions:!0,placeholder:M.transferDrawer.selectAccount,valueToLogo:(l,y)=>N(e.transferMoneyParties,l,y,l===e.treasuryAccount.id,!1),valueToSubLabels:(l,y)=>V(e.transferMoneyParties,e.treasuryAccount,l,y,!1,!1),defaultValue:{selectedOption:Be?.id,allOptions:fe(e,!1,n,!0,G,!1)},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}}})})]}),o.jsx(ke,{}),o.jsx(zt,{showAdditionalInfoLabel:!1,label:{label:je.labels.amount,width:$},style:{padding:t.sp2,paddingLeft:t.sp0,paddingRight:g.formFieldPaddingRight.valuePx(i),width:"auto"},formattedTextField:{type:"number",name:Ae(_,it),defaultValue:L.amount===0?void 0:L.amount,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:l=>!!l&&l>0},placeholder:M.transferDrawer.amountPlaceholder,autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1}}),n&&o.jsxs(o.Fragment,{children:[o.jsx(ke,{}),o.jsx(lr,{size:i,children:o.jsx(nt,{isInReview:!0,fundDetails:a,allocation:u,isSetup:!1,amount:L,page:"fund transfer"})})]})]}),!n&&Be?.accType==="treasuryAccount"&&o.jsxs(dr,{children:[p?o.jsxs(ur,{children:[o.jsx(pr,{windowSize:i,children:M.transferDrawer.calculator.heading.replace("__amount__",W("0,0.[00]a",{amount:d,currencySymbol:"$"})).replace("__rate__",O.toString())}),o.jsx(Kt,{interestRate:O,transferAmount:B,setYieldEarned:H,setTransferAmount:Q})]}):null,o.jsxs(mr,{windowSize:i,children:[o.jsxs(wr,{windowSize:i,children:[o.jsx(fr,{children:o.jsx(hr,{windowSize:i,children:`${M.transferDrawer.calculator.footerText.annualYieldEarned} ${W("0,0",{amount:Z,currencySymbol:"$"})}`})}),o.jsx(gr,{windowSize:i}),o.jsx(xr,{children:`${M.transferDrawer.calculator.footerText.forTotalDeposit} ${W("0,0",{amount:B,currencySymbol:"$"})}`})]}),p?o.jsxs(qe,{windowSize:i,onClick:()=>C(!1),"data-testid":P("calculator-footer-close"),children:[o.jsx(Ye,{className:"calculatorFooterLeftText",windowSize:i,children:M.transferDrawer.calculator.footerText.hide}),o.jsx(yr,{className:"calculatorFooterArrowIcon"})]}):o.jsxs(qe,{windowSize:i,onClick:()=>C(!0),"data-testid":P("calculator-footer-show"),children:[o.jsx(Ye,{className:"calculatorFooterLeftText",windowSize:i,children:M.transferDrawer.calculator.footerText.showYieldCalculator}),o.jsx($r,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]})}const fe=(e,a,u,n=!0,d,s=!1,m,x)=>{const v=e.treasuryTransferMoneyLocalData.fromAccount?.id,h=e.treasuryTransferMoneyLocalData.toAccount?.id,i=e.transferMoneyParties.find(p=>p.id===v)||e.treasuryAccount,$=e.transferMoneyParties.find(p=>p.id===h)||e.treasuryAccount;let T=e.transferMoneyParties;a||(T=T.filter(p=>p.accType!=="paymentAccount"));const A=T.map(p=>{const C={label:p.label,value:p.id};return n&&(a?C.isDisabled=p.id===h||p.accType==="paymentAccount"&&$?.accType==="paymentAccount":C.isDisabled=p.id===v||p.accType==="paymentAccount"&&i?.accType==="paymentAccount"),C});if(!u){const p={label:"Treasury",value:e.treasuryAccount.id,isDisabled:!1};n&&(a?p.isDisabled=!1:p.isDisabled=e.treasuryAccount.id===v),a?A.push(p):A.unshift(p)}if(s&&d){const p={label:Go.transferDrawer.selectAddAccount,value:"",type:"button",onClick:d};A.push(p)}return A},We=(e,a,u)=>{const{fromAccount:n,toAccount:d,amount:s}=e.treasuryTransferMoneyLocalData;return{transferDetails:{[it]:s.amount===0?void 0:s.amount,transferFrom:{allOptions:fe(e,!0,a,!0,u,!0),selectedOption:n!=null?n.id:e.primaryPaymentAccount?.paymentAccountId},transferTo:{allOptions:fe(e,!1,a,!0,u,!1),selectedOption:d?.id}}}},Zo=r.div`
|
|
261
|
-
margin-top: ${t.sp3};
|
|
262
|
-
display: flex;
|
|
263
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
264
|
-
justify-content: space-between;
|
|
265
|
-
padding: ${t.sp3} ${t.sp4};
|
|
266
|
-
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
267
|
-
border-radius: ${t.sp2};
|
|
268
|
-
box-shadow: ${e=>`${t.sp0} 2px 2px ${e.theme.colors.dropShadowNormal}`};
|
|
269
|
-
`,Ho=r.form`
|
|
270
|
-
display: flex;
|
|
271
|
-
flex-direction: column;
|
|
272
|
-
justify-content: center;
|
|
273
|
-
align-items: center;
|
|
274
|
-
`,Jo=r.div`
|
|
275
|
-
display: flex;
|
|
276
|
-
width: 100%;
|
|
277
|
-
justify-content: space-between;
|
|
278
|
-
padding: ${t.sp3} ${t.sp4};
|
|
279
|
-
background-color: ${S.importantLight};
|
|
280
|
-
border-radius: ${t.sp2};
|
|
281
|
-
`,er=r.div`
|
|
282
|
-
display: flex;
|
|
283
|
-
align-items: flex-start;
|
|
284
|
-
`,tr=r.div``,or=r(ot)`
|
|
285
|
-
width: ${t.sp4};
|
|
286
|
-
height: ${t.sp4};
|
|
287
|
-
color: ${S.important};
|
|
288
|
-
`,rr=r.div`
|
|
289
|
-
display: flex;
|
|
290
|
-
flex-direction: column;
|
|
291
|
-
margin-left: ${t.sp2};
|
|
292
|
-
`,nr=r(rt)`
|
|
293
|
-
color: ${S.important};
|
|
294
|
-
`,ir=r(Y)`
|
|
295
|
-
color: ${S.important};
|
|
296
|
-
`,ar=r(tt)`
|
|
297
|
-
color: ${e=>e.theme.colors.primary};
|
|
298
|
-
margin: ${t.sp5} ${t.sp0} ${t.sp3} ${t.sp0};
|
|
299
|
-
${e=>e.windowSize==="small"&&`
|
|
300
|
-
margin-top: ${t.sp1};
|
|
301
|
-
margin-bottom: ${t.sp1};
|
|
302
|
-
`}
|
|
303
|
-
`,Xe=r(Dt)`
|
|
304
|
-
border-radius: ${t.sp2};
|
|
305
|
-
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
306
|
-
`,sr=r.div`
|
|
307
|
-
display: flex;
|
|
308
|
-
flex-direction: column;
|
|
309
|
-
width: 100%;
|
|
310
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
311
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
312
|
-
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
313
|
-
border-radius: ${t.sp2};
|
|
314
|
-
`,ke=r.div`
|
|
315
|
-
display: flex;
|
|
316
|
-
flex: 1;
|
|
317
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
318
|
-
min-height: 1px;
|
|
319
|
-
max-height: 1px;
|
|
320
|
-
`,Pe=r.div`
|
|
321
|
-
display: flex;
|
|
322
|
-
flex-direction: row;
|
|
323
|
-
padding: ${t.sp2};
|
|
324
|
-
padding-left: ${({size:e})=>g.rowContentSelectPaddingLeft.valuePx(e)};
|
|
325
|
-
justify-content: space-between;
|
|
326
|
-
color: ${e=>e.theme.colors.hero};
|
|
327
|
-
&:hover {
|
|
328
|
-
z-index: 1;
|
|
329
|
-
outline: 1px solid ${e=>e.theme.colors.primary};
|
|
330
|
-
.select-control {
|
|
331
|
-
background-color: ${e=>e.theme.colors.background};
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
&:focus-within {
|
|
335
|
-
border-color: ${e=>e.theme.colors.primary};
|
|
336
|
-
color: ${e=>e.theme.colors.primary};
|
|
337
|
-
z-index: 2;
|
|
338
|
-
outline: 1px solid ${e=>e.theme.colors.primary};
|
|
339
|
-
}
|
|
340
|
-
:first-of-type {
|
|
341
|
-
border-top-left-radius: inherit;
|
|
342
|
-
border-top-right-radius: inherit;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
${({size:e})=>e==="small"&&`
|
|
346
|
-
.select-value-container {
|
|
347
|
-
margin-right: ${t.sp1} !important;
|
|
348
|
-
}
|
|
349
|
-
`}
|
|
350
|
-
`,lr=r(Pe)`
|
|
351
|
-
padding: ${({size:e})=>g.portfolioContainerPadding.valuePx(e)};
|
|
352
|
-
padding-top: ${t.sp2};
|
|
353
|
-
`,cr=r(Ce)`
|
|
354
|
-
cursor: pointer;
|
|
355
|
-
color: ${e=>e.theme.colors.hero};
|
|
356
|
-
width: ${t.sp4};
|
|
357
|
-
height: ${t.sp4};
|
|
358
|
-
min-height: ${t.sp4};
|
|
359
|
-
&:hover {
|
|
360
|
-
color: ${e=>e.theme.colors.primary};
|
|
361
|
-
}
|
|
362
|
-
`,dr=r.div`
|
|
363
|
-
margin-bottom: ${t.sp6};
|
|
364
|
-
width: 90%;
|
|
365
|
-
`,ur=r.div`
|
|
366
|
-
background-color: ${e=>e.theme.colors.background};
|
|
367
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
368
|
-
border-top: none;
|
|
369
|
-
min-height: 182px;
|
|
370
|
-
display: flex;
|
|
371
|
-
justify-content: center;
|
|
372
|
-
align-items: center;
|
|
373
|
-
flex-direction: column;
|
|
374
|
-
`,pr=r(Y)`
|
|
375
|
-
color: ${e=>e.theme.colors.hero};
|
|
376
|
-
margin: ${e=>e.windowSize==="small"?t.sp3:`${t.sp3} ${t.sp8}`};
|
|
377
|
-
white-space: pre-line;
|
|
378
|
-
text-align: center;
|
|
379
|
-
`,hr=r.div`
|
|
380
|
-
${e=>me.yieldEarned.style(e.windowSize)}
|
|
381
|
-
color: ${S.success};
|
|
382
|
-
white-space: nowrap;
|
|
383
|
-
`,mr=r.div`
|
|
384
|
-
display: flex;
|
|
385
|
-
align-items: center;
|
|
386
|
-
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
387
|
-
justify-content: space-between;
|
|
388
|
-
padding: ${t.sp2} ${t.sp3};
|
|
389
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
390
|
-
border-bottom-right-radius: ${t.sp1};
|
|
391
|
-
border-bottom-left-radius: ${t.sp1};
|
|
392
|
-
`,fr=r.div`
|
|
393
|
-
display: flex;
|
|
394
|
-
flex-direction: row;
|
|
395
|
-
align-items: center;
|
|
396
|
-
`,Ye=r.div`
|
|
397
|
-
${e=>me.calculatorFooterText.style(e.windowSize)}
|
|
398
|
-
color: ${e=>e.theme.colors.hero};
|
|
399
|
-
cursor: pointer;
|
|
400
|
-
`,qe=r.div`
|
|
401
|
-
display: flex;
|
|
402
|
-
flex-direction: row;
|
|
403
|
-
align-items: center;
|
|
404
|
-
gap: 6px;
|
|
405
|
-
align-self: ${e=>e.windowSize==="small"?"flex-end":"center"};
|
|
406
|
-
&:hover {
|
|
407
|
-
.calculatorFooterLeftText {
|
|
408
|
-
color: ${e=>e.theme.colors.primary};
|
|
409
|
-
}
|
|
410
|
-
.calculatorFooterArrowIcon {
|
|
411
|
-
color: ${e=>e.theme.colors.primary};
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
`,gr=r.div`
|
|
415
|
-
display: ${e=>e.windowSize==="small"?"none":"block"};
|
|
416
|
-
width: ${t.sp1};
|
|
417
|
-
height: ${t.sp1};
|
|
418
|
-
min-width: ${t.sp1};
|
|
419
|
-
margin: 0 ${t.sp2};
|
|
420
|
-
background-color: ${e=>e.theme.colors.grey1};
|
|
421
|
-
border-radius: 50%;
|
|
422
|
-
`,wr=r.div`
|
|
423
|
-
display: flex;
|
|
424
|
-
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
425
|
-
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
426
|
-
width: ${e=>e.windowSize==="small"?"100%":"unset"};
|
|
427
|
-
`,xr=r(Bt)`
|
|
428
|
-
color: ${e=>e.theme.colors.hero};
|
|
429
|
-
`,yr=r(Ot)`
|
|
430
|
-
cursor: pointer;
|
|
431
|
-
width: 12px;
|
|
432
|
-
height: 12px;
|
|
433
|
-
min-width: 12px;
|
|
434
|
-
min-height: 12px;
|
|
435
|
-
color: ${e=>e.theme.colors.hero};
|
|
436
|
-
`,$r=r(It)`
|
|
437
|
-
cursor: pointer;
|
|
438
|
-
width: 12px;
|
|
439
|
-
height: 12px;
|
|
440
|
-
min-width: 12px;
|
|
441
|
-
min-height: 12px;
|
|
442
|
-
color: ${e=>e.theme.colors.hero};
|
|
443
|
-
`,U={navBarContainerPaddingXaxis:new f(10,19),containerPaddingLeft:new f(c[3],c[6],c[8]),containerPaddingRight:new f(c[3],c[6],c[8]),successContentMargin:new f(c[3],c[12]),buttonTrayGap:new f(c[4],c[5])},br={formTitle:new R("h6Regular","h5Regular")},{common:Ge,spendManagement:{treasury:k}}=we.getLocalizedStrings(),Vr=({transferDetails:e,treasurySetupView:a,showReviewContent:u,maxInsuredAmount:n,isFirstTransfer:d,plaidConnectionDetails:s,onSaveChangesToLocalStore:m,onTransferClick:x,onAnotherTransferClick:v,onCancelClick:h,setShowReviewContent:i,onReviewClick:$,onEstablishConnectionClick:T,onFetchLinkTokenClick:A})=>{const p=ge(),{fundsData:C,currentAllocation:B,fundAllocationOptions:Q,fetchState:O}=a,Z=Q.find(J=>xt(J.allocation,B))??{allocation:{},riskLevel:"Conservative",riskScore:0,optionIndex:0},H=()=>O==="Completed"&&(e.treasuryTransferMoneyLocalData.fromAccount!=null||e.treasuryTransferMoneyLocalData.toAccount!=null||e.treasuryTransferMoneyLocalData.amount.amount>0),{fromAccount:b,toAccount:D,amount:xe}=e.treasuryTransferMoneyLocalData;return o.jsx(jr,{windowSize:p,children:e.fetchState==="Completed"?o.jsxs(Ke,{windowSize:p,isTransferCompleted:!0,children:[o.jsx(Ue,{windowSize:p,children:o.jsx(Qe,{"data-testid":P("cross-transfer-success-close-button"),onClick:()=>{h()}})}),o.jsxs(Pr,{windowSize:p,children:[o.jsx(yt,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),o.jsx(Ar,{children:o.jsxs(o.Fragment,{children:[k.transferDrawer.success.prefix,o.jsx(kr,{children:W("0,0.[00]",xe)}),k.transferDrawer.success.midfix,`"${b?.label}"`,k.transferDrawer.success.midfix2,`"${D?.label}".`]})}),o.jsxs(Tr,{windowSize:p,children:[o.jsx(Ie,{variant:"secondary",label:k.transferDrawer.anotherTransfer,"data-testid":P("another-transfer-button","treasury"),onClick:()=>{v()},style:{minWidth:200}}),o.jsx(Ie,{variant:"primary",label:k.transferDrawer.backToTreasury,"data-testid":P("back-to-treasury-button"),onClick:()=>{h()},style:{minWidth:200}})]})]})]}):u?o.jsx(ho,{transferDetails:e,setShowReviewContent:i,onTransferClick:x,fundDetails:C,portfolioAllocation:Z,onCancelClick:h}):o.jsxs(o.Fragment,{children:[o.jsxs(Ke,{windowSize:p,isTransferCompleted:!1,children:[o.jsx(Ue,{windowSize:p,children:o.jsx(Qe,{"data-testid":P("cross-amount-details-close-button"),onClick:()=>{h()}})}),p==="small"?o.jsx(Cr,{windowSize:p,children:d?k.transferDrawer.title:k.transferDrawer.transferBetweenAccounts}):o.jsx(zr,{windowSize:p,children:d?k.transferDrawer.title:k.transferDrawer.transferBetweenAccounts}),p==="small"?o.jsx(vr,{children:k.transferDrawer.subTitle}):o.jsx(Sr,{children:k.transferDrawer.subTitle}),e.transferMoneyPartiesFetchState==="Completed"?o.jsx(Qo,{onSaveChangesToLocalStore:m,transferDetails:e,onReviewClick:$,fundDetails:C,portfolioAllocation:Z,isFirstTransfer:d,maxInsuredAmount:n,plaidConnectionDetails:s,onEstablishConnectionClick:T,onFetchLinkTokenClick:A}):o.jsx(Ze,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})]}),H()?o.jsx(He,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp3},formId:st(at),helperStyle:{paddingTop:t.sp0,paddingBottom:t.sp0},primaryBtn:{label:Ge.review},cancelBtn:{label:Ge.cancel,onClick:()=>{h()}}}):null]})})},Sr=r(Y)`
|
|
444
|
-
color: ${e=>e.theme.colors.hero};
|
|
445
|
-
`,vr=r(X)`
|
|
446
|
-
color: ${e=>e.theme.colors.hero};
|
|
447
|
-
`,jr=r.div`
|
|
448
|
-
display: flex;
|
|
449
|
-
flex-direction: column;
|
|
450
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
451
|
-
overflow-x: hidden;
|
|
452
|
-
height: 100vh;
|
|
453
|
-
width: 100%;
|
|
454
|
-
`,Ar=r($t)`
|
|
455
|
-
color: ${e=>e.theme.colors.primary};
|
|
456
|
-
text-align: center;
|
|
457
|
-
`,kr=r(bt)`
|
|
458
|
-
display: inline;
|
|
459
|
-
`,Ke=r.div`
|
|
460
|
-
height: ${e=>e.isTransferCompleted?"100%":"auto"};
|
|
461
|
-
padding-left: ${e=>`${U.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
462
|
-
padding-right: ${e=>`${U.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
463
|
-
margin-bottom: auto;
|
|
464
|
-
`,Tr=r.div`
|
|
465
|
-
display: flex;
|
|
466
|
-
justify-content: center;
|
|
467
|
-
flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
|
|
468
|
-
margin-top: ${t.sp6};
|
|
469
|
-
gap: ${e=>`${U.buttonTrayGap.valuePx(e.windowSize)}`};
|
|
470
|
-
`,Pr=r.div`
|
|
471
|
-
height: 80%;
|
|
472
|
-
display: flex;
|
|
473
|
-
flex-direction: column;
|
|
474
|
-
justify-content: center;
|
|
475
|
-
margin: ${e=>`${t.sp0} ${U.successContentMargin.valuePx(e.windowSize)}`};
|
|
476
|
-
align-items: center;
|
|
477
|
-
`,Ue=r.div`
|
|
478
|
-
display: flex;
|
|
479
|
-
flex-direction: row-reverse;
|
|
480
|
-
justify-content: space-between;
|
|
481
|
-
align-items: center;
|
|
482
|
-
width: 100%;
|
|
483
|
-
top: ${t.sp0};
|
|
484
|
-
padding: ${e=>`${U.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${t.sp0}`};
|
|
485
|
-
z-index: 2;
|
|
486
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
487
|
-
`,Qe=r(Ce)`
|
|
488
|
-
cursor: pointer;
|
|
489
|
-
color: ${e=>e.theme.colors.hero};
|
|
490
|
-
width: ${t.sp4};
|
|
491
|
-
height: ${t.sp4};
|
|
492
|
-
min-height: ${t.sp4};
|
|
493
|
-
&:hover {
|
|
494
|
-
color: ${e=>e.theme.colors.primary};
|
|
495
|
-
}
|
|
496
|
-
`,Cr=r(At)`
|
|
497
|
-
color: ${e=>e.theme.colors.primary};
|
|
498
|
-
margin-top: ${t.sp3};
|
|
499
|
-
margin-bottom: ${t.sp0};
|
|
500
|
-
margin-right: ${t.sp3};
|
|
501
|
-
`,zr=r(et)`
|
|
502
|
-
${e=>`${br.formTitle.style(e.windowSize)}`};
|
|
503
|
-
color: ${e=>e.theme.colors.primary};
|
|
504
|
-
margin-top: ${t.sp3};
|
|
505
|
-
margin-bottom: ${t.sp2};
|
|
506
|
-
`;export{Vr as default};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import{w as N,fk as $,l as O,M as j,j as a,_ as w,gk as p,gP as u,o as s,gm as z}from"./index-BrN88eSe.js";import{n as d}from"./vendor-CnQcJ2Lu.js";const o=j.getLocalizedStrings().spendManagement.zeniAccounts,m=[{value:"editNickName",label:o.moveMoney.editNickName},{value:"accountStatement",label:o.moveMoney.accountStatement}],y={value:"payBill",label:o.moveMoney.payBills},g={value:"transfer",label:o.moveMoney.transfer},M={value:"sendMoney",label:o.moveMoney.sendMoney,isNew:!0},v={value:"checkDeposit",label:o.moveMoney.checkDeposit},B=[y,g,M,v],A=[M,g,y,v],D=({zeniBankProps:e,isBillPayEnabled:f,isExpressPayEnabled:x,analytics:h,onSettingsClick:k})=>{const i=N(),l=i.loggedInUserRoleMap.deposit_accounts_user===!0||$(i),b=O.hasBillPayAccess(i.loggedInUserRoleMap),P=m.filter(t=>t.value==="accountStatement"),c=f===!0?B:A,r=x===!0?c:c.filter(t=>t.value!=="sendMoney"),S=b?r:r.filter(t=>t.value!=="payBill");return a.jsxs(_,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="listPage"&&!l?a.jsx(E,{onClick:k,"data-testid":w("zeni-accounts-settings-button")}):e.pageName==="detailPage"&&a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const n=u(t);n!=null&&e.onOptionSelection(n)},isMoreOption:!0,options:l?P:m,title:o.moveMoney.title}),l?null:a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const n=u(t);n!=null&&e.onOptionSelection(n)},isMoreOption:!1,options:S,title:o.moveMoney.title,onMenuOpen:()=>h?.trackAccountsListPageClicked("Move Money")})]})},E=d(z)`
|
|
2
|
-
cursor: pointer;
|
|
3
|
-
min-width: ${s.sp4};
|
|
4
|
-
width: ${s.sp4};
|
|
5
|
-
height: ${s.sp4};
|
|
6
|
-
color: ${e=>e.theme.colors.hero};
|
|
7
|
-
&:hover {
|
|
8
|
-
color: ${e=>e.theme.colors.primary};
|
|
9
|
-
}
|
|
10
|
-
`,_=d.div`
|
|
11
|
-
display: flex;
|
|
12
|
-
flex-direction: row;
|
|
13
|
-
align-items: ${({isTopAlign:e})=>e?"flex-start":"center"};
|
|
14
|
-
`;export{D as T};
|