@zeniai/web-cockpit-ui 1.15.33-qa → 1.15.34-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-tTJc_EMP-caRMekFL.js → ACHDetailsPage-DSufuSEI-BugcK5ko.js} +3 -3
- package/dist/assets/{AIPerformancePage-ByUb4gCe-DnyMWJRD.js → AIPerformancePage-Df0tJkyd-C5l4T96t.js} +104 -104
- package/dist/assets/AccountInfoPage-CwOgUpjY-CG0ESFTT.js +18 -0
- package/dist/assets/{AccountInfoPageContent-BHD9tOzB-Uj2_GKGo.js → AccountInfoPageContent-C7Xs6ju3-CvFu_KWB.js} +23 -23
- package/dist/assets/AccountLockedInfoModal-D5rAyYPe-cRoXMFrB.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-BEfA1bsG-C2Js1Jvp.js → AccountReconDetailsDrawerPage-BvnBJmol-BxGJXQpl.js} +19 -19
- package/dist/assets/AccountRow-DtE1mQFq-sRlcgWT1.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-CaTnaSn3-DsNszPEx.js → AccountsPromoCardStack-D14FDzTY-CAlFlxNB.js} +26 -26
- package/dist/assets/AddAddressForCardDrawer-C9_gjvsQ-xMzrtCOD.js +6 -0
- package/dist/assets/{AddToWalletPage-BSzuByT6-CYM78gIb.js → AddToWalletPage-B_7pqvLH-CAYlL9WC.js} +18 -18
- package/dist/assets/{AgingReportsPage-D2gPAJKw-Dy3mQZBS.js → AgingReportsPage-CRFlM3H1-DhYuRisV.js} +15 -15
- package/dist/assets/{AllUserItems-BIf1v0a5-Bm00AqDS.js → AllUserItems-LlhM8bBU-N-OwUUn2.js} +10 -10
- package/dist/assets/ApAgingDetailPage-CTxNOPhD-DrGk4MjA.js +46 -0
- package/dist/assets/{AppBasePage-BGPY0zrb-DlmkLc3V.js → AppBasePage-DRQ76rXe-BbmVnMJF.js} +4 -4
- package/dist/assets/{AppDrawerContent-6AX5Y5tK-Cu3-m-Sw.js → AppDrawerContent-CIXhnJBJ-DkcT-gQA.js} +4 -4
- package/dist/assets/ApprovalRulesSettingsPage-DYrcZm5--Di4DgXFx.js +47 -0
- package/dist/assets/{ArAgingChart-Dx8jVL0O-Cgykn0Lt.js → ArAgingChart-BwEspm7G-DNjHaENA.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-BcrHD5zT-jubV7JhU.js → ArAgingDetailPage-Dy9woFr0-Dwalts78.js} +6 -6
- package/dist/assets/{AttachmentView-CdIA5zLk-DSnv4ijm.js → AttachmentView-CF6Tiq1u-ScD4RZ91.js} +5 -5
- package/dist/assets/{BankAccountSection-Qe9eRUmE-Bn_DzMKl.js → BankAccountSection-DyPS4RZK-Bc2VKdEG.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-BfN1KiTF-EK89qrtq.js → BankAccountWarningSection-Dr8XVfsN-Bh1VpxWI.js} +9 -9
- package/dist/assets/{BankConnectionsSettingsPage-Dmub7xxp-CxXqCMiF.js → BankConnectionsSettingsPage-h7ZnZhy5-EKV1mb1Z.js} +12 -12
- package/dist/assets/{BillDetailPage-DHCP-PUd-DOIZox9o.js → BillDetailPage-KSkeLjtu-DDizjGfx.js} +2 -2
- package/dist/assets/BillPayApprovalRuleDetailPage-C3VQacD2-ndVmYW9Y.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-Cc3wkV9k-D4lNrc1G.js → BillPayApprovalRulesPage-DMmnARE3-BHk6XaxH.js} +11 -11
- package/dist/assets/{BillPayPromoPage-DslCxm8f-BojuKuTk.js → BillPayPromoPage-CZ34fQRr-h45OCD6V.js} +7 -7
- package/dist/assets/{BillPaySetUpPage-DnabCnSI-B95-H6hC.js → BillPaySetUpPage-DF-cMiJC-Ccb6fwyP.js} +2 -2
- package/dist/assets/BillingSettingsPage-DNmOo0mj-BgBv8nRa.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-BOulFH2M-BrY_zcFs.js → BillsBulkReviewDrawerPage-CM1RYrRS-7XSi35in.js} +1 -1
- package/dist/assets/{BoxItem-Dhk2kQlB-DGHihy-b.js → BoxItem-Dy41mKN9-CZiGGLPk.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-BU2b5oF1-DDgS913g.js → BusinessVerificationPage-BSL5f5yW-Ccd_M7Ux.js} +2 -2
- package/dist/assets/{CardNumberSubText-CRjU8jZf-DScDbHaS.js → CardNumberSubText--wffxyL2-Dzc9wag1.js} +8 -8
- package/dist/assets/{CashbackDetailPage-GNwtsA01-CtZrxwJV.js → CashbackDetailPage-BuywSIvA-Dj0FTjqV.js} +15 -15
- package/dist/assets/{ChargeCardDetailPage-DspeEPRm-BfTzI1rp.js → ChargeCardDetailPage-Fx1upN8E-BfETR_eB.js} +36 -36
- package/dist/assets/{ChargeCardListPage-C4N76196-B9kR7T8Y.js → ChargeCardListPage-CkqWU4gN-CkHuHVFN.js} +23 -23
- package/dist/assets/{ChargeCardListTable-ObawcMuP-BOdm2f4H.js → ChargeCardListTable-lwxY_gLZ-DZ2VoxeT.js} +46 -46
- package/dist/assets/{ChargeCardPaymentHistoryPage-NBxH70YE-CMrKxZA5.js → ChargeCardPaymentHistoryPage-CvTW120H-ByJ1xGtA.js} +34 -34
- package/dist/assets/ChargeCardPromoPage-CSx0tLTh-BsQndE31.js +222 -0
- package/dist/assets/ChargeCardSetupPage-D_LWSQOa-BwUtTkP2.js +36 -0
- package/dist/assets/{ChargeCardStatementsPage-DSUakLyb-BH8qt4Dj.js → ChargeCardStatementsPage-B7qX0zl3-C66Fu0LS.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-BK6iLLEA-DIHMuA3p.js → CheckDepositDrawerPage-oWf5X7rL-5KpdpyEY.js} +17 -17
- package/dist/assets/{CollapsableReportTable-vwzu1AgW-DuMTLVG4.js → CollapsableReportTable-Cfh-EfEQ-CKv-H0OC.js} +93 -93
- package/dist/assets/{CompanyOfficerDetailsSection-CtptCfIN-E-ghNZwQ.js → CompanyOfficerDetailsSection-CFg0p5uA-CJ156x7J.js} +12 -12
- package/dist/assets/{CompanyPassportCard-DyasR99R-Bjmhc2hR.js → CompanyPassportCard-C5j_KoZL-CPJCD4ZW.js} +2 -2
- package/dist/assets/{CompanyPassportPage-Xp8Bn6ev-AJr1CYjl.js → CompanyPassportPage-DtEQ7a68-BZL6spEi.js} +34 -34
- package/dist/assets/{CompleteProfile-CyoPiiWR-Byv8MIAx.js → CompleteProfile-DLNtc5N7-B7HW7ybq.js} +1 -1
- package/dist/assets/ConfettiBurst-B4gz9uC9-BhJEyb5s.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-CQqzwvu_.js → ConstrainedInnerElement-BeIpAPjB-C3jCz_Fx.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CecROHGm-BZLYQbR8.js → CreateOrEditVendorPage-Bd61yH0G-DpW83MJ2.js} +8 -8
- package/dist/assets/{CreditCardPaymentDrawerPage-C6Tx5HFf-BMs8YRTm.js → CreditCardPaymentDrawerPage-NtnEWUdG-DLELauiu.js} +15 -15
- package/dist/assets/CurrencySelectField-CaQgbP8P-Cqqb_KBc.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-CsBXicnS-D_30tSZo.js → CustomerOnboardingActivationPage-BnBFEWaX-Dn3wQumA.js} +8 -8
- package/dist/assets/CustomerOnboardingContainerPage-BRmWV-NF-CTVp5vU-.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BrWGFePj-D9A4KVB4.js → CustomerOnboardingDetailPageSkeleton-Deaz4PM6-BDZvJWDz.js} +10 -10
- package/dist/assets/{CustomerOnboardingNoStepsPage-EIhXr3Tb-ht8ezlDG.js → CustomerOnboardingNoStepsPage-C8cmsaOC-BJyq1bJL.js} +5 -5
- package/dist/assets/{CustomerOnboardingPage-DXoS8Lvh-BvBWTMTM.js → CustomerOnboardingPage-CSSgj26J-N4cabpr0.js} +9 -9
- package/dist/assets/{CustomerOnboardingProductSuitePage-BRXSZWKm-CVZJxXfP.js → CustomerOnboardingProductSuitePage-DU7qzP1f-2w9ZQcUU.js} +6 -6
- package/dist/assets/{Dashboard-Bd774Cwk-CPneZsx_.js → Dashboard-DPXzM2TM-6t8lQHvd.js} +66 -66
- package/dist/assets/{DashboardReportPage-CdyFzIwd-CCBZJf2V.js → DashboardReportPage-CWgH0Bn9-BvMXyb8g.js} +13 -13
- package/dist/assets/DashboardSidebarBackgroundAnimation-DL2Awq0k-CURcbn_K.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-DZk4h7x--XEEIsEL6.js → DepositAccTransactionItem-CuWxNHSp-Da2H1v88.js} +5 -5
- package/dist/assets/{DepositAccTransactionListPage-CKgbbZOW-BAUa4FHC.js → DepositAccTransactionListPage-BHs8-LpV-C7V5-8Rf.js} +7 -7
- package/dist/assets/{DomesticWireDetailsPage-CY2Pv6jd-DtTjZ_4V.js → DomesticWireDetailsPage-CRfm0oqJ-C4r-lW_y.js} +2 -2
- package/dist/assets/{DownloadOverlay-BflHtA84-BO7fMgnW.js → DownloadOverlay--ICWviQz-Q6tZiS37.js} +24 -24
- package/dist/assets/{DrawerPage-5Q_xvjmz-BOmiDfaX.js → DrawerPage-DoJkjp69-BGpDDN7R.js} +10 -10
- package/dist/assets/EditPeoplePage-B-zEdQqt-BrFyNgmY.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-CYnqM-2--_UDSzYfF.js → EditReimbursementDetailPage-BdfJj8-u-BwPuRwof.js} +72 -72
- package/dist/assets/EntityDetailPage-C6UdR7oJ-COx1heor.js +18 -0
- package/dist/assets/{EntitySummarySection-BUjGJmFT-Dha8JbEH.js → EntitySummarySection-BYP9LNlh-CHZV8J2r.js} +19 -19
- package/dist/assets/{ExpenseAutomationOverviewPage-D7_-NOLq-C2FHNQ42.js → ExpenseAutomationOverviewPage-UKPGezFZ-ynbYpvOr.js} +60 -60
- package/dist/assets/ExpenseAutomationPage-5qqhqwjY-BNjM9KYY.js +1803 -0
- package/dist/assets/{ExpressPayPage-gyFQBzLO-DD1bcU9s.js → ExpressPayPage-BaLCnmxC-DyZ_NbAE.js} +15 -15
- package/dist/assets/{FeaturePreviewPage-BT-WJozX-BmNFqaDN.js → FeaturePreviewPage-DJvcim4v-B-0y2hox.js} +2 -2
- package/dist/assets/{FollowStepsSection-Du2gzmC6-ITy1BuM4.js → FollowStepsSection-DiAM2oU9-DVhX1hhq.js} +42 -42
- package/dist/assets/{GlobalReviewListPage-B0MxdV0g-ByEyisM3.js → GlobalReviewListPage-DFhcVK4y-DV_nZHys.js} +14 -14
- package/dist/assets/{InformationCardStack-rAU0N5_N-18U34zdq.js → InformationCardStack-bDJV8MEl-DKR8Zvn9.js} +7 -7
- package/dist/assets/{InsightsCardStack-CEkmuCB6-CogwYtZb.js → InsightsCardStack-Ba7C5_Ql-1E6nbw33.js} +7 -7
- package/dist/assets/InsightsSection-BFviX80K-CRFJKeH_.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-Do41V6J0-drB79PfG.js → IntegrationsSettingsPage--kXCS3f1-HcQyCW82.js} +6 -6
- package/dist/assets/{InternationalWireSwiftDetailsPage-BnsnrM3q-BIaoCuMc.js → InternationalWireSwiftDetailsPage-DfKrYbaB-DwvyB1Uq.js} +28 -28
- package/dist/assets/InternationalWireVerificationPage-DU6447M_-YLqWsFbY.js +65 -0
- package/dist/assets/{InviteFormPage-x40AE2Pw-DB6GwgFB.js → InviteFormPage-D3FNgm9B-BwvxtcvY.js} +1 -1
- package/dist/assets/{InvitePageListView-CiVNaN8z-VSoPDSqk.js → InvitePageListView-D4wRSwJW-DPbFsvfR.js} +35 -35
- package/dist/assets/InvitePeoplePage-DSFk8lEF-DpuHc0lh.js +12 -0
- package/dist/assets/InvoiceUploadSection-DaS4D1em-CK_Ayuq4.js +140 -0
- package/dist/assets/{IssueChargeCardPage-BVmxvrlx-CM3PsR0k.js → IssueChargeCardPage-CrbIqdSx-Bp9X1BXe.js} +20 -20
- package/dist/assets/{LabeledAddressValue-aejn380k-9KAs-vw8.js → LabeledAddressValue-CUr2BnHq-DfiyDPyB.js} +2 -2
- package/dist/assets/LabeledAddressValueField-DL3wJoZC-CMggf1RU.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-DQUXZSFS-CPn0l33X.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-D1bMiaZj-ColeHqz7.js → LabeledCountryMultiSelectField-C6IWrKo4-CcQcxFW7.js} +3 -3
- package/dist/assets/{LabeledCreatableSingleSelectField-amXDv508-6VO0EsbY.js → LabeledCreatableSingleSelectField-m_D3aJpG-DPOvsRA4.js} +6 -6
- package/dist/assets/{LabeledDocumentField-2_VcrmJN-BD9gdLcR.js → LabeledDocumentField-B19zNNVZ-Du4OcR6Y.js} +2 -2
- package/dist/assets/{LabeledDropDownFormattedTextField-C6sW-5j7-DoZ1Clel.js → LabeledDropDownFormattedTextField-D4cHrsba-DGjSp6HD.js} +5 -5
- package/dist/assets/{LabeledText-CrAhx4_P-mWwgzY-e.js → LabeledText-H1pSTEtd-BHLnDTFr.js} +5 -5
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BVZg_rlX-DQAVipT_.js → LabeledUserSingleSelectWithSubtitlesField-C0bJoy6U-CBE1zspu.js} +12 -12
- package/dist/assets/{LabeledZeniRolesDropDownField-DS1icRVA-DRmTnd0N.js → LabeledZeniRolesDropDownField-D0KIAWFW-CQ1uXRKO.js} +23 -23
- package/dist/assets/{LinkJETransactionPage-VdBxLFQc-DSmzcgL3.js → LinkJETransactionPage-LfkM9DYO-CSpsV_Z3.js} +9 -9
- package/dist/assets/{LockCardPage-Bs8xkpNa-BH5dabGf.js → LockCardPage-lTzQY_pw-BYsKWV6j.js} +34 -34
- package/dist/assets/{LowBalancePopup-B0-WExEI-BnZMJ9oZ.js → LowBalancePopup-DXPPHYS1-CB0hADnS.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-DhFoinUr-BKHQrprB.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BUX5Ve2X-CKqNdN5U.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-BmtqDOUO-CMDMqnYA.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-DRcOlHnh-PPiAarWW.js → MagicLinkSuccessPage-BrQk5kYZ-Dws1_rIA.js} +5 -5
- package/dist/assets/{MagicLinkTitleSection-vMBVJSVF-BDFTafOR.js → MagicLinkTitleSection-vHYX92L1-B1QKRjFr.js} +4 -4
- package/dist/assets/MailingDetailsSection-vydT4UOr-DSxQiRSi.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-D6Gjqgv2-tzV_zUUq.js → MyBankConnectionsSettingsPage-BtT9OQ_b-D1PjSf7q.js} +6 -6
- package/dist/assets/{MyPendingActivationChargeCardListPage-y9U4DJm9-kjsb7Oyt.js → MyPendingActivationChargeCardListPage-5E28yAfQ-DZoHwB3h.js} +2 -2
- package/dist/assets/MyProfileSettingsPage-DQBSh-S5-C_KLZ_rh.js +85 -0
- package/dist/assets/NavBarWithPicker-1UPJ_fiE-iY8P9Wot.js +30 -0
- package/dist/assets/{NavigationArrow-suk7KbA1-Bl28QDCF.js → NavigationArrow-CeYvXgly-CXWFEDMQ.js} +1 -1
- package/dist/assets/{NavigationDots-Dqcv5rrC-wx3TUAOM.js → NavigationDots-CXAszOHQ-HtQg6iz5.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-CRg1E4PG-BbGF32Sj.js → NewGlobalMerchantPage-DXSlGPbc-DidlOClT.js} +33 -33
- package/dist/assets/NoDataChart-BQdJyfHh-BLmune73.js +26 -0
- package/dist/assets/{NoDataTable-B2CS7NPq-DRIt6CHH.js → NoDataTable-B__TVPte-CetA5lza.js} +1 -1
- package/dist/assets/{NotFoundPage-DGMaZUli-B_ZJJm7V.js → NotFoundPage-Cs25xsWz-DnZv-DIM.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-CMkB3Lv2-C-VPd7Lp.js → NotificationSettingsPage-Dm3zOscr-DKDyywX2.js} +19 -19
- package/dist/assets/NotificationsListConfig-D0knaijJ-NyDzwfbC.js +1 -0
- package/dist/assets/{NotificationsPage-D7bHfgsd-HWWWcHyi.js → NotificationsPage-czQmfW2r-DksNFGUv.js} +31 -31
- package/dist/assets/{OpExByVendorPage-PfMkiQRt-D6dvXvh-.js → OpExByVendorPage-D1ehVVFD-Dc7GFqIq.js} +20 -20
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-2A5VsoQR.js → OverlayContainerPage-D4QU0p4o-li8hzYjf.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-CtFnhBki-8h68Lmy6.js → PandLWithForecastPage-B7cwWwMK-BW6yjf-v.js} +9 -9
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-gaNLv-zU-C5-av3XE.js → PaymentAccountSetupBillingAddressSection-CkYtTRY5-DMMQt9qf.js} +13 -13
- package/dist/assets/PeoplePage-DNTbzljs-Bfp0W5JF.js +727 -0
- package/dist/assets/{Preview-DnmPaacA.js → Preview-BsIYoVSv.js} +1 -1
- package/dist/assets/{ProductsCarousel-BPUh4FO7-C-quXntD.js → ProductsCarousel-CTiD9zA7-D7cEl2bl.js} +3 -3
- package/dist/assets/{PromoBaseCards-Dmg5PtKw-Cdh1PPvI.js → PromoBaseCards-BmtlcPBm-DdDmICph.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-CLBqmpI8-DKi8GIOA.js → QBOConnectionDialog-B1y3hDGT-B8UGOz7A.js} +4 -4
- package/dist/assets/QBOSetupSection-DevcmmCv-C2NxYIUb.js +79 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-BrfP2xcW-CD61A2zN.js → ReimbursementApprovalRuleDetailPage-BRUlJa_D-yH6i72Z5.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-BmVVfYZD-DSikDWDV.js → ReimbursementApprovalRulesPage-CvFHaDmE-Bk4uKO7k.js} +5 -5
- package/dist/assets/{ReimbursementDetailPage-j-kNxeWY-DMAXhIU9.js → ReimbursementDetailPage-CMplGhml--7oTvGch.js} +8 -8
- package/dist/assets/{ReimbursementPromoPage-D2kh5AHM-DnfYr255.js → ReimbursementPromoPage-0d-lo-ve-BFl3c8SE.js} +20 -20
- package/dist/assets/{ReimbursementSetUpPage-D2890NEZ-C42V01mT.js → ReimbursementSetUpPage-T3ErpIj4-BkNsUy2n.js} +15 -15
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-qXtPaXjg-BcU2vD5u.js → ReimbursementsBulkReviewDrawerPage-CnyiYR81-D8NoJfkg.js} +1 -1
- package/dist/assets/{ReloadCard-IEyjck4Y-Bx172wbs.js → ReloadCard-CI-iJa1w-CU7osnQb.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-CQjyJkzR-BMiZfuRK.js → ReportTableViewSelector-CM11mXKF-DKJl505X.js} +31 -31
- package/dist/assets/{ReportsPage-Bzz6If8N-CRC9kTRL.js → ReportsPage-DzuQNoMA-ORn4o7l_.js} +5 -5
- package/dist/assets/{RevenueChart-B00OufPH-BQ-fm7T5.js → RevenueChart-iDdrXSzX-BD1q5u9E.js} +22 -22
- package/dist/assets/{ReviewDetailsPage-NnD1LDcO-oQteze57.js → ReviewDetailsPage-DdS8Ssmq-CpId9CQp.js} +52 -52
- package/dist/assets/{ReviewOverlay-CFouRoKn-Bx0_gW0Y.js → ReviewOverlay-D39FMx3p-DPQk54i4.js} +24 -24
- package/dist/assets/RoleWithToolTip-BMEgXHWf-CYv1exk7.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-B5gQXUI9-D6BCK7Im.js → ScheduleDetailsFixedAssetsPage-YdBRhUc0-1nXwHDMr.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-B1Kb9usK-B8mUNpar.js → ScheduleDetailsPage-OCqSWMz4-Dg0s24kG.js} +3 -3
- package/dist/assets/ScheduleSequenceTable-OEJBqdqG-CB3cYmnz.js +324 -0
- package/dist/assets/{ScreenRoutes-DKxBGhTW.js → ScreenRoutes-Bkl-MWfY.js} +1 -1
- package/dist/assets/{SetUpAccountSection-D6dn2jSD-30yvmE7W.js → SetUpAccountSection-o86ErvD_-Celwp-jA.js} +5 -5
- package/dist/assets/SignIn-BEJNYyp4-O46sF-k3.js +491 -0
- package/dist/assets/SignInScreen-Dm8Ez_qK.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-DOkp7pHa-CRzzuy9l.js → SpendManagementListViewPage-BTQU2jwO-CQyGDfX4.js} +10 -10
- package/dist/assets/{SpendManagementPerTabPage-D_LO55uU-BNZNJM2O.js → SpendManagementPerTabPage-BtUS4aqA-vNlgv2e5.js} +25 -25
- package/dist/assets/{SpendManagementSection-CEMNFPRO-CJtpae8W.js → SpendManagementSection-DiQ2QBwA-CGsThSZ0.js} +11 -11
- package/dist/assets/StatementItem-DGRjrvUi-C8hx1_Sf.js +31 -0
- package/dist/assets/{StatementsPage-CgbyzDo5-BBvhOOcU.js → StatementsPage-QqtqM0qv-BBLWtN99.js} +6 -6
- package/dist/assets/{StatusSwitcher-BjvUftXD-DSbt2dze.js → StatusSwitcher-CfZOeqZf-Bq7fUYSl.js} +4 -4
- package/dist/assets/{SubTabSwitcher-CqTYhJ6K-Cc8NgEnD.js → SubTabSwitcher-Be1lLunR-CsxeYIuC.js} +4 -4
- package/dist/assets/SummaryCard-DgBWIctW-CRmTCkt0.js +1 -0
- package/dist/assets/TaskManagementPage-CpjN2Ver-BJrGG5WR.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-BR-bT1hY-CwHrTBmo.js → TimeRangeSwitcher-B7KdhPH9-Djft8PYe.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-B7EXKmdi-B7wC4ZTm.js → TimeframeSwitcher-C26tc1sm-Eg22Wb7g.js} +6 -6
- package/dist/assets/TimeframeSwitcherWithToggle-DEjdiR9x-CpK-qiop.js +31 -0
- package/dist/assets/{TopExCard-l-xo9Vzj-CzV3ots3.js → TopExCard-Do6O7snc-DLvwuAod.js} +6 -6
- package/dist/assets/{TopExDetailPage-DJlHcjKS-B7xZPI_B.js → TopExDetailPage-DFil6Qwx-BWbjM88A.js} +13 -13
- package/dist/assets/{TransactionActivityLogPage-HLwrGJCG-jOI5M6vb.js → TransactionActivityLogPage-C49lAwDF-BGLm3dPj.js} +14 -14
- package/dist/assets/TransactionDetailPage-CyTyj91G-B7vb07HE.js +903 -0
- package/dist/assets/{TransactionList-BFD8ZfJ--B_2P6NgX.js → TransactionList-BFDau1I7-BXGXYBFK.js} +15 -15
- package/dist/assets/{TransactionListBig-Cd05cE1H-DHIWBrzi.js → TransactionListBig-CVBiekZl-DrGGpH9X.js} +13 -13
- package/dist/assets/TransactionListPage-LGgMtr7O-CsGWQiN-.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-D93V6PtT-ASEgt-oH.js → TransactionVendorDetailPage-3p4MoiV3-DA73bE6t.js} +16 -16
- package/dist/assets/{TransferDrawerPage-B_Hy3gOY-CZNjh4dq.js → TransferDrawerPage-BCr2Qlvp-BIuuD9Kn.js} +26 -26
- package/dist/assets/{TreasuryOverviewPage-CJrfTwBd-DGoUzRq5.js → TreasuryOverviewPage-CEnHQlwT-Cp9jfBpw.js} +9 -9
- package/dist/assets/{TreasuryPromoPage-BRwTbEqr-DD0NB9Np.js → TreasuryPromoPage-oQKxGxSx-CJpdFyVJ.js} +12 -12
- package/dist/assets/{TreasuryStatementsPage-CpVaxZhO-D8_pdQ6V.js → TreasuryStatementsPage-DKCFzvzb-D5fkSJdQ.js} +1 -1
- package/dist/assets/TreasuryTaxLetterPage-D3pc6Eyc-DWhE-bsu.js +58 -0
- package/dist/assets/{TrendChart-DLex57el-D9IGJHV4.js → TrendChart-JHlBVwXJ-p0u3PrEr.js} +3 -3
- package/dist/assets/{TrendWithTransactions-CwB4wDSN-Ci246WOZ.js → TrendWithTransactions-Bh619hxZ-B7JEOzSv.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-CO7p4-Kx-CKzXNOia.js → UncategorizedAccountsMappingPage-BuM9GG4e-DMx8_LFD.js} +10 -10
- package/dist/assets/{UnitIntegrationPage-BDUTrQY0-BeNpWs1d.js → UnitIntegrationPage-D4BoW10T-IfJ4B9AI.js} +10 -10
- package/dist/assets/UploadAdditionalDocumentOverlay-CMqblFXF-CGuab5Cf.js +38 -0
- package/dist/assets/Vendor2FAPopup-ANEIs-J6-BItEW5IN.js +1 -0
- package/dist/assets/VendorACHDetailsPage-BNcSYRzd-Kp1xh3I0.js +1 -0
- package/dist/assets/{VendorDetailPage-DRgwiRee-F7uBXNWL.js → VendorDetailPage-BLZ1wOuB-t2P37a0b.js} +28 -28
- package/dist/assets/VendorDomesticWireDetailsPage-KZSt69vF-CigCqUX0.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-CtReDQX3-ZEq2UHS3.js → VendorFiling1099EditablePage-BtU7EZH1-Cdwalb8n.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-BGVFKcId-HzfS-8-K.js → VendorFirstReviewPage-DJap4HA2-DP0KML1b.js} +8 -8
- package/dist/assets/{VendorInternationalWireDetailsPage-DtFlzIWc-BSJvfDFE.js → VendorInternationalWireDetailsPage-BbCN0JV0-Wsg-mPRx.js} +14 -14
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CDShInCp-CKPYmRJ2.js +1 -0
- package/dist/assets/{VendorsAccountsSection-DlCCF8w7-B2R9WWyu.js → VendorsAccountsSection-lmuNbtLw-BehIg0cT.js} +3 -3
- package/dist/assets/{VerifyDevice-CDChzTa5-Dn7AcZPE.js → VerifyDevice-vhZNITmO-B_CyFx_O.js} +3 -3
- package/dist/assets/{VideoPlayer-D6snpLby-DtDMVXQN.js → VideoPlayer-DIXs3y0r-C0i3s9oa.js} +2 -2
- package/dist/assets/{VideoPopup-SylQ4T6l-CTWGJick.js → VideoPopup-CYL6r3Cb-B0pmnpWo.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-D67GprmZ-IPWpf2-0.js → WarningsDrawerPage-CJ9a931n-DAFMV5EF.js} +6 -6
- package/dist/assets/{ZeniAccountDetailPage-BfYIZPob-6XUVvcAt.js → ZeniAccountDetailPage-P86nU628-RfL02yuR.js} +14 -14
- package/dist/assets/{ZeniAccountListViewPage-B5luRVEl-CVXVmDiV.js → ZeniAccountListViewPage-GYsnktmQ-DlegmFE9.js} +23 -23
- package/dist/assets/ZeniAccountNavBarPieces-Cz7DjDo7-avwd16fX.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-CHCmIfff-DyZFPn28.js → ZeniAccountPromoPage-iCmw1i20-lqXeJDxF.js} +12 -12
- package/dist/assets/{ZeniAccountSetupPage-BzCqTug2-b7-ybj6-.js → ZeniAccountSetupPage-B42Dq1gO-oMRu-INk.js} +3 -3
- package/dist/assets/{ZeniCopyright-CiZTMpf7-BZTmiNMr.js → ZeniCopyright-Baiyxesc-CHFltgTl.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-C--qNr-a-B80xXrhL.js → ZeniTransferAmountSlider-9-2DcdrJ-q0SmjKL2.js} +11 -11
- package/dist/assets/{add-to-wallet-DgdBD8_G-D09GVq9M.js → add-to-wallet-DgdBD8_G-DdT9Rn3y.js} +1 -1
- package/dist/assets/{analytics-Df2mJ1lX.js → analytics-Dm6Rdmk5.js} +1 -1
- package/dist/assets/{analyticsHelper-DEOt00qX-DLlhyFKe.js → analyticsHelper-B32z3Cdy-Dk9sCdyO.js} +1 -1
- package/dist/assets/analyticsHelper-DPMmqDhf.js +1 -0
- package/dist/assets/{arrow-south-east-round-PEovUgvH-DzQV9eJa.js → arrow-south-east-round-PEovUgvH-Cy4oQH64.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-D4yr6H5z.js → auto-transfer-rule-mbafm5D3-B6gY8maM.js} +1 -1
- package/dist/assets/{chartTypes-BqKhmkSG-CgQV-TUL.js → chartTypes-DL1AC5R1-CSQ4LZOa.js} +1 -1
- package/dist/assets/commonDimensions-BNYeCJ44-DwWQhbOM.js +1 -0
- package/dist/assets/{commonTypes-TAIHQ3fk-DQoSEEvg.js → commonTypes-DwuUdRAc-CVoF2D5n.js} +1 -1
- package/dist/assets/{constants-DG7AuAVl.js → constants-MHF6sRcJ.js} +1 -1
- package/dist/assets/{core-BE_Z31V1.js → core-XAP_yXKl.js} +1 -1
- package/dist/assets/{dash.all.min-DDJXzvDP.js → dash.all.min-DatMhMWc.js} +1 -1
- package/dist/assets/{detailCommon-BEEE23XQ-BD_Mk7je.js → detailCommon-CzjlHNNr-OLPVPNMD.js} +7 -7
- package/dist/assets/downloadPdf-CPfBtFli-C5o4QyFD.js +1 -0
- package/dist/assets/{empty-M69JX_rT.js → empty-Cs2gdmIo.js} +1 -1
- package/dist/assets/{empty-CRPcZP1j.js → empty-vcyFM9nz.js} +1 -1
- package/dist/assets/epic-B8nKq-i6.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-Deoc5oar.js → gift-box-Cmt9OgIZ-RzjSa1iy.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-DdDmkNr4.js → graphic-no-data-l-DU4J8fDt-CQ6Ol9_s.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-fmWTttVF.js → graphic-no-data-net-burn-l-CzmycA0m-CI6u9HfU.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-B0P5ObqQ.js → handshake-BPg58FML-FDeEnKd2.js} +1 -1
- package/dist/assets/{helper-Cl1NuKS2-GEpi-XmM.js → helper-T710NLca-BU35xGXS.js} +2 -2
- package/dist/assets/{index-DQj8IFZB.js → index-C9hDAJ7o.js} +4039 -4061
- package/dist/assets/{index-Qi-3x-ZJ.js → index-CrlTOcjY.js} +1 -1
- package/dist/assets/{index-B1UWDNYH.js → index-D9vmx-FC.js} +1 -1
- package/dist/assets/{index-CtuKpkPR.js → index-DIT7C2zP.js} +1 -1
- package/dist/assets/{index-CuuLV5Ja.js → index-DSJ6HKL8.js} +1 -1
- package/dist/assets/{index-5swzSU-P.js → index-LuFlN8FP.js} +1 -1
- package/dist/assets/{index-DV0An2Zv.js → index-t-uTuAYw.js} +1 -1
- package/dist/assets/{lexical-aqmLQuMS.js → lexical-CgNStNGD.js} +1 -1
- package/dist/assets/{liveblocks-C1mHPmJS.js → liveblocks-NP7ye8lf.js} +1 -1
- package/dist/assets/{lottie-DyTfNQDx.js → lottie-DhXcx4Hv.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-CBq8hzRN-fxI2JqXr.js → mapLoadingInProgressToTreeNode-DWJx3AOd-DyMnZ_nG.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DtYXgw-F-oAphex73.js → mapSectionWithAcOnlyToTreeNode-Co9d6d-V-n_IPqL-W.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-CKbbOrFj-B8jOHJ4H.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-BpaMuUED-DrbIaTMF.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-jq979PpH-D251JRiH.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-6A-QxQzl-WsH6ynl8.js +1 -0
- package/dist/assets/{mui-BU7efdfo.js → mui-BQR0Ruo4.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-CtnTIFRc.js → page-detail-CWX5S47F-BBbQvoIw.js} +1 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-V1yMMv-q.js +3 -0
- package/dist/assets/{radio-default-CiSgisfh-4z6Camq9.js → radio-default-CiSgisfh-OYLDx768.js} +1 -1
- package/dist/assets/{react-3qpqyaOU.js → react-72w_Kluy.js} +1 -1
- package/dist/assets/{react-CWsZgXSV.js → react-BL2s-aF_.js} +1 -1
- package/dist/assets/{react-BemuwBnj.js → react-CUdUBRF6.js} +1 -1
- package/dist/assets/{react-Bom9bczX.js → react-CX9OzKa9.js} +1 -1
- package/dist/assets/{react-B4itwZHV.js → react-Cp-6oWln.js} +1 -1
- package/dist/assets/{react-CN_MK9F3.js → react-CvT9aEmE.js} +1 -1
- package/dist/assets/{react-ctGSvN4G.js → react-DcMbwERn.js} +2 -2
- package/dist/assets/{react-BFU7EV8v.js → react-Du36QLI3.js} +1 -1
- package/dist/assets/{recharts-wrfDO0AQ.js → recharts-DkFolWRg.js} +1 -1
- package/dist/assets/{sentry-CmSZxGiC.js → sentry-Ckvw8Zf1.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-DkXtzp4a.js → shield-DOlUxcFf-rM_NpNHL.js} +1 -1
- package/dist/assets/toCOABalancesWithID-CxmuqRLi-BeWRvmKl.js +1 -0
- package/dist/assets/toChartData-8r0AvOIP-Dhy8B0ZL.js +1 -0
- package/dist/assets/{uploadAttachment-CLjjVoJ0-G44pYEnV.js → uploadAttachment-CTXeI85v-BVATkq8k.js} +25 -25
- package/dist/assets/uploadReceipts-Dge0cNF1-nRZK_a0M.js +1 -0
- package/dist/assets/{url-Dh6RHozD.js → url-D8pFj_Ts.js} +1 -1
- package/dist/assets/{url-Y0e70W7v.js → url-DCwOBFCk.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-CTF1V7Dp.js → useLongPress-GCK2COYQ-BkrNXw3e.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-CAUsjG1o.js → usp-line-BBd1wKwW-54Q8nh58.js} +1 -1
- package/dist/assets/{utils-4HiCQfG5.js → utils-B4eJ0QQL.js} +1 -1
- package/dist/assets/{zeni-epic-state-4hreDbys.js → zeni-epic-state-BnsQ52n7.js} +4 -4
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-VLhd4vnL-I5Lr2n0M.js +0 -18
- package/dist/assets/AccountLockedInfoModal-DNjLeZYt-LNUXwZM-.js +0 -59
- package/dist/assets/AccountRow-CK5HLVrf-DXJZ_sEO.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-DmajBqRK-nxIYPo1E.js +0 -6
- package/dist/assets/ApAgingDetailPage-pfP6vTc2-BpIJBEds.js +0 -46
- package/dist/assets/ApprovalRulesSettingsPage-BurRfT7n-DRTxj05J.js +0 -47
- package/dist/assets/BillPayApprovalRuleDetailPage-DS31MPI0-4xXvJcm0.js +0 -27
- package/dist/assets/BillingSettingsPage-B91NuvxJ-D_FEm3L1.js +0 -44
- package/dist/assets/ChargeCardPromoPage-CN9d98ht-CvggjDIQ.js +0 -222
- package/dist/assets/ChargeCardSetupPage-Cie4HjPR-DCzfspb8.js +0 -36
- package/dist/assets/ConfettiBurst-BWYsiO3O-4BlId3h5.js +0 -1
- package/dist/assets/CurrencySelectField-DAmYUy85-DMDmUadH.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-CNJZIVlJ-BJUaNX44.js +0 -1
- package/dist/assets/DashboardSidebarBackgroundAnimation-NYtLjb5A-C_ZMV7U-.js +0 -12
- package/dist/assets/EditPeoplePage-Dq02jvsi-1vFBiR26.js +0 -55
- package/dist/assets/EntityDetailPage-s91tl4Wk-D9-Khkld.js +0 -18
- package/dist/assets/ExpenseAutomationPage-CFxbvTbd-BAfLqXb6.js +0 -1700
- package/dist/assets/InsightsSection-CK6L0ggh-CEIo4wru.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-C3EEqPT--C-SNZ09B.js +0 -65
- package/dist/assets/InvitePeoplePage-DGTYEet3-ww7dc8Ap.js +0 -12
- package/dist/assets/InvoiceUploadSection-C4K602QO-DQ0TMvgE.js +0 -140
- package/dist/assets/LabeledAddressValueField-DSU3b6xx-Do3zHmCW.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-CKE6Nln6-D3D8TfOs.js +0 -16
- package/dist/assets/MagicLinkACHDetailsPage-BitHcc3I-DPdZjBrF.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BFfxbnHp-DgnH4Uml.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-BncWaxsb-D5zfuNtc.js +0 -1
- package/dist/assets/MailingDetailsSection-CKtLfBik-B4Pa39ev.js +0 -21
- package/dist/assets/MyProfileSettingsPage-D7btjvQI-D2DR3yb7.js +0 -85
- package/dist/assets/NavBarWithPicker-B_vr1zc6-CdH-de-A.js +0 -30
- package/dist/assets/NoDataChart-CGab-TiT-BBfAYwSH.js +0 -26
- package/dist/assets/NotificationsListConfig-8zpkH26L-DDuzcyo-.js +0 -1
- package/dist/assets/PeoplePage-3Fux2UtP-DZR4BINj.js +0 -675
- package/dist/assets/QBOSetupSection-DwqXfi9i-Dmc0UPaw.js +0 -79
- package/dist/assets/RoleWithToolTip-BBbrv_x_-B3Cv90ZD.js +0 -22
- package/dist/assets/ScheduleSequenceTable-B973PTTc-DWRrpKit.js +0 -324
- package/dist/assets/SignIn-CUOfBh48-wGxg0FBZ.js +0 -491
- package/dist/assets/SignInScreen-Cwd6Qtqw.js +0 -1
- package/dist/assets/StatementItem-BDCdJuBz-C-uwkj2X.js +0 -31
- package/dist/assets/SummaryCard-BrsOKcrF-DrLZV6Qo.js +0 -1
- package/dist/assets/TaskManagementPage-C5vXcK0R-CZ850Y5X.js +0 -508
- package/dist/assets/TimeframeSwitcherWithToggle-D265f15Y-_axA0W9R.js +0 -31
- package/dist/assets/TransactionDetailPage-63dqDjgt-D8KEE6zE.js +0 -903
- package/dist/assets/TransactionListPage-klQ0oBzv-e1BZ0UAD.js +0 -35
- package/dist/assets/TreasuryTaxLetterPage-CUHNWUy--DhNnA2rA.js +0 -58
- package/dist/assets/UploadAdditionalDocumentOverlay-DID6dcux-D1ONPT0t.js +0 -38
- package/dist/assets/Vendor2FAPopup-DySyuG4R-BF3S6gEn.js +0 -1
- package/dist/assets/VendorACHDetailsPage-CS0fu-kk-Cuvu_0OU.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-B3mJqOdK-BNC9Fid9.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CfWP7ILx-BiRtjzPd.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-BQXOnqhc-6j8hLlJi.js +0 -14
- package/dist/assets/analyticsHelper-Dri1zWcx.js +0 -1
- package/dist/assets/commonDimensions-DbvjFx29-D9IHQgGS.js +0 -1
- package/dist/assets/downloadPdf-CDTl_Ev--DcUV3a6w.js +0 -1
- package/dist/assets/epic-DitwVTZc.js +0 -2
- package/dist/assets/mapSpacerToTreeNode-ycecmJKa-DGUz2Bon.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-ByLaAQOt-DvcBmYb-.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-C8E1dOPs-CX71VW8Z.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-v8qXI-n8-DBxf8ZEY.js +0 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-DuSq5GIk.js +0 -4
- package/dist/assets/toCOABalancesWithID-DKhXdLyk-DNK_OJ2b.js +0 -1
- package/dist/assets/toChartData-B3G_wqcy-WplUF94r.js +0 -1
- package/dist/assets/uploadReceipts-Dge0cNF1-OrsZovci.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e,o as a,F as E,y as c,x as Ye,c as dt,ba as ut,aq as ft,R as be,ai as De,al as fe,aR as ce,fD as pt,a9 as Xe,cG as mt,aZ as ht,aP as gt,p as J,ac as qe,fH as ke,fI as Ae,gf as wt,bU as ye,g9 as xt,hH as $t,u as o,fr as bt,cj as Ue,c1 as Dt,f3 as yt,bL as Tt,am as Ge,fU as Ct,dv as St,c3 as Je,g_ as vt,g$ as kt}from"./index-DQj8IFZB.js";import{a as u}from"./sentry-CmSZxGiC.js";import{n}from"./mui-BU7efdfo.js";import{bL as At}from"./zeni-epic-state-4hreDbys.js";import{v as Pt}from"./ZeniTransferAmountSlider-C--qNr-a-B80xXrhL.js";import{r as Lt}from"./AccountInfoPageContent-BHD9tOzB-Uj2_GKGo.js";import"./liveblocks-C1mHPmJS.js";import"./core-BE_Z31V1.js";import"./recharts-wrfDO0AQ.js";import"./lottie-DyTfNQDx.js";import"./analytics-Df2mJ1lX.js";import"./lexical-aqmLQuMS.js";import"./utils-4HiCQfG5.js";import"./downloadPdf-CDTl_Ev--DcUV3a6w.js";import"./commonDimensions-DbvjFx29-D9IHQgGS.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="3974c39b-e48b-4f89-82df-bfffcec78af4",e._sentryDebugIdIdentifier="sentry-dbid-3974c39b-e48b-4f89-82df-bfffcec78af4")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=E.getLocalizedStrings(),Ze="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",He="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:Z,onBackClick:I,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:H,onReviewClick:K}){const i=ue(),R=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[N,Y]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),I(),Y(!1),z(!1)},[I,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&Y(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{N&&x&&q()},[N,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&H?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};Z(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),K())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Ft,{children:t.jsxs(It,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Et,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:J.heroLight}})})]})}):null,t.jsx(Nt,{children:U("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:Ke(He),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ie,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ie,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ze),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Ut,{children:[$?t.jsxs(Yt,{children:[t.jsx(Xt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Gt,{windowSize:i,children:[t.jsx(Ht,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Jt,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${U("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Zt,{windowSize:i}),t.jsx(Kt,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${U("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ne,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Ze]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
|
|
1
|
+
import{V as t,J as ue,ab as A,hy as lt,aP as H,i as ve,hH as ct,k as Ne,aS as $e,o as a,F as E,x as c,b as Ye,c as dt,ba as ut,ar as ft,R as be,aj as De,am as fe,aR as ce,fE as pt,a9 as Xe,cH as mt,aZ as ht,aQ as gt,p as U,ad as qe,fI as ke,fJ as Ae,gg as wt,bU as ye,ga as xt,hI as $t,u as o,fs as bt,cj as He,c1 as Dt,f4 as yt,bL as Tt,an as Je,fV as Ct,dv as St,c3 as Ue,g$ as vt,h0 as kt}from"./index-C9hDAJ7o.js";import{a as u}from"./sentry-Ckvw8Zf1.js";import{n}from"./mui-BQR0Ruo4.js";import{bL as At}from"./zeni-epic-state-BnsQ52n7.js";import{v as Pt}from"./ZeniTransferAmountSlider-9-2DcdrJ-q0SmjKL2.js";import{r as Lt}from"./AccountInfoPageContent-C7Xs6ju3-CvFu_KWB.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./recharts-DkFolWRg.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.js";import"./downloadPdf-CPfBtFli-C5o4QyFD.js";import"./commonDimensions-BNYeCJ44-DwWQhbOM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="2a2c19b2-9784-401c-aadd-398f452da797",e._sentryDebugIdIdentifier="sentry-dbid-2a2c19b2-9784-401c-aadd-398f452da797")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=E.getLocalizedStrings(),Ke="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Ze="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ge=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:K,onBackClick:I,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:Z,onReviewClick:G}){const i=ue(),R=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[N,Y]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),I(),Y(!1),z(!1)},[I,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&Y(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{N&&x&&q()},[N,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&Z?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};K(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),G())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Ft,{children:t.jsxs(It,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Et,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:U.heroLight}})})]})}):null,t.jsx(Nt,{children:H("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:Ge(Ze),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ie,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ie,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ke),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Ht,{children:[$?t.jsxs(Yt,{children:[t.jsx(Xt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Jt,{windowSize:i,children:[t.jsx(Zt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Ut,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${H("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Kt,{windowSize:i}),t.jsx(Gt,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${H("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ne,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Ke]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
|
|
2
2
|
margin-top: ${a.sp3};
|
|
3
3
|
display: flex;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -17,7 +17,7 @@ import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e
|
|
|
17
17
|
width: 100%;
|
|
18
18
|
justify-content: space-between;
|
|
19
19
|
padding: ${a.sp3} ${a.sp4};
|
|
20
|
-
background-color: ${
|
|
20
|
+
background-color: ${U.importantLight};
|
|
21
21
|
border-radius: ${a.sp2};
|
|
22
22
|
`,Rt=n.div`
|
|
23
23
|
display: flex;
|
|
@@ -25,15 +25,15 @@ import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e
|
|
|
25
25
|
`,Et=n.div``,Ot=n(bt)`
|
|
26
26
|
width: ${a.sp4};
|
|
27
27
|
height: ${a.sp4};
|
|
28
|
-
color: ${
|
|
28
|
+
color: ${U.important};
|
|
29
29
|
`,_t=n.div`
|
|
30
30
|
display: flex;
|
|
31
31
|
flex-direction: column;
|
|
32
32
|
margin-left: ${a.sp2};
|
|
33
|
-
`,Vt=n(
|
|
34
|
-
color: ${
|
|
33
|
+
`,Vt=n(He)`
|
|
34
|
+
color: ${U.important};
|
|
35
35
|
`,Wt=n(fe)`
|
|
36
|
-
color: ${
|
|
36
|
+
color: ${U.important};
|
|
37
37
|
`,Nt=n(Dt)`
|
|
38
38
|
color: ${e=>e.theme.colors.primary};
|
|
39
39
|
margin: ${a.sp5} ${a.sp0} ${a.sp3} ${a.sp0};
|
|
@@ -55,8 +55,8 @@ import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e
|
|
|
55
55
|
margin-bottom: ${a.sp3};
|
|
56
56
|
margin-top: ${a.sp3};
|
|
57
57
|
white-space: pre-line;
|
|
58
|
-
`,ze=n(
|
|
59
|
-
color: ${
|
|
58
|
+
`,ze=n(He)`
|
|
59
|
+
color: ${U.success};
|
|
60
60
|
white-space: nowrap;
|
|
61
61
|
`,qt=n(Tt)`
|
|
62
62
|
width: ${a.sp3};
|
|
@@ -65,10 +65,10 @@ import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e
|
|
|
65
65
|
&:hover {
|
|
66
66
|
color: ${e=>e.theme.colors.primary};
|
|
67
67
|
}
|
|
68
|
-
`,
|
|
68
|
+
`,Ht=n.div`
|
|
69
69
|
margin-bottom: ${a.sp6};
|
|
70
70
|
width: 90%;
|
|
71
|
-
`,
|
|
71
|
+
`,Jt=n.div`
|
|
72
72
|
display: flex;
|
|
73
73
|
align-items: center;
|
|
74
74
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
@@ -77,7 +77,7 @@ import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e
|
|
|
77
77
|
background-color: ${e=>e.theme.colors.grey3};
|
|
78
78
|
border-bottom-right-radius: ${a.sp1};
|
|
79
79
|
border-bottom-left-radius: ${a.sp1};
|
|
80
|
-
`,
|
|
80
|
+
`,Ut=n.div`
|
|
81
81
|
display: flex;
|
|
82
82
|
flex-direction: row;
|
|
83
83
|
align-items: center;
|
|
@@ -98,7 +98,7 @@ import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e
|
|
|
98
98
|
color: ${e=>e.theme.colors.primary};
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
`,
|
|
101
|
+
`,Kt=n.div`
|
|
102
102
|
display: ${e=>e.windowSize==="small"?"none":"block"};
|
|
103
103
|
width: ${a.sp1};
|
|
104
104
|
height: ${a.sp1};
|
|
@@ -106,12 +106,12 @@ import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e
|
|
|
106
106
|
margin: 0 ${a.sp2};
|
|
107
107
|
background-color: ${e=>e.theme.colors.grey1};
|
|
108
108
|
border-radius: 50%;
|
|
109
|
-
`,
|
|
109
|
+
`,Zt=n.div`
|
|
110
110
|
display: flex;
|
|
111
111
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
112
112
|
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
113
113
|
width: ${e=>e.windowSize==="small"?"100%":"unset"};
|
|
114
|
-
`,
|
|
114
|
+
`,Gt=n(Je)`
|
|
115
115
|
color: ${e=>e.theme.colors.hero};
|
|
116
116
|
`,Qt=n(Ct)`
|
|
117
117
|
cursor: pointer;
|
|
@@ -179,7 +179,7 @@ import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e
|
|
|
179
179
|
&:hover {
|
|
180
180
|
color: ${e=>e.theme.colors.primary};
|
|
181
181
|
}
|
|
182
|
-
`,re={navBarContainerPaddingXaxis:new c(10,19),containerPaddingLeft:new c(16,40,56),containerPaddingRight:new c(16,40,56),successContentMargin:new c(o[3],o[12]),buttonTrayGap:new c(o[4],o[5])},b=E.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,ra=({transferDetails:e,isCalculatorOpen:r,showAnnualYieldEarned:g,transferAmount:$,yieldEarned:y,totalBalance:w,maxInsuredAmount:d,zeniAccountsConfigDetail:f,fireTrackTransferBetweenAccountsFormClicked:l,onSaveChangesToLocalStore:T,onTransferClick:C,onDismissClick:S,onAnotherTransferClick:F,onEstablishConnectionClick:M,onBackClick:
|
|
182
|
+
`,re={navBarContainerPaddingXaxis:new c(10,19),containerPaddingLeft:new c(16,40,56),containerPaddingRight:new c(16,40,56),successContentMargin:new c(o[3],o[12]),buttonTrayGap:new c(o[4],o[5])},b=E.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,ra=({transferDetails:e,isCalculatorOpen:r,showAnnualYieldEarned:g,transferAmount:$,yieldEarned:y,totalBalance:w,maxInsuredAmount:d,zeniAccountsConfigDetail:f,fireTrackTransferBetweenAccountsFormClicked:l,onSaveChangesToLocalStore:T,onTransferClick:C,onDismissClick:S,onAnotherTransferClick:F,onEstablishConnectionClick:M,onBackClick:K,onFetchLinkTokenClick:I,plaidConnectionDetails:O,showReviewContent:_,setShowReviewContent:Z,setCurrentDrawerContent:G,clearReviewTransferDetail:i,onReviewClick:R,setIsCalculatorOpen:V,setShowAnnualYieldEarned:j,setTransferAmount:m,setYieldEarned:v,setTotalBalance:W})=>{const x=ue(),z=e.reviewTransferDetail,N=e.transferDetailLocalData.transferFrom?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accType==="depositAccount",Y=()=>e.transferDetailLocalData.transferFrom?.id!=null||e.transferDetailLocalData.transferTo?.id!=null||e.transferDetailLocalData.amount.amount>0;return t.jsx(sa,{windowSize:x,children:e.fetchState==="Completed"?t.jsxs(Ee,{windowSize:x,isTransferCompleted:!0,children:[t.jsx(Oe,{windowSize:x,children:t.jsx(_e,{"data-testid":A("cross-transfer-success-close-button"),onClick:()=>{l("Cross","Transfer Success"),S?.()}})}),t.jsxs(da,{windowSize:x,children:[t.jsx(lt,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),t.jsx(la,{children:N?t.jsxs(t.Fragment,{children:[b.transferDrawer.internal.transferSuccessMsgPrefix,t.jsx(Re,{children:H("0,0.[00]",e.transferDetailLocalData.amount)}),b.transferDrawer.internal.transferSuccessMsgMidfix,`"${e.transferDetailLocalData.transferFrom?.label}"`,b.transferDrawer.internal.transferSuccessMsgMidfix2,`"${e.transferDetailLocalData.transferTo?.label}".`]}):t.jsxs(t.Fragment,{children:[b.transferDrawer.external.transferSuccessMsgPrefix,t.jsx(Re,{children:H("0,0.[00]",e.transferDetailLocalData.amount)}),b.transferDrawer.external.transferSuccessMsgMidfix,`"${e.transferDetailLocalData.transferFrom?.label}"`,b.transferDrawer.external.transferSuccessMsgMidfix1,`"${e.transferDetailLocalData.transferTo?.label}".`,z.reviewTransferMoney.isShowDailyAchLimitWarning?null:b.transferDrawer.external.transferSuccessMsgMidfix2]})}),t.jsxs(ca,{windowSize:x,children:[t.jsx(ve,{variant:"secondary",label:b.transferDrawer.anotherTransferBtn,"data-testid":A("another-transfer-button"),onClick:()=>{l("Another Transfer","Transfer Success"),W(0),V(!1),v(0),j(!1),F()},style:{minWidth:200}}),t.jsx(ve,{variant:"primary",label:b.transferDrawer.backToChecking,"data-testid":A("back-to-checking-button"),onClick:()=>{l("Back to Checking","Transfer Success"),S?.()},style:{minWidth:200}})]})]})]}):_?t.jsx(ct,{transferDetails:e,setCurrentDrawerContent:G,setShowReviewContent:Z,onTransferClick:C,clearReviewTransferDetail:i,reviewTransferDetail:z,fireTrackTransferBetweenAccountsFormClicked:l}):t.jsxs(t.Fragment,{children:[t.jsxs(Ee,{windowSize:x,isTransferCompleted:!1,children:[t.jsx(Oe,{windowSize:x,children:t.jsx(_e,{"data-testid":A("cross-amount-details-close-button"),onClick:()=>{l("Cross","Amount Details"),S?.()}})}),x==="small"?t.jsx(ua,{windowSize:x,children:b.transferDrawer.title}):t.jsx(fa,{children:b.transferDrawer.title}),x==="small"?t.jsx(ia,{children:b.transferDrawer.subTitle}):t.jsx(oa,{children:b.transferDrawer.subTitle}),e.transferMoneyPartiesFetchState==="Completed"?t.jsx(zt,{isCalculatorOpen:r,showAnnualYieldEarned:g,transferAmount:$,yieldEarned:y,totalBalance:w,onBackClick:K,onSaveChangesToLocalStore:T,plaidConnectionDetails:O,transferDetails:e,zeniAccountsConfigDetail:f,onEstablishConnectionClick:M,onFetchLinkTokenClick:I,onReviewClick:R,setIsCalculatorOpen:V,setShowAnnualYieldEarned:j,setTransferAmount:m,setYieldEarned:v,setTotalBalance:W,fireTrackTransferBetweenAccountsFormClicked:l,maxInsuredAmount:d}):t.jsx(Ne,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})]}),Y()?t.jsx($e,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:Ge(Ze),helperStyle:{paddingTop:a.sp0,paddingBottom:a.sp0},primaryBtn:{label:E.getLocalizedStrings().common.review,isLoading:z.fetchState==="In-Progress"},cancelBtn:{label:b.transferDrawer.cancelBtn,onClick:()=>{l("Cancel","Amount Details"),S?.()}}}):null]})})},oa=n(fe)`
|
|
183
183
|
color: ${e=>e.theme.colors.hero};
|
|
184
184
|
`,ia=n(De)`
|
|
185
185
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -241,10 +241,10 @@ import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e
|
|
|
241
241
|
color: ${e=>e.theme.colors.primary};
|
|
242
242
|
margin-top: ${a.sp3};
|
|
243
243
|
margin-bottom: ${a.sp2};
|
|
244
|
-
`,
|
|
244
|
+
`,J={accountRowLeftRightPadding:new c(o[3],o[3]),zeniAccountListPaddingBottom:new c(o[3],o[6]),navBarContainerPaddingXaxis:new c(10,19),containerPaddingLeft:new c(o[3],o[6],o[8]),containerPaddingRight:new c(o[3],o[6],o[8])},Ve="wireTransferDetailPage",We=e=>`${e}_form`,pa=E.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList.transferDrawer,we=E.getLocalizedStrings().common,ma=e=>t.jsx(va,{color:vt(e)}),ha=({depositAccountListView:e,setCurrentDrawerContent:r,selectedAccount:g,setShowWireAccountInfo:$,setSelectedAccount:y,fireTrackTransferBetweenAccountsFormClicked:w})=>{const d=Xe({mode:"all",reValidateMode:"onChange",defaultValues:{selectedAccountId:g?.id}}),f=ue();return u.useEffect(()=>{const l=d.watch(()=>{const T=e.depositAccounts.find(C=>C.id===d.getValues("selectedAccountId"));y(T)});return()=>{l.unsubscribe()}}),e.fetchState!="Completed"?t.jsx(xt,{fetchState:e.fetchState}):t.jsxs(t.Fragment,{children:[t.jsxs(ga,{windowSize:f,children:[t.jsx(Ca,{windowSize:f,children:t.jsx(ye,{style:{marginTop:a.sp1},title:we.navBar.back,enterDelay:600,placement:"bottom",children:t.jsx(Ta,{"data-testid":A("select-zeni-account-back-button"),onClick:()=>{w("Back","Select Account for Split Transfer"),r("achTransfer")}})})}),t.jsx(Sa,{windowSize:f,children:pa.selectYour}),t.jsx(qe,{...d,children:t.jsx("form",{id:We(Ve),onSubmit:d.handleSubmit(()=>{w("Next","Select Account for Split Transfer"),$(!0)}),children:t.jsx(ya,{windowSize:f,children:e.depositAccounts.map((l,T)=>t.jsx(Da,{isClickEnabled:!0,windowSize:f,"data-testid":A("deposit-account-click",l.id),onClick:()=>d.setValue("selectedAccountId",l.id),children:t.jsxs(wa,{children:[t.jsx($t,{name:"selectedAccountId",id:l.id,value:l.id,radioSize:"small",style:{marginRight:8}}),ma(T),t.jsxs(xa,{children:[t.jsx(ba,{windowSize:f,children:l.accountName}),t.jsx($a,{children:H("0,0[.]00",l.accountBalance?.available)})]})]})},l.id))})})})]}),g!=null?t.jsx($e,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:We(Ve),cancelBtn:{label:we.cancel,onClick:()=>{w("Cancel","Select Account for Split Transfer"),r("achTransfer")},style:{width:93}},primaryBtn:{label:we.next,style:{width:93}}}):null]})},ga=n.div`
|
|
245
245
|
height: auto;
|
|
246
|
-
padding-left: ${e=>`${
|
|
247
|
-
padding-right: ${e=>`${
|
|
246
|
+
padding-left: ${e=>`${J.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
247
|
+
padding-right: ${e=>`${J.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
248
248
|
margin-bottom: auto;
|
|
249
249
|
`,wa=n.div`
|
|
250
250
|
display: flex;
|
|
@@ -257,7 +257,7 @@ import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e
|
|
|
257
257
|
overflow: hidden;
|
|
258
258
|
position: relative;
|
|
259
259
|
top: 2px;
|
|
260
|
-
`,$a=n(
|
|
260
|
+
`,$a=n(Je)`
|
|
261
261
|
color: ${e=>e.theme.colors.grey1};
|
|
262
262
|
position: relative;
|
|
263
263
|
top: -${a.sp1};
|
|
@@ -267,8 +267,8 @@ import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e
|
|
|
267
267
|
text-transform: capitalize;
|
|
268
268
|
overflow: hidden;
|
|
269
269
|
`,Da=n.div`
|
|
270
|
-
padding-left: ${e=>
|
|
271
|
-
padding-right: ${e=>
|
|
270
|
+
padding-left: ${e=>J.accountRowLeftRightPadding.valuePx(e.windowSize)};
|
|
271
|
+
padding-right: ${e=>J.accountRowLeftRightPadding.valuePx(e.windowSize)};
|
|
272
272
|
background: ${e=>e.theme.colors.grey5};
|
|
273
273
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
274
274
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal} `};
|
|
@@ -285,8 +285,8 @@ import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e
|
|
|
285
285
|
color: ${e=>e.isClickEnabled?e.theme.colors.champion:e.theme.colors.hero};
|
|
286
286
|
}
|
|
287
287
|
`,ya=n.div`
|
|
288
|
-
padding-bottom: ${e=>
|
|
289
|
-
`,Ta=n(
|
|
288
|
+
padding-bottom: ${e=>J.zeniAccountListPaddingBottom.valuePx(e.windowSize)};
|
|
289
|
+
`,Ta=n(Ue)`
|
|
290
290
|
cursor: pointer;
|
|
291
291
|
color: ${e=>e.theme.colors.hero};
|
|
292
292
|
width: ${a.sp4};
|
|
@@ -302,7 +302,7 @@ import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e
|
|
|
302
302
|
align-items: center;
|
|
303
303
|
width: 100%;
|
|
304
304
|
top: ${a.sp0};
|
|
305
|
-
padding: ${e=>`${
|
|
305
|
+
padding: ${e=>`${J.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${a.sp0}`};
|
|
306
306
|
z-index: 2;
|
|
307
307
|
background-color: ${e=>e.theme.colors.grey4};
|
|
308
308
|
`,Sa=n(be)`
|
|
@@ -323,7 +323,7 @@ import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e
|
|
|
323
323
|
height: auto;
|
|
324
324
|
padding: ${e=>`${a.sp0} ${L.pageContentPaddingLeftRight.valuePx(e.windowSize)}`};
|
|
325
325
|
margin-bottom: auto;
|
|
326
|
-
`,ja=n(
|
|
326
|
+
`,ja=n(Ue)`
|
|
327
327
|
cursor: pointer;
|
|
328
328
|
color: ${e=>e.theme.colors.hero};
|
|
329
329
|
width: ${a.sp4};
|
|
@@ -352,7 +352,7 @@ import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e
|
|
|
352
352
|
color: ${e=>e.theme.colors.primary};
|
|
353
353
|
padding: ${a.sp3} ${a.sp0} ${a.sp2} ${a.sp0};
|
|
354
354
|
margin: ${e=>`${a.sp0} ${L.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
|
|
355
|
-
`,Ia=({zeniAccountsConfigDetail:e,depositAccountListView:r,downloadAccountDetailEndPoint:g,authParams:$,selectedAccountId:y,currentTenant:w,setCurrentDrawerContent:d,fireTrackTransferBetweenAccountsFormClicked:f,onDismissClick:l})=>{const[T,C]=u.useState(!1),[S,F]=u.useState(r.depositAccounts.find(M=>M.id===y));return T&&S!=null?t.jsx(Aa,{downloadAccountDetailEndPoint:g,authParams:$,currentTenant:w,zeniAccountsConfigDetail:e,depositAccount:S,onDismissClick:l,setShowWireAccountInfo:C,fireTrackTransferBetweenAccountsFormClicked:f}):t.jsx(ha,{depositAccountListView:r,setCurrentDrawerContent:d,selectedAccount:S,setShowWireAccountInfo:C,setSelectedAccount:F,fireTrackTransferBetweenAccountsFormClicked:f})},Qa=({transferDetails:e,zeniAccountsConfigDetail:r,depositAccountListView:g,maxInsuredAmount:$,currentTenant:y,showReviewContent:w,currentDrawerContent:d,downloadAccountDetailEndPoint:f,authParams:l,analytics:T,setCurrentDrawerContent:C,setShowReviewContent:S,onSaveChangesToLocalStore:F,onTransferClick:M,onReviewClick:
|
|
355
|
+
`,Ia=({zeniAccountsConfigDetail:e,depositAccountListView:r,downloadAccountDetailEndPoint:g,authParams:$,selectedAccountId:y,currentTenant:w,setCurrentDrawerContent:d,fireTrackTransferBetweenAccountsFormClicked:f,onDismissClick:l})=>{const[T,C]=u.useState(!1),[S,F]=u.useState(r.depositAccounts.find(M=>M.id===y));return T&&S!=null?t.jsx(Aa,{downloadAccountDetailEndPoint:g,authParams:$,currentTenant:w,zeniAccountsConfigDetail:e,depositAccount:S,onDismissClick:l,setShowWireAccountInfo:C,fireTrackTransferBetweenAccountsFormClicked:f}):t.jsx(ha,{depositAccountListView:r,setCurrentDrawerContent:d,selectedAccount:S,setShowWireAccountInfo:C,setSelectedAccount:F,fireTrackTransferBetweenAccountsFormClicked:f})},Qa=({transferDetails:e,zeniAccountsConfigDetail:r,depositAccountListView:g,maxInsuredAmount:$,currentTenant:y,showReviewContent:w,currentDrawerContent:d,downloadAccountDetailEndPoint:f,authParams:l,analytics:T,setCurrentDrawerContent:C,setShowReviewContent:S,onSaveChangesToLocalStore:F,onTransferClick:M,onReviewClick:K,onDismissClick:I,onAnotherTransferClick:O,onEstablishConnectionClick:_,onBackClick:Z,clearReviewTransferDetail:G,onFetchLinkTokenClick:i,plaidConnectionDetails:R})=>{const[V,j]=u.useState(!1),[m,v]=u.useState(!1),[W,x]=u.useState(0),[z,N]=u.useState(0),[Y,Q]=u.useState(0),oe=()=>{const X=(ee,ie)=>T.trackTransferBetweenAccountsFormClicked(ee,ie,e.transferDetailLocalData.transferFrom?.label,e.transferDetailLocalData.transferTo?.label,e.transferDetailLocalData.amount.amount,e.reviewTransferDetail.reviewTransferMoney.isShowDailyAchLimitWarning,e.reviewTransferDetail.reviewTransferMoney.transferSchedules.length,e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.zeniAccountsConfigDetail.depositProductConfig.depositProducts?.[0].range?.[1]!=null&&e.transferDetailLocalData.amount.amount>r.zeniAccountsConfigDetail.depositProductConfig.depositProducts[0].range[1]);return d==="achTransfer"?t.jsx(ra,{transferDetails:e,isCalculatorOpen:V,showAnnualYieldEarned:m,transferAmount:W,yieldEarned:z,totalBalance:Y,zeniAccountsConfigDetail:r,fireTrackTransferBetweenAccountsFormClicked:X,onSaveChangesToLocalStore:F,onTransferClick:M,onDismissClick:I,onAnotherTransferClick:O,onEstablishConnectionClick:_,onBackClick:Z,onFetchLinkTokenClick:i,plaidConnectionDetails:R,setCurrentDrawerContent:C,clearReviewTransferDetail:G,onReviewClick:K,setShowReviewContent:S,showReviewContent:w,setIsCalculatorOpen:j,setShowAnnualYieldEarned:v,setTransferAmount:x,setYieldEarned:N,setTotalBalance:Q,maxInsuredAmount:$}):t.jsx(Ia,{zeniAccountsConfigDetail:r,depositAccountListView:g,selectedAccountId:e.transferDetailLocalData.transferTo?.id,currentTenant:y,downloadAccountDetailEndPoint:f,authParams:l,fireTrackTransferBetweenAccountsFormClicked:X,setCurrentDrawerContent:C,onDismissClick:I})};return t.jsx(Ra,{children:oe()})},Ra=n.div`
|
|
356
356
|
display: flex;
|
|
357
357
|
flex-direction: column;
|
|
358
358
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as C,
|
|
1
|
+
import{J as C,y as M,a8 as Fe,ce as Ke,V as t,aP as V,bU as ae,bD as Ve,w as ie,ab as W,k as We,o as i,aj as k,F as L,p as w,bL as Ee,x as y,fl as X,H as I,u as p,b5 as ne,bP as Le,aU as Me,ax as Ue,fY as Ge,h5 as _e,i as Je,am as A,b0 as Xe,jt as Ze,k5 as qe,bh as Qe,eR as et,da as tt,fV as it,l1 as ot,j2 as Ae,j3 as Oe,cv as rt,iV as at,iW as nt,l2 as st,kg as lt,an as E,bS as dt,cB as le,j1 as ct,cE as ht}from"./index-C9hDAJ7o.js";import{a as f,P as pt}from"./sentry-Ckvw8Zf1.js";import{n as o,c as de}from"./mui-BQR0Ruo4.js";import{bL as U,c4 as xt}from"./zeni-epic-state-BnsQ52n7.js";import{s as gt}from"./commonDimensions-BNYeCJ44-DwWQhbOM.js";import{g as ce}from"./BoxItem-Dy41mKN9-CZiGGLPk.js";import{o as mt}from"./shield-DOlUxcFf-rM_NpNHL.js";import{U as he,F as pe,X as xe,Y as ge,G as me,J as ut}from"./recharts-DkFolWRg.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="fdec8612-135c-401c-8a38-b16ab8d179f4",e._sentryDebugIdIdentifier="sentry-dbid-fdec8612-135c-401c-8a38-b16ab8d179f4")}catch{}})();const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},ft={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[yt,ft,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Ae,Oe),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=f.useState(oe());f.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let m=s;r.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),n(c,m)},g=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(dt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Mt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":W("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(le,{})})})]})]}):t.jsx(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":W("cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(le,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":W("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const jt=pt.memo($t),bt=o.div`
|
|
2
2
|
top: ${i.sp0};
|
|
3
3
|
left: ${i.sp0};
|
|
4
4
|
z-index: 2;
|
|
@@ -95,7 +95,7 @@ import{J as C,d as M,a8 as Fe,ce as Ke,V as t,aO as V,bU as ae,bD as Ve,b as ie,
|
|
|
95
95
|
cursor: pointer;
|
|
96
96
|
gap: 5px;
|
|
97
97
|
color: ${e=>e.theme.colors.primary};
|
|
98
|
-
`,G={containerPaddingLeft:new y(p[3],p[4]),containerPaddingRight:new y(p[2],p[3]),containerPaddingTop:new y(p[2],p[3]),containerPaddingBottom:new y(p[2],p[3])};function At({data:e,boxType:r}){const{description:n,amount:h,status:l,date:a}=e,u=V("0,0.00",h),d=C(),{dateFormat:g}=L.getLocalizedStrings(),x=oe(),$=x[0].width,j=x[1].width,c=x[2].width,s=st(l);if(d==="small"){const b=t.jsx(Kt,{children:t.jsxs(Vt,{children:[t.jsxs(Wt,{children:[t.jsxs(Ut,{children:[t.jsx(fe,{}),t.jsx(Gt,{children:t.jsx(_t,{children:t.jsxs(Jt,{children:[n,l!=null&&l.code!=="completed"?t.jsxs(t.Fragment,{children:[t.jsx(Xt,{}),t.jsx(
|
|
98
|
+
`,G={containerPaddingLeft:new y(p[3],p[4]),containerPaddingRight:new y(p[2],p[3]),containerPaddingTop:new y(p[2],p[3]),containerPaddingBottom:new y(p[2],p[3])};function At({data:e,boxType:r}){const{description:n,amount:h,status:l,date:a}=e,u=V("0,0.00",h),d=C(),{dateFormat:g}=L.getLocalizedStrings(),x=oe(),$=x[0].width,j=x[1].width,c=x[2].width,s=st(l);if(d==="small"){const b=t.jsx(Kt,{children:t.jsxs(Vt,{children:[t.jsxs(Wt,{children:[t.jsxs(Ut,{children:[t.jsx(fe,{}),t.jsx(Gt,{children:t.jsx(_t,{children:t.jsxs(Jt,{children:[n,l!=null&&l.code!=="completed"?t.jsxs(t.Fragment,{children:[t.jsx(Xt,{}),t.jsx(Zt,{color:s?.color,children:s?.value})]}):null]})})})]}),t.jsx(qt,{children:t.jsx(Qt,{children:a!=null?`${oe()[1].value}: `+a.format(g.visual.MMMDCommaYYYYformat):null})})]}),t.jsx(Et,{children:t.jsx(ei,{children:t.jsx($e,{children:u})})})]})});return t.jsx(ce,{content:b,boxType:r,isDisabled:!0,isNotClickable:!0})}const m=t.jsxs(Ot,{windowSize:d,children:[t.jsxs(Rt,{windowSize:d,width:$,children:[t.jsx(fe,{}),t.jsxs(Ht,{windowSize:d,children:[t.jsx(we,{children:n}),l!=null&&l.code!=="completed"?t.jsxs(Yt,{windowSize:d,children:[t.jsx(Ft,{}),t.jsx(Nt,{color:s?.color,children:s?.value})]}):null]})]}),t.jsx(It,{windowSize:d,width:j,children:t.jsx(we,{children:a!=null?a.format(g.visual.MMMDCommaYYYYformat):null})}),t.jsx(Bt,{windowSize:d,width:c,children:t.jsx($e,{children:u})})]});return t.jsx(ce,{content:m,boxType:r,isDisabled:!0,isNotClickable:!0})}const Ot=o.div`
|
|
99
99
|
width: 100%;
|
|
100
100
|
display: flex;
|
|
101
101
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -231,7 +231,7 @@ import{J as C,d as M,a8 as Fe,ce as Ke,V as t,aO as V,bU as ae,bD as Ve,b as ie,
|
|
|
231
231
|
margin-left: ${i.sp2};
|
|
232
232
|
margin-right: ${i.sp2};
|
|
233
233
|
vertical-align: middle;
|
|
234
|
-
`,
|
|
234
|
+
`,Zt=o(E)`
|
|
235
235
|
display: inline;
|
|
236
236
|
color: ${e=>e.color};
|
|
237
237
|
white-space: nowrap;
|
|
@@ -240,7 +240,7 @@ import{J as C,d as M,a8 as Fe,ce as Ke,V as t,aO as V,bU as ae,bD as Ve,b as ie,
|
|
|
240
240
|
align-items: center;
|
|
241
241
|
margin-top: ${i.sp1};
|
|
242
242
|
margin-left: ${i.sp6};
|
|
243
|
-
`,
|
|
243
|
+
`,Qt=o(E)`
|
|
244
244
|
color: ${e=>e.theme.colors.grey1};
|
|
245
245
|
text-align: left;
|
|
246
246
|
`,ei=o.div`
|
|
@@ -311,7 +311,7 @@ import{J as C,d as M,a8 as Fe,ce as Ke,V as t,aO as V,bU as ae,bD as Ve,b as ie,
|
|
|
311
311
|
justify-content: center;
|
|
312
312
|
align-items: center;
|
|
313
313
|
background-color: ${e=>e.theme.colors.grey4};
|
|
314
|
-
`,P={tickLabelText:new I("extraSmallRegular","smallRegular"),balanceIntegerStyles:new I("h5Regular","h3Regular"),integerStyles:new I("largeRegular","h6Regular"),decimalStyles:new I("standardRegular","standardRegular"),fundSummaryStyles:new I("extraSmallSemiBold","smallSemiBold"),yieldValueStyles:new I("standardMedium","largeMedium")},T={accountDetailHeaderPaddingRight:new y(p[3],p[8]),accountDetailHeaderPaddingBottom:new y(p[3],p[6]),accountDetailHeaderPaddingLeft:new y(p[3],p[8]),accountDetailHeaderPaddingTop:new y(p[3],p[6]),accountDetailContentMarginTop:new y(p[4],p[4]),areaChartHeight:new y(114,209),accountDetailHeaderGap:new y(18,100,184)},{spendManagement:{zeniAccounts:be,treasury:{overviewPage:v}},dateFormat:Q,common:bi}=L.getLocalizedStrings(),Be=f.memo(({accountHistory:e})=>{const r=C(),n=M(),[h,l]=f.useState(),a=f.useMemo(()=>{const s=U(new Date().toISOString()),m=s.clone().subtract(84,"day"),b=84/6;return Array.from({length:7}).map((z,D)=>{const O=D/6;let R;return O<.5?R=0:O<.6?R=.9*((O-.5)/.09999999999999998):R=.9,{date:(D===6?s:m.clone().add(Math.round(D*b),"day")).toISOString(),value:R}})},[]),u=f.useMemo(()=>(a.length<=0,0),[a.length]),d=e.fetchState==="Completed"&&(e.accountHistoryWithBalance.length===0||e.accountHistoryWithBalance.every(s=>s.balance?.available.amount===0)),g=f.useMemo(()=>e.accountHistoryWithBalance.map(s=>({...s,date:s.date.toISOString()})),[e.accountHistoryWithBalance]),x=f.useCallback(s=>{const m=Array.isArray(s)?s:[];let b="",z="";if(Array.isArray(m)&&m.length>0){const D=m[0].payload?.balance?.available;z=V("0,0[.]00",D),b=U(m[0].payload?.date??"").format(Q.visual.DMMMYYYYFormat)}return t.jsxs(Ei,{children:[t.jsx(ze,{children:b}),t.jsx(ze,{isSublabel:!0,children:z})]})},[]),$=f.useCallback(s=>{const m=s,{x:b,y:z}=m,{value:D}=m.payload;let O=!1;e.accountHistoryWithBalance.length>360&&(O=!0);const R=O?U(D).format(Q.visual.MMMformat):U(D).format(Q.visual.MMMDFormat);return t.jsx(Ii,{translateX:b,translateY:z,children:t.jsx(Fi,{windowSize:r,dy:20,dx:-25,children:R})})},[e.accountHistoryWithBalance.length,r]),j=f.useCallback(({cx:s,cy:m,dataKey:b})=>(b==="balance.available.amount"&&(h?.x!==s||h?.y!==m)&&l({x:s,y:m}),t.jsx(Ui,{cx:s,cy:m,strokeWidth:1,r:p[1]})),[h]),c=f.useMemo(()=>{const s=e.accountHistoryWithBalance.length;return s<=0?0:s>360?Math.floor(s/12):Math.floor(s/7)},[e.accountHistoryWithBalance.length]);return t.jsx(Ki,{children:d?t.jsxs(eo,{children:[t.jsx(he,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(pe,{data:a,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(ve,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Se,{offset:"0%",stopColor:n.colors.grey2,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:n.colors.grey2,stopOpacity:.02})]})}),t.jsx(xe,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,tick:s=>$(s),interval:u,padding:{right:p[4]}}),t.jsx(ge,{tick:!1,axisLine:!1,domain:[0,1]}),t.jsx(me,{activeDot:void 0,fillOpacity:1,dot:!1,type:"monotone",dataKey:"value",stroke:n.colors.grey2,strokeDasharray:"4 4",fill:"url(#colorUv)"})]})}),t.jsx(to,{children:t.jsx(Zi,{children:v.noData})})]}):t.jsx(he,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(pe,{data:g,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(ve,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Se,{offset:"0%",stopColor:w.brandColorJade,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:w.brandColorJade,stopOpacity:.03})]})}),t.jsx(xe,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:s=>$(s),padding:{right:p[4]},interval:c}),t.jsx(ge,{tick:!1,axisLine:!1}),t.jsx(ut,{position:h,content:({payload:s})=>x(s),cursor:{strokeDasharray:"3",stroke:w.brandColorJade}}),t.jsx(me,{activeDot:j,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:w.brandColorJade,fill:"url(#colorUv)"})]})})})});Be.displayName="AccountBalanceGraph";const Ko=({treasuryDetail:e,treasurySetupView:r,onColumnSortConfigChanged:n,onBackClick:h,onReloadTreasuryTransactions:l,handleTreasuryOptionSelection:a,onTransferClick:u})=>{const d=C(),g=M(),x=Fe().analytics;Ke({componentName:"treasury.overview",enabled:e.fetchState==="Completed"});const $=m=>{x.trackTreasuryDashboardInteraction((()=>{switch(m){case"editPortfolio":return"Edit Portfolio";case"taxLetter":return"Tax Letter";case"statements":return"Statement";default:return"Settings"}})()),a(m)},j=e.accountSummary,c=f.useCallback(m=>{let b=null,z;switch(m){case"insuredFunds":b=t.jsx(Pe,{children:v.insuredFundsTooltip}),z="280px";break;case"totalBalance":b=t.jsxs(qi,{children:[t.jsx(Qi,{children:v.balanceTooltip.base}),t.jsxs(Z,{children:[t.jsx(ee,{children:v.balanceTooltip.balance}),t.jsx(te,{children:V("0,0[.]00",j?.totalBalance)})]}),t.jsxs(Z,{children:[t.jsx(ee,{children:v.balanceTooltip.processing}),t.jsx(te,{children:V("0,0[.]00",j?.processingBalance)})]}),t.jsxs(Z,{children:[t.jsx(ee,{children:v.balanceTooltip.available}),t.jsx(te,{children:V("0,0[.]00",j?.availableBalance)})]})]}),z="312px";break;case"sevenDayYield":b=t.jsx(Pe,{children:v.fundTile.sevenDayYieldTooltip}),z="464px";break;default:b=t.jsx(t.Fragment,{});break}return t.jsx(Ye,{children:t.jsx(ae,{display:"flex",placement:d==="small"?"bottom":"top",title:b,style:{textAlign:"left"},maxWidth:z,children:m==="insuredFunds"?t.jsx(yo,{}):t.jsx(Ne,{})})})},[j,d]),s=t.jsx(fi,{onOptionSelection:$,onTransferClick:()=>{x.trackTreasuryDashboardInteraction("Transfer Funds"),u()}});return t.jsxs(Ti,{children:[t.jsx(Ve,{title:v.title,onBackClick:h,showMenuIcon:!1,backgroundColor:g.colors.grey5,style:{zIndex:3,...ie.largeSemiBold.cssObject},rightSideComponent:s,source:"treasury"}),t.jsxs(Li,{windowSize:d,children:[t.jsxs(Mi,{windowSize:d,children:[t.jsx(vi,{fundAllocation:r.currentAllocation,fundsData:r.fundsData,getToolTipContent:c,treasuryDetail:e,hasAccountActivity:e.transactions.length>0}),t.jsx(Ri,{windowSize:d,children:t.jsx(Be,{accountHistory:e.accountHistory})})]}),t.jsx(Si,{analytics:x,fundsData:r.fundsData,fundAllocation:r.currentAllocation,hasAccountActivity:e.transactions.length>0})]}),e.transactionsFetchState.fetchState==="Completed"?t.jsx(He,{treasuryDetail:e,onColumnSortConfigChanged:n}):e.transactionsFetchState.fetchState==="Error"?t.jsxs(Bi,{children:[t.jsx(Hi,{onClick:l,"data-testid":W("account-detail-reload"),children:t.jsx(Ni,{})}),t.jsx(Yi,{children:bi.reloadPage.label})]}):t.jsx(ji,{children:t.jsx(We,{size:"ExtraLarge",start:!0})})]})},He=f.memo(({treasuryDetail:e,onColumnSortConfigChanged:r})=>{const n=C();return t.jsx(t.Fragment,{children:e.transactions.length>0?t.jsx(Di,{windowSize:n,children:t.jsx(ai,{transactionList:e.transactions,fetchState:e.fetchState,uiState:e.uiState,onReloadCards:()=>{},onColumnSortConfigChanged:r})}):t.jsx(Pi,{})})});He.displayName="TransactionListScreen";const vi=({treasuryDetail:e,hasAccountActivity:r,getToolTipContent:n,fundAllocation:h,fundsData:l})=>{const a=C(),[u,d]=f.useState(!1);return f.useEffect(()=>{u===!0&&setTimeout(()=>{d(!1)},800)},[u]),t.jsxs(Ai,{children:[t.jsxs(J,{children:[t.jsx(Vi,{children:t.jsxs(K,{children:[F(be.zeniAccountList.totalAvailableBalance),n("totalBalance")]})}),t.jsx(Xi,{windowSize:a,children:e.accountSummary?.availableBalance?t.jsx(t.Fragment,{children:t.jsx(X,{amount:e.accountSummary?.availableBalance,integerStyles:P.balanceIntegerStyles.styleObject(a),decimalStyles:P.balanceIntegerStyles.styleObject(a)})}):null})]}),t.jsxs(J,{children:[t.jsxs(K,{children:[F(v.insuredFunds),n("insuredFunds")]}),t.jsx(q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(X,{amount:{amount:e.accountSummary?.insuredFunds.amount??0,currencyCode:"USD",currencySymbol:"$"},integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})}),t.jsx(K,{children:F(v.insuredFundsAmount)})]}),r&&t.jsxs(Oi,{children:[t.jsxs(Ce,{children:[t.jsx(K,{children:F(be.common.totalYieldEarned)}),t.jsx(q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(X,{amount:e.accountSummary?.totalYield,integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})})]}),t.jsxs(Ce,{children:[t.jsxs(K,{children:[F(v.sevenDayYield)," ",n("sevenDayYield")]}),t.jsx(q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsxs(Wi,{windowSize:a,children:[zi(h??{},l),"%"]})})]})]})]})},Si=({analytics:e,fundsData:r,fundAllocation:n,hasAccountActivity:h})=>{const[l,a]=f.useState(!1),u=C(),d=M(),g=()=>{a(x=>!x)};return t.jsx(io,{windowSize:u,allTilesExpanded:l,children:r.map((x,$)=>{const j=l,c=ne($,d);return t.jsxs(oo,{expanded:j,windowSize:u,children:[t.jsx(go,{bgColor:c.headerBackground}),t.jsx(ki,{fund:x,fundIndex:$,fundAllocation:n!=null?n[x.fundCode]:0,hasAccountActivity:h}),!l&&t.jsx(ro,{children:t.jsxs(no,{onClick:()=>{e.trackTreasuryDashboardInteraction("View Details "+x.fundCompanyName+" "+x.fundName),g()},children:[v.fundTile.viewDetails,t.jsx(_i,{})]})}),j&&t.jsxs(t.Fragment,{children:[t.jsx(zo,{}),t.jsx(Ci,{analytics:e,fund:x,fundIndex:$,onHide:g})]})]},x.fundCode)})})},ki=({fund:e,fundIndex:r,fundAllocation:n})=>{const h=M(),l=ne(r,h),a=C();return t.jsxs(ao,{windowSize:a,children:[t.jsxs(De,{style:{width:a==="small"?"100%":"50%"},children:[t.jsx(lo,{children:t.jsxs(co,{children:[t.jsx(Te,{windowSize:a,children:e.fundCode}),t.jsxs(Te,{windowSize:a,children:[n,"%"]})]})}),t.jsxs(ho,{color:l.fundNameColor,children:[t.jsx(J,{children:e.fundCompanyName}),t.jsx(J,{children:e.fundName})]})]}),t.jsx(so,{windowSize:a,children:t.jsxs(De,{style:{alignItems:a==="small"?"flex-start":"flex-end"},children:[t.jsxs(xo,{children:[v.sevenDayYield,t.jsx(Ye,{style:{marginRight:"-20px",marginTop:"2px"},children:t.jsx(ae,{placement:a==="small"?"bottom":"bottom-end",data:v.fundTile.sevenDayYieldTooltip,variant:"small-description",maxWidth:"464px",children:t.jsx(Ne,{})})})]}),t.jsxs(po,{windowSize:a,children:[e.yield,"%"]})]})})]})},Ci=({analytics:e,fund:r,fundIndex:n,onHide:h})=>{const l=M(),{common:a,spendManagement:u}=L.getLocalizedStrings(),d=u.treasury.promoPage,g=ne(n,l);return t.jsxs(t.Fragment,{children:[t.jsx(fo,{children:r.description}),t.jsxs(wo,{children:[t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," Liquidity"]}),t.jsx(Y,{children:r.liquidityTimeline})]}),t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.fundSize]}),t.jsx(Y,{color:g.fundNameColor,children:Qe(r.fundSize,r.currencyCode)})]}),t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.maturity]}),t.jsxs(Y,{children:[r.maturity," ",a.timeStrings.days]})]}),t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.expenseRatio]}),t.jsxs(Y,{children:[r.expenseRatio,d.expenseRatioSuffix]})]}),t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.riskRating]}),t.jsx(Y,{children:r.riskRating})]}),t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.composition]}),t.jsx(Y,{children:t.jsxs($o,{children:[r.compositions[0].investedIn," ",r.compositions[0].percentage,Array.isArray(r.compositions)&&r.compositions.length>0&&t.jsx(ae,{style:{textAlign:"left",display:"inline"},title:t.jsx(jo,{children:r.compositions.map((x,$)=>t.jsxs(bo,{children:[t.jsx(vo,{}),t.jsx(k,{children:x.investedIn}),t.jsx(k,{style:{marginLeft:"auto",textAlign:"right"},children:x.percentage})]},$))}),children:t.jsxs(So,{children:["+",r.compositions.length]})})]})})]})]}),t.jsxs(mo,{children:[t.jsxs(ko,{onClick:()=>e.trackTreasuryProspectusClick(r.fundCompanyName+" "+r.fundName,r.fundCode,"Treasury Overview Page"),href:r.url,target:"_blank",rel:"noopener noreferrer",children:[d.asOf," ",r.asOfDate.format("MMM D, YYYY"),t.jsx(Co,{})]}),t.jsxs(uo,{onClick:h,children:[d.hide,t.jsx(Ji,{})]})]})]})};function zi(e,r){let n=0;for(const h of r){const l=e[h.fundCode]??0;l>0&&h.yield!=null&&(n+=h.yield*l)}return Number((n/100).toFixed(2))}const F=e=>t.jsx(Gi,{children:e}),Pi=o.div`
|
|
314
|
+
`,P={tickLabelText:new I("extraSmallRegular","smallRegular"),balanceIntegerStyles:new I("h5Regular","h3Regular"),integerStyles:new I("largeRegular","h6Regular"),decimalStyles:new I("standardRegular","standardRegular"),fundSummaryStyles:new I("extraSmallSemiBold","smallSemiBold"),yieldValueStyles:new I("standardMedium","largeMedium")},T={accountDetailHeaderPaddingRight:new y(p[3],p[8]),accountDetailHeaderPaddingBottom:new y(p[3],p[6]),accountDetailHeaderPaddingLeft:new y(p[3],p[8]),accountDetailHeaderPaddingTop:new y(p[3],p[6]),accountDetailContentMarginTop:new y(p[4],p[4]),areaChartHeight:new y(114,209),accountDetailHeaderGap:new y(18,100,184)},{spendManagement:{zeniAccounts:be,treasury:{overviewPage:v}},dateFormat:Z,common:bi}=L.getLocalizedStrings(),Be=f.memo(({accountHistory:e})=>{const r=C(),n=M(),[h,l]=f.useState(),a=f.useMemo(()=>{const s=U(new Date().toISOString()),m=s.clone().subtract(84,"day"),b=84/6;return Array.from({length:7}).map((z,D)=>{const O=D/6;let R;return O<.5?R=0:O<.6?R=.9*((O-.5)/.09999999999999998):R=.9,{date:(D===6?s:m.clone().add(Math.round(D*b),"day")).toISOString(),value:R}})},[]),u=f.useMemo(()=>(a.length<=0,0),[a.length]),d=e.fetchState==="Completed"&&(e.accountHistoryWithBalance.length===0||e.accountHistoryWithBalance.every(s=>s.balance?.available.amount===0)),g=f.useMemo(()=>e.accountHistoryWithBalance.map(s=>({...s,date:s.date.toISOString()})),[e.accountHistoryWithBalance]),x=f.useCallback(s=>{const m=Array.isArray(s)?s:[];let b="",z="";if(Array.isArray(m)&&m.length>0){const D=m[0].payload?.balance?.available;z=V("0,0[.]00",D),b=U(m[0].payload?.date??"").format(Z.visual.DMMMYYYYFormat)}return t.jsxs(Ei,{children:[t.jsx(ze,{children:b}),t.jsx(ze,{isSublabel:!0,children:z})]})},[]),$=f.useCallback(s=>{const m=s,{x:b,y:z}=m,{value:D}=m.payload;let O=!1;e.accountHistoryWithBalance.length>360&&(O=!0);const R=O?U(D).format(Z.visual.MMMformat):U(D).format(Z.visual.MMMDFormat);return t.jsx(Ii,{translateX:b,translateY:z,children:t.jsx(Fi,{windowSize:r,dy:20,dx:-25,children:R})})},[e.accountHistoryWithBalance.length,r]),j=f.useCallback(({cx:s,cy:m,dataKey:b})=>(b==="balance.available.amount"&&(h?.x!==s||h?.y!==m)&&l({x:s,y:m}),t.jsx(Ui,{cx:s,cy:m,strokeWidth:1,r:p[1]})),[h]),c=f.useMemo(()=>{const s=e.accountHistoryWithBalance.length;return s<=0?0:s>360?Math.floor(s/12):Math.floor(s/7)},[e.accountHistoryWithBalance.length]);return t.jsx(Ki,{children:d?t.jsxs(eo,{children:[t.jsx(he,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(pe,{data:a,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(ve,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Se,{offset:"0%",stopColor:n.colors.grey2,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:n.colors.grey2,stopOpacity:.02})]})}),t.jsx(xe,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,tick:s=>$(s),interval:u,padding:{right:p[4]}}),t.jsx(ge,{tick:!1,axisLine:!1,domain:[0,1]}),t.jsx(me,{activeDot:void 0,fillOpacity:1,dot:!1,type:"monotone",dataKey:"value",stroke:n.colors.grey2,strokeDasharray:"4 4",fill:"url(#colorUv)"})]})}),t.jsx(to,{children:t.jsx(Qi,{children:v.noData})})]}):t.jsx(he,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(pe,{data:g,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(ve,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Se,{offset:"0%",stopColor:w.brandColorJade,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:w.brandColorJade,stopOpacity:.03})]})}),t.jsx(xe,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:s=>$(s),padding:{right:p[4]},interval:c}),t.jsx(ge,{tick:!1,axisLine:!1}),t.jsx(ut,{position:h,content:({payload:s})=>x(s),cursor:{strokeDasharray:"3",stroke:w.brandColorJade}}),t.jsx(me,{activeDot:j,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:w.brandColorJade,fill:"url(#colorUv)"})]})})})});Be.displayName="AccountBalanceGraph";const Ko=({treasuryDetail:e,treasurySetupView:r,onColumnSortConfigChanged:n,onBackClick:h,onReloadTreasuryTransactions:l,handleTreasuryOptionSelection:a,onTransferClick:u})=>{const d=C(),g=M(),x=Fe().analytics;Ke({componentName:"treasury.overview",enabled:e.fetchState==="Completed"});const $=m=>{x.trackTreasuryDashboardInteraction((()=>{switch(m){case"editPortfolio":return"Edit Portfolio";case"taxLetter":return"Tax Letter";case"statements":return"Statement";default:return"Settings"}})()),a(m)},j=e.accountSummary,c=f.useCallback(m=>{let b=null,z;switch(m){case"insuredFunds":b=t.jsx(Pe,{children:v.insuredFundsTooltip}),z="280px";break;case"totalBalance":b=t.jsxs(qi,{children:[t.jsx(Zi,{children:v.balanceTooltip.base}),t.jsxs(Q,{children:[t.jsx(ee,{children:v.balanceTooltip.balance}),t.jsx(te,{children:V("0,0[.]00",j?.totalBalance)})]}),t.jsxs(Q,{children:[t.jsx(ee,{children:v.balanceTooltip.processing}),t.jsx(te,{children:V("0,0[.]00",j?.processingBalance)})]}),t.jsxs(Q,{children:[t.jsx(ee,{children:v.balanceTooltip.available}),t.jsx(te,{children:V("0,0[.]00",j?.availableBalance)})]})]}),z="312px";break;case"sevenDayYield":b=t.jsx(Pe,{children:v.fundTile.sevenDayYieldTooltip}),z="464px";break;default:b=t.jsx(t.Fragment,{});break}return t.jsx(Ye,{children:t.jsx(ae,{display:"flex",placement:d==="small"?"bottom":"top",title:b,style:{textAlign:"left"},maxWidth:z,children:m==="insuredFunds"?t.jsx(yo,{}):t.jsx(Ne,{})})})},[j,d]),s=t.jsx(fi,{onOptionSelection:$,onTransferClick:()=>{x.trackTreasuryDashboardInteraction("Transfer Funds"),u()}});return t.jsxs(Ti,{children:[t.jsx(Ve,{title:v.title,onBackClick:h,showMenuIcon:!1,backgroundColor:g.colors.grey5,style:{zIndex:3,...ie.largeSemiBold.cssObject},rightSideComponent:s,source:"treasury"}),t.jsxs(Li,{windowSize:d,children:[t.jsxs(Mi,{windowSize:d,children:[t.jsx(vi,{fundAllocation:r.currentAllocation,fundsData:r.fundsData,getToolTipContent:c,treasuryDetail:e,hasAccountActivity:e.transactions.length>0}),t.jsx(Ri,{windowSize:d,children:t.jsx(Be,{accountHistory:e.accountHistory})})]}),t.jsx(Si,{analytics:x,fundsData:r.fundsData,fundAllocation:r.currentAllocation,hasAccountActivity:e.transactions.length>0})]}),e.transactionsFetchState.fetchState==="Completed"?t.jsx(He,{treasuryDetail:e,onColumnSortConfigChanged:n}):e.transactionsFetchState.fetchState==="Error"?t.jsxs(Bi,{children:[t.jsx(Hi,{onClick:l,"data-testid":W("account-detail-reload"),children:t.jsx(Ni,{})}),t.jsx(Yi,{children:bi.reloadPage.label})]}):t.jsx(ji,{children:t.jsx(We,{size:"ExtraLarge",start:!0})})]})},He=f.memo(({treasuryDetail:e,onColumnSortConfigChanged:r})=>{const n=C();return t.jsx(t.Fragment,{children:e.transactions.length>0?t.jsx(Di,{windowSize:n,children:t.jsx(ai,{transactionList:e.transactions,fetchState:e.fetchState,uiState:e.uiState,onReloadCards:()=>{},onColumnSortConfigChanged:r})}):t.jsx(Pi,{})})});He.displayName="TransactionListScreen";const vi=({treasuryDetail:e,hasAccountActivity:r,getToolTipContent:n,fundAllocation:h,fundsData:l})=>{const a=C(),[u,d]=f.useState(!1);return f.useEffect(()=>{u===!0&&setTimeout(()=>{d(!1)},800)},[u]),t.jsxs(Ai,{children:[t.jsxs(J,{children:[t.jsx(Vi,{children:t.jsxs(K,{children:[F(be.zeniAccountList.totalAvailableBalance),n("totalBalance")]})}),t.jsx(Xi,{windowSize:a,children:e.accountSummary?.availableBalance?t.jsx(t.Fragment,{children:t.jsx(X,{amount:e.accountSummary?.availableBalance,integerStyles:P.balanceIntegerStyles.styleObject(a),decimalStyles:P.balanceIntegerStyles.styleObject(a)})}):null})]}),t.jsxs(J,{children:[t.jsxs(K,{children:[F(v.insuredFunds),n("insuredFunds")]}),t.jsx(q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(X,{amount:{amount:e.accountSummary?.insuredFunds.amount??0,currencyCode:"USD",currencySymbol:"$"},integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})}),t.jsx(K,{children:F(v.insuredFundsAmount)})]}),r&&t.jsxs(Oi,{children:[t.jsxs(Ce,{children:[t.jsx(K,{children:F(be.common.totalYieldEarned)}),t.jsx(q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(X,{amount:e.accountSummary?.totalYield,integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})})]}),t.jsxs(Ce,{children:[t.jsxs(K,{children:[F(v.sevenDayYield)," ",n("sevenDayYield")]}),t.jsx(q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsxs(Wi,{windowSize:a,children:[zi(h??{},l),"%"]})})]})]})]})},Si=({analytics:e,fundsData:r,fundAllocation:n,hasAccountActivity:h})=>{const[l,a]=f.useState(!1),u=C(),d=M(),g=()=>{a(x=>!x)};return t.jsx(io,{windowSize:u,allTilesExpanded:l,children:r.map((x,$)=>{const j=l,c=ne($,d);return t.jsxs(oo,{expanded:j,windowSize:u,children:[t.jsx(go,{bgColor:c.headerBackground}),t.jsx(ki,{fund:x,fundIndex:$,fundAllocation:n!=null?n[x.fundCode]:0,hasAccountActivity:h}),!l&&t.jsx(ro,{children:t.jsxs(no,{onClick:()=>{e.trackTreasuryDashboardInteraction("View Details "+x.fundCompanyName+" "+x.fundName),g()},children:[v.fundTile.viewDetails,t.jsx(_i,{})]})}),j&&t.jsxs(t.Fragment,{children:[t.jsx(zo,{}),t.jsx(Ci,{analytics:e,fund:x,fundIndex:$,onHide:g})]})]},x.fundCode)})})},ki=({fund:e,fundIndex:r,fundAllocation:n})=>{const h=M(),l=ne(r,h),a=C();return t.jsxs(ao,{windowSize:a,children:[t.jsxs(De,{style:{width:a==="small"?"100%":"50%"},children:[t.jsx(lo,{children:t.jsxs(co,{children:[t.jsx(Te,{windowSize:a,children:e.fundCode}),t.jsxs(Te,{windowSize:a,children:[n,"%"]})]})}),t.jsxs(ho,{color:l.fundNameColor,children:[t.jsx(J,{children:e.fundCompanyName}),t.jsx(J,{children:e.fundName})]})]}),t.jsx(so,{windowSize:a,children:t.jsxs(De,{style:{alignItems:a==="small"?"flex-start":"flex-end"},children:[t.jsxs(xo,{children:[v.sevenDayYield,t.jsx(Ye,{style:{marginRight:"-20px",marginTop:"2px"},children:t.jsx(ae,{placement:a==="small"?"bottom":"bottom-end",data:v.fundTile.sevenDayYieldTooltip,variant:"small-description",maxWidth:"464px",children:t.jsx(Ne,{})})})]}),t.jsxs(po,{windowSize:a,children:[e.yield,"%"]})]})})]})},Ci=({analytics:e,fund:r,fundIndex:n,onHide:h})=>{const l=M(),{common:a,spendManagement:u}=L.getLocalizedStrings(),d=u.treasury.promoPage,g=ne(n,l);return t.jsxs(t.Fragment,{children:[t.jsx(fo,{children:r.description}),t.jsxs(wo,{children:[t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," Liquidity"]}),t.jsx(Y,{children:r.liquidityTimeline})]}),t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.fundSize]}),t.jsx(Y,{color:g.fundNameColor,children:Ze(r.fundSize,r.currencyCode)})]}),t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.maturity]}),t.jsxs(Y,{children:[r.maturity," ",a.timeStrings.days]})]}),t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.expenseRatio]}),t.jsxs(Y,{children:[r.expenseRatio,d.expenseRatioSuffix]})]}),t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.riskRating]}),t.jsx(Y,{children:r.riskRating})]}),t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.composition]}),t.jsx(Y,{children:t.jsxs($o,{children:[r.compositions[0].investedIn," ",r.compositions[0].percentage,Array.isArray(r.compositions)&&r.compositions.length>0&&t.jsx(ae,{style:{textAlign:"left",display:"inline"},title:t.jsx(jo,{children:r.compositions.map((x,$)=>t.jsxs(bo,{children:[t.jsx(vo,{}),t.jsx(k,{children:x.investedIn}),t.jsx(k,{style:{marginLeft:"auto",textAlign:"right"},children:x.percentage})]},$))}),children:t.jsxs(So,{children:["+",r.compositions.length]})})]})})]})]}),t.jsxs(mo,{children:[t.jsxs(ko,{onClick:()=>e.trackTreasuryProspectusClick(r.fundCompanyName+" "+r.fundName,r.fundCode,"Treasury Overview Page"),href:r.url,target:"_blank",rel:"noopener noreferrer",children:[d.asOf," ",r.asOfDate.format("MMM D, YYYY"),t.jsx(Co,{})]}),t.jsxs(uo,{onClick:h,children:[d.hide,t.jsx(Ji,{})]})]})]})};function zi(e,r){let n=0;for(const h of r){const l=e[h.fundCode]??0;l>0&&h.yield!=null&&(n+=h.yield*l)}return Number((n/100).toFixed(2))}const F=e=>t.jsx(Gi,{children:e}),Pi=o.div`
|
|
315
315
|
display: flex;
|
|
316
316
|
flex-direction: column;
|
|
317
317
|
align-items: center;
|
|
@@ -469,7 +469,7 @@ import{J as C,d as M,a8 as Fe,ce as Ke,V as t,aO as V,bU as ae,bD as Ve,b as ie,
|
|
|
469
469
|
color: ${e=>e.theme.colors.primary};
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
|
-
`,
|
|
472
|
+
`,Zi=o(k)`
|
|
473
473
|
margin-bottom: ${i.sp2};
|
|
474
474
|
display: flex;
|
|
475
475
|
text-align: left;
|
|
@@ -478,7 +478,7 @@ import{J as C,d as M,a8 as Fe,ce as Ke,V as t,aO as V,bU as ae,bD as Ve,b as ie,
|
|
|
478
478
|
color: ${e=>e.theme.colors.hero};
|
|
479
479
|
background: ${e=>e.theme.colors.black};
|
|
480
480
|
border-radius: ${i.sp1};
|
|
481
|
-
`,
|
|
481
|
+
`,Q=o(k)`
|
|
482
482
|
color: ${e=>e.theme.colors.brandColorPearl};
|
|
483
483
|
display: flex;
|
|
484
484
|
justify-content: space-between;
|
|
@@ -497,7 +497,7 @@ import{J as C,d as M,a8 as Fe,ce as Ke,V as t,aO as V,bU as ae,bD as Ve,b as ie,
|
|
|
497
497
|
padding: ${i.sp2};
|
|
498
498
|
background: ${e=>e.theme.colors.black};
|
|
499
499
|
border-radius: ${i.sp1};
|
|
500
|
-
`,
|
|
500
|
+
`,Qi=o(A)`
|
|
501
501
|
color: ${e=>e.theme.colors.hero};
|
|
502
502
|
white-space: pre-line;
|
|
503
503
|
text-align: center;
|
|
@@ -572,7 +572,7 @@ import{J as C,d as M,a8 as Fe,ce as Ke,V as t,aO as V,bU as ae,bD as Ve,b as ie,
|
|
|
572
572
|
flex-direction: row;
|
|
573
573
|
align-items: center;
|
|
574
574
|
gap: ${i.sp1};
|
|
575
|
-
`,co=o(
|
|
575
|
+
`,co=o(Qe)`
|
|
576
576
|
display: flex;
|
|
577
577
|
gap: ${i.sp2};
|
|
578
578
|
`,Te=o.div`
|