@zeniai/web-cockpit-ui 1.15.2-qa → 1.15.3-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-DQqbcrtQ-BceInK0m.js → ACHDetailsPage-BTeL5y4g-DmxfsRQJ.js} +1 -1
- package/dist/assets/{AIPerformancePage-C-s0Z84w-3PXgpvHb.js → AIPerformancePage-DbUM6qs6-D5l8F8OE.js} +103 -103
- package/dist/assets/AccountInfoPage-C-UvpjYp-BfDokQ_n.js +18 -0
- package/dist/assets/{AccountInfoPageContent-DRhE__FT-KzUKcM2H.js → AccountInfoPageContent-BwD3P36S-cR_aO4lg.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-Ck5k4sN0-DSyEwad6.js → AccountLockedInfoModal-CLssvxib-S2XQajFi.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-CinniH8P-DDcmxM-h.js → AccountReconDetailsDrawerPage-BB1W1GCn-JBvb4AkG.js} +1 -1
- package/dist/assets/{AccountRow-DqfBv7EN-Dy-rchmJ.js → AccountRow-Dqp3eLws-CZ01ryFZ.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-ClhDPo8Z-DDs6B-nd.js → AccountsPromoCardStack-NTUKe73a-CsNkhdvj.js} +3 -3
- package/dist/assets/{AddAddressForCardDrawer-Bp7X9u3M-B5hO5FfW.js → AddAddressForCardDrawer-BRWhfaUV-Ba-99nxY.js} +1 -1
- package/dist/assets/{AddToWalletPage-BUltXgk9-BZGXT5N6.js → AddToWalletPage-eU9RlrX2-FgU8i9Mj.js} +1 -1
- package/dist/assets/{AgingReportsPage-C1CpbCow-Cg_hYp17.js → AgingReportsPage-Dbj75D7L-xth3ocr5.js} +3 -3
- package/dist/assets/{AllUserItems-CpiUni9v-NwadE0GF.js → AllUserItems-C8o0ftGM-CFaZIEbK.js} +3 -3
- package/dist/assets/{ApAgingDetailPage-ByNn2ALz-CIz7029-.js → ApAgingDetailPage-oU_NMgYv-CGquB6FE.js} +4 -4
- package/dist/assets/{AppBasePage-DmW3KQcg-DVbb4W3-.js → AppBasePage-Bb2EfHmS-CLmciAgt.js} +1 -1
- package/dist/assets/{AppDrawerContent-B1y_D31O-BDrQCVrR.js → AppDrawerContent-UxABc1Xq-D4RK1ZMx.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-GxAZWP7M-CutyUVLp.js → ApprovalRulesSettingsPage-ITDu42uI-DNwfvvz-.js} +1 -1
- package/dist/assets/{ArAgingChart-BNoQoaPh-gzDY1cQt.js → ArAgingChart-BxAOsEvx-CZANIJr6.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-CMcAarbW-zwt2Nhzu.js → ArAgingDetailPage-DhHW1GHw-D9pgqngA.js} +5 -5
- package/dist/assets/{AttachmentView-BixDE2EA-Bs70yGve.js → AttachmentView-BnFvMAGW--ld7Hx8c.js} +1 -1
- package/dist/assets/{BankAccountSection-D85EMzvD-HrqyY0It.js → BankAccountSection-C0ZBcrDN-Bfiopxim.js} +1 -1
- package/dist/assets/{BankAccountWarningSection--CI3tctJ-CYG5cSNG.js → BankAccountWarningSection-BAMjtbnn-BO47Vh4w.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-BAPo9xu--CxHqT21k.js → BankConnectionsSettingsPage-Ckpo_VYA-DevmalQL.js} +1 -1
- package/dist/assets/{BillDetailPage-DdJoziKf-CvFdSJ6W.js → BillDetailPage-D3lgSK4F-CqZ5opRC.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-CdoDPSYo-BaHBDQjq.js → BillPayApprovalRuleDetailPage--UxMsaII-9Mon0_XY.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-Cfo4L2hk-CU6thHOO.js → BillPayApprovalRulesPage-BgokSweY-Baf5ik-5.js} +1 -1
- package/dist/assets/{BillPayPromoPage-cK5O7lqH-C_cF1dKs.js → BillPayPromoPage-Cmfp8aZE-BV2y4Y7C.js} +10 -10
- package/dist/assets/{BillPaySetUpPage-BuF8vy9q-CBwr4MR4.js → BillPaySetUpPage-BmtV-Zr2-665ldgAn.js} +3 -3
- package/dist/assets/{BillingSettingsPage-B_l_z9VO-BYxqO3au.js → BillingSettingsPage-BRJELj5Y-DfZDJ2vZ.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-CoKwrfed-rLcvfNw4.js → BillsBulkReviewDrawerPage-D0HYL5UR-CgxN2BYX.js} +1 -1
- package/dist/assets/{BoxItem-CWj-NRo_-DWNFZax7.js → BoxItem-BO8CYlnI-cifRan7C.js} +3 -3
- package/dist/assets/{BusinessVerificationPage-Jl0yhiLd-CEZvo1tc.js → BusinessVerificationPage-DNOBs_OD-DQqvz7MY.js} +1 -1
- package/dist/assets/{CardNumberSubText-CYyCmwah-AWPRnfjW.js → CardNumberSubText-BgxVtjBP-C0H_h-nK.js} +1 -1
- package/dist/assets/{CashbackDetailPage-VVXYftFo-CjpUhsDp.js → CashbackDetailPage-uVqHfc3a-BNj1YqmX.js} +8 -8
- package/dist/assets/{ChargeCardDetailPage-C-KKQCQP-cOJPZp6D.js → ChargeCardDetailPage-urxX5Ksv-CZSy2_VU.js} +1 -1
- package/dist/assets/{ChargeCardListPage--SIQ7a3u-CLwGCZ9R.js → ChargeCardListPage-uyLpvqZN-4MDug-O6.js} +1 -1
- package/dist/assets/{ChargeCardListTable-ddk5IppO-C1I7XqSv.js → ChargeCardListTable-CWBqYx4D-DrYCM4wp.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-mA_IVVFy-CnJTJ2bL.js → ChargeCardPaymentHistoryPage-CrJRk1Yl-BocNQqlU.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-BCb2xl-m-URSvyXBK.js → ChargeCardPromoPage-8p2rEuSL-n08-aUHH.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-DAVM2czH-BJ4_Ml64.js → ChargeCardSetupPage-Dk3kFOe8-wkX2oTY9.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-Cgl7DfV2-DAWVYpyn.js → ChargeCardStatementsPage-BgVV9glv-DMljO5w-.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-DIDXNWS--B7Dt5KOJ.js → CheckDepositDrawerPage-D-yLGTdP-EWK8cQRH.js} +1 -1
- package/dist/assets/{CollapsableReportTable-BnxJMwQF-DuWr3Db3.js → CollapsableReportTable-9GyG9N_I-1n67583b.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-CtFvma7e-B1IgOxq6.js → CompanyOfficerDetailsSection-CTO9aR2f-zjfI2eeq.js} +1 -1
- package/dist/assets/{CompanyPassportCard-If9-KFRF-DutvC1bz.js → CompanyPassportCard-DRMGgEym-D6sxAXgE.js} +3 -3
- package/dist/assets/{CompanyPassportPage-ByLL4IdN-BQY5NUJ_.js → CompanyPassportPage-CgEtnvFs-DChKfhd7.js} +1 -1
- package/dist/assets/{CompleteProfile-D39MG_aE-DHyfpB3v.js → CompleteProfile-B8B0WHlc-DH-VSsuX.js} +1 -1
- package/dist/assets/{ConfettiBurst-CqS9iRS--Dg4P_jDv.js → ConfettiBurst-Cf9tVPaI-BM2huSXV.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-C0lTJ9RB-Co0oKcS6.js → CreateOrEditVendorPage-BRoA1J_e-CzBBu5Bw.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-BMlE0JgE-B2DMztpW.js → CreditCardPaymentDrawerPage-DfLgUaL5-DfR_IJlY.js} +1 -1
- package/dist/assets/{CurrencySelectField-Cqh1PAAW-BcH4fr8j.js → CurrencySelectField-P0hAgQCu-CY3e6U6t.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-CExJcqXe-CDeJe6J6.js → CustomerOnboardingActivationPage-B8Q88AWZ-CPF7lzvF.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-YGCksJfr-DfNXfn85.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-zHDAnR9J-t8JNIGKJ.js → CustomerOnboardingDetailPageSkeleton-CHfRyWDx-D-MRkSd0.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CgblGoOL-BngCKi-7.js → CustomerOnboardingNoStepsPage-AHaRcpU7-BdpSp0P9.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-DSGfwtw5-DxfHFQnL.js → CustomerOnboardingPage-M-yohbX--BjV2j59I.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-C2YlsXt9-6v4g3AhK.js → CustomerOnboardingProductSuitePage-DqQ7Lcwq-Bc6ND6Bx.js} +1 -1
- package/dist/assets/{Dashboard-C52yIGy8-BoN0k4X3.js → Dashboard-BG4b-9G4-sAqrpBJG.js} +1 -1
- package/dist/assets/{DashboardReportPage-iZVhpQQc-CcPBUN-H.js → DashboardReportPage-BzRypSME-jjHWrXwM.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-mksYvmzi-DmPII4gR.js → DashboardSidebarBackgroundAnimation-iToqk56B-BtLraFPT.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-Ct9UKq01-KfqUVHGW.js → DepositAccTransactionItem-LqdXkh9A-hSRnCvZB.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-Q-rYYEAZ-B7qpq664.js → DepositAccTransactionListPage-CdvLbfLi-Cn9opxkq.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-D8MlbitH-CpgkLhUH.js → DomesticWireDetailsPage-B42h6sda-DX1LXutY.js} +1 -1
- package/dist/assets/{DownloadOverlay-DooSRB2s-BDZizc5u.js → DownloadOverlay-BaDe2oAY-D9mRkHN7.js} +1 -1
- package/dist/assets/{DrawerPage-COB3hDS_-DWpCMisF.js → DrawerPage-CstJJdfo-VidMxfx9.js} +1 -1
- package/dist/assets/{EditPeoplePage-BLRAgjPa-CSn-X59E.js → EditPeoplePage-DnOwrdDz-BaklMVpc.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-D1d8qzXB-BJ3qOrfM.js → EditReimbursementDetailPage-CibEtPqY-CoDSnx1m.js} +1 -1
- package/dist/assets/{EntityDetailPage-BDqbedFw-CrqQKhvQ.js → EntityDetailPage-DkdoV8Td-C0bI9nzr.js} +2 -2
- package/dist/assets/{EntitySummarySection-DOkXIw-J-YrYQvUzF.js → EntitySummarySection-mA5rFNgr-DuPTnXno.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-BSXCkfKT-BHy1rnp1.js → ExpenseAutomationOverviewPage-Cdb_ye_U-j_owJ_aN.js} +9 -9
- package/dist/assets/{ExpenseAutomationPage-Di3n8DMk-knhM7N0J.js → ExpenseAutomationPage-C8BdII8_-DimJYcUA.js} +1 -1
- package/dist/assets/{ExpressPayPage-B-SwvM4I-KnNmfiFe.js → ExpressPayPage-D-q6m2Sl-DvfkMqPz.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-Dz42ojYl-BUBblQiA.js → FeaturePreviewPage-Brmih5xQ-TclSPSN_.js} +1 -1
- package/dist/assets/{FollowStepsSection-BS4M36H4-DweBAQN-.js → FollowStepsSection-C0R9691z-CJI6UuPB.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-C1Tn5Cwx-8jGYa8fw.js → GlobalReviewListPage-wZ4Kv7Km-DjGHeOHK.js} +1 -1
- package/dist/assets/{InformationCardStack-DTWUPxhs-B_TIXy6r.js → InformationCardStack-C_Vo9lw4-BJdE4aZQ.js} +2 -2
- package/dist/assets/{InsightsCardStack-CklTB6N7-DOiVRzSP.js → InsightsCardStack-B18tApRg-CDcqQ9iZ.js} +2 -2
- package/dist/assets/{InsightsSection-g58q0fm4-DkCevAxb.js → InsightsSection-BT1h9fEy-BRfU7zNX.js} +5 -5
- package/dist/assets/{IntegrationsSettingsPage-Bs3ZvOVJ-DtVZEZX0.js → IntegrationsSettingsPage-BXihQUgf-Ca4kyKn3.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-CC0aZ_Ht-CNmkWnPm.js → InternationalWireSwiftDetailsPage-s2KDdELd-DCL_N0b1.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-Bb8q9_XZ-BOjXzHYU.js → InternationalWireVerificationPage-seQdCIHj-B9N63yTL.js} +3 -3
- package/dist/assets/{InviteFormPage-Bh9zpIMu-BqkN5H0w.js → InviteFormPage-DORYlkDF-C-UyiOzw.js} +1 -1
- package/dist/assets/{InvitePageListView-Da5n8FWG-CJ4sxDqQ.js → InvitePageListView-__0_bfoj-C56A_BTa.js} +1 -1
- package/dist/assets/{InvitePeoplePage-B1jmVXj9-0w2ut6PV.js → InvitePeoplePage-BPU0cUoJ-C_9RmlUy.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-DN31nPpE-B08ouk04.js → InvoiceUploadSection-Cf_VG6ou-BXiqeaLr.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-Ev17uGYx-RDlP5XK0.js → IssueChargeCardPage-Ak_ZYHLC-Brr4uJLW.js} +1 -1
- package/dist/assets/{LabeledAddressValue-CZvcCn7x-C2YPhtG-.js → LabeledAddressValue-Dv_iNmJ1-CSsnKiIv.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-CJel6ymq-DlRjiJDP.js → LabeledAddressValueField-BOu3phtO-DUC2jENU.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-COHS18nA-M0z1SR3X.js → LabeledControlledCheckBoxField-CPIKQ-CK-jxS0CHZ_.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-CcJheGwX-bTK1z2AQ.js → LabeledCountryMultiSelectField-BfXHGTpW-vM7yZBRT.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-C9p8xRkh-BRLu155H.js → LabeledCreatableSingleSelectField-xk2HC5O8-CvpcCD48.js} +1 -1
- package/dist/assets/{LabeledDocumentField-DC4TbHE8-xwpXHrHZ.js → LabeledDocumentField-D8RhxYIe-DAnLkE2V.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-BcSAJy2I-AsHrrwxJ.js → LabeledDropDownFormattedTextField-ClNFgUx5-Bx0rybn1.js} +1 -1
- package/dist/assets/{LabeledMultiSelectField-D-N343dq-D2DEvEkZ.js → LabeledMultiSelectField-BpLilatj-DTbTUWW6.js} +1 -1
- package/dist/assets/{LabeledText-DHLOUxK_-DY_o66vu.js → LabeledText-Xnlcoee7-DQVISFOu.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BOM4OGJn-CiMxsaSL.js → LabeledUserSingleSelectWithSubtitlesField-DSu4gVyZ-CJXT3-Sj.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-CqZGfBlk-B3HrSnOW.js → LabeledZeniRolesDropDownField-Dm6FC_X5-CKRgwBOq.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-BLleyJg_-DVPTngtQ.js → LinkJETransactionPage-D0tsT5TK-D-eEZv6m.js} +2 -2
- package/dist/assets/{LockCardPage-dHmjahEB-VEMnxu8q.js → LockCardPage-DYNFfr7G-CPZbfc9t.js} +1 -1
- package/dist/assets/{LowBalancePopup-D5xx56fY-D7_-0vO3.js → LowBalancePopup-BHUFtl2y-rf0GZ141.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-D1Yrf6I3-xn828nNY.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-DF4qlmsy-DJfJXSHY.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-BNeI6INt-yjK2JJED.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-De4m7E-W-UsaJzLSb.js → MagicLinkSuccessPage-B-8mtcQ5-C3o9YJHE.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-Bka3Yd1_-BwBsOEsK.js → MagicLinkTitleSection-DHU7VtF2-Bedubn59.js} +1 -1
- package/dist/assets/{MailingDetailsSection-BbWfR6ob-DYz93UuA.js → MailingDetailsSection-B-bODwAg-DzrWy-jk.js} +1 -1
- package/dist/assets/{Menu-CCfXjS2S-1RArYqQn.js → Menu-BumlrBWb-DpVhZSGr.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-NwFd4S7O-CyIFu_2U.js → MyBankConnectionsSettingsPage-BP8ahgjX-5saVRqtp.js} +5 -5
- package/dist/assets/{MyPendingActivationChargeCardListPage-B2fGNuM2-BQyHvho7.js → MyPendingActivationChargeCardListPage-DL6ZI6yW-BoGJ1TyM.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-C2xgzfZf-CYCKbQPa.js → MyProfileSettingsPage-D0t4K8ns-Bm-ItkSW.js} +2 -2
- package/dist/assets/{NavBarWithPicker-DUqVkR_y-Cc67420v.js → NavBarWithPicker-BtWbUncS-DB3n1R3v.js} +1 -1
- package/dist/assets/{NavigationArrow-Ctt_H8KP-D_sllx4X.js → NavigationArrow-CxgIRSy6-CugP8MA7.js} +1 -1
- package/dist/assets/{NavigationDots-Dgudddqx-DxbccKlU.js → NavigationDots-B3pcllxp-BTtZpldx.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-D1hNFzTS-RGh9Dcqm.js → NewGlobalMerchantPage-cvM5npvx-Cu4rYaF2.js} +1 -1
- package/dist/assets/{NoDataChart-DbLSGWgH-Bw8cZ2QP.js → NoDataChart-CkbRqqmB-BdaQaq20.js} +1 -1
- package/dist/assets/{NoDataTable-BYLV7sLq-CvfV7kU_.js → NoDataTable-D5uU7rww-DMI3TCce.js} +1 -1
- package/dist/assets/{NotFoundPage-CIeF09o9-CRmOMMtv.js → NotFoundPage-CQ43hKOe-Cdrz4d6W.js} +8 -8
- package/dist/assets/{NotificationSettingsPage-CEhFnaxj-QWM7FHVc.js → NotificationSettingsPage-B1Lup2VT-Mysd9rJj.js} +3 -3
- package/dist/assets/{NotificationsListConfig-PHESCv2f-DqY6h_GC.js → NotificationsListConfig-DbMLqAOq-BbLTIknO.js} +1 -1
- package/dist/assets/{NotificationsPage-hIohQ7En-L39MceW6.js → NotificationsPage-AB3KsQi7-CsoOAVaW.js} +18 -18
- package/dist/assets/{OpExByVendorPage-C1RcJ4Q3-Bghb472L.js → OpExByVendorPage-SzuZwalp-E6WJ2wnK.js} +1 -1
- package/dist/assets/{OverlayContainerPage-Daz3A7cI-Ce9XQici.js → OverlayContainerPage-Daz3A7cI-Dgh3TUuK.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-B-uQyVwQ-CTbNhl2d.js → PandLWithForecastPage-SYjTIobN-BFTSUg2z.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CGqYs83b-DI0L9dEH.js → PaymentAccountSetupBillingAddressSection-Bsx0mGaZ-E4w6U3C0.js} +7 -7
- package/dist/assets/{PeoplePage-Db0MhBko-Dd3wesnw.js → PeoplePage-B5JrcDNI-oFYxDkBG.js} +1 -1
- package/dist/assets/{Preview-CQZQI_1I.js → Preview-DA-xbr8A.js} +1 -1
- package/dist/assets/{ProductsCarousel-CYwIm8nQ-erJGn1S8.js → ProductsCarousel-CVoL_xl4-DEZsKrdB.js} +1 -1
- package/dist/assets/{PromoBaseCards-B2ZC8OUT-BMetCd_O.js → PromoBaseCards-C8qSUCzq-dm6HKZ5W.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-B0E1xE9I-NKr6dtgs.js → QBOConnectionDialog-QFZbkFOA-CuMPgrHC.js} +1 -1
- package/dist/assets/{QBOSetupSection-IGV1sm9x-CB8rJ0Z4.js → QBOSetupSection-B2qiAlYU-CibzVKaP.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CwJkaZqa-Du5sbBTU.js → ReimbursementApprovalRuleDetailPage-iqzN8yeY-ChbC4qky.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-C0D2DYVf-wbs0wTEc.js → ReimbursementApprovalRulesPage-BWFxJ80S-PIGBQETH.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-DV7eDd9t-COok9-b0.js → ReimbursementDetailPage-Cb9BOq4R-Dl--S5zY.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-DNM2mNbV-_u46y6aB.js → ReimbursementPromoPage-D-NSe4nk-Ceb4vSNq.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-CVuQyfku-DBGYB_tY.js → ReimbursementSetUpPage-zUHUxId8-C_2E6m1y.js} +5 -5
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DAvUmNKc-_Z3zOXFg.js → ReimbursementsBulkReviewDrawerPage-CMupP_NB-lhVpZhwT.js} +1 -1
- package/dist/assets/{ReloadCard-BsOjPgsc-CAD15QTk.js → ReloadCard-Dh0SYKvO-BfN50eLc.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-BJNFsOJq-zdpZcqAu.js → ReportTableViewSelector-0H1aO3_G-By7dUXRW.js} +1 -1
- package/dist/assets/{ReportsPage-GYEaSw4z-q5Lw0nqX.js → ReportsPage-DsFJrJ9D-DvSCX2Ph.js} +5 -5
- package/dist/assets/{RevenueChart-DXgZ34NU-C5hSCgUX.js → RevenueChart-BlQnByKx-DXS5eLR_.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-VBCKACNQ-BQx4ucDU.js → ReviewDetailsPage-CV-J7_FZ-DEsUSLNK.js} +2 -2
- package/dist/assets/{ReviewOverlay-D1dHNrqu-UIWqxa8-.js → ReviewOverlay-CwyShttD-COz1RonR.js} +1 -1
- package/dist/assets/{RoleWithToolTip-BE5aZQ2g-C_SHBvMI.js → RoleWithToolTip-CeOpT_6v-DAXLsTDF.js} +5 -5
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-p2jwjhfb-CW6tR3_X.js → ScheduleDetailsFixedAssetsPage-G0FPNF5V-CzalI8zM.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-CuGgAAlk-BMliGwf3.js → ScheduleDetailsPage-D3WXeMzk-putFQ_Xj.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-DS5xyWPM-Ls-W6Ufy.js → ScheduleSequenceTable-DdrN0kHc-HFF16mEy.js} +1 -1
- package/dist/assets/{ScreenRoutes-f-Hn3Wxc.js → ScreenRoutes-B3_PwFlc.js} +1 -1
- package/dist/assets/{SetUpAccountSection-CgV-DpbH-BbCmRjRD.js → SetUpAccountSection-DjGIyGqz-2NoSMGYE.js} +1 -1
- package/dist/assets/SignIn-KN2wUeWN-DjuNGmXD.js +448 -0
- package/dist/assets/{SignInScreen-2cLKaxK-.js → SignInScreen-DPHbD9R0.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-7hmUDsTR-Cye_UrIe.js → SpendManagementListViewPage-DA0yJkNS-i-QGqalr.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-r4Ivr4ml-0-sos-q8.js → SpendManagementPerTabPage-CIiwcTHn-k-WByauQ.js} +1 -1
- package/dist/assets/{SpendManagementSection-4bPNXnAu-k196nQxr.js → SpendManagementSection-BLZOU6Ll--jqjSwJn.js} +7 -7
- package/dist/assets/{StatementItem-D7MXVGEy-DK46zkKz.js → StatementItem-DfbvINGt-gujVkFyU.js} +5 -5
- package/dist/assets/{StatementsPage-mK9b-oez-fjepCGbt.js → StatementsPage-DCjD7tSA-C1eD0_4q.js} +1 -1
- package/dist/assets/{StatusSwitcher-VeYkrDM7-B5jC4gB-.js → StatusSwitcher-CiOSpmnA-COfWLIsO.js} +1 -1
- package/dist/assets/{SubTabSwitcher-j2oEcPev-CiZv0NyB.js → SubTabSwitcher-CfxBS2oi-DCjTTD4N.js} +4 -4
- package/dist/assets/SummaryCard-YakCHMD--BAgjII8U.js +1 -0
- package/dist/assets/{TaskManagementPage-Cmx-Dg-h-B_0DxukR.js → TaskManagementPage-q5-Uh7TS-DB2W1_cZ.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-DIM1SPbu-DIbCUyUu.js → TimeRangeSwitcher-B7_2Hok--aUvRF5BX.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-DKqN8iPa-DJZMkq6C.js → TimeframeSwitcher-nC3rnif3-C0iP6Cu3.js} +5 -5
- package/dist/assets/TimeframeSwitcherWithToggle-DkOcWDwA-C8Z8JOD-.js +31 -0
- package/dist/assets/{TopExCard-Bng5AuNw-zDP3btfU.js → TopExCard-aqOoqjT0-BhL7e5nv.js} +10 -10
- package/dist/assets/{TopExDetailPage-C1UAPRay-wN-7vP_0.js → TopExDetailPage-DIzdQ0cx-BfhcN7Ik.js} +6 -6
- package/dist/assets/{TransactionDetailPage-Ds7V1qr_-DxEMNAe7.js → TransactionDetailPage-B_hEEP8t-BqDk_xjH.js} +1 -1
- package/dist/assets/{TransactionList-Dq2orY9N-CN4n8ohS.js → TransactionList-UYBDB4bd-k1_T5uTi.js} +1 -1
- package/dist/assets/{TransactionListBig-BrDxcbHJ-CJuNP3Fx.js → TransactionListBig-OdFVjIup-CPvP7HbH.js} +5 -5
- package/dist/assets/{TransactionListPage-D5v8TxYx-DLU7-CdH.js → TransactionListPage-BXYB5l79-SOItiSWS.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-DnZGwCbw-TYZXiI0W.js → TransactionVendorDetailPage-kDn1yhpe-C9RYtS0M.js} +1 -1
- package/dist/assets/{TransferDrawerPage-DUdjOy9R-jvkTeK_B.js → TransferDrawerPage-CtSQvv-q-CE0jnW7Y.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-XYkCDBio-Bsvf3EEW.js → TreasuryOverviewPage-Dwp-RAwa-C3dvsu51.js} +9 -9
- package/dist/assets/{TreasuryPromoPage-CWtp3S9L-BELzC4c3.js → TreasuryPromoPage-CqiGJJb1-BglMmMxR.js} +1 -1
- package/dist/assets/TreasuryStatementsPage-BvjfEhwz-D396YqJA.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-CNogHL4A-CtF5hw9T.js → TreasuryTaxLetterPage-C3B6iff1-D2ZzHU1R.js} +2 -2
- package/dist/assets/{TrendChart-DBRT1lZ3-CYf8sTuG.js → TrendChart-DwPnEwyO-DPu-_Br2.js} +1 -1
- package/dist/assets/{TrendWithTransactions-CcjPNeY8-DaDwen-_.js → TrendWithTransactions-B3oV0JPi-BgM9tzOd.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-BuMm5-pm-ChAZZ7vB.js → UncategorizedAccountsMappingPage-bGvTx0Pv-0iP9QJ85.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-Dxb00NtN-BiQRiRP2.js → UnitIntegrationPage-CGqGix7l-ZI3ie0F3.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-H6nIiMo6-Du7bYhVy.js → UploadAdditionalDocumentOverlay-DYbC57rE-BoJPSMM7.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-Opk2NgSs-DTpKiPjY.js → Vendor2FAPopup-CF5GvGtl-Ged496hn.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-CKmq7yOU-BUMI9M8T.js +1 -0
- package/dist/assets/{VendorDetailPage-YUk-g7t--DwMLTFm5.js → VendorDetailPage-LmgMG0tb-CmIxBGR9.js} +86 -86
- package/dist/assets/VendorDomesticWireDetailsPage-CBYW97OY-YsMZuav5.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Ctx-C6OL-BekJJH9s.js → VendorFiling1099EditablePage-DZYtpPRR-C1LB-Vko.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-Biy4xcIs-BM9CsBzB.js → VendorFirstReviewPage-DDj-Rw2b-Ce9lcxSE.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-B-ZKvwGN-3aI_K6MI.js → VendorInternationalWireDetailsPage-VBJ-6ETL-DZn4-Y6u.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-dc3xswld-nEGzd21C.js +1 -0
- package/dist/assets/{VendorsAccountsSection-DztKh7dz-DrpStfK7.js → VendorsAccountsSection-CAygTvfU-jdUssBVa.js} +3 -3
- package/dist/assets/{VerifyDevice-fvWfQQnC-m5p-PnVc.js → VerifyDevice-CxLFy5GU-DSfbtygH.js} +7 -7
- package/dist/assets/{VideoPlayer-CfLdj-r8-CiBmPhyY.js → VideoPlayer-DKj4Ii21-D-xRLeKX.js} +2 -2
- package/dist/assets/{VideoPopup-B-N0Wv9f-DG9icEt1.js → VideoPopup-CFvt5o_3-4FAYuh93.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-UpSDjRDQ-CleOUSKi.js → WarningsDrawerPage-BiBeB75Y-9pKl7aHf.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-Bd_RNPxh-Dm8jMX8j.js → ZeniAccountDetailPage-CTrz5iPv-Cs9Kmo8Y.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-CE5BfFah-BPTMh48A.js → ZeniAccountListViewPage-DUfa9C7y-C3uPLkwI.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-C0ydgImW-C7tKVTZ1.js → ZeniAccountNavBarPieces-knHeWdLO-hJFDQ77K.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-EX9sTaQM-BlLRwhaV.js → ZeniAccountPromoPage-BnGvEYqf-CP4Dtvvd.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-DX2DvcQa-cpw8iO9a.js → ZeniAccountSetupPage-JnPZalVG-Q5c0Jn7k.js} +1 -1
- package/dist/assets/{ZeniCopyright-8vmkzP8u-CDu3ZgP2.js → ZeniCopyright-B4Tk2oOq-ZFjf_F4z.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BgIOeOee-C3yOH1u5.js → ZeniTransferAmountSlider-bXoRbaVx-CfzHPGE8.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-B3991omJ.js → add-to-wallet-DgdBD8_G-CDAinlR9.js} +1 -1
- package/dist/assets/{analytics-D6qC7tjp.js → analytics-ko5civJt.js} +1 -1
- package/dist/assets/{analyticsHelper-BvynP4td.js → analyticsHelper-BaDAJS_h.js} +1 -1
- package/dist/assets/{analyticsHelper-DePSHzJ2-Dx861MUN.js → analyticsHelper-Bow8lzQJ-BWC8GDGb.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-SNkVhc-2.js → arrow-south-east-round-PEovUgvH-8jzV931-.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-WH86DElh.js → auto-transfer-rule-mbafm5D3-CWH5b5CM.js} +1 -1
- package/dist/assets/{chartTypes-9YOqgm9X-BzK6vElQ.js → chartTypes-C6j6oBoS-9mwDDGJP.js} +1 -1
- package/dist/assets/{commonDimensions-DMXq3s0u-WKzxF-EK.js → commonDimensions-Dw7YNTQN-P35Kp_kM.js} +1 -1
- package/dist/assets/{commonTypes-BquPusaw-BrTF3raT.js → commonTypes-Bq0C5-39-CLeN3lEf.js} +1 -1
- package/dist/assets/{constants-1SHTEF4R.js → constants-DMtNz7l9.js} +1 -1
- package/dist/assets/{core-B9aIJwLb.js → core-BkA0GZqz.js} +1 -1
- package/dist/assets/{dash.all.min-DIKHgncX.js → dash.all.min-BK4XJrTW.js} +1 -1
- package/dist/assets/{detailCommon-OHV8uIJY-BwOnWYKs.js → detailCommon-DaTlK7zO-DaqNQHzz.js} +5 -5
- package/dist/assets/{downloadPdf-AQqdv24M-1VsrzDkM.js → downloadPdf-CF50NGDy-B6sZII-t.js} +1 -1
- package/dist/assets/{empty-DHWxg4o1.js → empty-CId982SJ.js} +1 -1
- package/dist/assets/{empty-NNRR-wIi.js → empty-D2MN7f91.js} +1 -1
- package/dist/assets/{epic-DB8S32Bl.js → epic-CaoEyh-G.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-DFpuqq3v.js → gift-box-Cmt9OgIZ-PYBKomZ_.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-jx6QAItQ.js → graphic-no-data-l-DU4J8fDt-UswSWtT8.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CRZGkuoU.js → graphic-no-data-net-burn-l-CzmycA0m-CaXeE4do.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-BX-jxYMr.js → handshake-BPg58FML-07xDz1It.js} +1 -1
- package/dist/assets/{index-DDGNyocL.js → index-BBDWUZKM.js} +1 -1
- package/dist/assets/{index-DTSfqhsC.js → index-BMluH1lc.js} +1 -1
- package/dist/assets/{index-Bs0xnjOA.js → index-BN936vRr.js} +9 -9
- package/dist/assets/{index-CviixD1o.js → index-BqsvcEQ2.js} +1 -1
- package/dist/assets/{index-BUcDSyoy.js → index-DHmXVUBw.js} +1 -1
- package/dist/assets/{index-yP2KhS9a.js → index-D_oDAIsa.js} +1 -1
- package/dist/assets/{index-BSXDztvj.js → index-bGtXIeZp.js} +1 -1
- package/dist/assets/{lexical-DvRGq3TL.js → lexical-NKD2Ns4v.js} +1 -1
- package/dist/assets/{liveblocks-BSSpLsrd.js → liveblocks-CUzvdZes.js} +1 -1
- package/dist/assets/{lottie-4PkwM5xd.js → lottie-BXNphAUg.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-bnjefl-h-D4gU2j9b.js → mapLoadingInProgressToTreeNode-BogZGPG9-BAboISSk.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DlHnT2so-DdZsatyv.js → mapSectionWithAcOnlyToTreeNode-DioWEF-R-B1XLCEKS.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-pvGPhRLA-C7p9AjQP.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Z_evAkYB-Dfvxlfal.js → mapTimeframeBalancesToTreeNode-BNu8T9PW-DDSfuQEg.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CiB5iztB-CYCRkQV8.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CKpBoKTl-evx8tO9z.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DwGOxYFm-o3iB9CR0.js} +1 -1
- package/dist/assets/{mui-Dd0hZELu.js → mui-DQOtlcvt.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-BrmuJvXc.js → page-detail-CWX5S47F-TWXd7PAw.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-Dj5vV73i.js → radio-default-CiSgisfh-ZZNrqHqY.js} +1 -1
- package/dist/assets/{react-P5wxRPjR.js → react-B0_FOKjj.js} +1 -1
- package/dist/assets/{react-mpWMl_k0.js → react-CbZrw9iN.js} +1 -1
- package/dist/assets/{react-D9T6h5Mn.js → react-D6ScaBnu.js} +1 -1
- package/dist/assets/{react-COlYPDFL.js → react-DjFHDY9f.js} +1 -1
- package/dist/assets/{react-DvcW8zlG.js → react-GFMAp5sF.js} +1 -1
- package/dist/assets/{react-lOW8ywtd.js → react-cPDaL2yO.js} +2 -2
- package/dist/assets/{react-xGbEg71_.js → react-etsPKK59.js} +1 -1
- package/dist/assets/{react-D7NnWxPf.js → react-w6MNCIg-.js} +1 -1
- package/dist/assets/{recharts-kzcNfSsN.js → recharts-DEFzfhhe.js} +1 -1
- package/dist/assets/{sentry-CY8CLgEo.js → sentry-BCzFscbx.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-CyW4l8Tq.js → shield-DOlUxcFf-BS_yEuW2.js} +1 -1
- package/dist/assets/toCOABalancesWithID-BxzNBK9u-CqDKc9Mj.js +1 -0
- package/dist/assets/{toChartData-BtwV0Kpo-D7dX0bRl.js → toChartData-CnjrCi9i-CYxTVX3t.js} +1 -1
- package/dist/assets/{uploadAttachment-C69IP2HG-CEFspIdo.js → uploadAttachment-Ce0sdSDo-C1OEaf5S.js} +1 -1
- package/dist/assets/{uploadReceipts-CPw64UYa-C8OTl36L.js → uploadReceipts-CPw64UYa-BgLSr3Wu.js} +1 -1
- package/dist/assets/{url-CHMLLgW-.js → url-A8j0yL_0.js} +1 -1
- package/dist/assets/{url-CKN9i9ik.js → url-DyyJ-K5V.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-CnOVzu31.js → useLongPress-GCK2COYQ-DdGlrNjq.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-CVqmxogk.js → usp-line-BBd1wKwW-DeyJTd7u.js} +1 -1
- package/dist/assets/{utils-gIo9xQSa.js → utils-CGlY-GM2.js} +1 -1
- package/dist/assets/{zeni-epic-state-DmnvD14d.js → zeni-epic-state-DIO-8j7m.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/AccountInfoPage-EW5OCEW3-a_FH-oR2.js +0 -18
- package/dist/assets/CustomerOnboardingContainerPage-E5XX6tJL-BVe3BDKV.js +0 -1
- package/dist/assets/MagicLinkACHDetailsPage-DHIsrr2U-DweCRxG4.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-B1ehlPCP-ClGVlD_Y.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-C-Tv413E-D1BUR3cw.js +0 -1
- package/dist/assets/SignIn-BVICuIxS-Rh5XU6Dv.js +0 -491
- package/dist/assets/SummaryCard-Bn8n64F6-DC2XsS3R.js +0 -1
- package/dist/assets/TimeframeSwitcherWithToggle-DcrnzLoy-DjkQ1wBx.js +0 -31
- package/dist/assets/TreasuryStatementsPage-C1-iJ5X--CLhJX-fD.js +0 -58
- package/dist/assets/VendorACHDetailsPage-C-uyGtu7-C0AIIPbC.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-D0Vd0jjO-DkqZOlxx.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Bg26p8FH-s7OSdG_q.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-UVFWXY4N-Ch-D4yUd.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BQXXyttX-Ey-5DJJ0.js +0 -1
- package/dist/assets/toCOABalancesWithID-DcgESHck-CCPYLC78.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as
|
|
1
|
+
import{y as r,q as R,aw as W,aC as ie,aW as ne,V as t,b2 as ae,aN as w,c as n,b as re,p as B,o,R as j,M as Q,F as $,bp as se,bq as le,ah as de,aq as ce,aL as me,br as pe,ao as he,k as ue,H as G,bs as X,n as V,aR as ee}from"./index-BN936vRr.js";import{a as U,S as z}from"./sentry-BCzFscbx.js";import{n as i,c as ge}from"./mui-DQOtlcvt.js";import{EM as xe,bg as we,bC as N}from"./zeni-epic-state-DIO-8j7m.js";import{G as $e,c as be}from"./AccountsPromoCardStack-NTUKe73a-CsNkhdvj.js";import"./liveblocks-CUzvdZes.js";import"./core-BkA0GZqz.js";import"./recharts-DEFzfhhe.js";import"./lottie-BXNphAUg.js";import"./analytics-ko5civJt.js";import"./lexical-NKD2Ns4v.js";import"./utils-CGlY-GM2.js";import"./SummaryCard-YakCHMD--BAgjII8U.js";import"./ReloadCard-Dh0SYKvO-BfN50eLc.js";import"./NavigationArrow-CxgIRSy6-CugP8MA7.js";import"./NavigationDots-B3pcllxp-BTtZpldx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="aeeb5c2d-52e9-497a-8711-20e35aea1a0a",e._sentryDebugIdIdentifier="sentry-dbid-aeeb5c2d-52e9-497a-8711-20e35aea1a0a")}catch{}})();const ye={textContainer:new j("extraSmallRegular","smallRegular")},fe=i.div`
|
|
2
2
|
color: ${e=>e.theme.colors.hero};
|
|
3
3
|
cursor: default;
|
|
4
4
|
`,ve=i.div`
|
|
@@ -97,7 +97,7 @@ import{y as a,q as R,aw as W,aC as ie,aW as ne,V as t,b2 as re,aN as w,c as n,b
|
|
|
97
97
|
background: ${e=>e.theme.colors.background};
|
|
98
98
|
text-align: center;
|
|
99
99
|
border-radius: ${o.sp1};
|
|
100
|
-
`;function Ae({accountDetails:e,analytics:g,isZeniUser:c,onSetAccountsStatementDate:C}){const m=$.getLocalizedStrings().statementCloseDay.dropdown.option1,h=$.getLocalizedStrings().statementCloseDay.dropdown.option2,[P,f]=z.useState(!1),
|
|
100
|
+
`;function Ae({accountDetails:e,analytics:g,isZeniUser:c,onSetAccountsStatementDate:C}){const m=$.getLocalizedStrings().statementCloseDay.dropdown.option1,h=$.getLocalizedStrings().statementCloseDay.dropdown.option2,[P,f]=z.useState(!1),a=e.statementCloseDay,[y,b]=z.useState(a!=="LAST_DAY_OF_THE_MONTH"?m:h),[x,p]=z.useState(a!=="LAST_DAY_OF_THE_MONTH"?a:void 0),[_,A]=z.useState(!1),E=z.useRef(a),T=W();z.useEffect(()=>{E.current!==a&&A(!1)},[a]);const H=s=>{N(T.loggedInUserRole??[])&&(s.stopPropagation(),s.preventDefault(),f(!0),g.trackCardStatementCloseDate(G.Event.cardStatementCloseDateClicked,e.accountId,e.accountName,"Card Balance",""))},L=s=>{const d=["th","st","nd","rd"],Z=s%100;return s+(d[(Z-20)%10]||d[Z]||d[0])};let k="";a!==void 0&&(a==="LAST_DAY_OF_THE_MONTH"?k=$.getLocalizedStrings().statementCloseDay.ordinalText.lastDate:k=`${$.getLocalizedStrings().statementCloseDay.ordinalText.prefix} ${L(a)} ${$.getLocalizedStrings().statementCloseDay.ordinalText.suffix}`);const I=s=>{const d=s.target.value;d===h&&p(void 0),b(d)},u=(s,d)=>{s.stopPropagation(),p(d),b(m)},v=()=>{p(void 0),b(h)},F=()=>{const s=e.accountId,d=x??"LAST_DAY_OF_THE_MONTH";a!==d&&(A(!0),C?.(s,d)),f(!1),g.trackCardStatementCloseDate(G.Event.cardStatementCloseDateSaved,e.accountId,e.accountName,"Card Balance",x!==void 0?`${x}`:"End")},te=()=>t.jsxs(K,{children:[$.getLocalizedStrings().statementCloseDay.pickDate.prefix,t.jsx(Be,{children:x??" - "}),$.getLocalizedStrings().statementCloseDay.pickDate.suffix]}),oe=()=>t.jsxs(Ce,{role:"presentation","data-testid":w("statement-close-day-section"),onClick:s=>{s.stopPropagation()},children:[t.jsxs(q,{checked:y===m,children:[t.jsx("input",{type:"radio",name:"statementCloseDay",id:m,value:m,onChange:I,checked:y===m,style:{width:"100%"},"data-testid":w("statement-close-day-input")}),te(),t.jsx(ke,{children:Array.from({length:28},(s,d)=>d+1).map(s=>t.jsx(je,{isSelectedDate:s===x,"data-testid":w("statement-close-day-text"),onClick:d=>u(d,s),children:t.jsx(Pe,{children:s})},s))})]}),t.jsxs(q,{checked:y===h,children:[t.jsx("input",{type:"radio",name:"statementCloseDay",id:h,value:h,onChange:I,checked:y===h,style:{width:"100%"},"data-testid":w("statement-close-day-input-last-day")}),t.jsx(K,{onClick:()=>v(),children:$.getLocalizedStrings().statementCloseDay.lastDate.text})]}),t.jsxs(De,{children:[t.jsx(V,{size:"small",variant:"secondary",label:"Cancel",onClick:()=>{f(!1)},style:{marginRight:o.sp3},"data-testid":w("statement-close-day-button-secondary")}),t.jsx(V,{size:"small",variant:"primary",label:"Save",onClick:F,disabled:x==null&&y!==h,"data-testid":w("statement-close-day-button-primary")})]})]}),O=R();return t.jsx(he,{onClickAway:()=>f(!1),children:t.jsxs("div",{onClick:H,"data-testid":w("statement-close-day-modal"),children:[_?t.jsx(ue,{size:"Small",start:!0}):k?t.jsxs(fe,{"data-testid":w("edit-statement-close-day"),children:[t.jsx(Se,{}),t.jsx(Y,{className:"statementCloseDayText",windowSize:O,children:k})]}):N(T.loggedInUserRole??[])&&c===!0?t.jsxs(ve,{"data-testid":w("add-statement-close-day"),children:[t.jsx(ze,{}),t.jsx(Y,{className:"statementCloseDayText",windowSize:O,children:$.getLocalizedStrings().statementCloseDay.statement})]}):"",P?oe():""]})})}const Te=new r(n[9],98),S={contentContainerPadding:new r(n[3],n[4]),minItemHeight:new r(n[9],96),imageHeight:new r(n[5],n[7]),imageWidth:new r(n[5],n[7]),amountWrapperWidth:new r(100,230),titleLeftMargin:new r(n[2],n[3])},He={textContainer:new j("standardMedium","largeMedium")},Ie=i.div`
|
|
101
101
|
display: flex;
|
|
102
102
|
width: 100%;
|
|
103
103
|
`,Re=i.div`
|
|
@@ -157,7 +157,7 @@ import{y as a,q as R,aw as W,aC as ie,aW as ne,V as t,b2 as re,aN as w,c as n,b
|
|
|
157
157
|
align-items: flex-end;
|
|
158
158
|
flex-direction: column;
|
|
159
159
|
justify-content: center;
|
|
160
|
-
`,Ue=i(pe)``;function Ne({data:e,showStatementSection:g,analytics:c,isZeniUser:C,onItemClick:m,onSetAccountsStatementDate:h}){const{key:P,title:f,amount:
|
|
160
|
+
`,Ue=i(pe)``;function Ne({data:e,showStatementSection:g,analytics:c,isZeniUser:C,onItemClick:m,onSetAccountsStatementDate:h}){const{key:P,title:f,amount:a,logoUri:y}=e,b=W(),x=b.loggedInUserRole!=null&&!we(b.loggedInUserRole),p=R();return t.jsx(Ie,{windowSize:p,children:t.jsx(Re,{"data-testid":w("transaction-list-item-big",e.title),windowSize:p,showEditStatementIcon:N(b.loggedInUserRole??[])&&C===!0,isClickEnabled:x,onClick:()=>x===!0?m?.(P,e.source):null,children:t.jsxs(Me,{windowSize:p,children:[t.jsxs(_e,{windowSize:p,children:[t.jsx(Ee,{windowSize:p,src:y,loading:"lazy"}),t.jsx(Le,{windowSize:p,children:f})]}),t.jsxs(Fe,{windowSize:p,children:[t.jsx(Ue,{children:me("0,0",a)}),g&&p!=="small"&&t.jsx(Ae,{accountDetails:e.source,isZeniUser:C,onSetAccountsStatementDate:h,analytics:c})]})]})})})}const We=z.memo(Ne),D=$.getLocalizedStrings().zeniAccountsPromoCard,l={marginTop:new r(n[6],n[8]),marginBottom:new r(n[3],n[4]),itemPaddingBottom:new r(n[3],n[4]),maxWidth:new r(100,67),sectionTitleHeight:new r(83,110),promoBannerPadding:new r(n[3],n[4]),promoBannerMarginBottom:new r(n[3],n[4]),promoBannerGap:new r(n[1],n[3]),promoHighlightContainerMaxHeight:new r(30,re.h5Regular.lineHeightValue),promoButtonBorderRadius:new r(n[1],n[2]),promoButtonPaddingVertical:new r(2,6),promoButtonPaddingHorizontal:new r(n[1],n[3]),promoFooterPositionBottom:new r(n[3],n[1]),promoFooterPositionRight:new r(n[3],n[4]),promoFooterMarginTop:new r(0,n[2])},M={textContainer:new j("largeMedium","h6Medium"),promoText:new j("extraSmallRegular","standardRegular"),promoHighlightText:new j("extraLargeRegular","h5Regular"),promoButtonText:new j("extraSmallMedium","smallRegular")},J=8,Oe=i.div`
|
|
161
161
|
display: flex;
|
|
162
162
|
flex: 1 1 auto;
|
|
163
163
|
flex-direction: column;
|
|
@@ -274,11 +274,11 @@ import{y as a,q as R,aw as W,aC as ie,aW as ne,V as t,b2 as re,aN as w,c as n,b
|
|
|
274
274
|
`,nt=i(Q)`
|
|
275
275
|
${e=>`${M.promoButtonText.style(e.size)}`};
|
|
276
276
|
color: ${e=>e.theme.colors.zeniAccountsPromoButtonTextColor};
|
|
277
|
-
`,
|
|
277
|
+
`,at=i(se)`
|
|
278
278
|
color: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
|
|
279
279
|
margin-top: ${e=>l.promoFooterMarginTop.valuePx(e.size)};
|
|
280
280
|
text-align: start;
|
|
281
281
|
position: absolute;
|
|
282
282
|
bottom: ${e=>l.promoFooterPositionBottom.valuePx(e.size)};
|
|
283
283
|
right: ${e=>l.promoFooterPositionRight.valuePx(e.size)};
|
|
284
|
-
`,
|
|
284
|
+
`,rt=({sectionTitle:e,totalFormatted:g})=>{const c=R();return t.jsx(Ze,{windowSize:c,children:t.jsxs(Ve,{windowSize:c,children:[t.jsx(Ye,{children:e}),t.jsx(qe,{children:g})]})})};function St({sectionTitle:e,analytics:g,transactionArray:c,isZeniUser:C,zeniAccountsPromoCardReport:m,onItemClick:h,onSetAccountsStatementDate:P,onPromoCardBtnClick:f}){const a=R(),y=U.createRef(),[b,x]=U.useState(0),p=W(),_=ie(c,function(u,v){return u+(v.amount?.amount??0)},0),A=c.length>0?c[0].amount?.currencySymbol:"",E=ne("0,0",_,A),T=({index:u,style:v})=>t.jsx("div",{style:{...v},children:t.jsx(Ke,{children:t.jsx(Je,{windowSize:a,children:t.jsx(We,{data:c[u],showStatementSection:e===$.getLocalizedStrings().balanceCard.cardBalanceSectionTitle,isZeniUser:C,analytics:g,onItemClick:h,onSetAccountsStatementDate:P})})})}),H=U.useRef(null),L=()=>{const u=H.current;u!=null&&u.clientHeight>0&&u.clientHeight!=b&&x(u.clientHeight)},k=()=>{f?.(m?.depositAccountId??"")},I=xe(p.loggedInUserRoleMap);return t.jsxs(Oe,{windowSize:a,listHeight:b,"data-testid":w("transaction-list-big"),children:[t.jsx(rt,{sectionTitle:e,totalFormatted:E}),t.jsx(Ge,{children:t.jsx(ae,{children:({height:u,width:v})=>t.jsxs(t.Fragment,{children:[m?.isShowDepositAccountsPromo===!0?t.jsxs(Xe,{width:v,size:a,children:[t.jsxs(et,{size:a,children:[t.jsx(tt,{size:a,children:D.keepInterest.prefixCashBalance}),t.jsx(ot,{size:a,children:$e("keepInterest",be(m.maxPossibleInterest??0))})]}),t.jsx(it,{onClick:k,size:a,children:t.jsx(nt,{size:a,children:I?m.depositAccountId!=null?D.button:D.signUp:D.learnMore})}),t.jsx(at,{size:a,children:D.keepInterest.footer.replace(/<interest>/,m.maxAnnualPercentageYield.toString())})]}):null,t.jsx(Qe,{ref:y,height:u,width:v,style:{overflow:"unset"},itemCount:c.length,itemSize:Te.value(a)+l.itemPaddingBottom.value(a),onItemsRendered:L,itemKey:F=>c[F].key,innerRef:H,children:T})]})})})]})}export{St as default,l as dimensions};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as O,by as z,bz as R,V as o,bA as M,aN as p,k as V,o as n,al as q}from"./index-
|
|
1
|
+
import{d as O,by as z,bz as R,V as o,bA as M,aN as p,k as V,o as n,al as q}from"./index-BN936vRr.js";import{a as r,o as G}from"./sentry-BCzFscbx.js";import{n as l}from"./mui-DQOtlcvt.js";import{f as Z}from"./TransactionList-UYBDB4bd-k1_T5uTi.js";import{t as H}from"./page-detail-CWX5S47F-TWXd7PAw.js";import"./liveblocks-CUzvdZes.js";import"./core-BkA0GZqz.js";import"./recharts-DEFzfhhe.js";import"./zeni-epic-state-DIO-8j7m.js";import"./lottie-BXNphAUg.js";import"./analytics-ko5civJt.js";import"./lexical-NKD2Ns4v.js";import"./utils-CGlY-GM2.js";import"./BoxItem-BO8CYlnI-cifRan7C.js";import"./commonDimensions-Dw7YNTQN-P35Kp_kM.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new t.Error().stack;c&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[c]="46d5f6d2-778d-4c8e-af20-e1920173b1b5",t._sentryDebugIdIdentifier="sentry-dbid-46d5f6d2-778d-4c8e-af20-e1920173b1b5")}catch{}})();const J=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
height: 100vh;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as A,F as k,V as o,k as q,aN as L,aP as W,o as a,y as g,L as _,R as J,c$ as U,a9 as G,cC as K,ac as Q,c as r,hb as F,hc as R,hd as B,d as X,cF as Y,gJ as z,he as Z,b6 as ee,hi as oe,hj as te}from"./index-
|
|
1
|
+
import{q as A,F as k,V as o,k as q,aN as L,aP as W,o as a,y as g,L as _,R as J,c$ as U,a9 as G,cC as K,ac as Q,c as r,hb as F,hc as R,hd as B,d as X,cF as Y,gJ as z,he as Z,b6 as ee,hi as oe,hj as te}from"./index-BN936vRr.js";import{a as I}from"./sentry-BCzFscbx.js";import{n as c}from"./mui-DQOtlcvt.js";import"./liveblocks-CUzvdZes.js";import"./core-BkA0GZqz.js";import"./recharts-DEFzfhhe.js";import"./zeni-epic-state-DIO-8j7m.js";import"./lottie-BXNphAUg.js";import"./analytics-ko5civJt.js";import"./lexical-NKD2Ns4v.js";import"./utils-CGlY-GM2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="4b2b0926-8fbb-4c26-9691-c4156e21ca75",e._sentryDebugIdIdentifier="sentry-dbid-4b2b0926-8fbb-4c26-9691-c4156e21ca75")}catch{}})();const D=(e,n)=>`${e}.${n}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=k.getLocalizedStrings().transactionDetail.vendorDetails,d=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:n,selectedClassId:h,selectedOwnerId:t,selectedVendorName:f,allAccounts:p,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:w,classHierarchyList:x})=>{const i=A(),b=X(),$=N.labelWidth.value(i),j=N.controlWidth.value(i),V=s=>p.filter(O=>O.accountId===s)[0]?.coaId??"",l=s=>C.filter(O=>O.classId===s)[0]?.accountingClassNumber??"",y=s=>{const O=p.find(M=>M.accountId===s)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(se,{"data-testid":L("vendor-details-section",v),children:[o.jsx(re,{children:d.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:d.vendorDetails.vendorName,width:$},text:{type:"text",name:D(v,"vendorName"),placeholder:d.placeholders.vendor,defaultValue:f,autoComplete:"off",options:{required:!0}},isSaveError:n,showAdditionalInfoLabel:!1,additionalInfoLabel:d.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorCategory"),placeholder:d.placeholders.category,valueToInfo:s=>V(s),defaultValue:{selectedOption:e,allOptions:R(w)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${b.colors.grey3}`},isDisabled:u,disableCurrentOption:y,zIndexOnFocus:!0,additionalLabelInfo:d.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorClass"),placeholder:d.placeholders.class,valueToInfo:s=>l(s),defaultValue:{selectedOption:h,allOptions:F(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:d.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${b.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Z,{label:{label:d.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:D(v,"vendorOwner"),placeholder:d.placeholders.owner,defaultValue:{allOptions:B(S),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},se=c.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
padding-top: ${a.sp3};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,q as ue,aN as A,hr as lt,aL as U,n as ve,hA as ct,k as Ye,aP as $e,o as a,F as R,y as c,L as Ne,l as dt,b8 as ut,aq as ft,a as be,ai as De,al as fe,aO as ce,fw as pt,a9 as Xe,cC as mt,aW as ht,aM as gt,p as G,ac as qe,fA as ke,fB as Ae,g8 as wt,bR as ye,g2 as xt,hB as $t,c as o,fk as bt,cg as Ue,b_ as Dt,eY as yt,bI as Tt,am as Ze,fN as Ct,dp as St,c0 as Ge,gU as vt,gV as kt}from"./index-Bs0xnjOA.js";import{a as u}from"./sentry-CY8CLgEo.js";import{n}from"./mui-Dd0hZELu.js";import{bL as At}from"./zeni-epic-state-DmnvD14d.js";import{v as Pt}from"./ZeniTransferAmountSlider-BgIOeOee-C3yOH1u5.js";import{r as Lt}from"./AccountInfoPageContent-DRhE__FT-KzUKcM2H.js";import"./liveblocks-BSSpLsrd.js";import"./core-B9aIJwLb.js";import"./recharts-kzcNfSsN.js";import"./lottie-4PkwM5xd.js";import"./analytics-D6qC7tjp.js";import"./lexical-DvRGq3TL.js";import"./utils-gIo9xQSa.js";import"./downloadPdf-AQqdv24M-1VsrzDkM.js";import"./commonDimensions-DMXq3s0u-WKzxF-EK.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="12939f50-714c-48b0-9ddd-cc4c91f4793c",e._sentryDebugIdIdentifier="sentry-dbid-12939f50-714c-48b0-9ddd-cc4c91f4793c")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=R.getLocalizedStrings(),Je="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Ke="transferDetailPage",ge=(e,r)=>`${e}.${r}`,He=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:J,onBackClick:I,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:K,onReviewClick:H}){const i=ue(),E=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[Y,N]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),I(),N(!1),z(!1)},[I,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{Y&&x&&q()},[Y,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&K?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};J(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),H())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Ft,{children:t.jsxs(It,{children:[t.jsxs(Et,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Rt,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:G.heroLight}})})]})}):null,t.jsx(Yt,{children:U("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:He(Ke),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ie,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ie,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:E},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Je),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Ut,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Zt,{windowSize:i,children:[t.jsx(Kt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Gt,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${U("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Jt,{windowSize:i}),t.jsx(Ht,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${U("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Je]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
|
|
1
|
+
import{V as t,q as ue,aN as A,hr as lt,aL as U,n as ve,hA as ct,k as Ye,aP as $e,o as a,F as R,y as c,L as Ne,l as dt,b8 as ut,aq as ft,a as be,ah as De,al as fe,aO as ce,fw as pt,a9 as Xe,cC as mt,aW as ht,aM as gt,p as G,ac as qe,fA as ke,fB as Ae,g8 as wt,bR as ye,g2 as xt,hB as $t,c as o,fk as bt,cg as Ue,b_ as Dt,eY as yt,bI as Tt,am as Ze,fN as Ct,dp as St,c0 as Ge,gU as vt,gV as kt}from"./index-BN936vRr.js";import{a as u}from"./sentry-BCzFscbx.js";import{n}from"./mui-DQOtlcvt.js";import{bL as At}from"./zeni-epic-state-DIO-8j7m.js";import{v as Pt}from"./ZeniTransferAmountSlider-bXoRbaVx-CfzHPGE8.js";import{r as Lt}from"./AccountInfoPageContent-BwD3P36S-cR_aO4lg.js";import"./liveblocks-CUzvdZes.js";import"./core-BkA0GZqz.js";import"./recharts-DEFzfhhe.js";import"./lottie-BXNphAUg.js";import"./analytics-ko5civJt.js";import"./lexical-NKD2Ns4v.js";import"./utils-CGlY-GM2.js";import"./downloadPdf-CF50NGDy-B6sZII-t.js";import"./commonDimensions-Dw7YNTQN-P35Kp_kM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="8d94749c-6aa4-4bb7-9dd0-8b024319577c",e._sentryDebugIdIdentifier="sentry-dbid-8d94749c-6aa4-4bb7-9dd0-8b024319577c")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=R.getLocalizedStrings(),Je="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Ke="transferDetailPage",ge=(e,r)=>`${e}.${r}`,He=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:J,onBackClick:I,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:K,onReviewClick:H}){const i=ue(),E=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[Y,N]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),I(),N(!1),z(!1)},[I,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{Y&&x&&q()},[Y,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&K?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};J(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),H())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Ft,{children:t.jsxs(It,{children:[t.jsxs(Et,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Rt,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:G.heroLight}})})]})}):null,t.jsx(Yt,{children:U("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:He(Ke),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ie,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ie,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:E},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Je),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Ut,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Zt,{windowSize:i,children:[t.jsx(Kt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Gt,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${U("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Jt,{windowSize:i}),t.jsx(Ht,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${U("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Je]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
|
|
2
2
|
margin-top: ${a.sp3};
|
|
3
3
|
display: flex;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as C,d as M,a8 as Fe,cb as Ke,V as t,aL as V,bR as ae,bA as Ve,b as ie,aN as W,k as We,o as i,
|
|
1
|
+
import{q as C,d as M,a8 as Fe,cb as Ke,V as t,aL as V,bR as ae,bA as Ve,b as ie,aN as W,k as We,o as i,ah as k,F as L,p as w,bI as Ee,y as f,fd as X,R as I,c as p,b3 as ne,bM as Le,aR as Me,aw as _e,fQ as Ge,g_ as Ue,n as Je,al as R,a_ as Xe,jn as qe,j_ as Qe,bf as Ze,eI as et,d4 as tt,fN as it,kU as ot,iX as Re,iY as Ae,cr as rt,iO as at,iP as nt,kV as st,k9 as lt,am as E,bP as dt,cw as le,iW as ct,cz as ht}from"./index-BN936vRr.js";import{a as y,S as pt}from"./sentry-BCzFscbx.js";import{n as o,c as de}from"./mui-DQOtlcvt.js";import{bL as _,c4 as xt}from"./zeni-epic-state-DIO-8j7m.js";import{s as gt}from"./commonDimensions-Dw7YNTQN-P35Kp_kM.js";import{g as ce}from"./BoxItem-BO8CYlnI-cifRan7C.js";import{o as mt}from"./shield-DOlUxcFf-BS_yEuW2.js";import{U as he,F as pe,X as xe,Y as ge,G as me,J as ut}from"./recharts-DEFzfhhe.js";import"./liveblocks-CUzvdZes.js";import"./core-BkA0GZqz.js";import"./lottie-BXNphAUg.js";import"./analytics-ko5civJt.js";import"./lexical-NKD2Ns4v.js";import"./utils-CGlY-GM2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="e351ca13-a3f1-4c53-b759-88264e0a986f",e._sentryDebugIdIdentifier="sentry-dbid-e351ca13-a3f1-4c53-b759-88264e0a986f")}catch{}})();const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ft={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new f(120,250,400,400,500)},yt={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new f(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new f(80,100,150,180,200)},oe=()=>[ft,yt,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new f(p[0],p[4]),headerLastColumnRightPadding:new f(p[3],p[11]),headerLastColumnBottomPadding:new f(p[0],p[4]),headerLastColumnLeftPadding:new f(p[3],p[11]),headerHeight:new f(Re,Ae),sortIconSize:new f(p[2],p[2]),headerPaddingTop:new f(p[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=y.useState(oe());y.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let m=s;r.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),n(c,m)},g=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(dt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Mt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":W("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(fe,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(le,{})})})]})]}):t.jsx(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":W("cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(fe,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(le,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":W("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const jt=pt.memo($t),bt=o.div`
|
|
2
2
|
top: ${i.sp0};
|
|
3
3
|
left: ${i.sp0};
|
|
4
4
|
z-index: 2;
|
|
@@ -59,7 +59,7 @@ import{q as C,d as M,a8 as Fe,cb as Ke,V as t,aL as V,bR as ae,bA as Ve,b as ie,
|
|
|
59
59
|
align-items: center;
|
|
60
60
|
transform: ${e=>e.sortDataValue===e.headerdata.key&&e.headerdata.sortOrder==="descending"?"rotate(180deg)":"rotate(0deg)"};
|
|
61
61
|
${e=>e.headerdata.sortOrder==="ascending"?`padding-top: ${S.headerPaddingTop.valuePx(e.windowSize)}`:"padding-bottom: 2px"}
|
|
62
|
-
`,
|
|
62
|
+
`,fe=o.div`
|
|
63
63
|
width: ${({windowSize:e})=>S.sortIconSize.valuePx(e)};
|
|
64
64
|
height: ${({windowSize:e})=>S.sortIconSize.valuePx(e)};
|
|
65
65
|
cursor: pointer;
|
|
@@ -95,7 +95,7 @@ import{q as C,d as M,a8 as Fe,cb as Ke,V as t,aL as V,bR as ae,bA as Ve,b as ie,
|
|
|
95
95
|
cursor: pointer;
|
|
96
96
|
gap: 5px;
|
|
97
97
|
color: ${e=>e.theme.colors.primary};
|
|
98
|
-
`,G={containerPaddingLeft:new
|
|
98
|
+
`,G={containerPaddingLeft:new f(p[3],p[4]),containerPaddingRight:new f(p[2],p[3]),containerPaddingTop:new f(p[2],p[3]),containerPaddingBottom:new f(p[2],p[3])};function Rt({data:e,boxType:r}){const{description:n,amount:h,status:l,date:a}=e,u=V("0,0.00",h),d=C(),{dateFormat:g}=L.getLocalizedStrings(),x=oe(),$=x[0].width,j=x[1].width,c=x[2].width,s=st(l);if(d==="small"){const b=t.jsx(Kt,{children:t.jsxs(Vt,{children:[t.jsxs(Wt,{children:[t.jsxs(_t,{children:[t.jsx(ye,{}),t.jsx(Gt,{children:t.jsx(Ut,{children:t.jsxs(Jt,{children:[n,l!=null&&l.code!=="completed"?t.jsxs(t.Fragment,{children:[t.jsx(Xt,{}),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:u})})})]})});return t.jsx(ce,{content:b,boxType:r,isDisabled:!0,isNotClickable:!0})}const m=t.jsxs(At,{windowSize:d,children:[t.jsxs(Ot,{windowSize:d,width:$,children:[t.jsx(ye,{}),t.jsxs(Ht,{windowSize:d,children:[t.jsx(we,{children:n}),l!=null&&l.code!=="completed"?t.jsxs(Yt,{windowSize:d,children:[t.jsx(Ft,{}),t.jsx(Nt,{color:s?.color,children:s?.value})]}):null]})]}),t.jsx(It,{windowSize:d,width:j,children:t.jsx(we,{children:a!=null?a.format(g.visual.MMMDCommaYYYYformat):null})}),t.jsx(Bt,{windowSize:d,width:c,children:t.jsx($e,{children:u})})]});return t.jsx(ce,{content:m,boxType:r,isDisabled:!0,isNotClickable:!0})}const At=o.div`
|
|
99
99
|
width: 100%;
|
|
100
100
|
display: flex;
|
|
101
101
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -131,7 +131,7 @@ import{q as C,d as M,a8 as Fe,cb as Ke,V as t,aL as V,bR as ae,bA as Ve,b as ie,
|
|
|
131
131
|
min-width: ${e=>e.width.valuePx(e.windowSize)};
|
|
132
132
|
padding-right: ${i.sp2};
|
|
133
133
|
box-sizing: border-box;
|
|
134
|
-
`,
|
|
134
|
+
`,ye=o(lt)`
|
|
135
135
|
width: ${i.sp4};
|
|
136
136
|
height: ${i.sp4};
|
|
137
137
|
`,we=o(R)`
|
|
@@ -246,7 +246,7 @@ import{q as C,d as M,a8 as Fe,cb as Ke,V as t,aL as V,bR as ae,bA as Ve,b as ie,
|
|
|
246
246
|
`,ei=o.div`
|
|
247
247
|
display: flex;
|
|
248
248
|
align-items: flex-start;
|
|
249
|
-
`,re={lastListItemHeight:new
|
|
249
|
+
`,re={lastListItemHeight:new f(200,128),rowWrapperMarginLeftRight:new f(p[3],p[8])},{spendManagement:{chargeCard:ti},common:ii}=L.getLocalizedStrings(),oi=({transactionList:e,uiState:r,fetchState:n,onReloadCards:h,onColumnSortConfigChanged:l})=>{const a=C(),u=y.useRef(null),d=y.useMemo(()=>a!=="small"?ot:gt+40,[a]),g=()=>d,x=a==="small"?Re:Ae,$=y.useMemo(()=>e.length*d+x,[e.length,d,x]);y.useEffect(()=>{u.current?.resetAfterIndex(0)},[a]);const j=()=>n==="Error"?t.jsxs(di,{children:[t.jsx(ci,{onClick:h,"data-testid":W("treasury-list-reload"),children:t.jsx(hi,{})}),t.jsx(pi,{children:ii.reloadPage.label})]}):n==="Completed"&&e.length===0?null:t.jsx(Ie,{children:t.jsx(xi,{windowSize:a,children:t.jsx(rt,{ref:u,height:$,itemCount:e.length,innerElementType:c=>ri(c,l,r,n),itemSize:g,estimatedItemSize:nt,itemKey:c=>e[c].id,width:"100%",overscanCount:at,initialScrollOffset:0,style:{overflow:"hidden"},children:c=>t.jsx(ni,{...c,transactionList:e})})})});return t.jsx(li,{fetchState:n,children:j()})},ri=(e,r,n,h)=>t.jsx(Oe,{...e,onColumnSortConfigChanged:r,uiState:{sortKey:n.sortKey,sortOrder:n.sortOrder},fetchState:h}),Oe=y.forwardRef((e,r)=>{const{children:n,style:h,uiState:l,onColumnSortConfigChanged:a,...u}=e;return t.jsxs(Ie,{ref:r,style:{...h,width:"auto"},...u,children:[t.jsx(jt,{companyNameSticky:!1,onColumnSortConfigChanged:a,sortConfig:{sortKey:l.sortKey,sortOrder:l.sortOrder}}),t.jsx(mi,{children:n})]})});Oe.displayName=ti.cardList.headerElementDisplayName;const ai=({transactionList:e,fetchState:r,uiState:n,onReloadCards:h,onColumnSortConfigChanged:l})=>t.jsx(oi,{transactionList:e,fetchState:r,onReloadCards:h,uiState:n,onColumnSortConfigChanged:l}),ni=({index:e,style:r,transactionList:n})=>{const h=C();return t.jsx(gi,{style:{...r,width:"100%",paddingLeft:re.rowWrapperMarginLeftRight.valuePx(h),paddingRight:re.rowWrapperMarginLeftRight.valuePx(h)},className:"spend-management-list-item",children:t.jsx(si,{transaction:n[e]})},"listItem"+n[e].id)},si=({transaction:e})=>t.jsx(Rt,{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%;
|
|
@@ -293,7 +293,7 @@ import{q as C,d as M,a8 as Fe,cb as Ke,V as t,aL as V,bR as ae,bA as Ve,b as ie,
|
|
|
293
293
|
position: relative;
|
|
294
294
|
width: auto;
|
|
295
295
|
height: 100%;
|
|
296
|
-
`,Ie=o.div``,ui=["editPortfolio","taxLetter","statements","settings"],
|
|
296
|
+
`,Ie=o.div``,ui=["editPortfolio","taxLetter","statements","settings"],fi=e=>xt(e??"",ui),U=L.getLocalizedStrings().spendManagement.treasury.overviewPage,je=[{value:"editPortfolio",label:U.editPortfolio},{value:"taxLetter",label:U.taxLetter},{value:"statements",label:U.statements},{value:"settings",label:U.settings}],yi=({onOptionSelection:e,onTransferClick:r})=>{const n=_e(),h=C(),l=L.getLocalizedStrings().spendManagement.treasury.overviewPage,a=n.loggedInUserRoleMap.treasury_user===!0||Ge(n),u=je.filter(g=>g.value==="statements"||g.value==="taxLetter"),d=M();return t.jsxs(wi,{isTopAlign:!1,children:[t.jsx(Ue,{entity:"zeni_treasury",onOptionSelection:g=>{const x=fi(g);x!=null&&e(x)},isMoreOption:!0,backgroundColor:d.colors.grey5,options:a?u:je}),!a&&(h==="small"?t.jsx($i,{onClick:r}):t.jsx(Je,{variant:"primary",size:"small",style:{display:"flex",alignItems:"center"},onClick:r,label:l.transferFunds}))]})},wi=o.div`
|
|
297
297
|
display: flex;
|
|
298
298
|
flex-direction: row;
|
|
299
299
|
align-items: ${({isTopAlign:e})=>e?"flex-start":"center"};
|
|
@@ -311,7 +311,7 @@ import{q as C,d as M,a8 as Fe,cb as Ke,V as t,aL as V,bR as ae,bA as Ve,b as ie,
|
|
|
311
311
|
justify-content: center;
|
|
312
312
|
align-items: center;
|
|
313
313
|
background-color: ${e=>e.theme.colors.grey4};
|
|
314
|
-
`,P={tickLabelText:new I("extraSmallRegular","smallRegular"),balanceIntegerStyles:new I("h5Regular","h3Regular"),integerStyles:new I("largeRegular","h6Regular"),decimalStyles:new I("standardRegular","standardRegular"),fundSummaryStyles:new I("extraSmallSemiBold","smallSemiBold"),yieldValueStyles:new I("standardMedium","largeMedium")},T={accountDetailHeaderPaddingRight:new y(p[3],p[8]),accountDetailHeaderPaddingBottom:new y(p[3],p[6]),accountDetailHeaderPaddingLeft:new y(p[3],p[8]),accountDetailHeaderPaddingTop:new y(p[3],p[6]),accountDetailContentMarginTop:new y(p[4],p[4]),areaChartHeight:new y(114,209),accountDetailHeaderGap:new y(18,100,184)},{spendManagement:{zeniAccounts:be,treasury:{overviewPage:v}},dateFormat:q,common:bi}=L.getLocalizedStrings(),Be=f.memo(({accountHistory:e})=>{const r=C(),n=M(),[h,l]=f.useState(),a=f.useMemo(()=>{const s=_(new Date().toISOString()),m=s.clone().subtract(84,"day"),b=84/6;return Array.from({length:7}).map((z,D)=>{const A=D/6;let O;return A<.5?O=0:A<.6?O=.9*((A-.5)/.09999999999999998):O=.9,{date:(D===6?s:m.clone().add(Math.round(D*b),"day")).toISOString(),value:O}})},[]),u=f.useMemo(()=>(a.length<=0,0),[a.length]),d=e.fetchState==="Completed"&&(e.accountHistoryWithBalance.length===0||e.accountHistoryWithBalance.every(s=>s.balance?.available.amount===0)),g=f.useMemo(()=>e.accountHistoryWithBalance.map(s=>({...s,date:s.date.toISOString()})),[e.accountHistoryWithBalance]),x=f.useCallback(s=>{const m=Array.isArray(s)?s:[];let b="",z="";if(Array.isArray(m)&&m.length>0){const D=m[0].payload?.balance?.available;z=V("0,0[.]00",D),b=_(m[0].payload?.date??"").format(q.visual.DMMMYYYYFormat)}return t.jsxs(Ei,{children:[t.jsx(ze,{children:b}),t.jsx(ze,{isSublabel:!0,children:z})]})},[]),$=f.useCallback(s=>{const m=s,{x:b,y:z}=m,{value:D}=m.payload;let A=!1;e.accountHistoryWithBalance.length>360&&(A=!0);const O=A?_(D).format(q.visual.MMMformat):_(D).format(q.visual.MMMDFormat);return t.jsx(Ii,{translateX:b,translateY:z,children:t.jsx(Fi,{windowSize:r,dy:20,dx:-25,children:O})})},[e.accountHistoryWithBalance.length,r]),j=f.useCallback(({cx:s,cy:m,dataKey:b})=>(b==="balance.available.amount"&&(h?.x!==s||h?.y!==m)&&l({x:s,y:m}),t.jsx(_i,{cx:s,cy:m,strokeWidth:1,r:p[1]})),[h]),c=f.useMemo(()=>{const s=e.accountHistoryWithBalance.length;return s<=0?0:s>360?Math.floor(s/12):Math.floor(s/7)},[e.accountHistoryWithBalance.length]);return t.jsx(Ki,{children:d?t.jsxs(eo,{children:[t.jsx(he,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(pe,{data:a,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(ve,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Se,{offset:"0%",stopColor:n.colors.grey2,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:n.colors.grey2,stopOpacity:.02})]})}),t.jsx(xe,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,tick:s=>$(s),interval:u,padding:{right:p[4]}}),t.jsx(ge,{tick:!1,axisLine:!1,domain:[0,1]}),t.jsx(me,{activeDot:void 0,fillOpacity:1,dot:!1,type:"monotone",dataKey:"value",stroke:n.colors.grey2,strokeDasharray:"4 4",fill:"url(#colorUv)"})]})}),t.jsx(to,{children:t.jsx(Zi,{children:v.noData})})]}):t.jsx(he,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(pe,{data:g,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(ve,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Se,{offset:"0%",stopColor:w.brandColorJade,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:w.brandColorJade,stopOpacity:.03})]})}),t.jsx(xe,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:s=>$(s),padding:{right:p[4]},interval:c}),t.jsx(ge,{tick:!1,axisLine:!1}),t.jsx(ut,{position:h,content:({payload:s})=>x(s),cursor:{strokeDasharray:"3",stroke:w.brandColorJade}}),t.jsx(me,{activeDot:j,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:w.brandColorJade,fill:"url(#colorUv)"})]})})})});Be.displayName="AccountBalanceGraph";const Ko=({treasuryDetail:e,treasurySetupView:r,onColumnSortConfigChanged:n,onBackClick:h,onReloadTreasuryTransactions:l,handleTreasuryOptionSelection:a,onTransferClick:u})=>{const d=C(),g=M(),x=Fe().analytics;Ke({componentName:"treasury.overview",enabled:e.fetchState==="Completed"});const $=m=>{x.trackTreasuryDashboardInteraction((()=>{switch(m){case"editPortfolio":return"Edit Portfolio";case"taxLetter":return"Tax Letter";case"statements":return"Statement";default:return"Settings"}})()),a(m)},j=e.accountSummary,c=f.useCallback(m=>{let b=null,z;switch(m){case"insuredFunds":b=t.jsx(Pe,{children:v.insuredFundsTooltip}),z="280px";break;case"totalBalance":b=t.jsxs(Qi,{children:[t.jsx(qi,{children:v.balanceTooltip.base}),t.jsxs(Z,{children:[t.jsx(ee,{children:v.balanceTooltip.balance}),t.jsx(te,{children:V("0,0[.]00",j?.totalBalance)})]}),t.jsxs(Z,{children:[t.jsx(ee,{children:v.balanceTooltip.processing}),t.jsx(te,{children:V("0,0[.]00",j?.processingBalance)})]}),t.jsxs(Z,{children:[t.jsx(ee,{children:v.balanceTooltip.available}),t.jsx(te,{children:V("0,0[.]00",j?.availableBalance)})]})]}),z="312px";break;case"sevenDayYield":b=t.jsx(Pe,{children:v.fundTile.sevenDayYieldTooltip}),z="464px";break;default:b=t.jsx(t.Fragment,{});break}return t.jsx(Ye,{children:t.jsx(ae,{display:"flex",placement:d==="small"?"bottom":"top",title:b,style:{textAlign:"left"},maxWidth:z,children:m==="insuredFunds"?t.jsx(yo,{}):t.jsx(Ne,{})})})},[j,d]),s=t.jsx(fi,{onOptionSelection:$,onTransferClick:()=>{x.trackTreasuryDashboardInteraction("Transfer Funds"),u()}});return t.jsxs(Ti,{children:[t.jsx(Ve,{title:v.title,onBackClick:h,showMenuIcon:!1,backgroundColor:g.colors.grey5,style:{zIndex:3,...ie.largeSemiBold.cssObject},rightSideComponent:s,source:"treasury"}),t.jsxs(Li,{windowSize:d,children:[t.jsxs(Mi,{windowSize:d,children:[t.jsx(vi,{fundAllocation:r.currentAllocation,fundsData:r.fundsData,getToolTipContent:c,treasuryDetail:e,hasAccountActivity:e.transactions.length>0}),t.jsx(Oi,{windowSize:d,children:t.jsx(Be,{accountHistory:e.accountHistory})})]}),t.jsx(Si,{analytics:x,fundsData:r.fundsData,fundAllocation:r.currentAllocation,hasAccountActivity:e.transactions.length>0})]}),e.transactionsFetchState.fetchState==="Completed"?t.jsx(He,{treasuryDetail:e,onColumnSortConfigChanged:n}):e.transactionsFetchState.fetchState==="Error"?t.jsxs(Bi,{children:[t.jsx(Hi,{onClick:l,"data-testid":W("account-detail-reload"),children:t.jsx(Ni,{})}),t.jsx(Yi,{children:bi.reloadPage.label})]}):t.jsx(ji,{children:t.jsx(We,{size:"ExtraLarge",start:!0})})]})},He=f.memo(({treasuryDetail:e,onColumnSortConfigChanged:r})=>{const n=C();return t.jsx(t.Fragment,{children:e.transactions.length>0?t.jsx(Di,{windowSize:n,children:t.jsx(ai,{transactionList:e.transactions,fetchState:e.fetchState,uiState:e.uiState,onReloadCards:()=>{},onColumnSortConfigChanged:r})}):t.jsx(Pi,{})})});He.displayName="TransactionListScreen";const vi=({treasuryDetail:e,hasAccountActivity:r,getToolTipContent:n,fundAllocation:h,fundsData:l})=>{const a=C(),[u,d]=f.useState(!1);return f.useEffect(()=>{u===!0&&setTimeout(()=>{d(!1)},800)},[u]),t.jsxs(Ri,{children:[t.jsxs(J,{children:[t.jsx(Vi,{children:t.jsxs(K,{children:[F(be.zeniAccountList.totalAvailableBalance),n("totalBalance")]})}),t.jsx(Xi,{windowSize:a,children:e.accountSummary?.availableBalance?t.jsx(t.Fragment,{children:t.jsx(X,{amount:e.accountSummary?.availableBalance,integerStyles:P.balanceIntegerStyles.styleObject(a),decimalStyles:P.balanceIntegerStyles.styleObject(a)})}):null})]}),t.jsxs(J,{children:[t.jsxs(K,{children:[F(v.insuredFunds),n("insuredFunds")]}),t.jsx(Q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(X,{amount:{amount:e.accountSummary?.insuredFunds.amount??0,currencyCode:"USD",currencySymbol:"$"},integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})}),t.jsx(K,{children:F(v.insuredFundsAmount)})]}),r&&t.jsxs(Ai,{children:[t.jsxs(Ce,{children:[t.jsx(K,{children:F(be.common.totalYieldEarned)}),t.jsx(Q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(X,{amount:e.accountSummary?.totalYield,integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})})]}),t.jsxs(Ce,{children:[t.jsxs(K,{children:[F(v.sevenDayYield)," ",n("sevenDayYield")]}),t.jsx(Q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsxs(Wi,{windowSize:a,children:[zi(h??{},l),"%"]})})]})]})]})},Si=({analytics:e,fundsData:r,fundAllocation:n,hasAccountActivity:h})=>{const[l,a]=f.useState(!1),u=C(),d=M(),g=()=>{a(x=>!x)};return t.jsx(io,{windowSize:u,allTilesExpanded:l,children:r.map((x,$)=>{const j=l,c=ne($,d);return t.jsxs(oo,{expanded:j,windowSize:u,children:[t.jsx(go,{bgColor:c.headerBackground}),t.jsx(ki,{fund:x,fundIndex:$,fundAllocation:n!=null?n[x.fundCode]:0,hasAccountActivity:h}),!l&&t.jsx(ro,{children:t.jsxs(no,{onClick:()=>{e.trackTreasuryDashboardInteraction("View Details "+x.fundCompanyName+" "+x.fundName),g()},children:[v.fundTile.viewDetails,t.jsx(Ui,{})]})}),j&&t.jsxs(t.Fragment,{children:[t.jsx(zo,{}),t.jsx(Ci,{analytics:e,fund:x,fundIndex:$,onHide:g})]})]},x.fundCode)})})},ki=({fund:e,fundIndex:r,fundAllocation:n})=>{const h=M(),l=ne(r,h),a=C();return t.jsxs(ao,{windowSize:a,children:[t.jsxs(De,{style:{width:a==="small"?"100%":"50%"},children:[t.jsx(lo,{children:t.jsxs(co,{children:[t.jsx(Te,{windowSize:a,children:e.fundCode}),t.jsxs(Te,{windowSize:a,children:[n,"%"]})]})}),t.jsxs(ho,{color:l.fundNameColor,children:[t.jsx(J,{children:e.fundCompanyName}),t.jsx(J,{children:e.fundName})]})]}),t.jsx(so,{windowSize:a,children:t.jsxs(De,{style:{alignItems:a==="small"?"flex-start":"flex-end"},children:[t.jsxs(xo,{children:[v.sevenDayYield,t.jsx(Ye,{style:{marginRight:"-20px",marginTop:"2px"},children:t.jsx(ae,{placement:a==="small"?"bottom":"bottom-end",data:v.fundTile.sevenDayYieldTooltip,variant:"small-description",maxWidth:"464px",children:t.jsx(Ne,{})})})]}),t.jsxs(po,{windowSize:a,children:[e.yield,"%"]})]})})]})},Ci=({analytics:e,fund:r,fundIndex:n,onHide:h})=>{const l=M(),{common:a,spendManagement:u}=L.getLocalizedStrings(),d=u.treasury.promoPage,g=ne(n,l);return t.jsxs(t.Fragment,{children:[t.jsx(fo,{children:r.description}),t.jsxs(wo,{children:[t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," Liquidity"]}),t.jsx(Y,{children:r.liquidityTimeline})]}),t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.fundSize]}),t.jsx(Y,{color:g.fundNameColor,children:qe(r.fundSize,r.currencyCode)})]}),t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.maturity]}),t.jsxs(Y,{children:[r.maturity," ",a.timeStrings.days]})]}),t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.expenseRatio]}),t.jsxs(Y,{children:[r.expenseRatio,d.expenseRatioSuffix]})]}),t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.riskRating]}),t.jsx(Y,{children:r.riskRating})]}),t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.composition]}),t.jsx(Y,{children:t.jsxs($o,{children:[r.compositions[0].investedIn," ",r.compositions[0].percentage,Array.isArray(r.compositions)&&r.compositions.length>0&&t.jsx(ae,{style:{textAlign:"left",display:"inline"},title:t.jsx(jo,{children:r.compositions.map((x,$)=>t.jsxs(bo,{children:[t.jsx(vo,{}),t.jsx(k,{children:x.investedIn}),t.jsx(k,{style:{marginLeft:"auto",textAlign:"right"},children:x.percentage})]},$))}),children:t.jsxs(So,{children:["+",r.compositions.length]})})]})})]})]}),t.jsxs(mo,{children:[t.jsxs(ko,{onClick:()=>e.trackTreasuryProspectusClick(r.fundCompanyName+" "+r.fundName,r.fundCode,"Treasury Overview Page"),href:r.url,target:"_blank",rel:"noopener noreferrer",children:[d.asOf," ",r.asOfDate.format("MMM D, YYYY"),t.jsx(Co,{})]}),t.jsxs(uo,{onClick:h,children:[d.hide,t.jsx(Ji,{})]})]})]})};function zi(e,r){let n=0;for(const h of r){const l=e[h.fundCode]??0;l>0&&h.yield!=null&&(n+=h.yield*l)}return Number((n/100).toFixed(2))}const F=e=>t.jsx(Gi,{children:e}),Pi=o.div`
|
|
314
|
+
`,P={tickLabelText:new I("extraSmallRegular","smallRegular"),balanceIntegerStyles:new I("h5Regular","h3Regular"),integerStyles:new I("largeRegular","h6Regular"),decimalStyles:new I("standardRegular","standardRegular"),fundSummaryStyles:new I("extraSmallSemiBold","smallSemiBold"),yieldValueStyles:new I("standardMedium","largeMedium")},T={accountDetailHeaderPaddingRight:new f(p[3],p[8]),accountDetailHeaderPaddingBottom:new f(p[3],p[6]),accountDetailHeaderPaddingLeft:new f(p[3],p[8]),accountDetailHeaderPaddingTop:new f(p[3],p[6]),accountDetailContentMarginTop:new f(p[4],p[4]),areaChartHeight:new f(114,209),accountDetailHeaderGap:new f(18,100,184)},{spendManagement:{zeniAccounts:be,treasury:{overviewPage:v}},dateFormat:q,common:bi}=L.getLocalizedStrings(),Be=y.memo(({accountHistory:e})=>{const r=C(),n=M(),[h,l]=y.useState(),a=y.useMemo(()=>{const s=_(new Date().toISOString()),m=s.clone().subtract(84,"day"),b=84/6;return Array.from({length:7}).map((z,D)=>{const A=D/6;let O;return A<.5?O=0:A<.6?O=.9*((A-.5)/.09999999999999998):O=.9,{date:(D===6?s:m.clone().add(Math.round(D*b),"day")).toISOString(),value:O}})},[]),u=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=y.useMemo(()=>e.accountHistoryWithBalance.map(s=>({...s,date:s.date.toISOString()})),[e.accountHistoryWithBalance]),x=y.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=_(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})]})},[]),$=y.useCallback(s=>{const m=s,{x:b,y:z}=m,{value:D}=m.payload;let A=!1;e.accountHistoryWithBalance.length>360&&(A=!0);const O=A?_(D).format(q.visual.MMMformat):_(D).format(q.visual.MMMDFormat);return t.jsx(Ii,{translateX:b,translateY:z,children:t.jsx(Fi,{windowSize:r,dy:20,dx:-25,children:O})})},[e.accountHistoryWithBalance.length,r]),j=y.useCallback(({cx:s,cy:m,dataKey:b})=>(b==="balance.available.amount"&&(h?.x!==s||h?.y!==m)&&l({x:s,y:m}),t.jsx(_i,{cx:s,cy:m,strokeWidth:1,r:p[1]})),[h]),c=y.useMemo(()=>{const s=e.accountHistoryWithBalance.length;return s<=0?0:s>360?Math.floor(s/12):Math.floor(s/7)},[e.accountHistoryWithBalance.length]);return t.jsx(Ki,{children:d?t.jsxs(eo,{children:[t.jsx(he,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(pe,{data:a,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(ve,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Se,{offset:"0%",stopColor:n.colors.grey2,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:n.colors.grey2,stopOpacity:.02})]})}),t.jsx(xe,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,tick:s=>$(s),interval:u,padding:{right:p[4]}}),t.jsx(ge,{tick:!1,axisLine:!1,domain:[0,1]}),t.jsx(me,{activeDot:void 0,fillOpacity:1,dot:!1,type:"monotone",dataKey:"value",stroke:n.colors.grey2,strokeDasharray:"4 4",fill:"url(#colorUv)"})]})}),t.jsx(to,{children:t.jsx(Zi,{children:v.noData})})]}):t.jsx(he,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(pe,{data:g,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(ve,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Se,{offset:"0%",stopColor:w.brandColorJade,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:w.brandColorJade,stopOpacity:.03})]})}),t.jsx(xe,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:s=>$(s),padding:{right:p[4]},interval:c}),t.jsx(ge,{tick:!1,axisLine:!1}),t.jsx(ut,{position:h,content:({payload:s})=>x(s),cursor:{strokeDasharray:"3",stroke:w.brandColorJade}}),t.jsx(me,{activeDot:j,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:w.brandColorJade,fill:"url(#colorUv)"})]})})})});Be.displayName="AccountBalanceGraph";const Ko=({treasuryDetail:e,treasurySetupView:r,onColumnSortConfigChanged:n,onBackClick:h,onReloadTreasuryTransactions:l,handleTreasuryOptionSelection:a,onTransferClick:u})=>{const d=C(),g=M(),x=Fe().analytics;Ke({componentName:"treasury.overview",enabled:e.fetchState==="Completed"});const $=m=>{x.trackTreasuryDashboardInteraction((()=>{switch(m){case"editPortfolio":return"Edit Portfolio";case"taxLetter":return"Tax Letter";case"statements":return"Statement";default:return"Settings"}})()),a(m)},j=e.accountSummary,c=y.useCallback(m=>{let b=null,z;switch(m){case"insuredFunds":b=t.jsx(Pe,{children:v.insuredFundsTooltip}),z="280px";break;case"totalBalance":b=t.jsxs(Qi,{children:[t.jsx(qi,{children:v.balanceTooltip.base}),t.jsxs(Z,{children:[t.jsx(ee,{children:v.balanceTooltip.balance}),t.jsx(te,{children:V("0,0[.]00",j?.totalBalance)})]}),t.jsxs(Z,{children:[t.jsx(ee,{children:v.balanceTooltip.processing}),t.jsx(te,{children:V("0,0[.]00",j?.processingBalance)})]}),t.jsxs(Z,{children:[t.jsx(ee,{children:v.balanceTooltip.available}),t.jsx(te,{children:V("0,0[.]00",j?.availableBalance)})]})]}),z="312px";break;case"sevenDayYield":b=t.jsx(Pe,{children:v.fundTile.sevenDayYieldTooltip}),z="464px";break;default:b=t.jsx(t.Fragment,{});break}return t.jsx(Ye,{children:t.jsx(ae,{display:"flex",placement:d==="small"?"bottom":"top",title:b,style:{textAlign:"left"},maxWidth:z,children:m==="insuredFunds"?t.jsx(fo,{}):t.jsx(Ne,{})})})},[j,d]),s=t.jsx(yi,{onOptionSelection:$,onTransferClick:()=>{x.trackTreasuryDashboardInteraction("Transfer Funds"),u()}});return t.jsxs(Ti,{children:[t.jsx(Ve,{title:v.title,onBackClick:h,showMenuIcon:!1,backgroundColor:g.colors.grey5,style:{zIndex:3,...ie.largeSemiBold.cssObject},rightSideComponent:s,source:"treasury"}),t.jsxs(Li,{windowSize:d,children:[t.jsxs(Mi,{windowSize:d,children:[t.jsx(vi,{fundAllocation:r.currentAllocation,fundsData:r.fundsData,getToolTipContent:c,treasuryDetail:e,hasAccountActivity:e.transactions.length>0}),t.jsx(Oi,{windowSize:d,children:t.jsx(Be,{accountHistory:e.accountHistory})})]}),t.jsx(Si,{analytics:x,fundsData:r.fundsData,fundAllocation:r.currentAllocation,hasAccountActivity:e.transactions.length>0})]}),e.transactionsFetchState.fetchState==="Completed"?t.jsx(He,{treasuryDetail:e,onColumnSortConfigChanged:n}):e.transactionsFetchState.fetchState==="Error"?t.jsxs(Bi,{children:[t.jsx(Hi,{onClick:l,"data-testid":W("account-detail-reload"),children:t.jsx(Ni,{})}),t.jsx(Yi,{children:bi.reloadPage.label})]}):t.jsx(ji,{children:t.jsx(We,{size:"ExtraLarge",start:!0})})]})},He=y.memo(({treasuryDetail:e,onColumnSortConfigChanged:r})=>{const n=C();return t.jsx(t.Fragment,{children:e.transactions.length>0?t.jsx(Di,{windowSize:n,children:t.jsx(ai,{transactionList:e.transactions,fetchState:e.fetchState,uiState:e.uiState,onReloadCards:()=>{},onColumnSortConfigChanged:r})}):t.jsx(Pi,{})})});He.displayName="TransactionListScreen";const vi=({treasuryDetail:e,hasAccountActivity:r,getToolTipContent:n,fundAllocation:h,fundsData:l})=>{const a=C(),[u,d]=y.useState(!1);return y.useEffect(()=>{u===!0&&setTimeout(()=>{d(!1)},800)},[u]),t.jsxs(Ri,{children:[t.jsxs(J,{children:[t.jsx(Vi,{children:t.jsxs(K,{children:[F(be.zeniAccountList.totalAvailableBalance),n("totalBalance")]})}),t.jsx(Xi,{windowSize:a,children:e.accountSummary?.availableBalance?t.jsx(t.Fragment,{children:t.jsx(X,{amount:e.accountSummary?.availableBalance,integerStyles:P.balanceIntegerStyles.styleObject(a),decimalStyles:P.balanceIntegerStyles.styleObject(a)})}):null})]}),t.jsxs(J,{children:[t.jsxs(K,{children:[F(v.insuredFunds),n("insuredFunds")]}),t.jsx(Q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(X,{amount:{amount:e.accountSummary?.insuredFunds.amount??0,currencyCode:"USD",currencySymbol:"$"},integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})}),t.jsx(K,{children:F(v.insuredFundsAmount)})]}),r&&t.jsxs(Ai,{children:[t.jsxs(Ce,{children:[t.jsx(K,{children:F(be.common.totalYieldEarned)}),t.jsx(Q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(X,{amount:e.accountSummary?.totalYield,integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})})]}),t.jsxs(Ce,{children:[t.jsxs(K,{children:[F(v.sevenDayYield)," ",n("sevenDayYield")]}),t.jsx(Q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsxs(Wi,{windowSize:a,children:[zi(h??{},l),"%"]})})]})]})]})},Si=({analytics:e,fundsData:r,fundAllocation:n,hasAccountActivity:h})=>{const[l,a]=y.useState(!1),u=C(),d=M(),g=()=>{a(x=>!x)};return t.jsx(io,{windowSize:u,allTilesExpanded:l,children:r.map((x,$)=>{const j=l,c=ne($,d);return t.jsxs(oo,{expanded:j,windowSize:u,children:[t.jsx(go,{bgColor:c.headerBackground}),t.jsx(ki,{fund:x,fundIndex:$,fundAllocation:n!=null?n[x.fundCode]:0,hasAccountActivity:h}),!l&&t.jsx(ro,{children:t.jsxs(no,{onClick:()=>{e.trackTreasuryDashboardInteraction("View Details "+x.fundCompanyName+" "+x.fundName),g()},children:[v.fundTile.viewDetails,t.jsx(Ui,{})]})}),j&&t.jsxs(t.Fragment,{children:[t.jsx(zo,{}),t.jsx(Ci,{analytics:e,fund:x,fundIndex:$,onHide:g})]})]},x.fundCode)})})},ki=({fund:e,fundIndex:r,fundAllocation:n})=>{const h=M(),l=ne(r,h),a=C();return t.jsxs(ao,{windowSize:a,children:[t.jsxs(De,{style:{width:a==="small"?"100%":"50%"},children:[t.jsx(lo,{children:t.jsxs(co,{children:[t.jsx(Te,{windowSize:a,children:e.fundCode}),t.jsxs(Te,{windowSize:a,children:[n,"%"]})]})}),t.jsxs(ho,{color:l.fundNameColor,children:[t.jsx(J,{children:e.fundCompanyName}),t.jsx(J,{children:e.fundName})]})]}),t.jsx(so,{windowSize:a,children:t.jsxs(De,{style:{alignItems:a==="small"?"flex-start":"flex-end"},children:[t.jsxs(xo,{children:[v.sevenDayYield,t.jsx(Ye,{style:{marginRight:"-20px",marginTop:"2px"},children:t.jsx(ae,{placement:a==="small"?"bottom":"bottom-end",data:v.fundTile.sevenDayYieldTooltip,variant:"small-description",maxWidth:"464px",children:t.jsx(Ne,{})})})]}),t.jsxs(po,{windowSize:a,children:[e.yield,"%"]})]})})]})},Ci=({analytics:e,fund:r,fundIndex:n,onHide:h})=>{const l=M(),{common:a,spendManagement:u}=L.getLocalizedStrings(),d=u.treasury.promoPage,g=ne(n,l);return t.jsxs(t.Fragment,{children:[t.jsx(yo,{children:r.description}),t.jsxs(wo,{children:[t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," Liquidity"]}),t.jsx(Y,{children:r.liquidityTimeline})]}),t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.fundSize]}),t.jsx(Y,{color:g.fundNameColor,children:qe(r.fundSize,r.currencyCode)})]}),t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.maturity]}),t.jsxs(Y,{children:[r.maturity," ",a.timeStrings.days]})]}),t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.expenseRatio]}),t.jsxs(Y,{children:[r.expenseRatio,d.expenseRatioSuffix]})]}),t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.riskRating]}),t.jsx(Y,{children:r.riskRating})]}),t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.composition]}),t.jsx(Y,{children:t.jsxs($o,{children:[r.compositions[0].investedIn," ",r.compositions[0].percentage,Array.isArray(r.compositions)&&r.compositions.length>0&&t.jsx(ae,{style:{textAlign:"left",display:"inline"},title:t.jsx(jo,{children:r.compositions.map((x,$)=>t.jsxs(bo,{children:[t.jsx(vo,{}),t.jsx(k,{children:x.investedIn}),t.jsx(k,{style:{marginLeft:"auto",textAlign:"right"},children:x.percentage})]},$))}),children:t.jsxs(So,{children:["+",r.compositions.length]})})]})})]})]}),t.jsxs(mo,{children:[t.jsxs(ko,{onClick:()=>e.trackTreasuryProspectusClick(r.fundCompanyName+" "+r.fundName,r.fundCode,"Treasury Overview Page"),href:r.url,target:"_blank",rel:"noopener noreferrer",children:[d.asOf," ",r.asOfDate.format("MMM D, YYYY"),t.jsx(Co,{})]}),t.jsxs(uo,{onClick:h,children:[d.hide,t.jsx(Ji,{})]})]})]})};function zi(e,r){let n=0;for(const h of r){const l=e[h.fundCode]??0;l>0&&h.yield!=null&&(n+=h.yield*l)}return Number((n/100).toFixed(2))}const F=e=>t.jsx(Gi,{children:e}),Pi=o.div`
|
|
315
315
|
display: flex;
|
|
316
316
|
flex-direction: column;
|
|
317
317
|
align-items: center;
|
|
@@ -618,11 +618,11 @@ import{q as C,d as M,a8 as Fe,cb as Ke,V as t,aL as V,bR as ae,bA as Ve,b as ie,
|
|
|
618
618
|
color: ${e=>e.theme.colors.primary};
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
|
-
`,
|
|
621
|
+
`,fo=o(mt)`
|
|
622
622
|
width: ${i.sp3};
|
|
623
623
|
height: ${i.sp3};
|
|
624
624
|
color: ${w.success};
|
|
625
|
-
`,
|
|
625
|
+
`,yo=o(R)`
|
|
626
626
|
padding: ${i.sp3} ${i.sp4} 0 ${i.sp4};
|
|
627
627
|
color: ${w.heroLight};
|
|
628
628
|
`,wo=o.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as ce,q as A,aw as $e,a8 as fe,aO as ye,V as r,bA as be,fp as ke,b3 as je,o as t,jn as Se,bR as ze,
|
|
1
|
+
import{d as ce,q as A,aw as $e,a8 as fe,aO as ye,V as r,bA as be,fp as ke,b3 as je,o as t,jn as Se,bR as ze,ah as k,n as Z,aN as Q,F,R as $,aq as V,p as a,y as z,al as R,d4 as ve,bT as Le,l as Me,am as Pe,f7 as Be,c as h,dJ as Ee,be as Te,a as Ie,L as De,b as ee,c$ as We}from"./index-BN936vRr.js";import{a as s,S as _e}from"./sentry-BCzFscbx.js";import{n as i}from"./mui-DQOtlcvt.js";import{Gx as Re}from"./zeni-epic-state-DIO-8j7m.js";import{I as Ne,N as Ge}from"./VideoPlayer-DKj4Ii21-D-xRLeKX.js";import{r as He}from"./auto-transfer-rule-mbafm5D3-CWH5b5CM.js";import{o as Ae}from"./shield-DOlUxcFf-BS_yEuW2.js";import"./liveblocks-CUzvdZes.js";import"./core-BkA0GZqz.js";import"./recharts-DEFzfhhe.js";import"./lottie-BXNphAUg.js";import"./analytics-ko5civJt.js";import"./lexical-NKD2Ns4v.js";import"./utils-CGlY-GM2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="f6946db4-7436-47ab-b675-a60eaca2c6a5",e._sentryDebugIdIdentifier="sentry-dbid-f6946db4-7436-47ab-b675-a60eaca2c6a5")}catch{}})();const Fe=({isOpen:e,onClose:g})=>{const d=A(),C=F.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Be,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:g,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Ve,{windowSize:d,children:[r.jsx(Oe,{children:r.jsx(Ye,{onClick:g})}),r.jsxs(qe,{children:[r.jsx(Ue,{windowSize:d,children:C.agreementDrawer.title}),r.jsx(re,{children:C.agreementDrawer.intro}),r.jsx(G,{children:C.agreementDrawer.introBullets.map((p,w)=>r.jsx(ie,{children:p},w))}),r.jsx(G,{children:C.agreementDrawer.documents.map((p,w)=>r.jsx(Je,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Ke,{children:p.links.map((u,b)=>r.jsx(Ze,{children:u.link!==""?r.jsx(te,{href:u.link,target:"_blank",rel:"noopener noreferrer",children:u.text}):u.text},b))}):r.jsx(te,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:t.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(G,{children:C.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(ie,{children:p},w))})]})]})})},Ve=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import{d as v,q as j,V as t,bA as I,b2 as z,o as r,F as P,p as m,cr as C,y as T,c as p,al as D}from"./index-BN936vRr.js";import{a as h}from"./sentry-BCzFscbx.js";import{n as o}from"./mui-DQOtlcvt.js";import{$ as E}from"./BoxItem-BO8CYlnI-cifRan7C.js";import{o as B}from"./commonDimensions-Dw7YNTQN-P35Kp_kM.js";import{O as M}from"./StatementItem-DfbvINGt-gujVkFyU.js";import"./liveblocks-CUzvdZes.js";import"./core-BkA0GZqz.js";import"./recharts-DEFzfhhe.js";import"./zeni-epic-state-DIO-8j7m.js";import"./lottie-BXNphAUg.js";import"./analytics-ko5civJt.js";import"./lexical-NKD2Ns4v.js";import"./utils-CGlY-GM2.js";import"./downloadPdf-CF50NGDy-B6sZII-t.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="368b3b17-6874-4a57-b378-73e12eb7c34f",e._sentryDebugIdIdentifier="sentry-dbid-368b3b17-6874-4a57-b378-73e12eb7c34f")}catch{}})();const b=P.getLocalizedStrings().spendManagement.treasury.statements,w={listItemMargin:new T(p[3],p[8])},re=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:c,statementListView:a,onBackClick:f})=>{const g=v(),i=j(),x=h.createRef(),y=h.useRef(),$=a.statements.length===0,k=()=>B.transactionItemHeightResponsive.value(i),S=({index:s,style:l})=>{const d=a.statements[s];return $===!1?t.jsx(u,{windowSize:i,style:{...l,width:`calc(100% - 2*${w.listItemMargin.valuePx(i)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:n,downloadEndPoint:c,documentType:"treasuryStatement",boxType:E(s,a.statements.length)},d.id)}):t.jsx(R,{style:{...l},children:t.jsx(_,{children:t.jsx(u,{windowSize:i,children:t.jsx(N,{children:b.noStatements})})})})};return t.jsxs(L,{children:[t.jsx(I,{title:b.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:f,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(z,{children:({height:s,width:l})=>t.jsx(H,{ref:x,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},R=o.div``,u=o.div`
|
|
2
|
+
margin: ${e=>`${r.sp0} ${w.listItemMargin.valuePx(e.windowSize)}`};
|
|
3
|
+
&:hover {
|
|
4
|
+
position: relative;
|
|
5
|
+
z-index: 2;
|
|
6
|
+
}
|
|
7
|
+
`,_=o.div`
|
|
8
|
+
display: flex;
|
|
9
|
+
height: 100%;
|
|
10
|
+
flex: 1 1 auto;
|
|
11
|
+
flex-direction: row;
|
|
12
|
+
justify-content: center;
|
|
13
|
+
align-items: flex-end;
|
|
14
|
+
`,L=o.div`
|
|
15
|
+
display: flex;
|
|
16
|
+
height: 100%;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
width: 100%;
|
|
19
|
+
padding-bottom: ${r.sp7};
|
|
20
|
+
`,N=o(D)`
|
|
21
|
+
display: flex;
|
|
22
|
+
color: ${e=>e.theme.colors.grey2};
|
|
23
|
+
`,V=o.div`
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
width: 100%;
|
|
27
|
+
height: 100%;
|
|
28
|
+
margin-top: ${e=>e.windowSize==="small"?r.sp3:r.sp6};
|
|
29
|
+
`,H=o(C)`
|
|
30
|
+
scrollbar-width: thin;
|
|
31
|
+
scrollbar-color: transparent transparent;
|
|
32
|
+
&::-webkit-scrollbar {
|
|
33
|
+
width: ${r.sp2};
|
|
34
|
+
height: ${r.sp0};
|
|
35
|
+
background-color: transparent;
|
|
36
|
+
}
|
|
37
|
+
&::-webkit-scrollbar-track {
|
|
38
|
+
box-shadow: inset 0 0 2px ${m.scrollbarBoxShadow};
|
|
39
|
+
-webkit-box-shadow: inset 0 0 2px ${m.scrollbarBoxShadow};
|
|
40
|
+
background-color: transparent;
|
|
41
|
+
}
|
|
42
|
+
&::-webkit-scrollbar-thumb {
|
|
43
|
+
background-color: transparent;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&:hover {
|
|
47
|
+
scrollbar-color: ${e=>e.theme.colors.grey1} transparent;
|
|
48
|
+
&::-webkit-scrollbar {
|
|
49
|
+
width: ${r.sp2};
|
|
50
|
+
height: ${r.sp0};
|
|
51
|
+
background-color: transparent;
|
|
52
|
+
}
|
|
53
|
+
&::-webkit-scrollbar-thumb {
|
|
54
|
+
background-color: ${e=>e.theme.colors.grey1};
|
|
55
|
+
border-radius: 2px;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
`;export{re as default};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{d as j,q as S,V as t,bA as L,b2 as I,o as r,F as z,p,cr as P,y as T,c as h,al as C}from"./index-
|
|
2
|
-
margin: ${e=>`${r.sp0} ${
|
|
1
|
+
import{d as j,q as S,V as t,bA as L,b2 as I,o as r,F as z,p,cr as P,y as T,c as h,al as C}from"./index-BN936vRr.js";import{a as m}from"./sentry-BCzFscbx.js";import{n as o}from"./mui-DQOtlcvt.js";import{$ as D}from"./BoxItem-BO8CYlnI-cifRan7C.js";import{o as E}from"./commonDimensions-Dw7YNTQN-P35Kp_kM.js";import{O as B}from"./StatementItem-DfbvINGt-gujVkFyU.js";import"./liveblocks-CUzvdZes.js";import"./core-BkA0GZqz.js";import"./recharts-DEFzfhhe.js";import"./zeni-epic-state-DIO-8j7m.js";import"./lottie-BXNphAUg.js";import"./analytics-ko5civJt.js";import"./lexical-NKD2Ns4v.js";import"./utils-CGlY-GM2.js";import"./downloadPdf-CF50NGDy-B6sZII-t.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="7ab78545-422a-4838-9ce6-1ed7dcc4c8a8",e._sentryDebugIdIdentifier="sentry-dbid-7ab78545-422a-4838-9ce6-1ed7dcc4c8a8")}catch{}})();const x=z.getLocalizedStrings().spendManagement.treasury.taxLetter,u={listItemMargin:new T(h[3],h[8])},re=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,taxLetterListView:n,onBackClick:w})=>{const g=j(),i=S(),f=m.createRef(),y=m.useRef(),$=n.taxLetters.length===0,k=()=>E.transactionItemHeightResponsive.value(i),v=({index:s,style:l})=>{const d=n.taxLetters[s];return $===!1?t.jsx(b,{windowSize:i,style:{...l,width:`calc(100% - 2*${u.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"taxLetter",boxType:D(s,n.taxLetters.length)},d.id)}):t.jsx(M,{style:{...l},children:t.jsx(R,{children:t.jsx(b,{windowSize:i,children:t.jsx(N,{children:x.noTaxLetter})})})})};return t.jsxs(_,{children:[t.jsx(L,{title:x.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:w,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(I,{children:({height:s,width:l})=>t.jsx(H,{ref:f,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.taxLetters.length,itemSize:k,initialScrollOffset:0,children:v})})})]})},M=o.div``,b=o.div`
|
|
2
|
+
margin: ${e=>`${r.sp0} ${u.listItemMargin.valuePx(e.windowSize)}`};
|
|
3
3
|
&:hover {
|
|
4
4
|
position: relative;
|
|
5
5
|
z-index: 2;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{F as k,V as n,d as _,b2 as B,b as j,aW as I,aN as Y,o as L,p as P,al as R}from"./index-
|
|
1
|
+
import{F as k,V as n,d as _,b2 as B,b as j,aW as I,aN as Y,o as L,p as P,al as R}from"./index-BN936vRr.js";import{a as v,S as z}from"./sentry-BCzFscbx.js";import{F7 as m}from"./zeni-epic-state-DIO-8j7m.js";import{d as A,g as T,p as D,u as O}from"./chartTypes-C6j6oBoS-9mwDDGJP.js";import{n as $}from"./mui-DQOtlcvt.js";import{o as q}from"./toCOABalancesWithID-BxzNBK9u-CqDKc9Mj.js";import{V as K}from"./toChartData-CnjrCi9i-CYxTVX3t.js";import{H as N,I as V,X as G,Y as W,J as X,R as H,K as J}from"./recharts-DEFzfhhe.js";import"./liveblocks-CUzvdZes.js";import"./core-BkA0GZqz.js";import"./lottie-BXNphAUg.js";import"./analytics-ko5civJt.js";import"./lexical-NKD2Ns4v.js";import"./utils-CGlY-GM2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e6e77ed1-a034-485b-874b-979a167ea9e2",e._sentryDebugIdIdentifier="sentry-dbid-e6e77ed1-a034-485b-874b-979a167ea9e2")}catch{}})();const Q=$.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,Z=$.div`
|
|
4
4
|
flex: display;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as H,V as i,k as z,o as r,F as R,b2 as q,aN as y,y as c,b6 as I,a as E,c as a,al as V,L as A}from"./index-
|
|
1
|
+
import{q as H,V as i,k as z,o as r,F as R,b2 as q,aN as y,y as c,b6 as I,a as E,c as a,al as V,L as A}from"./index-BN936vRr.js";import{a as D}from"./sentry-BCzFscbx.js";import{n}from"./mui-DQOtlcvt.js";import K from"./TrendChart-DwPnEwyO-DPu-_Br2.js";import{C as W}from"./NoDataChart-CkbRqqmB-BdaQaq20.js";import{q as X}from"./InsightsSection-BT1h9fEy-BRfU7zNX.js";import{f as Z}from"./TransactionList-UYBDB4bd-k1_T5uTi.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f8104d78-a03b-406f-924b-a342909cd36f",e._sentryDebugIdIdentifier="sentry-dbid-f8104d78-a03b-406f-924b-a342909cd36f")}catch{}})();const G=n.div`
|
|
2
2
|
display: inline-block;
|
|
3
3
|
`,J=n.div`
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey3};
|