@zeniai/web-cockpit-ui 1.14.32-qa → 1.14.33-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-MP6kdpXK-BAG6ONUf.js → ACHDetailsPage-BeF1WMnC-1VBfz86m.js} +1 -1
- package/dist/assets/{AIPerformancePage-BhOaFmfv-DJPCQGme.js → AIPerformancePage-CxD_UAbI-CDXEWRTT.js} +26 -26
- package/dist/assets/{AccountInfoPage-D9Ft_CT9-Co34pWp7.js → AccountInfoPage-DcY-ZzlZ-B4iecNyJ.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-DvWx52e0-JoBHhmtJ.js → AccountInfoPageContent-CaoKCM-U-CngVOAi6.js} +30 -30
- package/dist/assets/{AccountLockedInfoModal-B1_3C1ER-CsXXKJaZ.js → AccountLockedInfoModal-CJmhyeRY-C979nTcy.js} +4 -4
- package/dist/assets/{AccountReconDetailsDrawerPage-D9e7qhm0-DJD0R9bB.js → AccountReconDetailsDrawerPage-sSMPfl5H-IX-cEHy1.js} +13 -13
- package/dist/assets/{AccountRow-CiIWoLq3-BYr2bUH2.js → AccountRow-Buzf5t6f-kuIKrhUG.js} +14 -14
- package/dist/assets/{AccountsPromoCardStack-CC72plKm-Matqa_MR.js → AccountsPromoCardStack-Dlcbuic0-Kc3shiMd.js} +30 -30
- package/dist/assets/{AddAddressForCardDrawer-CIj76DoU-B9TffAvk.js → AddAddressForCardDrawer-BLTkxUcq-D-V6n_7V.js} +1 -1
- package/dist/assets/{AddToWalletPage-B3vdkyWl-VZV_7F8R.js → AddToWalletPage-B5LKICXr-nsC3Wra1.js} +17 -17
- package/dist/assets/{AgingReportsPage-CbkMxxO_-BABl_foK.js → AgingReportsPage-_hwnvPm7-Bkolnb9C.js} +15 -15
- package/dist/assets/{AllUserItems-DJo9kLSI-CnxvFofk.js → AllUserItems-DohW-333-Bg7h27YQ.js} +11 -11
- package/dist/assets/{ApAgingDetailPage-DcAh6DLg-COmx3rdg.js → ApAgingDetailPage-CfzCrv7O-Cr8uPh7t.js} +3 -3
- package/dist/assets/{AppBasePage-DztnPkfs-C6ROiaUG.js → AppBasePage-Nz4YL7cO-BTGamgks.js} +16 -16
- package/dist/assets/{AppDrawerContent-DDmKn21i-B0r6j2g7.js → AppDrawerContent-DipGyZ1n-BX_zKp-X.js} +8 -8
- package/dist/assets/{ApprovalRulesSettingsPage-Di8tAJ8K-sRJdWOYr.js → ApprovalRulesSettingsPage-CDJ2Pb6i-IB0wqs_T.js} +1 -1
- package/dist/assets/ArAgingChart-C2EOYS7A-C5CyuZdZ.js +24 -0
- package/dist/assets/{ArAgingDetailPage-B3JQ08nH-yWZ4Q_gU.js → ArAgingDetailPage-hLTSTpD2-Bw2ArYRS.js} +1 -1
- package/dist/assets/{AttachmentView-p8mBqYjm-DXZMkL5k.js → AttachmentView-BMvudk_o-Dwirdwse.js} +6 -6
- package/dist/assets/{BankAccountSection-AuQLRvdb-C_Pp6K1g.js → BankAccountSection-BKK0TqfR-LMfrwS2j.js} +6 -6
- package/dist/assets/{BankAccountWarningSection-HvUMABu0-7weYEdUg.js → BankAccountWarningSection-DvJdsXOf-4phuqOcH.js} +19 -19
- package/dist/assets/{BankConnectionsSettingsPage-D61w90F9-DfyisqdH.js → BankConnectionsSettingsPage-jdyMMWYg-Bm41i4Ok.js} +8 -8
- package/dist/assets/{BillDetailPage-nqHoph6T-DVUv4kUT.js → BillDetailPage-BAc9ZaEX-C9SGsi6f.js} +7 -7
- package/dist/assets/BillPayApprovalRuleDetailPage-C8VknJRe-CzEtziL7.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-Bd87v4ca-Bux_Krxh.js → BillPayApprovalRulesPage-ycrs-KJM-BHzKI2PU.js} +7 -7
- package/dist/assets/{BillPayPromoPage-CNiTD_mM-BuGb7q9e.js → BillPayPromoPage-B3cmYoMb-CSle0M5N.js} +6 -6
- package/dist/assets/{BillPaySetUpPage-BUSwkzqv-DIcHGcbo.js → BillPaySetUpPage-Fs62VXvw-Bx0yDXtw.js} +2 -2
- package/dist/assets/{BillingSettingsPage-aPRvtlqA-CvfD2Y8F.js → BillingSettingsPage-Dt9jBMTF-CKtbFl0q.js} +4 -4
- package/dist/assets/{BillsBulkReviewDrawerPage-BU3VuxEm-VUKCHen3.js → BillsBulkReviewDrawerPage-Qcl9aUuk-D6jtO37l.js} +1 -1
- package/dist/assets/{BoxItem-CZKWkdxd-B5o_Xoj8.js → BoxItem-BYcXwroy-BhSt87hz.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-CeDGi-RH-xh2K8rbM.js → BusinessVerificationPage-il8wYjJ_-BF6mKhyz.js} +5 -5
- package/dist/assets/CardNumberSubText-Cz8Y1Z97-BSIcPMWK.js +21 -0
- package/dist/assets/{CashbackDetailPage-V-W_U5k1-DPPyNC8_.js → CashbackDetailPage-Dv5Z7Tvy-DUAllv2v.js} +17 -17
- package/dist/assets/{ChargeCardDetailPage-BP-zAMYI-C3fXrPWG.js → ChargeCardDetailPage-CGTduWWN-DnO3oIwM.js} +1 -1
- package/dist/assets/{ChargeCardListPage-DORW9YE4-V1Xd3RQj.js → ChargeCardListPage-DNLZxp9I-CaP_yIbe.js} +16 -16
- package/dist/assets/{ChargeCardListTable-C32mZrwY-BKVvlwyx.js → ChargeCardListTable-BnHOs06b-DLTVfaw9.js} +14 -14
- package/dist/assets/{ChargeCardPromoPage-CE4kH4Js-DA3SyzWk.js → ChargeCardPromoPage-C9ByS2z5-BjMS3S7B.js} +13 -13
- package/dist/assets/{ChargeCardSetupPage-CumpB2GQ-CLFpKwEI.js → ChargeCardSetupPage-Baw4VtU6-D0oScUuZ.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-DPIAjww0-B4pg53DT.js → ChargeCardStatementsPage-D0nZbDIZ-1YWyw7g9.js} +6 -6
- package/dist/assets/ChargeCardUtils-CTnXnilO-BBCNz-CS.js +1 -0
- package/dist/assets/{ChaseOverlay-BGZfbx0H-CY_E45BY.js → ChaseOverlay-2qpcZYP8-CJCeLw1J.js} +8 -8
- package/dist/assets/CheckDepositDrawerPage-C78K4Qka-r2b9sK0R.js +206 -0
- package/dist/assets/{CollapsableReportTable-B0wI9SM1-DyxRAEGL.js → CollapsableReportTable-CPOIqiL0-DbaBQG3h.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-DyOVRvtQ-qzbkNJ8X.js → CompanyOfficerDetailsSection-D1BmCIsK-m6kNq19-.js} +33 -33
- package/dist/assets/{CompanyPassportCard-C_YUK3R3-BmAXdeyi.js → CompanyPassportCard-B9fOwnpa-DBu7cZ44.js} +5 -5
- package/dist/assets/{CompanyPassportPage-QFJ0G7X7-usFLRy-E.js → CompanyPassportPage-BzDOHw_n-dFO_707Z.js} +29 -29
- package/dist/assets/{CompleteProfile-DVE16v3y-CMtnbQZR.js → CompleteProfile-BTqueNNu-B4BPhx4J.js} +1 -1
- package/dist/assets/{ConfettiBurst-BA8BvtO--w2UtNkAF.js → ConfettiBurst-BlFjJIUj-BOxRLp2J.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-ncBGwfXK-BUe0tXGP.js → CreateOrEditVendorPage-DAGCdI1c-CqgwhqM1.js} +8 -8
- package/dist/assets/{CreditCardPaymentDrawerPage-DqEVQgMx-DFK6MZ6X.js → CreditCardPaymentDrawerPage-KsuS7yuN-N-hLZRAg.js} +16 -16
- package/dist/assets/{CreditCardPaymentPlgSection-vmErttTD-CytN37qx.js → CreditCardPaymentPlgSection-BfhV7QBL-BhBBV1aP.js} +8 -8
- package/dist/assets/{CurrencySelectField-BEb19UaA-BoldRT0Z.js → CurrencySelectField-oVIC5R45-C6cv-Oxl.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-L4l1ybmh-B2kuCczW.js → CustomerOnboardingActivationPage-6I-6xoA6-Cwq_b8uj.js} +2 -2
- package/dist/assets/CustomerOnboardingContainerPage-BXvzWHpN-S0OXpAyk.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-D3Zm658F-BuH9tDfF.js → CustomerOnboardingDetailPageSkeleton-DYXcx90D-BxeHZzZC.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-BXsJFpEX-DgMgRgZi.js → CustomerOnboardingNoStepsPage-DEUNNIB_-BP-ljsoU.js} +2 -2
- package/dist/assets/{CustomerOnboardingPage-D3zpI1df-COxdjvpq.js → CustomerOnboardingPage-kAcxVmRC-DNxJ1pNK.js} +2 -2
- package/dist/assets/{CustomerOnboardingProductSuitePage-DjVZfC2C-9VLKFifa.js → CustomerOnboardingProductSuitePage-BbRqtmnL-BAF_MH-3.js} +1 -1
- package/dist/assets/{Dashboard-wY0FneRs-CscNuWPH.js → Dashboard-usLyPMhz-DKjprsmr.js} +114 -114
- package/dist/assets/{DashboardReportPage-CMgr0CSc-DFK7qDD5.js → DashboardReportPage-CoozPVLS-CcNCmbui.js} +19 -19
- package/dist/assets/{DashboardSidebarBackgroundAnimation-B73UBY5T-CojDVgPF.js → DashboardSidebarBackgroundAnimation-BNQW5HZE-Bnv32Td_.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DrqBG940-BL30cPZ9.js → DepositAccTransactionItem-CsLHfDqr-CddFy5eB.js} +3 -3
- package/dist/assets/DepositAccTransactionListPage-CgNs2M1G-D-tMCRB2.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-vRHD5DmW-CB41e-Go.js → DomesticWireDetailsPage-CwYc-sKw-DZOTiRB6.js} +1 -1
- package/dist/assets/{DownloadOverlay-D_UoB4Xy-CXZqPF3W.js → DownloadOverlay-ttUEv-XY-B3Vfsv4m.js} +1 -1
- package/dist/assets/{DrawerPage-ijHe0bCp-DiEqZBob.js → DrawerPage-5dnYzzvI-CLtoYH0R.js} +5 -5
- package/dist/assets/{EditPeoplePage-BehcmP1s-B0OWtRsu.js → EditPeoplePage-DUr2MZOG-DxkDxmQg.js} +5 -5
- package/dist/assets/{EditReimbursementDetailPage-Cz82Vz26-BRJ7TMrj.js → EditReimbursementDetailPage-Byuxh0RG-DRJG6qtk.js} +51 -51
- package/dist/assets/{EntityDetailPage-CN-ewzjy-BWpB3zGM.js → EntityDetailPage-DBjBJovr-BZu-LHUW.js} +2 -2
- package/dist/assets/{EntitySummarySection-B4ozhtlU-Bh59rhzI.js → EntitySummarySection-NvNokzqb-CeOsDBDU.js} +5 -5
- package/dist/assets/{ExpenseAutomationOverviewPage-BmNuSoUs-u9wwMA7C.js → ExpenseAutomationOverviewPage-Cc7NPgFU-9lD98Awj.js} +12 -12
- package/dist/assets/{ExpenseAutomationPage-Cz3JsW-E-BrcVbkfQ.js → ExpenseAutomationPage-zQeR27lq-D9JB9UuZ.js} +30 -30
- package/dist/assets/{ExpressPayPage-CgrGtZ4F-DhVG-NpX.js → ExpressPayPage-P0p3Ao-R-6DvUhx-N.js} +9 -9
- package/dist/assets/{FeaturePreviewPage-Dk_c37Rm-DmGR9BMT.js → FeaturePreviewPage-CbR7b5uO-BzHxS3Tw.js} +2 -2
- package/dist/assets/{FollowStepsSection-BVi7m38_-DCvEuFsi.js → FollowStepsSection-9Kfkt8Hp-vQQ1D5qp.js} +22 -22
- package/dist/assets/{GlobalReviewListPage-DiZGC9B1-DVmZQU9C.js → GlobalReviewListPage-B3b-DcRO-BNwj7Mm0.js} +14 -14
- package/dist/assets/{HelpButton-DiIoYeXn-B1h-JEp9.js → HelpButton-3gV_f3S3-lwdvDDRM.js} +4 -4
- package/dist/assets/{InformationCardStack-C8-4dhWR-CkAP-hMp.js → InformationCardStack-B67nQ7o3-70ioyZnE.js} +4 -4
- package/dist/assets/{InsightsCardStack-BKm0dSeJ-BPY6fmB5.js → InsightsCardStack-BLuzgFq1-CYTvRA9m.js} +9 -9
- package/dist/assets/{InsightsSection-C9MHOCQd-CxH8mnp9.js → InsightsSection-B95Utg4C-iNRD4dcB.js} +4 -4
- package/dist/assets/{IntegrationsSettingsPage-4qlL5Dsx-pk08ZRqz.js → IntegrationsSettingsPage-Cj9RN4lm-CCmWJemi.js} +3 -3
- package/dist/assets/{InternationalWireSwiftDetailsPage-DqCtPykV-RePKT-cw.js → InternationalWireSwiftDetailsPage-CnvGCMx6-D7qGQOLS.js} +9 -9
- package/dist/assets/{InternationalWireVerificationPage-Cl-p0inO-N3ibBM1E.js → InternationalWireVerificationPage-BO-9Inma-D_Mt5TJx.js} +10 -10
- package/dist/assets/{InviteFormPage-L6j0rOBW-BljG3gyG.js → InviteFormPage-BcKX87YR-CYsY9f6q.js} +20 -20
- package/dist/assets/{InvitePageListView-KYjMIc4q-BvLSTtNP.js → InvitePageListView-pwXs_uWn-CHeWg1i1.js} +34 -34
- package/dist/assets/{InvitePeoplePage-CbZqVsTp-ByvmG5mg.js → InvitePeoplePage-DyqidszV-DRWrwVY4.js} +4 -4
- package/dist/assets/{InvoiceUploadSection-DZC4oscG-qxWcqOIO.js → InvoiceUploadSection-Bwx4jgsp-C4xLrK-Y.js} +6 -6
- package/dist/assets/{IssueChargeCardPage-DMdZCfqA-CZcxwjMQ.js → IssueChargeCardPage-B4uzwROv-BzOoA0d9.js} +16 -16
- package/dist/assets/{LabeledAddressValue-CBOrzSsG-nee1vU4U.js → LabeledAddressValue-_1wNunap-DPLTMfFc.js} +1 -1
- package/dist/assets/LabeledAddressValueField-CLeHoJsD-px_h_iQz.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-BoXsUqpR-oiIFvQRa.js → LabeledControlledCheckBoxField-DUmCd9rT-BXqi_HoZ.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CQPkrdRe-DDLZPwbC.js → LabeledCreatableSingleSelectField-Ca24Ziei--NVG8mh3.js} +2 -2
- package/dist/assets/{LabeledDocumentField-DEeeTuVw-uCiSHKoS.js → LabeledDocumentField-DtGNCNrD-wnVc7cxH.js} +3 -3
- package/dist/assets/{LabeledDropDownFormattedTextField-DYRkxlY--Bk-7Qy7i.js → LabeledDropDownFormattedTextField-CEhwMb_t-CLtWVSHb.js} +1 -1
- package/dist/assets/{LabeledText-DQiR_FIX-Cq-hk8XI.js → LabeledText-DR7J2Gsy-D6g3ui7D.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-dgPgTmNg-BgLjIn8p.js → LabeledUserSingleSelectWithSubtitlesField-DdWbwo9k-Czxe1ikP.js} +7 -7
- package/dist/assets/{LabeledZeniRolesDropDownField-azPB8idg-Dod-yMmJ.js → LabeledZeniRolesDropDownField-CmUbFFow-BrHi88m7.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-Ct0HcxvN-CoVcew-v.js → LinkJETransactionPage-oW3lDkXa-DkODhkzT.js} +5 -5
- package/dist/assets/{LowBalancePopup-Zvy2iURT-CKL7oXqu.js → LowBalancePopup-C5KvkK3M-BgprDmea.js} +4 -4
- package/dist/assets/{MagicLinkACHDetailsPage-BY6pEieF-CMSi32Px.js → MagicLinkACHDetailsPage-BVWg6hrX-C9bebDTy.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-BK5RZSiS-BptWrimx.js → MagicLinkDomesticWireDetailsPage-S1k7ze9H-BgzVGtM2.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-hK5cNiNB-WwKIYKSe.js → MagicLinkInternationalWireDetailsPage-DpzfQbRD-cJcinQZd.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-Drn_p982-Dd9Y_AlA.js → MagicLinkSuccessPage-m9Kweywk-DPq-0HkP.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DRMHVOzF-BonTYr-V.js → MagicLinkTitleSection-BPRyg1HR-DwrF96BI.js} +9 -9
- package/dist/assets/{MailingDetailsSection-DgdAYgpS-CFXayn-8.js → MailingDetailsSection-BX5rIuJZ-GJvkvLxh.js} +6 -6
- package/dist/assets/{MeetingCalenderPopup-CAh7iae0-CIOK3_iA.js → MeetingCalenderPopup-CCW2D5Ua-5MpvaUBJ.js} +1 -1
- package/dist/assets/{Menu-bleLgSLu-DaNN7jzz.js → Menu-CD6YLYW5-BUcHbzF7.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-DRxmQCbq-Bx9nexN4.js → MyBankConnectionsSettingsPage-DBU4_Dkv-CA478OM7.js} +11 -11
- package/dist/assets/{MyPendingActivationChargeCardListPage-BYLhb47G-pes3OjvP.js → MyPendingActivationChargeCardListPage-0eqXgmvH-DDnJ08y8.js} +2 -2
- package/dist/assets/{MyProfileSettingsPage-eVfCRTfx-C1C2MWMx.js → MyProfileSettingsPage-D1sATCot-CiU5osoA.js} +11 -11
- package/dist/assets/{NavBarWithPicker-BE2MW7hB-C2Q1UUPB.js → NavBarWithPicker-BcrWHAVt-DQ0-NtsG.js} +5 -5
- package/dist/assets/{NavigationArrow-eEaMttBX-dVTivT8M.js → NavigationArrow-DTaeLGbL-DWcftJmW.js} +1 -1
- package/dist/assets/{NavigationDots-CNwL0a7I-eyaik967.js → NavigationDots-D5YXMwOb-ClISbBMH.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-CSWqCqAC-3LX-Lnzn.js → NewGlobalMerchantPage-CN03ui3Y-C_ZaSy9f.js} +9 -9
- package/dist/assets/{NoDataChart-DNmdY5gQ-CMwiaxGm.js → NoDataChart-DUJ9H-CB-CyrJ4tsx.js} +3 -3
- package/dist/assets/{NoDataTable-DW2wAX3o-7ZoMqIrJ.js → NoDataTable-D5EYJl2y-D34hDm8V.js} +1 -1
- package/dist/assets/{NotFoundPage-BMJTG-tj-BCL9lImd.js → NotFoundPage-C2-zYoie-CGmUYuaR.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-Vd3UvdLu-S0VOV4Ql.js → NotificationSettingsPage-Cb4Zozvx-oYcOdShZ.js} +11 -11
- package/dist/assets/NotificationsListConfig-BjKpPm-b-CxIsjRl-.js +1 -0
- package/dist/assets/{NotificationsPage-BaekDEw7-Cs7zF3k-.js → NotificationsPage-AZg3QlbQ-D78nbIsq.js} +7 -7
- package/dist/assets/{OpExByVendorPage-DNyTA9nx-D6E7lJvv.js → OpExByVendorPage-BdIQF_eO-BbwfOOQV.js} +6 -6
- package/dist/assets/{OverlayContainerPage-Bmu909Fo-DQ82QsuS.js → OverlayContainerPage-Bmu909Fo-GqncdcC9.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DbP4ybN4-DeKOl1Oc.js → PandLWithForecastPage-Cmvdl5M2-CNGL67AQ.js} +6 -6
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-Dd4Aen8j-Ctc3Ha-y.js → PaymentAccountSetupBillingAddressSection-B8u08pzI-DF4VkZQD.js} +7 -7
- package/dist/assets/{PeoplePage-B3n7ek2h-uuc0_T22.js → PeoplePage-DUgY9uhQ-BI4tRk6e.js} +18 -18
- package/dist/assets/{PortfolioAllocationFormPage-CzA_c7hR-D4H-GZTH.js → PortfolioAllocationFormPage-8W6M--6J-DJsnJ4Vy.js} +7 -7
- package/dist/assets/{PortfolioDetails-Drgv4Osg-Wtx195rT.js → PortfolioDetails-Cgsx9aCA-CD6Y9pXv.js} +23 -23
- package/dist/assets/{ProductsCarousel-BnnfJR0o-1ucX8gqh.js → ProductsCarousel-Bm2Y2y3o-D8cSCMGA.js} +5 -5
- package/dist/assets/{PromoBaseCards-BGHJivI8-QTKlmjbr.js → PromoBaseCards-B8vPeDYr-Bg7A0tbR.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-uiW9eeZu-CJhmYtAn.js → QBOConnectionDialog-i-PJJPa4-DxwwTSCV.js} +6 -6
- package/dist/assets/{QBOSetupSection-DPb0VAii-CLt6Rb6_.js → QBOSetupSection-CRrnYKUh-BMqz355n.js} +9 -9
- package/dist/assets/ReimbursementApprovalRuleDetailPage-DfsK1S1y-CiVWnu5i.js +26 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-C1AFF_DM-vNX_0PWy.js → ReimbursementApprovalRulesPage-Chrc3t9S-DMaAKkim.js} +32 -32
- package/dist/assets/{ReimbursementDetailPage-Du6R1zje-DfmTmZh3.js → ReimbursementDetailPage-DGNdthlv-DXOu_PKg.js} +7 -7
- package/dist/assets/{ReimbursementPromoPage-CW9eyjp9-hg5pl-np.js → ReimbursementPromoPage-BvFwudpI-fyHwGBP5.js} +9 -9
- package/dist/assets/{ReimbursementSetUpPage-CbPwgIqt-DlHsYtWb.js → ReimbursementSetUpPage-Cbax1ApT-Kz2PKPQw.js} +3 -3
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-vhtiYbWq-Lzawyxxx.js +1 -0
- package/dist/assets/{ReloadCard-Dvn17Oxl-DzvJVrId.js → ReloadCard-7jt7MZTY-jJYtAM8l.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-C5_qr5qe-ClZSH2bH.js → ReportTableViewSelector-BiBxQPuW-B7nOy64b.js} +10 -10
- package/dist/assets/{ReportsPage-BNcymVwf-C0BED4Ok.js → ReportsPage-DFob2c55-CLnoeHN_.js} +9 -9
- package/dist/assets/{RevenueChart-DILkui6c-DnsmI5K2.js → RevenueChart-ClhUfdMh-CpBjkld6.js} +14 -14
- package/dist/assets/{ReviewDetailsPage-ZYzvK95X-KVKmpgCn.js → ReviewDetailsPage-FQiCTlke-BueAy9wA.js} +5 -5
- package/dist/assets/{ReviewOverlay-DhUFI1ES-r1eu-OFz.js → ReviewOverlay-CfF_qd7Q-BVas4NW7.js} +4 -4
- package/dist/assets/{RoleWithToolTip-_W95JBwt-C0fe2sAV.js → RoleWithToolTip-BF8jX30M-BQV_yix7.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-iQXV-V_H-BhZNXgbs.js → ScheduleDetailsFixedAssetsPage-C_eajy25-BQa4CLNT.js} +4 -4
- package/dist/assets/{ScheduleDetailsPage-KgHwQGrw-B2V1iuf9.js → ScheduleDetailsPage-CEyK426x-DlwSFPgG.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-Bixq8Q7W-N1kxr5zg.js → ScheduleSequenceTable-CzCC1xOo-EzBXtTh_.js} +12 -12
- package/dist/assets/{ScreenRoutes-65j87oC2.js → ScreenRoutes-Dmw--oxB.js} +1 -1
- package/dist/assets/SetUpAccountSection-nOqMRPh8-vlNwq74j.js +378 -0
- package/dist/assets/{SetUpDefaultSection-CI0mxu3H-JpA1rufD.js → SetUpDefaultSection-BbQ_Qx2--B86sDbA4.js} +4 -4
- package/dist/assets/{SignIn-DslenepV-m8WTqnO1.js → SignIn-DTytMyjr-DTD0fjUW.js} +11 -11
- package/dist/assets/{SignInScreen-Bs1sd9WX.js → SignInScreen-BrlyZMZC.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-D7SzmCmM-DsyAjyVx.js → SpendManagementListViewPage-CD0Beu1e-D4PVe6Wj.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-DKaDr4mu-CQG-8bWa.js → SpendManagementPerTabPage-ILwwf3e3-COE_74Nb.js} +20 -20
- package/dist/assets/{SpendManagementSection-Ddfq2u6H-DjhY5rM_.js → SpendManagementSection-o0Xvlal3-BKW5ZBrL.js} +5 -5
- package/dist/assets/{SpendMgmtSetupAccountSection-CPnNzjr--CVGBUj7h.js → SpendMgmtSetupAccountSection-DkUfJ6ei-eGKMrIbZ.js} +6 -6
- package/dist/assets/StatementItem-GyeTS2vu-I_cwOwLC.js +31 -0
- package/dist/assets/StatementsPage-DU5Dhq7q-X7x6AfrD.js +58 -0
- package/dist/assets/{StatusSwitcher-kWLQCCwS-B1OCqMuJ.js → StatusSwitcher-u6thj-sM-D7WcEtAO.js} +4 -4
- package/dist/assets/{SubTabSwitcher-BKm9FxhL-x8uzq0sl.js → SubTabSwitcher-B9ILKi1e-C1FFp5it.js} +1 -1
- package/dist/assets/{SummaryCard-DBMfNfN2-CzWqfaGl.js → SummaryCard-Drap3bb1-OUDJGe2t.js} +1 -1
- package/dist/assets/{TaskManagementPage-D_wjK-S2-5FRXGPBR.js → TaskManagementPage-DoT0Xz7g-BnIzBFOV.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-2vDR_AEV-BCS0yx4E.js → TimeRangeSwitcher-DbGrn4DP-BrqZ4F1S.js} +3 -3
- package/dist/assets/{TimeframeSwitcher-BB3_i5V0-_2lvvQWN.js → TimeframeSwitcher-sbgG6A6l-DKwQYGX_.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-CdP0ViK8-Blh3jpmT.js → TimeframeSwitcherWithToggle-arAZfZIA-BYSHVoSf.js} +1 -1
- package/dist/assets/{TopExCard-BGgGFzmK-CseYSNZP.js → TopExCard-97hb0R08-oohbJ27j.js} +6 -6
- package/dist/assets/{TopExDetailPage-CbzYG54M-Cn_cL4Fl.js → TopExDetailPage-CoLyDCB7-BRzep-Wg.js} +14 -14
- package/dist/assets/{TransactionDetailPage-C-CfEtCO-B6iRDC7J.js → TransactionDetailPage-q5aE5bnJ-C9mH8fBv.js} +36 -36
- package/dist/assets/{TransactionList-C0xK6_zI-DXurFqrv.js → TransactionList-C8S87idW-B0vRhDhu.js} +5 -5
- package/dist/assets/{TransactionListBig-CIX6CdX--k6cdfuui.js → TransactionListBig-B0GroSXv-ojyO1c5S.js} +13 -13
- package/dist/assets/{TransactionListPage-B7ppBJig-Cw4vRsI1.js → TransactionListPage-CP6h2Q1r-BmmiKCLG.js} +4 -4
- package/dist/assets/{TransactionVendorDetailPage---HGdQiZ-B2-rEsH7.js → TransactionVendorDetailPage-Cgsraa0T-BApyW7FO.js} +5 -5
- package/dist/assets/{TransferDrawerPage-DerGmul8-CuVOWq-U.js → TransferDrawerPage-0MWoLTHi-C82yVCJT.js} +19 -19
- package/dist/assets/{TreasuryOverviewPage-DW2gZwip-BnPT0qco.js → TreasuryOverviewPage-CaP2pdVj-CkpX4aDB.js} +26 -26
- package/dist/assets/{TreasuryPromoPage-DzqdEmPJ-Cgk-JJnE.js → TreasuryPromoPage-CjCAsIAs-CadFGU9_.js} +13 -13
- package/dist/assets/{TreasurySetupPage-Bo0HQeeU-CiRulceo.js → TreasurySetupPage-zxxClgmz-BWHuPLvU.js} +2 -2
- package/dist/assets/{TreasuryStatementsPage-DS_VK4WN-Cnn4qXHn.js → TreasuryStatementsPage-BCDakhB_-Dkxgdp5X.js} +3 -3
- package/dist/assets/{TreasuryTaxLetterPage-DgwqyL6v-BEtv0yga.js → TreasuryTaxLetterPage-Bq3Zcz28-DnH415Xd.js} +3 -3
- package/dist/assets/{TreasuryTransferOrReviewPage-ZrSACgLJ-B-C18Uw6.js → TreasuryTransferOrReviewPage-C8OGAEPm-eyZeuDLP.js} +41 -41
- package/dist/assets/{TrendChart-D07k3uRr-DX_P6NGJ.js → TrendChart-BVaBWGSG-Ds21FTze.js} +4 -4
- package/dist/assets/{TrendWithTransactions-ibwuOssC-wAxC5G58.js → TrendWithTransactions-wA_XpWa7-C0mi4yW2.js} +5 -5
- package/dist/assets/{UncategorizedAccountsMappingPage-D1m2Ok2e-Bc7XjWkf.js → UncategorizedAccountsMappingPage-CZyZ7HgM-D-Ryn1XR.js} +12 -12
- package/dist/assets/{UnitIntegrationPage-BJxRjjfK-CSfDNJiC.js → UnitIntegrationPage-ahzf74jD-CPsHbbNb.js} +2 -2
- package/dist/assets/{UploadAdditionalDocumentOverlay-DI_GZA8A-D7qH6H92.js → UploadAdditionalDocumentOverlay-DT_NocG4-CIDmugko.js} +2 -2
- package/dist/assets/{Vendor2FAPopup-80vvc7gE-DfCBbxkB.js → Vendor2FAPopup-_SmOnjiJ-BvddVgMj.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-CQcuiNPr-CceAJ-hu.js → VendorACHDetailsPage-qP4fOIER-l6-CVPAY.js} +1 -1
- package/dist/assets/{VendorDetailPage-Dx_yfZDH-CdV4fZHt.js → VendorDetailPage-BKztI9LK-CKRgyPOO.js} +8 -8
- package/dist/assets/{VendorDomesticWireDetailsPage-DN5x3F_Z-Bq-suC9S.js → VendorDomesticWireDetailsPage-CcIVgYDR-BfKkkMo5.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-8Jz187lD-DiuMGs7f.js → VendorFiling1099EditablePage-j3wx_7VO-1cKCPd5J.js} +10 -10
- package/dist/assets/{VendorFirstReviewPage-CokvYaRq-C8O10dnC.js → VendorFirstReviewPage-Tael17gH-BSZ6S2Fg.js} +10 -10
- package/dist/assets/{VendorInternationalWireDetailsPage-lo9l2Q88-BNP_VZvO.js → VendorInternationalWireDetailsPage-CQU1yW6x-D3zIOhMs.js} +7 -7
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CPj3zrDk-Gct01KpS.js → VendorInternationalWireSwiftDetailsPage-YdTFG4UK-HD_aU67y.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-BqoW4DlP-BublwzKM.js → VendorsAccountsSection-DA43fzxN-CEnHSVzd.js} +2 -2
- package/dist/assets/{VerifyDevice-D8iPRJ3k-CjjdiKnG.js → VerifyDevice-qwJe3UlY-DI265SnA.js} +1 -1
- package/dist/assets/{VideoPopup-SdlRHLkM-agneM1Zx.js → VideoPopup-DjHyf6Dq-C8Ilxi36.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-qYWFsE3s-zj7-7ffo.js → WarningsDrawerPage-B3y_Dk0z-CVkQeOY3.js} +3 -3
- package/dist/assets/{ZeniAccountDetailPage-BL2a5Dmz-B_6wvsrQ.js → ZeniAccountDetailPage-3Rwc-ka_-CYgkNxj0.js} +9 -9
- package/dist/assets/{ZeniAccountListViewPage-CWqzDWcO-DwWqzBYy.js → ZeniAccountListViewPage-Dz4Ts37w-BlEIF_qT.js} +14 -14
- package/dist/assets/ZeniAccountNavBarPieces-DOWoY-ph-BAkijH3D.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-CBm3w0kN-DJjJeczH.js → ZeniAccountPromoPage-BdOMtMQi-qk2A1Lmg.js} +7 -7
- package/dist/assets/{ZeniAccountSetupPage-C5VzT9lH-Cdnhgc2k.js → ZeniAccountSetupPage-BaAbcpDN-CSOgtN8Q.js} +3 -3
- package/dist/assets/{ZeniCopyright-BUctH39C-C_feHk3O.js → ZeniCopyright-CDUB4TcP-DBmQcK_q.js} +1 -1
- package/dist/assets/ZeniTransferAmountSlider-BvyfsZDl-QvFPfzOa.js +63 -0
- package/dist/assets/{analyticsHelper-B34YX2ij.js → analyticsHelper-BV1ACqmi.js} +1 -1
- package/dist/assets/{analyticsHelper-B3uAu0es-CqogBTHJ.js → analyticsHelper-BvNZGrlc-zOCblMc4.js} +1 -1
- package/dist/assets/{chartTypes-CJmQ6FtI-TiHHrGYV.js → chartTypes-eIJ-SPRj-DgIvSxsR.js} +1 -1
- package/dist/assets/{commonDimensions-WRL2ZVK_-CxdZfQVs.js → commonDimensions-BhQMg8M1--cVW0mQg.js} +1 -1
- package/dist/assets/{detailCommon-Dfxas1Kf-D_ZxAMOH.js → detailCommon--19QlDMD-5WfydMar.js} +6 -6
- package/dist/assets/{downloadPdf-B1f0mDl2-BZJtGTOh.js → downloadPdf-CdQzDva3-CMvkrxkC.js} +1 -1
- package/dist/assets/{index-LQh-jIrB.js → index-DgtolMNd.js} +3415 -3415
- package/dist/assets/{mapLoadingInProgressToTreeNode-BG784RuM-B-LxqW1w.js → mapLoadingInProgressToTreeNode-5V5katgj-pmtLmZyl.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CtIgxsPZ-DPeWjfgv.js → mapSectionWithAcOnlyToTreeNode-BJxygmqD-B65-U7gY.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-CcgVbOH5-TVZJ590D.js → mapSpacerToTreeNode-D64394wQ-BNpO7tp-.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DTlwFauL-CZ3n-orV.js → mapTimeframeBalancesToTreeNode-DCKSi6a2-BUe3Z-yR.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CU583ICK-CZ9bt-pf.js → mapTimeframeBalancesToTreeNode-n7enawjr-hpvcbBQH.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-B_n9jWVz-Bh46qWxB.js → mapTimeframeHeaderLoadingInProgressToTreeNode-B_QU_sNV-DhxtbpgW.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-DTfegixr-3BrKm7V-.js → toCOABalancesWithID-BzuCDtG--YB748AUv.js} +1 -1
- package/dist/assets/{toChartData-CH5DcWUY-CCr3PEX8.js → toChartData-CYJPtvhS-BAYbqY8t.js} +1 -1
- package/dist/assets/{treasuryColorHelper-BdPkQoh7-2QT0NfKg.js → treasuryColorHelper-BKdnWQWY-COtNKsBN.js} +1 -1
- package/dist/assets/{uploadAttachment-COwu5Mqo-D1mpbLnD.js → uploadAttachment-joBVPGv5-DTeHZMKC.js} +13 -13
- package/dist/assets/{uploadReceipts-dxsKhm9I-BSggA-oy.js → uploadReceipts-dxsKhm9I-D8UHf0Pl.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/ArAgingChart-tm5ZiNuY-4-nNFTyo.js +0 -24
- package/dist/assets/BillPayApprovalRuleDetailPage-fZnmOmyN-R8AfUVmE.js +0 -27
- package/dist/assets/CardNumberSubText-1BRQQyfd-JE07s-Fs.js +0 -21
- package/dist/assets/ChargeCardUtils-Wp4Ko18L-GTVU2RZO.js +0 -1
- package/dist/assets/CheckDepositDrawerPage-Bl52b4SW-CZzuzj_7.js +0 -206
- package/dist/assets/CustomerOnboardingContainerPage-BB4D77z8-C0-g-aXs.js +0 -1
- package/dist/assets/DepositAccTransactionListPage-2xDjOUwm-DDOM6-AH.js +0 -66
- package/dist/assets/LabeledAddressValueField-YuLcra47-Cc5nlJue.js +0 -45
- package/dist/assets/NotificationsListConfig-DbHYPEWZ-DjqGq2mH.js +0 -1
- package/dist/assets/ReimbursementApprovalRuleDetailPage-Cvok7KBA-C0WmzojS.js +0 -26
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DmRIywf6-C6sXIYK8.js +0 -1
- package/dist/assets/SetUpAccountSection-D8FMVhkL--eJk_Euq.js +0 -378
- package/dist/assets/StatementItem-B2uPIFUk-jLxVfDq5.js +0 -31
- package/dist/assets/StatementsPage-o7MvNKvd-D45F8BwH.js +0 -58
- package/dist/assets/ZeniAccountNavBarPieces-C0MyICK2-Bjp8UANv.js +0 -14
- package/dist/assets/ZeniTransferAmountSlider-q37z6XvR-omF-65ky.js +0 -63
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as C,u as
|
|
1
|
+
import{e as C,u as M,x as Ye,bJ as Ne,j as t,M as L,a0 as V,bp as ae,aX as Ke,v as ie,_ as E,m as Fe,o as i,w as k,f as w,b6 as We,C as u,cV as _,J as R,l as W,r as h,gX as le,at as de,aw as ce,av as he,au as pe,b9 as Ve,bg as Le,a6 as Me,Y as Ee,fq as Ue,gr as Je,K as Ge,y as A,af as Xe,iA as _e,jb as qe,aA as Qe,eJ as Ze,d7 as et,f6 as tt,aj as it,b_ as ot,i9 as rt,ia as at,ka as nt,bn as st,B as U,c3 as xe,ic as lt,c6 as dt,id as ct,ie as ht}from"./index-DgtolMNd.js";import{b as $,n as o,f as pt,j as ge}from"./vendor-rkTZJa59.js";import{s as xt}from"./commonDimensions-BhQMg8M1--cVW0mQg.js";import{g as me}from"./BoxItem-BYcXwroy-BhSt87hz.js";import{l as ne,d as gt}from"./treasuryColorHelper-BKdnWQWY-COtNKsBN.js";import{o as mt}from"./transaction-placeholder-CpOwZAMG-DYG2_sCF.js";import{o as ut}from"./shield-DOlUxcFf-bFVWRY1X.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new u(120,250,400,400,500)},ft={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new u(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new u(80,100,150,180,200)},oe=()=>[yt,ft,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new u(h[0],h[4]),headerLastColumnRightPadding:new u(h[3],h[11]),headerLastColumnBottomPadding:new u(h[0],h[4]),headerLastColumnLeftPadding:new u(h[3],h[11]),headerHeight:new u(ct,ht),sortIconSize:new u(h[2],h[2]),headerPaddingTop:new u(h[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const c=M(),l=C(),[a,y]=$.useState(oe());$.useEffect(()=>{const p=[...a];for(const s of p)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";y(p)},[r.sortKey,r.sortOrder]);const d=(p,s)=>{let m=s;r.sortKey===p&&(m=s==="ascending"?"descending":"ascending"),n(p,m)},g=a.find(p=>p.key===r.sortKey)??a[0],x=p=>a.find(s=>s.key===p)?.value??"",j=a.map(p=>p.key),f=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(st,{title:f.sortBy,placeholder:f.sortBy,pickerValues:j,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:p=>{d(p,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:c.colors.primary,selectedOptionColor:c.colors.hero,optionBackgroundColor:c.colors.grey5,downChevronVisible:!1,backgroundColor:c.colors.grey4})]}),t.jsxs(Mt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":E("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(U,{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(xe,{})})})]})]}):t.jsx(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(p=>p.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:p.key,wrapperWidth:p.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(p.key,p.sortOrder),"data-testid":E("cards-list-sort-clicked",r.sortKey),children:[t.jsx(U,{children:p.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:p,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===p.key,children:t.jsx(xe,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===p.key&&p.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":E("cards-list-sort-cancel",r.sortKey)})})]},p.key))})})}const jt=pt.memo($t),bt=o.div`
|
|
2
2
|
top: ${i.sp0};
|
|
3
3
|
left: ${i.sp0};
|
|
4
4
|
z-index: 2;
|
|
@@ -90,12 +90,12 @@ import{e as C,u as A,x as Ne,bJ as Ye,j as t,B as L,a0 as W,bp as ae,aX as Ke,v
|
|
|
90
90
|
&:hover {
|
|
91
91
|
color: ${e=>e.theme.colors.primary};
|
|
92
92
|
}
|
|
93
|
-
`,
|
|
93
|
+
`,Mt=o.div`
|
|
94
94
|
display: flex;
|
|
95
95
|
cursor: pointer;
|
|
96
96
|
gap: 5px;
|
|
97
97
|
color: ${e=>e.theme.colors.primary};
|
|
98
|
-
`,J={containerPaddingLeft:new u(h[3],h[4]),containerPaddingRight:new u(h[2],h[3]),containerPaddingTop:new u(h[2],h[3]),containerPaddingBottom:new u(h[2],h[3])};function
|
|
98
|
+
`,J={containerPaddingLeft:new u(h[3],h[4]),containerPaddingRight:new u(h[2],h[3]),containerPaddingTop:new u(h[2],h[3]),containerPaddingBottom:new u(h[2],h[3])};function At({data:e,boxType:r}){const{description:n,amount:c,status:l,date:a}=e,y=V("0,0.00",c),d=C(),{dateFormat:g}=L.getLocalizedStrings(),x=oe(),j=x[0].width,f=x[1].width,p=x[2].width,s=gt(l);if(d==="small"){const b=t.jsx(Ft,{children:t.jsxs(Wt,{children:[t.jsxs(Vt,{children:[t.jsxs(Ut,{children:[t.jsx(fe,{}),t.jsx(Jt,{children:t.jsx(Gt,{children:t.jsxs(Xt,{children:[n,l!=null&&l.code!=="completed"?t.jsxs(t.Fragment,{children:[t.jsx(_t,{}),t.jsx(qt,{color:s?.color,children:s?.value})]}):null]})})})]}),t.jsx(Qt,{children:t.jsx(Zt,{children:a!=null?`${oe()[1].value}: `+a.format(g.visual.MMMDCommaYYYYformat):null})})]}),t.jsx(Et,{children:t.jsx(ei,{children:t.jsx($e,{children:y})})})]})});return t.jsx(me,{content:b,boxType:r,isDisabled:!0,isNotClickable:!0})}const m=t.jsxs(Bt,{windowSize:d,children:[t.jsxs(Ot,{windowSize:d,width:j,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(Kt,{}),t.jsx(Nt,{color:s?.color,children:s?.value})]}):null]})]}),t.jsx(Rt,{windowSize:d,width:f,children:t.jsx(we,{children:a!=null?a.format(g.visual.MMMDCommaYYYYformat):null})}),t.jsx(It,{windowSize:d,width:p,children:t.jsx($e,{children:y})})]});return t.jsx(me,{content:m,boxType:r,isDisabled:!0,isNotClickable:!0})}const Bt=o.div`
|
|
99
99
|
width: 100%;
|
|
100
100
|
display: flex;
|
|
101
101
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -134,7 +134,7 @@ import{e as C,u as A,x as Ne,bJ as Ye,j as t,B as L,a0 as W,bp as ae,aX as Ke,v
|
|
|
134
134
|
`,fe=o(mt)`
|
|
135
135
|
width: ${i.sp4};
|
|
136
136
|
height: ${i.sp4};
|
|
137
|
-
`,we=o(
|
|
137
|
+
`,we=o(A)`
|
|
138
138
|
display: -webkit-box;
|
|
139
139
|
-webkit-box-orient: vertical;
|
|
140
140
|
-webkit-line-clamp: 1;
|
|
@@ -154,11 +154,11 @@ import{e as C,u as A,x as Ne,bJ as Ye,j as t,B as L,a0 as W,bp as ae,aX as Ke,v
|
|
|
154
154
|
word-break: break-word;
|
|
155
155
|
text-overflow: ellipsis;
|
|
156
156
|
overflow: hidden;
|
|
157
|
-
`,
|
|
157
|
+
`,Yt=o.div`
|
|
158
158
|
display: flex;
|
|
159
159
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
160
160
|
align-items: center;
|
|
161
|
-
`,
|
|
161
|
+
`,Nt=o(U)`
|
|
162
162
|
color: ${e=>e.color};
|
|
163
163
|
-webkit-box-orient: vertical;
|
|
164
164
|
-webkit-line-clamp: 1;
|
|
@@ -171,7 +171,7 @@ import{e as C,u as A,x as Ne,bJ as Ye,j as t,B as L,a0 as W,bp as ae,aX as Ke,v
|
|
|
171
171
|
background-color: ${e=>e.theme.colors.grey1};
|
|
172
172
|
margin-left: ${i.sp2};
|
|
173
173
|
margin-right: ${i.sp2};
|
|
174
|
-
`,$e=o(
|
|
174
|
+
`,$e=o(A)`
|
|
175
175
|
display: -webkit-box;
|
|
176
176
|
-webkit-box-orient: vertical;
|
|
177
177
|
-webkit-line-clamp: 1;
|
|
@@ -186,12 +186,12 @@ import{e as C,u as A,x as Ne,bJ as Ye,j as t,B as L,a0 as W,bp as ae,aX as Ke,v
|
|
|
186
186
|
box-shadow: ${e=>e.theme.mode==="dark"?`${w.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${w.dropShadowNormalLight}`};
|
|
187
187
|
border-radius: ${i.sp2};
|
|
188
188
|
gap: ${i.sp1};
|
|
189
|
-
`,
|
|
189
|
+
`,Wt=o.div`
|
|
190
190
|
display: flex;
|
|
191
191
|
width: 100%;
|
|
192
192
|
justify-content: space-between;
|
|
193
193
|
align-items: flex-start;
|
|
194
|
-
`,
|
|
194
|
+
`,Vt=o.div`
|
|
195
195
|
display: flex;
|
|
196
196
|
flex-direction: column;
|
|
197
197
|
flex: 1;
|
|
@@ -215,7 +215,7 @@ import{e as C,u as A,x as Ne,bJ as Ye,j as t,B as L,a0 as W,bp as ae,aX as Ke,v
|
|
|
215
215
|
min-width: 0;
|
|
216
216
|
`,Gt=o.div`
|
|
217
217
|
width: 100%;
|
|
218
|
-
`,Xt=o(
|
|
218
|
+
`,Xt=o(A)`
|
|
219
219
|
display: block;
|
|
220
220
|
color: ${e=>e.theme.colors.hero};
|
|
221
221
|
line-height: 1.4;
|
|
@@ -246,7 +246,7 @@ import{e as C,u as A,x as Ne,bJ as Ye,j as t,B as L,a0 as W,bp as ae,aX as Ke,v
|
|
|
246
246
|
`,ei=o.div`
|
|
247
247
|
display: flex;
|
|
248
248
|
align-items: flex-start;
|
|
249
|
-
`,re={lastListItemHeight:new u(200,128),rowWrapperMarginLeftRight:new u(h[3],h[8])},{spendManagement:{chargeCard:ti},common:ii}=L.getLocalizedStrings(),oi=({transactionList:e,uiState:r,fetchState:n,onReloadCards:c,onColumnSortConfigChanged:l})=>{const a=C(),y=()=>a!=="small"?nt:xt+40,d=$.useRef(null);$.useEffect(()=>{d.current?.resetAfterIndex(0)},[a,d]);const g=()=>n==="Error"?t.jsxs(di,{children:[t.jsx(ci,{onClick:c,"data-testid":E("treasury-list-reload"),children:t.jsx(hi,{})}),t.jsx(pi,{children:ii.reloadPage.label})]}):n==="Completed"&&e.length===0?null:t.jsx(Be,{children:t.jsx(xi,{windowSize:a,children:t.jsx(it,{children:({height:x,width:j})=>t.jsx(ot,{ref:d,height:x,itemCount:e.length,innerElementType:f=>ri(f,l,r,n),itemSize:y,estimatedItemSize:at,itemKey:f=>e[f].id,width:j,overscanCount:rt,initialScrollOffset:0,children:f=>t.jsx(ni,{...f,transactionList:e})})})})});return t.jsx(li,{fetchState:n,children:g()})},ri=(e,r,n,c)=>t.jsx(
|
|
249
|
+
`,re={lastListItemHeight:new u(200,128),rowWrapperMarginLeftRight:new u(h[3],h[8])},{spendManagement:{chargeCard:ti},common:ii}=L.getLocalizedStrings(),oi=({transactionList:e,uiState:r,fetchState:n,onReloadCards:c,onColumnSortConfigChanged:l})=>{const a=C(),y=()=>a!=="small"?nt:xt+40,d=$.useRef(null);$.useEffect(()=>{d.current?.resetAfterIndex(0)},[a,d]);const g=()=>n==="Error"?t.jsxs(di,{children:[t.jsx(ci,{onClick:c,"data-testid":E("treasury-list-reload"),children:t.jsx(hi,{})}),t.jsx(pi,{children:ii.reloadPage.label})]}):n==="Completed"&&e.length===0?null:t.jsx(Be,{children:t.jsx(xi,{windowSize:a,children:t.jsx(it,{children:({height:x,width:j})=>t.jsx(ot,{ref:d,height:x,itemCount:e.length,innerElementType:f=>ri(f,l,r,n),itemSize:y,estimatedItemSize:at,itemKey:f=>e[f].id,width:j,overscanCount:rt,initialScrollOffset:0,children:f=>t.jsx(ni,{...f,transactionList:e})})})})});return t.jsx(li,{fetchState:n,children:g()})},ri=(e,r,n,c)=>t.jsx(Ae,{...e,onColumnSortConfigChanged:r,uiState:{sortKey:n.sortKey,sortOrder:n.sortOrder},fetchState:c}),Ae=$.forwardRef((e,r)=>{const{children:n,style:c,uiState:l,onColumnSortConfigChanged:a,...y}=e;return t.jsxs(Be,{ref:r,style:{...c,width:"auto"},...y,children:[t.jsx(jt,{companyNameSticky:!1,onColumnSortConfigChanged:a,sortConfig:{sortKey:l.sortKey,sortOrder:l.sortOrder}}),t.jsx(mi,{children:n})]})});Ae.displayName=ti.cardList.headerElementDisplayName;const ai=({transactionList:e,fetchState:r,uiState:n,onReloadCards:c,onColumnSortConfigChanged:l})=>t.jsx(oi,{transactionList:e,fetchState:r,onReloadCards:c,uiState:n,onColumnSortConfigChanged:l}),ni=({index:e,style:r,transactionList:n})=>{const c=C();return t.jsx(gi,{style:{...r,width:"100%",paddingLeft:re.rowWrapperMarginLeftRight.valuePx(c),paddingRight:re.rowWrapperMarginLeftRight.valuePx(c)},className:"spend-management-list-item",children:t.jsx(si,{transaction:n[e]})},"listItem"+n[e].id)},si=({transaction:e})=>t.jsx(At,{data:e,boxType:"roundedBox"},e.id),li=o.div`
|
|
250
250
|
margin: ${e=>e.fetchState==="Error"?"auto":"unset"};
|
|
251
251
|
display: block;
|
|
252
252
|
height: 100%;
|
|
@@ -273,7 +273,7 @@ import{e as C,u as A,x as Ne,bJ as Ye,j as t,B as L,a0 as W,bp as ae,aX as Ke,v
|
|
|
273
273
|
&:hover {
|
|
274
274
|
color: ${e=>e.theme.colors.primary};
|
|
275
275
|
}
|
|
276
|
-
`,pi=o(
|
|
276
|
+
`,pi=o(Me)`
|
|
277
277
|
margin-top: ${i.sp3};
|
|
278
278
|
color: ${e=>e.theme.colors.hero};
|
|
279
279
|
`,xi=o.div`
|
|
@@ -296,7 +296,7 @@ import{e as C,u as A,x as Ne,bJ as Ye,j as t,B as L,a0 as W,bp as ae,aX as Ke,v
|
|
|
296
296
|
position: relative;
|
|
297
297
|
width: auto;
|
|
298
298
|
height: 100%;
|
|
299
|
-
`,Be=o.div``,ui=["editPortfolio","taxLetter","statements","settings"],yi=e=>
|
|
299
|
+
`,Be=o.div``,ui=["editPortfolio","taxLetter","statements","settings"],yi=e=>W.stringToUnionStrict(e??"",ui),G=L.getLocalizedStrings().spendManagement.treasury.overviewPage,je=[{value:"editPortfolio",label:G.editPortfolio},{value:"taxLetter",label:G.taxLetter},{value:"statements",label:G.statements},{value:"settings",label:G.settings}],fi=({onOptionSelection:e,onTransferClick:r})=>{const n=Ee(),c=C(),l=L.getLocalizedStrings().spendManagement.treasury.overviewPage,a=n.loggedInUserRoleMap.treasury_user===!0||Ue(n),y=je.filter(g=>g.value==="statements"||g.value==="taxLetter"),d=M();return t.jsxs(wi,{isTopAlign:!1,children:[t.jsx(Je,{entity:"zeni_treasury",onOptionSelection:g=>{const x=yi(g);x!=null&&e(x)},isMoreOption:!0,backgroundColor:d.colors.grey5,options:a?y:je}),!a&&(c==="small"?t.jsx($i,{onClick:r}):t.jsx(Ge,{variant:"primary",size:"small",style:{display:"flex",alignItems:"center"},onClick:r,label:l.transferFunds}))]})},wi=o.div`
|
|
300
300
|
display: flex;
|
|
301
301
|
flex-direction: row;
|
|
302
302
|
align-items: ${({isTopAlign:e})=>e?"flex-start":"center"};
|
|
@@ -314,7 +314,7 @@ import{e as C,u as A,x as Ne,bJ as Ye,j as t,B as L,a0 as W,bp as ae,aX as Ke,v
|
|
|
314
314
|
justify-content: center;
|
|
315
315
|
align-items: center;
|
|
316
316
|
background-color: ${e=>e.theme.colors.grey4};
|
|
317
|
-
`,P={tickLabelText:new R("extraSmallRegular","smallRegular"),balanceIntegerStyles:new R("h5Regular","h3Regular"),integerStyles:new R("largeRegular","h6Regular"),decimalStyles:new R("standardRegular","standardRegular"),fundSummaryStyles:new R("extraSmallSemiBold","smallSemiBold"),yieldValueStyles:new R("standardMedium","largeMedium")},T={accountDetailHeaderPaddingRight:new u(h[3],h[8]),accountDetailHeaderPaddingBottom:new u(h[3],h[6]),accountDetailHeaderPaddingLeft:new u(h[3],h[8]),accountDetailHeaderPaddingTop:new u(h[3],h[6]),accountDetailContentMarginTop:new u(h[4],h[4]),areaChartHeight:new u(114,209),accountDetailHeaderGap:new u(18,100,184)},{spendManagement:{zeniAccounts:be,treasury:{overviewPage:v}},dateFormat:q,common:bi}=L.getLocalizedStrings(),Oe=$.memo(({accountHistory:e})=>{const r=C(),n=A(),[c,l]=$.useState(),a=$.useMemo(()=>{const s=V.zeniDate(new Date().toISOString()),m=s.clone().subtract(84,"day"),b=84/6;return Array.from({length:7}).map((z,D)=>{const B=D/6;let O;return B<.5?O=0:B<.6?O=.9*((B-.5)/.09999999999999998):O=.9,{date:(D===6?s:m.clone().add(Math.round(D*b),"day")).toISOString(),value:O}})},[]),y=$.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=$.useMemo(()=>e.accountHistoryWithBalance.map(s=>({...s,date:s.date.toISOString()})),[e.accountHistoryWithBalance]),x=$.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=W("0,0[.]00",D),b=V.zeniDate(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})]})},[]),j=$.useCallback(s=>{const m=s,{x:b,y:z}=m,{value:D}=m.payload;let B=!1;e.accountHistoryWithBalance.length>360&&(B=!0);const O=B?V.zeniDate(D).format(q.visual.MMMformat):V.zeniDate(D).format(q.visual.MMMDFormat);return t.jsx(Ri,{translateX:b,translateY:z,children:t.jsx(Ki,{windowSize:r,dy:20,dx:-25,children:O})})},[e.accountHistoryWithBalance.length,r]),f=$.useCallback(({cx:s,cy:m,dataKey:b})=>(b==="balance.available.amount"&&(c?.x!==s||c?.y!==m)&&l({x:s,y:m}),t.jsx(Ui,{cx:s,cy:m,strokeWidth:1,r:h[1]})),[c]),p=$.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(Fi,{children:d?t.jsxs(eo,{children:[t.jsx(le,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(de,{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(ce,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,tick:s=>j(s),interval:y,padding:{right:h[4]}}),t.jsx(he,{tick:!1,axisLine:!1,domain:[0,1]}),t.jsx(pe,{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(le,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(de,{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(ce,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:s=>j(s),padding:{right:h[4]},interval:p}),t.jsx(he,{tick:!1,axisLine:!1}),t.jsx(We,{position:c,content:({payload:s})=>x(s),cursor:{strokeDasharray:"3",stroke:w.brandColorJade}}),t.jsx(pe,{activeDot:f,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:w.brandColorJade,fill:"url(#colorUv)"})]})})})});Oe.displayName="AccountBalanceGraph";const Fo=({treasuryDetail:e,treasurySetupView:r,onColumnSortConfigChanged:n,onBackClick:c,onReloadTreasuryTransactions:l,handleTreasuryOptionSelection:a,onTransferClick:y})=>{const d=C(),g=A(),x=Ne().analytics;Ye({componentName:"treasury.overview",enabled:e.fetchState==="Completed"});const j=m=>{x.trackTreasuryDashboardInteraction((()=>{switch(m){case"editPortfolio":return"Edit Portfolio";case"taxLetter":return"Tax Letter";case"statements":return"Statement";default:return"Settings"}})()),a(m)},f=e.accountSummary,p=$.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:W("0,0[.]00",f?.totalBalance)})]}),t.jsxs(Z,{children:[t.jsx(ee,{children:v.balanceTooltip.processing}),t.jsx(te,{children:W("0,0[.]00",f?.processingBalance)})]}),t.jsxs(Z,{children:[t.jsx(ee,{children:v.balanceTooltip.available}),t.jsx(te,{children:W("0,0[.]00",f?.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(Ie,{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(He,{})})})},[f,d]),s=t.jsx(fi,{onOptionSelection:j,onTransferClick:()=>{x.trackTreasuryDashboardInteraction("Transfer Funds"),y()}});return t.jsxs(Ti,{children:[t.jsx(Ke,{title:v.title,onBackClick:c,showMenuIcon:!1,backgroundColor:g.colors.grey5,style:{zIndex:3,...ie.largeSemiBold.cssObject},rightSideComponent:s,source:"treasury"}),t.jsxs(Li,{windowSize:d,children:[t.jsxs(Ai,{windowSize:d,children:[t.jsx(vi,{fundAllocation:r.currentAllocation,fundsData:r.fundsData,getToolTipContent:p,treasuryDetail:e,hasAccountActivity:e.transactions.length>0}),t.jsx(Oi,{windowSize:d,children:t.jsx(Oe,{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(Re,{treasuryDetail:e,onColumnSortConfigChanged:n}):e.transactionsFetchState.fetchState==="Error"?t.jsxs(Ii,{children:[t.jsx(Hi,{onClick:l,"data-testid":E("account-detail-reload"),children:t.jsx(Yi,{})}),t.jsx(Ni,{children:bi.reloadPage.label})]}):t.jsx(ji,{children:t.jsx(Fe,{size:"ExtraLarge",start:!0})})]})},Re=$.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,{})})});Re.displayName="TransactionListScreen";const vi=({treasuryDetail:e,hasAccountActivity:r,getToolTipContent:n,fundAllocation:c,fundsData:l})=>{const a=C(),[y,d]=$.useState(!1);return $.useEffect(()=>{y===!0&&setTimeout(()=>{d(!1)},800)},[y]),t.jsxs(Mi,{children:[t.jsxs(X,{children:[t.jsx(Vi,{children:t.jsxs(F,{children:[K(be.zeniAccountList.totalAvailableBalance),n("totalBalance")]})}),t.jsx(_i,{windowSize:a,children:e.accountSummary?.availableBalance?t.jsx(t.Fragment,{children:t.jsx(_,{amount:e.accountSummary?.availableBalance,integerStyles:P.balanceIntegerStyles.styleObject(a),decimalStyles:P.balanceIntegerStyles.styleObject(a)})}):null})]}),t.jsxs(X,{children:[t.jsxs(F,{children:[K(v.insuredFunds),n("insuredFunds")]}),t.jsx(Q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(_,{amount:{amount:e.accountSummary?.insuredFunds.amount??0,currencyCode:"USD",currencySymbol:"$"},integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})}),t.jsx(F,{children:K(v.insuredFundsAmount)})]}),r&&t.jsxs(Bi,{children:[t.jsxs(Ce,{children:[t.jsx(F,{children:K(be.common.totalYieldEarned)}),t.jsx(Q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(_,{amount:e.accountSummary?.totalYield,integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})})]}),t.jsxs(Ce,{children:[t.jsxs(F,{children:[K(v.sevenDayYield)," ",n("sevenDayYield")]}),t.jsx(Q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsxs(Wi,{windowSize:a,children:[zi(c??{},l),"%"]})})]})]})]})},Si=({analytics:e,fundsData:r,fundAllocation:n,hasAccountActivity:c})=>{const[l,a]=$.useState(!1),y=C(),d=A(),g=()=>{a(x=>!x)};return t.jsx(io,{windowSize:y,allTilesExpanded:l,children:r.map((x,j)=>{const f=l,p=ne(j,d);return t.jsxs(oo,{expanded:f,windowSize:y,children:[t.jsx(go,{bgColor:p.headerBackground}),t.jsx(ki,{fund:x,fundIndex:j,fundAllocation:n!=null?n[x.fundCode]:0,hasAccountActivity:c}),!l&&t.jsx(ro,{children:t.jsxs(no,{onClick:()=>{e.trackTreasuryDashboardInteraction("View Details "+x.fundCompanyName+" "+x.fundName),g()},children:[v.fundTile.viewDetails,t.jsx(Gi,{})]})}),f&&t.jsxs(t.Fragment,{children:[t.jsx(zo,{}),t.jsx(Ci,{analytics:e,fund:x,fundIndex:j,onHide:g})]})]},x.fundCode)})})},ki=({fund:e,fundIndex:r,fundAllocation:n})=>{const c=A(),l=ne(r,c),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(X,{children:e.fundCompanyName}),t.jsx(X,{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(Ie,{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(He,{})})})]}),t.jsxs(po,{windowSize:a,children:[e.yield,"%"]})]})})]})},Ci=({analytics:e,fund:r,fundIndex:n,onHide:c})=>{const l=A(),{common:a,spendManagement:y}=L.getLocalizedStrings(),d=y.treasury.promoPage,g=ne(n,l);return t.jsxs(t.Fragment,{children:[t.jsx(fo,{children:r.description}),t.jsxs(wo,{children:[t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," Liquidity"]}),t.jsx(N,{children:r.liquidityTimeline})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",d.fundSize]}),t.jsx(N,{color:g.fundNameColor,children:_e(r.fundSize,r.currencyCode)})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",d.maturity]}),t.jsxs(N,{children:[r.maturity," ",a.timeStrings.days]})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",d.expenseRatio]}),t.jsxs(N,{children:[r.expenseRatio,d.expenseRatioSuffix]})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",d.riskRating]}),t.jsx(N,{children:r.riskRating})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",d.composition]}),t.jsx(N,{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,j)=>t.jsxs(bo,{children:[t.jsx(vo,{}),t.jsx(k,{children:x.investedIn}),t.jsx(k,{style:{marginLeft:"auto",textAlign:"right"},children:x.percentage})]},j))}),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:c,children:[d.hide,t.jsx(Xi,{})]})]})]})};function zi(e,r){let n=0;for(const c of r){const l=e[c.fundCode]??0;l>0&&c.yield!=null&&(n+=c.yield*l)}return Number((n/100).toFixed(2))}const K=e=>t.jsx(Ji,{children:e}),Pi=o.div`
|
|
317
|
+
`,P={tickLabelText:new R("extraSmallRegular","smallRegular"),balanceIntegerStyles:new R("h5Regular","h3Regular"),integerStyles:new R("largeRegular","h6Regular"),decimalStyles:new R("standardRegular","standardRegular"),fundSummaryStyles:new R("extraSmallSemiBold","smallSemiBold"),yieldValueStyles:new R("standardMedium","largeMedium")},T={accountDetailHeaderPaddingRight:new u(h[3],h[8]),accountDetailHeaderPaddingBottom:new u(h[3],h[6]),accountDetailHeaderPaddingLeft:new u(h[3],h[8]),accountDetailHeaderPaddingTop:new u(h[3],h[6]),accountDetailContentMarginTop:new u(h[4],h[4]),areaChartHeight:new u(114,209),accountDetailHeaderGap:new u(18,100,184)},{spendManagement:{zeniAccounts:be,treasury:{overviewPage:v}},dateFormat:q,common:bi}=L.getLocalizedStrings(),Oe=$.memo(({accountHistory:e})=>{const r=C(),n=M(),[c,l]=$.useState(),a=$.useMemo(()=>{const s=W.zeniDate(new Date().toISOString()),m=s.clone().subtract(84,"day"),b=84/6;return Array.from({length:7}).map((z,D)=>{const B=D/6;let O;return B<.5?O=0:B<.6?O=.9*((B-.5)/.09999999999999998):O=.9,{date:(D===6?s:m.clone().add(Math.round(D*b),"day")).toISOString(),value:O}})},[]),y=$.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=$.useMemo(()=>e.accountHistoryWithBalance.map(s=>({...s,date:s.date.toISOString()})),[e.accountHistoryWithBalance]),x=$.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=W.zeniDate(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})]})},[]),j=$.useCallback(s=>{const m=s,{x:b,y:z}=m,{value:D}=m.payload;let B=!1;e.accountHistoryWithBalance.length>360&&(B=!0);const O=B?W.zeniDate(D).format(q.visual.MMMformat):W.zeniDate(D).format(q.visual.MMMDFormat);return t.jsx(Ri,{translateX:b,translateY:z,children:t.jsx(Ki,{windowSize:r,dy:20,dx:-25,children:O})})},[e.accountHistoryWithBalance.length,r]),f=$.useCallback(({cx:s,cy:m,dataKey:b})=>(b==="balance.available.amount"&&(c?.x!==s||c?.y!==m)&&l({x:s,y:m}),t.jsx(Ui,{cx:s,cy:m,strokeWidth:1,r:h[1]})),[c]),p=$.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(Fi,{children:d?t.jsxs(eo,{children:[t.jsx(le,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(de,{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(ce,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,tick:s=>j(s),interval:y,padding:{right:h[4]}}),t.jsx(he,{tick:!1,axisLine:!1,domain:[0,1]}),t.jsx(pe,{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(le,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(de,{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(ce,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:s=>j(s),padding:{right:h[4]},interval:p}),t.jsx(he,{tick:!1,axisLine:!1}),t.jsx(Ve,{position:c,content:({payload:s})=>x(s),cursor:{strokeDasharray:"3",stroke:w.brandColorJade}}),t.jsx(pe,{activeDot:f,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:w.brandColorJade,fill:"url(#colorUv)"})]})})})});Oe.displayName="AccountBalanceGraph";const Fo=({treasuryDetail:e,treasurySetupView:r,onColumnSortConfigChanged:n,onBackClick:c,onReloadTreasuryTransactions:l,handleTreasuryOptionSelection:a,onTransferClick:y})=>{const d=C(),g=M(),x=Ye().analytics;Ne({componentName:"treasury.overview",enabled:e.fetchState==="Completed"});const j=m=>{x.trackTreasuryDashboardInteraction((()=>{switch(m){case"editPortfolio":return"Edit Portfolio";case"taxLetter":return"Tax Letter";case"statements":return"Statement";default:return"Settings"}})()),a(m)},f=e.accountSummary,p=$.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",f?.totalBalance)})]}),t.jsxs(Z,{children:[t.jsx(ee,{children:v.balanceTooltip.processing}),t.jsx(te,{children:V("0,0[.]00",f?.processingBalance)})]}),t.jsxs(Z,{children:[t.jsx(ee,{children:v.balanceTooltip.available}),t.jsx(te,{children:V("0,0[.]00",f?.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(Ie,{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(He,{})})})},[f,d]),s=t.jsx(fi,{onOptionSelection:j,onTransferClick:()=>{x.trackTreasuryDashboardInteraction("Transfer Funds"),y()}});return t.jsxs(Ti,{children:[t.jsx(Ke,{title:v.title,onBackClick:c,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:p,treasuryDetail:e,hasAccountActivity:e.transactions.length>0}),t.jsx(Oi,{windowSize:d,children:t.jsx(Oe,{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(Re,{treasuryDetail:e,onColumnSortConfigChanged:n}):e.transactionsFetchState.fetchState==="Error"?t.jsxs(Ii,{children:[t.jsx(Hi,{onClick:l,"data-testid":E("account-detail-reload"),children:t.jsx(Ni,{})}),t.jsx(Yi,{children:bi.reloadPage.label})]}):t.jsx(ji,{children:t.jsx(Fe,{size:"ExtraLarge",start:!0})})]})},Re=$.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,{})})});Re.displayName="TransactionListScreen";const vi=({treasuryDetail:e,hasAccountActivity:r,getToolTipContent:n,fundAllocation:c,fundsData:l})=>{const a=C(),[y,d]=$.useState(!1);return $.useEffect(()=>{y===!0&&setTimeout(()=>{d(!1)},800)},[y]),t.jsxs(Ai,{children:[t.jsxs(X,{children:[t.jsx(Wi,{children:t.jsxs(F,{children:[K(be.zeniAccountList.totalAvailableBalance),n("totalBalance")]})}),t.jsx(_i,{windowSize:a,children:e.accountSummary?.availableBalance?t.jsx(t.Fragment,{children:t.jsx(_,{amount:e.accountSummary?.availableBalance,integerStyles:P.balanceIntegerStyles.styleObject(a),decimalStyles:P.balanceIntegerStyles.styleObject(a)})}):null})]}),t.jsxs(X,{children:[t.jsxs(F,{children:[K(v.insuredFunds),n("insuredFunds")]}),t.jsx(Q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(_,{amount:{amount:e.accountSummary?.insuredFunds.amount??0,currencyCode:"USD",currencySymbol:"$"},integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})}),t.jsx(F,{children:K(v.insuredFundsAmount)})]}),r&&t.jsxs(Bi,{children:[t.jsxs(Ce,{children:[t.jsx(F,{children:K(be.common.totalYieldEarned)}),t.jsx(Q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(_,{amount:e.accountSummary?.totalYield,integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})})]}),t.jsxs(Ce,{children:[t.jsxs(F,{children:[K(v.sevenDayYield)," ",n("sevenDayYield")]}),t.jsx(Q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsxs(Vi,{windowSize:a,children:[zi(c??{},l),"%"]})})]})]})]})},Si=({analytics:e,fundsData:r,fundAllocation:n,hasAccountActivity:c})=>{const[l,a]=$.useState(!1),y=C(),d=M(),g=()=>{a(x=>!x)};return t.jsx(io,{windowSize:y,allTilesExpanded:l,children:r.map((x,j)=>{const f=l,p=ne(j,d);return t.jsxs(oo,{expanded:f,windowSize:y,children:[t.jsx(go,{bgColor:p.headerBackground}),t.jsx(ki,{fund:x,fundIndex:j,fundAllocation:n!=null?n[x.fundCode]:0,hasAccountActivity:c}),!l&&t.jsx(ro,{children:t.jsxs(no,{onClick:()=>{e.trackTreasuryDashboardInteraction("View Details "+x.fundCompanyName+" "+x.fundName),g()},children:[v.fundTile.viewDetails,t.jsx(Gi,{})]})}),f&&t.jsxs(t.Fragment,{children:[t.jsx(zo,{}),t.jsx(Ci,{analytics:e,fund:x,fundIndex:j,onHide:g})]})]},x.fundCode)})})},ki=({fund:e,fundIndex:r,fundAllocation:n})=>{const c=M(),l=ne(r,c),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(X,{children:e.fundCompanyName}),t.jsx(X,{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(Ie,{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(He,{})})})]}),t.jsxs(po,{windowSize:a,children:[e.yield,"%"]})]})})]})},Ci=({analytics:e,fund:r,fundIndex:n,onHide:c})=>{const l=M(),{common:a,spendManagement:y}=L.getLocalizedStrings(),d=y.treasury.promoPage,g=ne(n,l);return t.jsxs(t.Fragment,{children:[t.jsx(fo,{children:r.description}),t.jsxs(wo,{children:[t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(N,{})," Liquidity"]}),t.jsx(Y,{children:r.liquidityTimeline})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.fundSize]}),t.jsx(Y,{color:g.fundNameColor,children:_e(r.fundSize,r.currencyCode)})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.maturity]}),t.jsxs(Y,{children:[r.maturity," ",a.timeStrings.days]})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.expenseRatio]}),t.jsxs(Y,{children:[r.expenseRatio,d.expenseRatioSuffix]})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.riskRating]}),t.jsx(Y,{children:r.riskRating})]}),t.jsxs(I,{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,j)=>t.jsxs(bo,{children:[t.jsx(vo,{}),t.jsx(k,{children:x.investedIn}),t.jsx(k,{style:{marginLeft:"auto",textAlign:"right"},children:x.percentage})]},j))}),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:c,children:[d.hide,t.jsx(Xi,{})]})]})]})};function zi(e,r){let n=0;for(const c of r){const l=e[c.fundCode]??0;l>0&&c.yield!=null&&(n+=c.yield*l)}return Number((n/100).toFixed(2))}const K=e=>t.jsx(Ji,{children:e}),Pi=o.div`
|
|
318
318
|
display: flex;
|
|
319
319
|
flex-direction: column;
|
|
320
320
|
align-items: center;
|
|
@@ -336,13 +336,13 @@ import{e as C,u as A,x as Ne,bJ as Ye,j as t,B as L,a0 as W,bp as ae,aX as Ke,v
|
|
|
336
336
|
padding-left: ${e=>T.accountDetailHeaderPaddingLeft.valuePx(e.windowSize)};
|
|
337
337
|
justify-content: space-between;
|
|
338
338
|
box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
339
|
-
`,
|
|
339
|
+
`,Mi=o.div`
|
|
340
340
|
display: flex;
|
|
341
341
|
width: 100%;
|
|
342
342
|
gap: ${e=>`${T.accountDetailHeaderGap.valuePx(e.windowSize)}`};
|
|
343
343
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
344
344
|
justify-content: space-between;
|
|
345
|
-
`,
|
|
345
|
+
`,Ai=o.div`
|
|
346
346
|
display: flex;
|
|
347
347
|
gap: ${i.sp4};
|
|
348
348
|
flex-direction: column;
|
|
@@ -385,10 +385,10 @@ import{e as C,u as A,x as Ne,bJ as Ye,j as t,B as L,a0 as W,bp as ae,aX as Ke,v
|
|
|
385
385
|
color: ${e=>e.theme.colors.primary};
|
|
386
386
|
}
|
|
387
387
|
}
|
|
388
|
-
`,
|
|
388
|
+
`,Yi=o(Me)`
|
|
389
389
|
margin-top: ${i.sp3};
|
|
390
390
|
color: ${e=>e.theme.colors.hero};
|
|
391
|
-
`,
|
|
391
|
+
`,Ni=o(Le)`
|
|
392
392
|
height: ${i.sp5};
|
|
393
393
|
width: ${i.sp5};
|
|
394
394
|
margin: ${i.sp5};
|
|
@@ -419,10 +419,10 @@ import{e as C,u as A,x as Ne,bJ as Ye,j as t,B as L,a0 as W,bp as ae,aX as Ke,v
|
|
|
419
419
|
flex: 1;
|
|
420
420
|
min-width: 140px;
|
|
421
421
|
flex-direction: column;
|
|
422
|
-
`,
|
|
422
|
+
`,Wi=o(k)`
|
|
423
423
|
display: flex;
|
|
424
424
|
color: ${e=>e.theme.colors.hero};
|
|
425
|
-
`,
|
|
425
|
+
`,Vi=o.div`
|
|
426
426
|
color: ${e=>e.theme.colors.success};
|
|
427
427
|
${e=>P.integerStyles.style(e.windowSize)};
|
|
428
428
|
`,Ei=o.div`
|
|
@@ -489,7 +489,7 @@ import{e as C,u as A,x as Ne,bJ as Ye,j as t,B as L,a0 as W,bp as ae,aX as Ke,v
|
|
|
489
489
|
color: ${e=>e.theme.colors.hero};
|
|
490
490
|
`,te=o.div`
|
|
491
491
|
color: ${w.primaryDark};
|
|
492
|
-
`,He=o(
|
|
492
|
+
`,He=o(We)`
|
|
493
493
|
width: ${i.sp3};
|
|
494
494
|
height: ${i.sp3};
|
|
495
495
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -500,7 +500,7 @@ import{e as C,u as A,x as Ne,bJ as Ye,j as t,B as L,a0 as W,bp as ae,aX as Ke,v
|
|
|
500
500
|
padding: ${i.sp2};
|
|
501
501
|
background: ${e=>e.theme.colors.black};
|
|
502
502
|
border-radius: ${i.sp1};
|
|
503
|
-
`,Zi=o(
|
|
503
|
+
`,Zi=o(A)`
|
|
504
504
|
color: ${e=>e.theme.colors.hero};
|
|
505
505
|
white-space: pre-line;
|
|
506
506
|
text-align: center;
|
|
@@ -625,7 +625,7 @@ import{e as C,u as A,x as Ne,bJ as Ye,j as t,B as L,a0 as W,bp as ae,aX as Ke,v
|
|
|
625
625
|
width: ${i.sp3};
|
|
626
626
|
height: ${i.sp3};
|
|
627
627
|
color: ${w.success};
|
|
628
|
-
`,fo=o(
|
|
628
|
+
`,fo=o(A)`
|
|
629
629
|
padding: ${i.sp3} ${i.sp4} 0 ${i.sp4};
|
|
630
630
|
color: ${w.heroLight};
|
|
631
631
|
`,wo=o.div`
|
|
@@ -637,17 +637,17 @@ import{e as C,u as A,x as Ne,bJ as Ye,j as t,B as L,a0 as W,bp as ae,aX as Ke,v
|
|
|
637
637
|
justify-content: space-between;
|
|
638
638
|
align-items: flex-start;
|
|
639
639
|
padding-bottom: ${i.sp1};
|
|
640
|
-
`,H=o(
|
|
640
|
+
`,H=o(A)`
|
|
641
641
|
color: ${e=>e.theme.colors.hero};
|
|
642
642
|
width: 140px;
|
|
643
643
|
display: flex;
|
|
644
644
|
align-items: center;
|
|
645
|
-
`,
|
|
645
|
+
`,Y=o(A)`
|
|
646
646
|
color: ${e=>e.color??e.theme.colors.primary};
|
|
647
647
|
flex: 1;
|
|
648
648
|
border-bottom: 1px solid ${e=>e.theme.colors.grey3};
|
|
649
649
|
padding-bottom: 4px;
|
|
650
|
-
`,
|
|
650
|
+
`,N=o.div`
|
|
651
651
|
width: 4px;
|
|
652
652
|
height: 4px;
|
|
653
653
|
border-radius: 50%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as ae,e as
|
|
1
|
+
import{u as ae,e as E,Y as xe,x as we,a2 as $e,l as fe,M as F,j as r,aX as ye,o as i,iA as je,bp as be,w as S,K,_ as J,J as f,s as V,C as v,f as t,y as H,d7 as Se,br as ke,T as ze,B as ve,cP as Ce,r as m,dM as Le,ay as Pe,c7 as Te,a3 as De,v as Q,cB as Ie}from"./index-DgtolMNd.js";import{b as P,n as o,f as Me}from"./vendor-rkTZJa59.js";import{x as Be}from"./MeetingCalenderPopup-CCW2D5Ua-5MpvaUBJ.js";import{l as Re}from"./treasuryColorHelper-BKdnWQWY-COtNKsBN.js";import{r as Ge}from"./auto-transfer-rule-mbafm5D3-DsDlaCxy.js";import{o as Ne}from"./shield-DOlUxcFf-bFVWRY1X.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const He=({isOpen:e,onClose:x})=>{const d=E(),u=F.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Ce,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:x,style:{backgroundColor:t.drawerBackground},transitionDuration:250,children:r.jsxs(_e,{windowSize:d,children:[r.jsx(Ae,{children:r.jsx(Fe,{onClick:x})}),r.jsxs(Oe,{children:[r.jsx(Ee,{windowSize:d,children:u.agreementDrawer.title}),r.jsx(Z,{children:u.agreementDrawer.intro}),r.jsx(A,{children:u.agreementDrawer.introBullets.map((c,w)=>r.jsx(re,{children:c},w))}),r.jsx(A,{children:u.agreementDrawer.documents.map((c,w)=>r.jsx(Ye,{children:c.hasMultipleLinks===!0&&c.links?r.jsx(qe,{children:c.links.map((h,$)=>r.jsx(Ue,{children:h.link!==""?r.jsx(ee,{href:h.link,target:"_blank",rel:"noopener noreferrer",children:h.text}):h.text},$))}):r.jsx(ee,{href:c.link,target:"_blank",rel:"noopener noreferrer",children:c.text})},w))}),r.jsx(Z,{style:{marginTop:i.sp2},children:u.agreementDrawer.confirmTitle}),r.jsx(A,{children:u.agreementDrawer.confirmBullets.map((c,w)=>r.jsx(re,{children:c},w))})]})]})})},_e=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -8,11 +8,11 @@ import{u as ae,e as O,Y as xe,x as we,a2 as $e,l as fe,B as F,j as r,aX as ye,o
|
|
|
8
8
|
display: flex;
|
|
9
9
|
justify-content: end;
|
|
10
10
|
padding: ${i.sp4} ${i.sp6};
|
|
11
|
-
`,
|
|
11
|
+
`,Oe=o.div`
|
|
12
12
|
display: flex;
|
|
13
13
|
flex-direction: column;
|
|
14
14
|
padding: 0 ${i.sp6} 0 ${i.sp6};
|
|
15
|
-
`,
|
|
15
|
+
`,Ee=o(Ie)`
|
|
16
16
|
color: ${e=>e.theme.colors.primary};
|
|
17
17
|
padding-bottom: ${i.sp3};
|
|
18
18
|
${e=>e.windowSize==="small"?Q.h6Medium.css:Q.h5Medium.css};
|
|
@@ -28,7 +28,7 @@ import{u as ae,e as O,Y as xe,x as we,a2 as $e,l as fe,B as F,j as r,aX as ye,o
|
|
|
28
28
|
&:hover {
|
|
29
29
|
color: ${e=>e.theme.colors.primary};
|
|
30
30
|
}
|
|
31
|
-
`,
|
|
31
|
+
`,Ve=S.withComponent("ul"),A=o(Ve)`
|
|
32
32
|
margin: 0;
|
|
33
33
|
padding-left: ${i.sp4};
|
|
34
34
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -36,7 +36,7 @@ import{u as ae,e as O,Y as xe,x as we,a2 as $e,l as fe,B as F,j as r,aX as ye,o
|
|
|
36
36
|
li::marker {
|
|
37
37
|
font-size: 10px;
|
|
38
38
|
}
|
|
39
|
-
`,
|
|
39
|
+
`,Ye=o.li`
|
|
40
40
|
color: ${e=>e.theme.colors.hero};
|
|
41
41
|
`,ee=o.a`
|
|
42
42
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -47,13 +47,13 @@ import{u as ae,e as O,Y as xe,x as we,a2 as $e,l as fe,B as F,j as r,aX as ye,o
|
|
|
47
47
|
color: ${e=>e.theme.colors.primary};
|
|
48
48
|
text-decoration-color: ${e=>e.theme.colors.primary};
|
|
49
49
|
}
|
|
50
|
-
`,
|
|
50
|
+
`,qe=o.div`
|
|
51
51
|
display: inline;
|
|
52
52
|
`,re=o.li`
|
|
53
53
|
color: ${e=>e.theme.colors.hero};
|
|
54
54
|
`,Ue=o.span`
|
|
55
55
|
display: inline;
|
|
56
|
-
`,z=0,D=5e6,Xe=1e4,g=F.getLocalizedStrings().spendManagement.treasury.promoPage,
|
|
56
|
+
`,z=0,D=5e6,Xe=1e4,g=F.getLocalizedStrings().spendManagement.treasury.promoPage,O=[g.sliderLabel0,g.sliderLabel1,g.sliderLabel2,g.sliderLabel3,g.sliderLabel4];function We(e){return e>=1e6?`$${(e/1e6).toFixed(2)}M`:e>=1e3?`$${(e/1e3).toFixed(2)}K`:`$${e.toLocaleString()}`}function ie(e){return`$${e.toLocaleString(void 0,{maximumFractionDigits:0})}`}const Ke=({analytics:e,yieldPercentage:x})=>{const[d,u]=Me.useState(15e5),c=d*x,w=()=>`${(d-z)/(D-z)*100}%`,h=ae(),$=E();return r.jsxs(Je,{windowSize:$,children:[$==="small"?r.jsx(nr,{children:g.sliderTitle}):r.jsx(sr,{children:g.sliderTitle}),r.jsxs(Qe,{children:[$==="small"?r.jsxs(r.Fragment,{children:[r.jsx(oe,{style:{color:h.colors.primary},children:g.sliderEarnLabel}),r.jsxs(oe,{style:{color:t.success},children:[ie(c),r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1,position:"relative",top:`-${i.sp1}`},children:"IV"})]})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{style:{color:h.colors.primary},children:g.sliderEarnLabel}),r.jsxs(se,{style:{color:t.success},children:[ie(c),r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1,position:"relative",top:`-${i.sp1}`},children:"IV"})]})]}),r.jsx(ze,{style:{color:h.colors.primary},children:g.sliderPerYear})]}),r.jsxs(Ze,{children:[r.jsx(er,{type:"range",min:z,max:D,step:Xe,value:d,onChange:l=>{const b=Number(l.target.value);u(b),e.trackTreasuryCalculatorClick("Treasury Promo Page",b)},style:{background:`linear-gradient(to right, ${t.success} 0%, ${t.success} ${(d-z)/(D-z)*100}%, ${t.neutralGrey3Light} ${(d-z)/(D-z)*100}%, ${t.neutralGrey3Light} 100%)`}}),r.jsxs(or,{style:{left:w()},children:[g.sliderTooltipPrefix," ",We(d)]}),r.jsx(rr,{children:O.map((l,b)=>{const _=b/(O.length-1)*D<=d;return r.jsx(ir,{style:{left:`${b/(O.length-1)*100}%`},children:r.jsx(S,{style:{color:_?h.colors.primary:t.neutralGrey1Light},children:l})},b)})})]})]})},Je=o.div`
|
|
57
57
|
width: 100%;
|
|
58
58
|
max-width: ${e=>e.windowSize==="small"?"345px":"726px"};
|
|
59
59
|
margin: 0 auto;
|
|
@@ -67,7 +67,7 @@ import{u as ae,e as O,Y as xe,x as we,a2 as $e,l as fe,B as F,j as r,aX as ye,o
|
|
|
67
67
|
gap: ${i.sp2};
|
|
68
68
|
margin-bottom: ${i.sp4};
|
|
69
69
|
margin-top: ${i.sp2};
|
|
70
|
-
`,oe=o(
|
|
70
|
+
`,oe=o(V)``,se=o(Te)``,Ze=o.div`
|
|
71
71
|
width: 100%;
|
|
72
72
|
position: relative;
|
|
73
73
|
margin-top: ${i.sp4};
|
|
@@ -142,13 +142,13 @@ import{u as ae,e as O,Y as xe,x as we,a2 as $e,l as fe,B as F,j as r,aX as ye,o
|
|
|
142
142
|
font-weight: 500;
|
|
143
143
|
pointer-events: none;
|
|
144
144
|
transform: translateX(-50%);
|
|
145
|
-
`,sr=o(
|
|
145
|
+
`,sr=o(V)`
|
|
146
146
|
color: ${e=>e.theme.colors.primary};
|
|
147
147
|
letter-spacing: -0.01em;
|
|
148
148
|
`,nr=o(Pe)`
|
|
149
149
|
color: ${e=>e.theme.colors.primary};
|
|
150
150
|
letter-spacing: -0.01em;
|
|
151
|
-
`,lr=e=>P.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},P.createElement("path",{d:"M1.5 16.8597L9.6679 9.59848C9.84009 9.44555 10.0608 9.35843 10.291 9.35254C10.5213 9.34665 10.7461 9.42235 10.9259 9.56627L14.5048 12.4288C14.6879 12.5752 14.9175 12.6508 15.1517 12.6419C15.3859 12.6329 15.6091 12.5399 15.7804 12.38L22.4834 6.12402",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),P.createElement("path",{d:"M18.5957 5.92554H22.4996V9.82942",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{common:tr,spendManagement:ar}=F.getLocalizedStrings(),s=ar.treasury.promoPage,j={mainHeading:new f("h6Medium","h4Regular"),subHeading:new f("standardRegular","h6Regular"),fundSymbol:new f("extraSmallSemiBold","smallSemiBold"),fundName:new f("extraLargeSemiBold","h5SemiBold"),fundSubName:new f("standardMedium","h6SemiBold"),highlightValue:new f("smallRegular","largeMedium"),highlightLabel:new f("extraSmallRegular","smallRegular"),uspItemTitle:new f("extraLargeMedium","h6Medium"),uspItemDescription:new f("extraSmallRegular","standardRegular")},p={uspLogoSize:new v(m[4],m[5]),cardsGap:new v(m[4],m[6]),fundHeaderGap:new v(m[0],m[2]),fundHeaderPadding:new v(m[3],m[4]),fundHighlightsPadding:new v(m[2],m[3]),highlightItemGap:new v(m[0],m[1])},oi=({treasurySetupView:e,isSetupComplete:x,meetingUrl:d,onBackClick:u,onClickMenuIcon:c,onSetupButtonClick:w,onTreasurySetupSuccess:h})=>{const $=ae(),l=
|
|
151
|
+
`,lr=e=>P.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},P.createElement("path",{d:"M1.5 16.8597L9.6679 9.59848C9.84009 9.44555 10.0608 9.35843 10.291 9.35254C10.5213 9.34665 10.7461 9.42235 10.9259 9.56627L14.5048 12.4288C14.6879 12.5752 14.9175 12.6508 15.1517 12.6419C15.3859 12.6329 15.6091 12.5399 15.7804 12.38L22.4834 6.12402",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),P.createElement("path",{d:"M18.5957 5.92554H22.4996V9.82942",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{common:tr,spendManagement:ar}=F.getLocalizedStrings(),s=ar.treasury.promoPage,j={mainHeading:new f("h6Medium","h4Regular"),subHeading:new f("standardRegular","h6Regular"),fundSymbol:new f("extraSmallSemiBold","smallSemiBold"),fundName:new f("extraLargeSemiBold","h5SemiBold"),fundSubName:new f("standardMedium","h6SemiBold"),highlightValue:new f("smallRegular","largeMedium"),highlightLabel:new f("extraSmallRegular","smallRegular"),uspItemTitle:new f("extraLargeMedium","h6Medium"),uspItemDescription:new f("extraSmallRegular","standardRegular")},p={uspLogoSize:new v(m[4],m[5]),cardsGap:new v(m[4],m[6]),fundHeaderGap:new v(m[0],m[2]),fundHeaderPadding:new v(m[3],m[4]),fundHighlightsPadding:new v(m[2],m[3]),highlightItemGap:new v(m[0],m[1])},oi=({treasurySetupView:e,isSetupComplete:x,meetingUrl:d,onBackClick:u,onClickMenuIcon:c,onSetupButtonClick:w,onTreasurySetupSuccess:h})=>{const $=ae(),l=E(),b=xe(),[_,Y]=P.useState(!1),[de,q]=P.useState(!1),T=we().analytics,ce=()=>{T.trackTreasurySetupActionClick("schedule_demo"),Y(!0)},{treasuryTermsDetails:pe,fundsData:U}=e,G=pe?.fetchStatus.fetchState,X=$e(G),W=U.reduce((n,a)=>{const k=a.yield?.toString()||"0%",N=parseFloat(k.replace("%",""))/100;return Math.max(n,N)},0),he=fe.hasTreasuryAdminLevelAccess(b.loggedInUserRoleMap);P.useEffect(()=>{X==="In-Progress"&&G==="Completed"&&h(x)},[X,h,G,x]);const me=[{title:`${s.usps.upTo} ${(W*100).toFixed(2)}%`,description:s.yieldLabel.trim()},{title:s.usps.insuredFundsAmount,description:s.usps.sipcInsured},{title:s.usps.highLiquidity,description:s.usps.sameDayTransfer},{title:s.usps.autoTransfers,description:s.usps.automateCashManagement}],ge=(n,a)=>n===0?r.jsx(Mr,{theme:a,windowSize:l}):n===1?r.jsx(Br,{theme:a,windowSize:l}):n===2?r.jsx(Rr,{theme:a,windowSize:l}):n===3?r.jsx(Gr,{theme:a,windowSize:l}):null;return r.jsxs(dr,{children:[r.jsx(ye,{title:s.title,backgroundColor:$.colors.grey4,onBackClick:u,showBackButton:!0,showMenuIcon:!1,onClickMenuIcon:c,source:"treasury"}),_===!0?r.jsx(Be,{onCancelClick:()=>{Y(!1)},meetingUrl:d}):null,r.jsxs(Cr,{windowSize:l,children:[r.jsx(Lr,{windowSize:l,children:s.heading}),r.jsx(Pr,{windowSize:l,children:s.subHeading})]}),r.jsx(cr,{windowSize:l,children:U.map((n,a)=>{const k=Re(a,$);return r.jsxs(pr,{children:[r.jsxs(hr,{windowSize:l,bgColor:k.headerBackground,index:a,children:[r.jsx(mr,{windowSize:l,children:n.fundCode}),r.jsxs("div",{children:[r.jsx(gr,{windowSize:l,color:k.fundNameColor,children:n.fundCompanyName??n.fundName}),r.jsx(ur,{windowSize:l,color:k.fundSubNameColor,children:n.fundName})]})]}),r.jsxs(xr,{windowSize:l,bgColor:k.highlightsBackground,children:[r.jsxs(ne,{windowSize:l,children:[r.jsxs(le,{windowSize:l,children:[r.jsxs($r,{children:[n.yield,"%"]}),s.yieldLabel,r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1},children:"I"})]}),r.jsx(te,{windowSize:l,children:s.higherReturns})]}),r.jsx(wr,{}),r.jsxs(ne,{windowSize:l,children:[r.jsxs(le,{windowSize:l,children:[n.liquidityTimeline,s.liquidity,n.liquidityTimeline.includes("Same-Day")?r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1},children:"II"}):null]}),r.jsx(te,{windowSize:l,children:s.quickPayments})]})]}),r.jsx(fr,{windowSize:l,children:n.description}),r.jsxs(yr,{children:[r.jsxs(I,{children:[r.jsxs(M,{children:[r.jsx(R,{})," ",s.fundSize]}),r.jsx(B,{color:k.fundNameColor,children:je(n.fundSize,n.currencyCode)})]}),r.jsxs(I,{children:[r.jsxs(M,{children:[r.jsx(R,{})," ",s.maturity]}),r.jsxs(B,{children:[n.maturity,""," ",tr.timeStrings.days]})]}),r.jsxs(I,{children:[r.jsxs(M,{children:[r.jsx(R,{})," ",s.expenseRatio]}),r.jsxs(B,{children:[n.expenseRatio,s.expenseRatioSuffix]})]}),r.jsxs(I,{children:[r.jsxs(M,{children:[r.jsx(R,{})," ",s.riskRating]}),r.jsx(B,{children:n.riskRating})]}),r.jsxs(I,{children:[r.jsxs(M,{children:[r.jsx(R,{})," ",s.composition]}),r.jsx(B,{children:r.jsxs(br,{children:[n.compositions[0].investedIn," ",n.compositions[0].percentage,r.jsx(be,{style:{textAlign:"left",display:"inline"},maxWidth:"312px",title:r.jsxs(Sr,{children:[r.jsx(S,{children:s.compositionHeading}),n.compositions.map((N,ue)=>r.jsxs(kr,{children:[r.jsx(zr,{}),r.jsx(S,{children:N.investedIn}),r.jsx(S,{style:{marginLeft:"auto",textAlign:"right"},children:N.percentage})]},ue))]}),children:r.jsxs(vr,{children:["+",n.compositions.length-1]})})]})})]})]}),r.jsxs(jr,{onClick:()=>T.trackTreasuryProspectusClick(n.fundCompanyName+" "+n.fundName,n.fundCode,"Treasury Promo Page"),windowSize:l,href:n.url,target:"_blank",rel:"noopener noreferrer",children:[s.asOf," ",n.asOfDate.format("MMM D, YYYY"),r.jsx(Nr,{})]})]},n.fundCode)})}),r.jsx(Tr,{windowSize:l,children:r.jsx(Dr,{children:me.map((n,a)=>r.jsxs(Ir,{children:[ge(a,$),r.jsx(Hr,{windowSize:l,children:n.title}),r.jsxs(_r,{windowSize:l,children:[n.description,r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1},children:a===0?"I":a===1?"III":a===2?"II":null})]})]},a))})}),r.jsx(Ke,{analytics:T,yieldPercentage:W}),r.jsxs(Er,{windowSize:l,children:[r.jsxs(Fr,{children:[r.jsx(C,{children:s.disclaimer1}),r.jsx(C,{children:s.disclaimer2}),r.jsxs(C,{children:[s.disclaimer3,r.jsx(y,{href:s.disclaimer3Link,target:"_blank",rel:"noopener noreferrer",children:s.disclaimer3Url})]}),r.jsx(C,{children:s.disclaimer4})]}),r.jsxs(C,{children:[s.agreementP1,r.jsx(y,{href:s.formCrsLink,target:"_blank",rel:"noopener noreferrer",children:s.formCrsText}),r.jsx(L,{}),r.jsx(y,{href:s.formAdvLink,target:"_blank",rel:"noopener noreferrer",children:s.formAdvText}),r.jsx(L,{}),r.jsx(y,{href:s.privacyPolicyLink,target:"_blank",rel:"noopener noreferrer",children:s.privacyPolicyText}),r.jsx(L,{}),r.jsx(y,{href:s.generalDisclosuresLink,target:"_blank",rel:"noopener noreferrer",children:s.generalDisclosuresText}),r.jsx(L,{}),r.jsx(y,{href:s.sipcInfoLink,target:"_blank",rel:"noopener noreferrer",children:s.sipcInfoText}),r.jsx(L,{}),r.jsx(y,{href:s.zeniPrivacyPolicyLink,target:"_blank",rel:"noopener noreferrer",children:s.zeniPrivacyPolicyText}),r.jsx(L,{}),r.jsx(y,{href:s.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:s.zeniTermsOfServiceText})]}),r.jsx(C,{children:r.jsx(y,{href:"#",onClick:n=>{T.trackTreasuryAgreementView(),n.preventDefault(),q(!0)},children:s.viewAgreement})})]}),he?r.jsxs(Ar,{windowSize:l,children:[r.jsx(K,{variant:"secondary",label:s.scheduleDemoButton,onClick:ce,"data-testid":J("treasury-schedule-demo-button")}),r.jsx(Or,{windowSize:l,children:"OR"}),r.jsx(K,{variant:"primary",label:x?s.enableButton:s.setupButton,loading:G==="In-Progress",onClick:()=>{T.trackTreasurySetupActionClick(x?"enable_now":"setup"),w()},"data-testid":J("treasury-get-started-button")})]}):null,r.jsx(He,{isOpen:de,onClose:()=>q(!1)})]})},dr=o.div`
|
|
152
152
|
display: flex;
|
|
153
153
|
flex: 1 1 auto;
|
|
154
154
|
min-height: 100%;
|
|
@@ -321,7 +321,7 @@ import{u as ae,e as O,Y as xe,x as we,a2 as $e,l as fe,B as F,j as r,aX as ye,o
|
|
|
321
321
|
letter-spacing: -0.01em;
|
|
322
322
|
max-width: 896px;
|
|
323
323
|
${e=>j.mainHeading.style(e.windowSize)};
|
|
324
|
-
`,Pr=o(
|
|
324
|
+
`,Pr=o(V)`
|
|
325
325
|
color: ${e=>e.theme.colors.primary};
|
|
326
326
|
letter-spacing: -0.01em;
|
|
327
327
|
${e=>j.subHeading.style(e.windowSize)};
|
|
@@ -398,10 +398,10 @@ import{u as ae,e as O,Y as xe,x as we,a2 as $e,l as fe,B as F,j as r,aX as ye,o
|
|
|
398
398
|
row-gap: ${i.sp2};
|
|
399
399
|
background-color: ${e=>e.theme.colors.grey5};
|
|
400
400
|
gap: ${i.sp5};
|
|
401
|
-
`,
|
|
401
|
+
`,Or=o(S)`
|
|
402
402
|
color: ${e=>e.theme.colors.hero};
|
|
403
403
|
margin: ${e=>e.windowSize==="small"?`${i.sp3} 0`:`0 ${i.sp3}`};
|
|
404
|
-
`,
|
|
404
|
+
`,Er=o.div`
|
|
405
405
|
display: flex;
|
|
406
406
|
flex-direction: column;
|
|
407
407
|
align-items: flex-start;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{x as Me,u as Ue,e as ae,a2 as se,a as re,ca as le,
|
|
1
|
+
import{x as Me,u as Ue,e as ae,a2 as se,a as re,ca as le,M as ce,a8 as te,j as t,cP as He,f as Re,C as u,aX as _e,m as Ne,F as de,dO as Je,aS as Ge,r as n,K as qe,bp as Ke,_ as Xe,cg as Ye,a4 as Ze,o as i,y as ue,c7 as Qe,a3 as et,J as tt,g as it}from"./index-DgtolMNd.js";import{b as a,n as o}from"./vendor-rkTZJa59.js";import{D as ot}from"./HelpButton-3gV_f3S3-lwdvDDRM.js";import{r as nt}from"./verification-CW6uEyev-BVrJsi0i.js";import{q as ie}from"./SetUpDefaultSection-BbQ_Qx2--B86sDbA4.js";import{f as at}from"./SpendMgmtSetupAccountSection-DkUfJ6ei-eGKMrIbZ.js";import st from"./PortfolioAllocationFormPage-8W6M--6J-DJsnJ4Vy.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-CCW2D5Ua-5MpvaUBJ.js";import"./ChargeCardUtils-CTnXnilO-BBCNz-CS.js";import"./CreditCardPaymentPlgSection-BfhV7QBL-BhBBV1aP.js";import"./ChaseOverlay-2qpcZYP8-CJCeLw1J.js";import"./PortfolioDetails-Cgsx9aCA-CD6Y9pXv.js";import"./treasuryColorHelper-BKdnWQWY-COtNKsBN.js";const rt=(e,f)=>`${e}.${f}`,E={labelWidth:new u(145,155),navBarContainerPaddingYaxis:new u(10,n[3]),containerPaddingLeft:new u(n[3],n[6],n[8]),containerPaddingRight:new u(n[3],n[6],n[8])},lt={stepTitle:new tt("h6Regular","h5Regular")},pe=ce.getLocalizedStrings(),{common:oe}=pe,h=pe.commonSetUp.businessVerification,q=h.sourceOfFundOptions,$="additionalVerificationFields",ct=({companyOfficer:e,companyDetails:f,updateStatus:c,isDetailsSubmitted:x,onClose:d,onAdditionalVerificationFieldsChanged:I,onSendForVerificationClick:B,onCloseOverlay:j})=>{const p=ae(),k=E.labelWidth.value(p),D=se(c.fetchState),C=re({mode:"all",reValidateMode:"onChange",defaultValues:a.useMemo(()=>({[$]:{sourceOfFunds:{selectedOption:f?.sourceOfFunds??"",allOptions:Object.keys(q)}}}),[f?.sourceOfFunds])}),W=m=>q[m]??m,M=C.handleSubmit(()=>{B(e?.officerType??"Officer_1")}),P=async(m,w)=>{I(w[$])};return a.useEffect(()=>{const m=C.watch((w,{name:O})=>{O!=null&&w!=null&&le(()=>P(O,w))});return()=>{m.unsubscribe()}}),D==="In-Progress"&&c.fetchState==="Completed"||x===!0?t.jsxs(gt,{children:[t.jsxs(xt,{children:[t.jsx(nt,{}),t.jsx(ht,{windowSize:p,children:h.submittedTitle}),t.jsx(ft,{children:h.submittedDescription})]}),t.jsx(qe,{label:h.submittedButton,onClick:j,variant:"primary"})]}):t.jsxs(dt,{windowSize:p,children:[t.jsx(ut,{windowSize:p,children:t.jsx(Ke,{title:"Back",enterTouchDelay:600,placement:"bottom",children:t.jsx(pt,{"data-testid":Xe("nav-bar-back-portfolio-allocation"),onClick:j||d})})}),t.jsxs(wt,{windowSize:p,children:[t.jsx(yt,{windowSize:p,children:h.verifyBusinessDetails}),t.jsx(bt,{children:t.jsxs(kt,{children:[t.jsx(Ct,{}),t.jsx(vt,{})]})})]}),t.jsx(he,{children:h.verifyBusinessDetailsDescription}),t.jsx(de,{...C,children:t.jsxs("form",{id:$,onSubmit:M,children:[t.jsx(mt,{children:t.jsx(Ye,{label:{label:h.sourceOfFundsLabel,width:k},style:{width:"auto"},additionalInfoLabel:h.sourceOfFundsAdditionalInfo,singleSelectField:{singleSelect:{name:rt($,"sourceOfFunds"),placeholder:h.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:W,showTickMark:!1,sortOptions:!1},defaultValue:{selectedOption:f?.sourceOfFunds??"",allOptions:Object.keys(q)},registerOptions:{required:!0,validate:m=>!!m?.selectedOption}},isFunctional:!0,errorInfoLabel:h.sourceOfFundsError.replace("_product_type_","business verification")})}),t.jsx(Ze,{formId:$,primaryBtn:{label:oe.footer.submit,style:{width:"auto",minWidth:p==="small"?"auto":"83px"},isLoading:c.fetchState==="In-Progress"},cancelBtn:{label:oe.footer.back,style:{width:p==="small"?"auto":"83px"},onClick:d},style:{position:"absolute",width:"100%",paddingTop:i.sp2,paddingBottom:i.sp2}})]})})]})},dt=o.div`
|
|
2
2
|
height: auto;
|
|
3
3
|
padding-left: ${e=>`${E.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
4
4
|
padding-right: ${e=>`${E.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
@@ -108,7 +108,7 @@ import{x as Me,u as Ue,e as ae,a2 as se,a as re,ca as le,B as ce,a8 as te,j as t
|
|
|
108
108
|
transform: translateX(0%);
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
|
-
`,St=e=>a.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{d:"M5.62069 7.42676H2.09973",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M21.8994 7.42676H10.1617",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M13.8383 16.6963H2.09973",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M21.8994 16.6963H18.3793",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M5.62061 7.2989C5.62061 7.59707 5.67934 7.89233 5.79344 8.16781C5.90755 8.44329 6.0748 8.6936 6.28564 8.90444C6.49649 9.11528 6.74679 9.28253 7.02227 9.39664C7.29775 9.51075 7.59301 9.56948 7.89118 9.56948C8.18936 9.56948 8.48462 9.51075 8.7601 9.39664C9.03558 9.28253 9.28588 9.11528 9.49672 8.90444C9.70757 8.6936 9.87482 8.44329 9.98892 8.16781C10.103 7.89233 10.1618 7.59707 10.1618 7.2989C10.1618 6.6967 9.92254 6.11917 9.49672 5.69336C9.07091 5.26754 8.49338 5.02832 7.89118 5.02832C7.28899 5.02832 6.71146 5.26754 6.28564 5.69336C5.85983 6.11917 5.62061 6.6967 5.62061 7.2989Z",stroke:"currentColor",strokeWidth:1.5}),a.createElement("path",{d:"M13.8383 16.6983C13.8383 17.3005 14.0775 17.878 14.5033 18.3039C14.9291 18.7297 15.5066 18.9689 16.1088 18.9689C16.711 18.9689 17.2886 18.7297 17.7144 18.3039C18.1402 17.878 18.3794 17.3005 18.3794 16.6983C18.3794 16.0961 18.1402 15.5186 17.7144 15.0928C17.2886 14.667 16.711 14.4277 16.1088 14.4277C15.5066 14.4277 14.9291 14.667 14.5033 15.0928C14.0775 15.5186 13.8383 16.0961 13.8383 16.6983Z",stroke:"currentColor",strokeWidth:1.5})),l={titleWidth:new u(343,580,726,826),setupDetailsRowGap:new u(12,n[5],n[5]),sectionRowGap:new u(n[5],n[9],n[9]),iconWidthHeight:new u(20,n[4]),subTitlePaddingTop:new u(12,n[3]),subTitlePaddingBottom:new u(n[3],n[3]),overlayWidth:new u(100,100,59)},$t="treasurySetUpPage",V="payAccount",{commonSetUp:jt,spendManagement:Pt}=ce.getLocalizedStrings(),{zeniAccounts:Ot,treasury:b}=Pt,{setUp:L}=jt,ti=({isDisabled:e,meetingUrl:f,treasurySetupView:c,currentTenant:x,businessVerificationDetails:d,connectedAccountProvider:I,accountsPromoConfig:B,isAccountsEnabled:j,showTreasurySetupOverlay:p,setShowTreasurySetupOverlay:k,onFetchLinkTokenClick:D,onEnableTreasuryClick:C,onUpdatePrimaryFundingAccount:W,onUpdateTreasuryClick:M,onBusinessVerificationSectionClick:P,onUpdatePaymentAccountStatus:m,onUpdatePaymentAccountLoginStatus:w,onEstablishConnectionClick:O,onEstablishConnectionSuccess:fe,onClickMenuIcon:me,onAdditionalVerificationFieldsChanged:ge,onSendForVerificationClick:xe,onUpdateFundAllocation:we,onConfirmFundAllocation:ye,onSignUpClick:be,onNavigateToDashboard:ke})=>{const v=Me().analytics,A=Ue(),s=ae(),[U,H]=a.useState("portfolio-allocation"),[K,Ce]=a.useState(!1),{fetchState:X,companyTreasuryInfo:F,isRefreshingViewInBackground:Y,updateStatus:ve,plaidConnectionDetails:Se,allBankAccounts:$e,selectedCompanyOfficer:je,primaryFundingAccount:y,allFundingAccounts:Z,currentAllocation:Pe,portfolioAllocationUpdateStatus:R,isAtomicAccountExists:Oe}=c,Q=se(R.fetchState),T=x.company?.companyBillPayInfo?.businessVerificationStatus,Ae=T?.code==="pending_review"||T?.code==="verified",{companyDetailsLocalData:Fe}=d,_=re({mode:"all",reValidateMode:"onChange",defaultValues:a.useMemo(()=>ne(c),[c]),values:ne(c)}),Te=_.handleSubmit(S=>{C()}),ze=async(S,z)=>{const r=z[V];if(S.includes(V)){if(S.includes("fundingAccount")){if(r.fundingAccount.selectedOption!=null&&y?.id!=r.fundingAccount.selectedOption){const g=Z.find(
|
|
111
|
+
`,St=e=>a.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{d:"M5.62069 7.42676H2.09973",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M21.8994 7.42676H10.1617",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M13.8383 16.6963H2.09973",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M21.8994 16.6963H18.3793",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M5.62061 7.2989C5.62061 7.59707 5.67934 7.89233 5.79344 8.16781C5.90755 8.44329 6.0748 8.6936 6.28564 8.90444C6.49649 9.11528 6.74679 9.28253 7.02227 9.39664C7.29775 9.51075 7.59301 9.56948 7.89118 9.56948C8.18936 9.56948 8.48462 9.51075 8.7601 9.39664C9.03558 9.28253 9.28588 9.11528 9.49672 8.90444C9.70757 8.6936 9.87482 8.44329 9.98892 8.16781C10.103 7.89233 10.1618 7.59707 10.1618 7.2989C10.1618 6.6967 9.92254 6.11917 9.49672 5.69336C9.07091 5.26754 8.49338 5.02832 7.89118 5.02832C7.28899 5.02832 6.71146 5.26754 6.28564 5.69336C5.85983 6.11917 5.62061 6.6967 5.62061 7.2989Z",stroke:"currentColor",strokeWidth:1.5}),a.createElement("path",{d:"M13.8383 16.6983C13.8383 17.3005 14.0775 17.878 14.5033 18.3039C14.9291 18.7297 15.5066 18.9689 16.1088 18.9689C16.711 18.9689 17.2886 18.7297 17.7144 18.3039C18.1402 17.878 18.3794 17.3005 18.3794 16.6983C18.3794 16.0961 18.1402 15.5186 17.7144 15.0928C17.2886 14.667 16.711 14.4277 16.1088 14.4277C15.5066 14.4277 14.9291 14.667 14.5033 15.0928C14.0775 15.5186 13.8383 16.0961 13.8383 16.6983Z",stroke:"currentColor",strokeWidth:1.5})),l={titleWidth:new u(343,580,726,826),setupDetailsRowGap:new u(12,n[5],n[5]),sectionRowGap:new u(n[5],n[9],n[9]),iconWidthHeight:new u(20,n[4]),subTitlePaddingTop:new u(12,n[3]),subTitlePaddingBottom:new u(n[3],n[3]),overlayWidth:new u(100,100,59)},$t="treasurySetUpPage",V="payAccount",{commonSetUp:jt,spendManagement:Pt}=ce.getLocalizedStrings(),{zeniAccounts:Ot,treasury:b}=Pt,{setUp:L}=jt,ti=({isDisabled:e,meetingUrl:f,treasurySetupView:c,currentTenant:x,businessVerificationDetails:d,connectedAccountProvider:I,accountsPromoConfig:B,isAccountsEnabled:j,showTreasurySetupOverlay:p,setShowTreasurySetupOverlay:k,onFetchLinkTokenClick:D,onEnableTreasuryClick:C,onUpdatePrimaryFundingAccount:W,onUpdateTreasuryClick:M,onBusinessVerificationSectionClick:P,onUpdatePaymentAccountStatus:m,onUpdatePaymentAccountLoginStatus:w,onEstablishConnectionClick:O,onEstablishConnectionSuccess:fe,onClickMenuIcon:me,onAdditionalVerificationFieldsChanged:ge,onSendForVerificationClick:xe,onUpdateFundAllocation:we,onConfirmFundAllocation:ye,onSignUpClick:be,onNavigateToDashboard:ke})=>{const v=Me().analytics,A=Ue(),s=ae(),[U,H]=a.useState("portfolio-allocation"),[K,Ce]=a.useState(!1),{fetchState:X,companyTreasuryInfo:F,isRefreshingViewInBackground:Y,updateStatus:ve,plaidConnectionDetails:Se,allBankAccounts:$e,selectedCompanyOfficer:je,primaryFundingAccount:y,allFundingAccounts:Z,currentAllocation:Pe,portfolioAllocationUpdateStatus:R,isAtomicAccountExists:Oe}=c,Q=se(R.fetchState),T=x.company?.companyBillPayInfo?.businessVerificationStatus,Ae=T?.code==="pending_review"||T?.code==="verified",{companyDetailsLocalData:Fe}=d,_=re({mode:"all",reValidateMode:"onChange",defaultValues:a.useMemo(()=>ne(c),[c]),values:ne(c)}),Te=_.handleSubmit(S=>{C()}),ze=async(S,z)=>{const r=z[V];if(S.includes(V)){if(S.includes("fundingAccount")){if(r.fundingAccount.selectedOption!=null&&y?.id!=r.fundingAccount.selectedOption){const g=Z.find(G=>G.id===r.fundingAccount.selectedOption);g!=null&&W(r.fundingAccount.selectedOption,g.accType)}}else if(r.account.selectedOption!=null&&y?.id!=null&&y?.zeniAccountId!=r.account.selectedOption){const g=r.account.allOptions.find(G=>G.value===r.account.selectedOption);g!=null&&typeof g.label=="string"&&v.trackConnectBankLink(g.value,g.label,"zeni_treasury"),M(r.account.selectedOption,y.id,y.accType)}}};a.useEffect(()=>{const S=_.watch((z,{name:r})=>{r!=null&&z!=null&&le(()=>ze(r,z))});return()=>{S.unsubscribe()}}),a.useEffect(()=>{Q==="In-Progress"&&R.fetchState==="Completed"&&U==="portfolio-allocation"&&k(!1)},[Q,R.fetchState]);const ee=F?.businessVerificationStatus?.code==="verified",Le=F?.businessVerificationStatus?.code==="pending_review",Ve=ee||Le,Ee=X==="In-Progress"||X==="Not-Started",Ie=b.setup.setupSubTitle,N=A.mode==="light"?new te(A.colors.brandColorJadeLight):new te(A.colors.brandColorJadeDark),Be=()=>{Ce(!0),k(!0),H("portfolio-allocation")},De=()=>{ye(),K||(v.trackTreasuryVerificationNavigation("next",T?.code??""),Ae?H("additional-verification"):P(!0))},J=()=>{k(!1)},We=()=>{v.trackTreasuryVerificationNavigation("back",T?.code??""),H("portfolio-allocation")};return t.jsxs(Ft,{children:[t.jsxs(He,{anchor:"right",open:p,onClose:J,PaperProps:{style:{width:l.overlayWidth.valuePercentage(s),boxShadow:"none"}},style:{backgroundColor:Re.drawerBackground},transitionDuration:250,children:[U==="portfolio-allocation"&&t.jsx(st,{onBackClick:J,onNextClick:De,treasurySetupView:c,onUpdateFundAllocation:we,isReadOnly:Oe&&Pe!=null,isEditMode:K,isOnSetup:!0}),U==="additional-verification"&&t.jsx(ct,{updateStatus:ve,companyOfficer:je,companyDetails:Fe,isDetailsSubmitted:Ve,onClose:We,onCloseOverlay:J,onAdditionalVerificationFieldsChanged:ge,onSendForVerificationClick:xe})]}),t.jsx(_e,{title:b.setup.setupTitle,backgroundColor:A.colors.grey4,style:{zIndex:3},onBackClick:ke,showMenuIcon:s==="medium-compact"||s==="small",onClickMenuIcon:me,source:"treasury"}),t.jsxs(At,{windowSize:s,children:[t.jsx(Tt,{windowSize:s,children:Ie}),Ee?t.jsx(zt,{children:t.jsx(Ne,{size:"ExtraLarge",start:!0})}):t.jsx(de,{..._,children:t.jsx("form",{id:Vt($t),onSubmit:Te,children:t.jsxs(Lt,{windowSize:s,children:[t.jsx(ie,{onClick:Be,title:b.setup.title,subTitle:b.setup.subTitle,header:b.setup.header,icon:{element:t.jsx(St,{width:l.iconWidthHeight.valuePx(s),height:l.iconWidthHeight.valuePx(s)}),color:N},isLoading:Y,isActiveWhileLoading:!0}),t.jsx(ie,{onClick:()=>P(!1),title:L.businessVerificationTitle,subTitle:L.businessVerificationSubTitle,header:L.businessVerificationHeader,icon:{element:t.jsx(Je,{width:l.iconWidthHeight.valuePx(s),height:l.iconWidthHeight.valuePx(s)}),color:N},status:F?.businessVerificationStatus,isLoading:Y,isActiveWhileLoading:!0,additionalInfo:F?.businessVerificationStatus?.code==="pending_review"?L.businessVerificationAdditionalInfo:void 0}),t.jsx(at,{connectedAccountProvider:I,plaidConnectionDetails:Se,allBankAccounts:$e,sectionId:V,isDisabled:e,header:Ot.accountSectionHeader,onFetchLinkTokenClick:D,onEstablishConnectionClick:O,onUpdatePaymentAccountStatus:m,onUpdatePaymentAccountLoginStatus:w,onEstablishConnectionSuccess:fe,icon:{element:t.jsx(Ge,{width:l.iconWidthHeight.valuePx(s),height:l.iconWidthHeight.valuePx(s)}),color:N},analytics:v,productType:"zeni_treasury",onSignUpClick:be,primaryFundingAccount:y,isAccountsEnabled:j,allFundingAccounts:Z,pageName:b.setup.setupPageName,accountsPromoConfig:B})]})})})]}),t.jsx(ot,{isFooterRendered:ee,meetingUrl:f,analytics:v,productType:"zeni_treasury"})]})};function ne(e){const{allBankAccounts:f,allFundingAccounts:c,primaryFundingAccount:x}=e;return{[V]:{fundingAccount:{selectedOption:x?.id,allOptions:c.map(d=>({label:d.label,value:d.id,isRecommended:d.accType==="depositAccount"}))},account:{selectedOption:x?.zeniAccountId,allOptions:f.map(d=>({label:d.accountName,value:d.accountId}))}}}}const At=o.div`
|
|
112
112
|
display: flex;
|
|
113
113
|
justify-content: flex-start;
|
|
114
114
|
height: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as j,e as v,j as t,aX as z,
|
|
1
|
+
import{u as j,e as v,j as t,aX as z,M as C,aj as M,o as r,f as c,b_ as P,C as I,r as d,y as R}from"./index-DgtolMNd.js";import{b as m,n as o}from"./vendor-rkTZJa59.js";import{$ as T}from"./BoxItem-BYcXwroy-BhSt87hz.js";import{o as B}from"./commonDimensions-BhQMg8M1--cVW0mQg.js";import{M as E}from"./StatementItem-GyeTS2vu-I_cwOwLC.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-CdQzDva3-CMvkrxkC.js";const h=C.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new I(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,statementListView:a,onBackClick:g})=>{const b=j(),i=v(),f=m.createRef(),y=m.useRef(),$=a.statements.length===0,k=()=>B.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.statements[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:T(s,a.statements.length)},l.id)}):t.jsx(L,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(H,{children:h.noStatements})})})})};return t.jsxs(A,{children:[t.jsx(z,{title:h.title,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(M,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},L=o.div``,p=o.div`
|
|
2
2
|
margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
|
|
3
3
|
&:hover {
|
|
4
4
|
position: relative;
|
|
@@ -17,7 +17,7 @@ import{u as j,e as v,j as t,aX as z,B as C,aj as P,o as r,g as c,b_ as B,C as I,
|
|
|
17
17
|
flex-direction: column;
|
|
18
18
|
width: 100%;
|
|
19
19
|
padding-bottom: ${r.sp7};
|
|
20
|
-
`,H=o(
|
|
20
|
+
`,H=o(R)`
|
|
21
21
|
display: flex;
|
|
22
22
|
color: ${e=>e.theme.colors.grey2};
|
|
23
23
|
`,K=o.div`
|
|
@@ -26,7 +26,7 @@ import{u as j,e as v,j as t,aX as z,B as C,aj as P,o as r,g as c,b_ as B,C as I,
|
|
|
26
26
|
width: 100%;
|
|
27
27
|
height: 100%;
|
|
28
28
|
margin-top: ${e=>e.windowSize==="small"?r.sp3:r.sp6};
|
|
29
|
-
`,V=o(
|
|
29
|
+
`,V=o(P)`
|
|
30
30
|
scrollbar-width: thin;
|
|
31
31
|
scrollbar-color: transparent transparent;
|
|
32
32
|
&::-webkit-scrollbar {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as S,e as v,j as t,aX as L,
|
|
1
|
+
import{u as S,e as v,j as t,aX as L,M as z,aj as C,o as r,f as c,b_ as M,C as P,r as d,y as T}from"./index-DgtolMNd.js";import{b as h,n as o}from"./vendor-rkTZJa59.js";import{$ as I}from"./BoxItem-BYcXwroy-BhSt87hz.js";import{o as R}from"./commonDimensions-BhQMg8M1--cVW0mQg.js";import{M as B}from"./StatementItem-GyeTS2vu-I_cwOwLC.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-CdQzDva3-CMvkrxkC.js";const p=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new P(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:u,taxLetterListView:a,onBackClick:g})=>{const b=S(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>R.transactionItemHeightResponsive.value(i),j=({index:s,style:n})=>{const l=a.taxLetters[s];return $===!1?t.jsx(m,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:u,documentType:"taxLetter",boxType:I(s,a.taxLetters.length)},l.id)}):t.jsx(E,{style:{...n},children:t.jsx(N,{children:t.jsx(m,{windowSize:i,children:t.jsx(H,{children:p.noTaxLetter})})})})};return t.jsxs(A,{children:[t.jsx(L,{title:p.title,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:j})})})]})},E=o.div``,m=o.div`
|
|
2
2
|
margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
|
|
3
3
|
&:hover {
|
|
4
4
|
position: relative;
|
|
@@ -17,7 +17,7 @@ import{u as S,e as v,j as t,aX as L,B as z,aj as C,o as r,g as c,b_ as P,C as T,
|
|
|
17
17
|
flex-direction: column;
|
|
18
18
|
width: 100%;
|
|
19
19
|
padding-bottom: ${r.sp7};
|
|
20
|
-
`,H=o(
|
|
20
|
+
`,H=o(T)`
|
|
21
21
|
display: flex;
|
|
22
22
|
color: ${e=>e.theme.colors.grey2};
|
|
23
23
|
`,K=o.div`
|
|
@@ -26,7 +26,7 @@ import{u as S,e as v,j as t,aX as L,B as z,aj as C,o as r,g as c,b_ as P,C as T,
|
|
|
26
26
|
width: 100%;
|
|
27
27
|
height: 100%;
|
|
28
28
|
margin-top: ${e=>e.windowSize==="small"?r.sp3:r.sp6};
|
|
29
|
-
`,V=o(
|
|
29
|
+
`,V=o(M)`
|
|
30
30
|
scrollbar-width: thin;
|
|
31
31
|
scrollbar-color: transparent transparent;
|
|
32
32
|
&::-webkit-scrollbar {
|