@zeniai/web-cockpit-ui 1.15.49-dev → 1.15.50-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-D2Xav-UW-BWiZ-Bc8.js +21 -0
- package/dist/assets/{AIPerformancePage-DgrMh-mY-Bylt20RS.js → AIPerformancePage-DlTdGosv-BKn1Oy_U.js} +104 -104
- package/dist/assets/AccountInfoPage-B8-8kUGD-BEAC6yCh.js +18 -0
- package/dist/assets/{AccountInfoPageContent-DeptuP1q-CsYE_k70.js → AccountInfoPageContent-BS2TBUSE-BCLlNmfm.js} +20 -20
- package/dist/assets/{AccountLockedInfoModal-CYYkjr3Y-BcAzzzM4.js → AccountLockedInfoModal-aukulrV7-s7lDLksb.js} +11 -11
- package/dist/assets/{AccountReconDetailsDrawerPage-jN8KgM4V-yAl3_OHe.js → AccountReconDetailsDrawerPage-kQJld6_N-DFQbdeu8.js} +19 -19
- package/dist/assets/AccountRow-BiEYR4Y1-0x0DgsfU.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-CB2gPVUw-D3B_FWzu.js → AccountsPromoCardStack-DBQnDPXQ-ByY919CJ.js} +32 -32
- package/dist/assets/AddAddressForCardDrawer-DTnfk8K7-W1_tMZDc.js +6 -0
- package/dist/assets/{AddToWalletPage-BlExjuu4-B196FBl9.js → AddToWalletPage-C4EwdLZJ-BDf59l0V.js} +18 -18
- package/dist/assets/{AgingReportsPage-D9UyMHCS-CUKIok_T.js → AgingReportsPage-vAvkUfOS-BTtgXal2.js} +7 -7
- package/dist/assets/{AllUserItems-DGGAZCTH-DA8Osx0t.js → AllUserItems-qrYg6Gdx-CI4cfipf.js} +11 -11
- package/dist/assets/ApAgingDetailPage-BRYQMwo2-BX8bMzFl.js +46 -0
- package/dist/assets/{AppBasePage-ANWa38-v-Dui1Sxci.js → AppBasePage-DrE-W6d7-BXIwSS1q.js} +8 -8
- package/dist/assets/{AppDrawerContent-UhQJdUmA-CkRUhLQ3.js → AppDrawerContent-ATbZG_cu-DJYf_h0a.js} +5 -5
- package/dist/assets/ApprovalRulesSettingsPage-5MYC1I6k-D8Ej2tQP.js +47 -0
- package/dist/assets/{ArAgingChart-CuFQTCRF-BBoOHiTE.js → ArAgingChart-CuzG9AZY-D20yOcSu.js} +6 -6
- package/dist/assets/ArAgingDetailPage-DwRkcLEu-BPn8BqM4.js +46 -0
- package/dist/assets/{AttachmentView-D6K3YHdZ-Bap3B_dh.js → AttachmentView-BrQRChzc-DmBnJDly.js} +6 -6
- package/dist/assets/{BankAccountSection-B51-Hpnt-BDzmY8Fy.js → BankAccountSection-hcKEMs80-IayGgYsa.js} +6 -6
- package/dist/assets/BankAccountWarningSection-CpxVDMSZ-4MGZTw8n.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-BeTdU1D7-CvYt_ADS.js → BankConnectionsSettingsPage-Bdw1K00m-BfrIZwzh.js} +30 -30
- package/dist/assets/BillDetailPage-D0NLFZXA-Ca284Kwb.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-CVBTvKC--CjXFb5TX.js → BillPayApprovalRuleDetailPage-DkpCvYvo--bCxfSFy.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-COiOi09y-D-B4gYTJ.js → BillPayApprovalRulesPage-BEqZD0GU-uvL85aev.js} +19 -19
- package/dist/assets/BillPayPromoPage-BMcP4EU5-BVIvwbQi.js +84 -0
- package/dist/assets/{BillPaySetUpPage-3O1UBtgm-Dsg0n8rt.js → BillPaySetUpPage-WdEdbf16-Cj5_BixU.js} +9 -9
- package/dist/assets/BillingSettingsPage-GtRUqSZm-BdxhpxlY.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-DAUoo9pq-DkmBDuWQ.js +1 -0
- package/dist/assets/{BoxItem-C-VST523-DMPXmLe8.js → BoxItem-CACRFWG2-X3bucjjy.js} +1 -1
- package/dist/assets/BusinessVerificationPage-9gZbBDL6-DWp5zQxs.js +138 -0
- package/dist/assets/{CardNumberSubText-BUvXykSn-DR27wA6E.js → CardNumberSubText-C-oVdziK-B680WGcf.js} +3 -3
- package/dist/assets/{CashbackDetailPage-BhHWEtnP-BIMVCNfp.js → CashbackDetailPage-BhFKSl4p-4MnwVNWx.js} +27 -27
- package/dist/assets/{ChargeCardDetailPage-BGqaGwV3-AFT-HAkP.js → ChargeCardDetailPage-D8J6HINu-Bb53RVMq.js} +20 -20
- package/dist/assets/{ChargeCardListPage-D5H9U0h8-DeNsZOzv.js → ChargeCardListPage-tdUKyHdz-BUynNnwQ.js} +16 -16
- package/dist/assets/{ChargeCardListTable-Byme0rAu-ych_Qx-x.js → ChargeCardListTable-CByk3iqX-B66ckaF5.js} +55 -55
- package/dist/assets/{ChargeCardPaymentHistoryPage-DKW98ipI-DfncT-JI.js → ChargeCardPaymentHistoryPage-B8zRcrjo-BtDyG6dw.js} +34 -34
- package/dist/assets/{ChargeCardPromoPage-VSqN0247-7AKJMP0k.js → ChargeCardPromoPage-C4cgx2gm-D0VU2K9B.js} +30 -30
- package/dist/assets/{ChargeCardSetupPage-BMitkkOv-DqB6_gbE.js → ChargeCardSetupPage-DtwiTNKA-B7eJu1ZO.js} +4 -4
- package/dist/assets/{ChargeCardStatementsPage-C_iQ5kBD-CzlgcFfP.js → ChargeCardStatementsPage-B0KPw52e-BeAyJDnJ.js} +8 -8
- package/dist/assets/{CheckDepositDrawerPage-BaRz0MD0-fXpFUSD5.js → CheckDepositDrawerPage-DKNAXI77-RBR5olq2.js} +15 -15
- package/dist/assets/{CollapsableReportTable-C4hqC6Uj-CeOhK0qJ.js → CollapsableReportTable-Cq8bhaYC-BggtU0rR.js} +272 -272
- package/dist/assets/{CompanyOfficerDetailsSection-DA62JWZF-28wXvrh9.js → CompanyOfficerDetailsSection-Rk0B5cB5-Bje8HDKM.js} +32 -32
- package/dist/assets/{CompanyPassportCard-CDQgqgtJ-Cs-zlaQi.js → CompanyPassportCard-CHaKk74P-DDpNpfNq.js} +12 -12
- package/dist/assets/{CompanyPassportPage-DoOtHRwj-7bnAHUeu.js → CompanyPassportPage-DXWXFFKM-GfiP2rfO.js} +20 -20
- package/dist/assets/{CompleteProfile-DsEoizlG-DOegmHNH.js → CompleteProfile-ChaWsK6t-CmD-Ajg7.js} +2 -2
- package/dist/assets/ConfettiBurst-CdB5fRMt-BV3aXXBM.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-yhWFdRSc.js → ConstrainedInnerElement-BeIpAPjB-CvXQTLMk.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CQGF8m1c-Km9d2S1Z.js → CreateOrEditVendorPage-C_8Jqubo-BeXFdKcj.js} +11 -11
- package/dist/assets/{CreditCardPaymentDrawerPage-DK_T0qbN-Bvmfy85N.js → CreditCardPaymentDrawerPage-lOjOtk28-BP0yToaF.js} +15 -15
- package/dist/assets/CurrencySelectField-BDqU4HVy-DnlyHMKA.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-DCQ_KqzB-DJtTHAcy.js → CustomerOnboardingActivationPage-DO6NCakm-CAMuBBQX.js} +29 -29
- package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-DsqzICHM.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-ZTBIaml1-DBfEZVdM.js → CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-BAapr03j.js} +17 -17
- package/dist/assets/{CustomerOnboardingNoStepsPage-DEq1Mm1I-Dp_05KKK.js → CustomerOnboardingNoStepsPage-CbG5WshV-f-4FUEfq.js} +6 -6
- package/dist/assets/{CustomerOnboardingPage-BXch3GVe-Ba_gMD_F.js → CustomerOnboardingPage-DyVyf8oK-B51u1QyT.js} +16 -16
- package/dist/assets/{CustomerOnboardingProductSuitePage-D7PFi42F-C_seXYMG.js → CustomerOnboardingProductSuitePage-1F3JfCRp-DRVVAjzS.js} +8 -8
- package/dist/assets/{Dashboard-BcjA6DTL-B8wtUrMY.js → Dashboard-Csggwob0-CucBwf-E.js} +66 -66
- package/dist/assets/{DashboardReportPage-Ce-jnQbs-CfmLV1Yt.js → DashboardReportPage-DFIdi_I0-CWCqUDts.js} +22 -22
- package/dist/assets/DashboardSidebarBackgroundAnimation-C3Ovv-ob-BERUL4nF.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-COgr8Xw5-NWAgf7bV.js → DepositAccTransactionItem-CZ7v1T4S-kDEbOJw2.js} +6 -6
- package/dist/assets/{DepositAccTransactionListPage-zhPDzJoK-AejpnIWF.js → DepositAccTransactionListPage-FldPGX6K-KLK81P63.js} +4 -4
- package/dist/assets/{DomesticWireDetailsPage-2MqIFQbM-BGwsfDe-.js → DomesticWireDetailsPage-C--eZ-UG-BJZT9cWR.js} +2 -2
- package/dist/assets/{DownloadOverlay-CfWDWIbC-DcGZOT8A.js → DownloadOverlay-4f9deyJS-B9_tQwKs.js} +26 -26
- package/dist/assets/{DrawerPage-CfIhiBhn-A5CC3xdl.js → DrawerPage-roO3xvRT-XI38_I4m.js} +11 -11
- package/dist/assets/EditPeoplePage-pi5RclAj-BMVndFcH.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-CIUcImns-dOARMfmM.js +865 -0
- package/dist/assets/EntityDetailPage-OTKTVNMD-D_gGJiJl.js +18 -0
- package/dist/assets/{EntitySummarySection-Bie5ZOV3-BZu2b-HP.js → EntitySummarySection-fBL4TZpT-UlHv9GhZ.js} +32 -32
- package/dist/assets/{ExpenseAutomationOverviewPage-BEKF8mo3-DI5Un6My.js → ExpenseAutomationOverviewPage-CnhNINCc-XNKWWalz.js} +47 -47
- package/dist/assets/ExpenseAutomationPage-BDLCJbFw-D6CY7q0l.js +1703 -0
- package/dist/assets/{ExpressPayPage-C6Jb6WrN-BeqBD08K.js → ExpressPayPage-c8oTCnBR-DDI22yPw.js} +19 -19
- package/dist/assets/{FeaturePreviewPage-ev9V1Riy-BV3fE1G1.js → FeaturePreviewPage-DkiAajs2-CWm_NPeh.js} +3 -3
- package/dist/assets/{FollowStepsSection-BlgHPyvL-BhwHykaB.js → FollowStepsSection-GaWu1kt9-Dj5MvViw.js} +44 -44
- package/dist/assets/GlobalReviewListPage-DEzj0RVG-HfAvAlvB.js +291 -0
- package/dist/assets/{InformationCardStack-BkuCjydF-ClSDOapP.js → InformationCardStack-dMFbHUWM-CihvCd5l.js} +6 -6
- package/dist/assets/{InsightsCardStack-BFrwV0PC-CZ45PRa1.js → InsightsCardStack-BlXkyuyz-D4zNF2IR.js} +10 -10
- package/dist/assets/InsightsSection-D-oCmrir-Sip59hWk.js +27 -0
- package/dist/assets/IntegrationsSettingsPage-D-hfghuq-Mtjw-TfK.js +57 -0
- package/dist/assets/{InternationalWireSwiftDetailsPage-DUNu57zU-B6FHq7_F.js → InternationalWireSwiftDetailsPage-DxdKE300-Ch6ktxWV.js} +20 -20
- package/dist/assets/InternationalWireVerificationPage-CkSmhOrS-lLeWAn7t.js +65 -0
- package/dist/assets/{InviteFormPage-D8zySzlG-B662YNtS.js → InviteFormPage-BCdalqtP-CVBiHF3V.js} +21 -21
- package/dist/assets/{InvitePageListView-DUng4fOl-Bw5RtSsX.js → InvitePageListView-B88FW48q-CtwT_lzJ.js} +63 -63
- package/dist/assets/InvitePeoplePage-Z-2L7lWc-ClTTRQa0.js +12 -0
- package/dist/assets/InvoiceUploadSection-C8hytmay-CRXs_Kj8.js +140 -0
- package/dist/assets/{IssueChargeCardPage-Vzj9appY-09K43VT7.js → IssueChargeCardPage-B6wmvbEr-Cv_7MvaD.js} +18 -18
- package/dist/assets/{LabeledAddressValue-inaQliHs-Dg9xTHiz.js → LabeledAddressValue-CQrDCgNs-DDPb7wFI.js} +2 -2
- package/dist/assets/LabeledAddressValueField-BoHS44YO-CKpxgqiE.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-DNMqJzBC-BPs_pf7S.js → LabeledControlledCheckBoxField-BsFqjCpn-C-MKXj71.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField--JYMnWIw-Dm5jwrCs.js → LabeledCountryMultiSelectField-D1fVDYR_-G9fOGY2T.js} +12 -12
- package/dist/assets/{LabeledCreatableSingleSelectField-C5A14hjp-Dp3zoxD2.js → LabeledCreatableSingleSelectField-Bhka-Faj-ClLZPurA.js} +8 -8
- package/dist/assets/LabeledDocumentField-CnRk5aKZ-CzOQUZqO.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-BVtRyAo1-706o2HXB.js → LabeledDropDownFormattedTextField-ChgtJqPr-CsaX1P25.js} +7 -7
- package/dist/assets/LabeledText-2EDpuXZ4-a0ADggfE.js +42 -0
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DXTzXLuP-C7ZxqrMf.js → LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-D8_YdZ3M.js} +19 -19
- package/dist/assets/{LabeledZeniRolesDropDownField-C0AamFZX-DtH7B1QB.js → LabeledZeniRolesDropDownField-CpH0eDWO-6StOP0Bl.js} +28 -28
- package/dist/assets/{LinkJETransactionPage-DWjs72Wp-CUQI1Z1j.js → LinkJETransactionPage-BhV2MnCY-C5nCEtkl.js} +16 -16
- package/dist/assets/{LockCardPage-CPUbpfrv-3LEgf1Eq.js → LockCardPage-CHv1xi2J-Cv1DZ57L.js} +217 -217
- package/dist/assets/{LowBalancePopup-Cg-JRo7A-zj6pzOkP.js → LowBalancePopup-Cb55PGLc-C-9hACKT.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-Dnp01hnF-C_YtTDeW.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-B36rsikS-x-i9NvXL.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Zo4oNZez-SOQoBcnA.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-09NLbjFG-D7qzUiN9.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-D5RIlimx-5X1vjx5k.js → MagicLinkTitleSection-BA-i6vzA-DvG_5pI3.js} +5 -5
- package/dist/assets/MailingDetailsSection-EwtoQ2TZ-DY2G7v7G.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-D55M4Yo6-DWI72gIp.js → MyBankConnectionsSettingsPage-Aer6AWxY-OPBcC9m9.js} +14 -14
- package/dist/assets/MyPendingActivationChargeCardListPage-Ddy4bAEY-DCzEYRtr.js +6 -0
- package/dist/assets/MyProfileSettingsPage-DMz-6h9F-DFvmYVLb.js +85 -0
- package/dist/assets/NavBarWithPicker-D8WNahg--C0o9Lnmp.js +30 -0
- package/dist/assets/{NavigationArrow-CqK2Gxhj-JoTM067o.js → NavigationArrow-kQWS5Pzb-C4S_N1iY.js} +7 -7
- package/dist/assets/{NavigationDots-C7DGhAsk-BigsWf2H.js → NavigationDots-BQb_Fodq-C-HossK2.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-BH4SIY-b-IspkGBWL.js → NewGlobalMerchantPage-z86XZorn-DwDob9mX.js} +40 -40
- package/dist/assets/NoDataChart-CyYJ6icu-Ceu_3WWQ.js +26 -0
- package/dist/assets/{NoDataTable-B355xDAT-DcAZ4j4d.js → NoDataTable-DVe7sQhD-BBFOa9Zf.js} +1 -1
- package/dist/assets/{NotFoundPage-Bfp9Pyxw-DVJn2b4k.js → NotFoundPage-B1XCmhSe-DdSt4ytI.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-1OEolmCL-DbOSpAhH.js → NotificationSettingsPage-BaN20EGV-Dm0Kwnze.js} +20 -20
- package/dist/assets/NotificationsListConfig-BOW_TmPC-DUp1zUEg.js +1 -0
- package/dist/assets/NotificationsPage-C9efAgjo-CBn4Fnze.js +685 -0
- package/dist/assets/OpExByVendorPage-DXeBU3-z-DGRhEX_U.js +100 -0
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-CR2TYg0o.js → OverlayContainerPage-D4QU0p4o-DbSGoowZ.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-ChIPvp4R-qyv7RUis.js → PandLWithForecastPage-CXtJhnA_-BFrCmEg5.js} +11 -11
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CnpmZxaM-COq_RoPw.js → PaymentAccountSetupBillingAddressSection-Deb_ngk6-Bh7-OVHS.js} +13 -13
- package/dist/assets/PeoplePage-DXC2CtOt-4lEc5swH.js +675 -0
- package/dist/assets/{Preview-qBYtkSAF.js → Preview-g00Qv-CI.js} +1 -1
- package/dist/assets/{ProductsCarousel-eVPl5t0I-BGcfqmV6.js → ProductsCarousel-ufZlh7Rx-YeOo5bg7.js} +7 -7
- package/dist/assets/{PromoBaseCards-HrcAWM4W-BKT0vHPP.js → PromoBaseCards-D2UbhBhT-Dd_eb1rN.js} +4 -4
- package/dist/assets/{QBOConnectionDialog-DgyYkEYY-Cpn7NAss.js → QBOConnectionDialog-BrQ71F06-BFCLzqHE.js} +6 -6
- package/dist/assets/QBOSetupSection-EOFscEW--BS9o_yyg.js +79 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-BbEMTVlp-CzXU9rgb.js → ReimbursementApprovalRuleDetailPage-C-HPI4Ng-UTev4YQ6.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-B_1m9CBx-CabMdysS.js → ReimbursementApprovalRulesPage-CMpYn5y_-BTiJVJE0.js} +18 -18
- package/dist/assets/ReimbursementDetailPage-CfmICHZb-B78GpO_0.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-C4bxCDcc-yn3a9m-2.js → ReimbursementPromoPage-DXTAY8c7-D8cCc8YJ.js} +32 -32
- package/dist/assets/{ReimbursementSetUpPage-BkJ1-eNw-DtguijtQ.js → ReimbursementSetUpPage-KrGPXTCb-DUpAQJx9.js} +12 -12
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-l2mYNEKn-DolkTDgY.js +1 -0
- package/dist/assets/{ReloadCard-DrAfrMOy-Dp01MRiJ.js → ReloadCard-vAhL7B8U-DZ4WBcY6.js} +8 -8
- package/dist/assets/ReportTableViewSelector-Y97ney3W-CBFTsSDh.js +150 -0
- package/dist/assets/{ReportsPage-E9MU25NS-BG-K0aaI.js → ReportsPage-DKM0gVzR-Bgk3sBQb.js} +4 -4
- package/dist/assets/{RevenueChart-CzVs6lFB-CetzZFOl.js → RevenueChart-BEjDS1u4-DgwGxFpp.js} +13 -13
- package/dist/assets/{ReviewDetailsPage-DR0MCIgO-DeTv48zq.js → ReviewDetailsPage-BlQLrN9z-qgNa8kL5.js} +53 -53
- package/dist/assets/{ReviewOverlay-jDgQyzfL-CrHwzWa9.js → ReviewOverlay-Bn3TFqfi-BnMlRqTB.js} +24 -24
- package/dist/assets/RoleWithToolTip-DhBFvJea-DHVvHPTc.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-D47R-Lyr-CZpPEcr2.js → ScheduleDetailsFixedAssetsPage-BMkFjf9Y-B3WrOgao.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-DYNnVOEv-D18lxUWs.js → ScheduleDetailsPage-BP0wdtoP-C14XLmp4.js} +3 -3
- package/dist/assets/ScheduleSequenceTable-D-rZ4ftr-DIny0FLI.js +324 -0
- package/dist/assets/{ScreenRoutes-CyJpBFvr.js → ScreenRoutes-DskSNpKQ.js} +48 -48
- package/dist/assets/{SetUpAccountSection-Bq2qSGml-DouG9J1c.js → SetUpAccountSection-CoVrSSYL-BK8eb8iH.js} +7 -7
- package/dist/assets/SignIn-BoAejo7r-C4az_GoA.js +491 -0
- package/dist/assets/SignInScreen-Di7l6F78.js +1 -0
- package/dist/assets/SpendManagementListViewPage-D3eISFuA-BJKHzfnG.js +134 -0
- package/dist/assets/{SpendManagementPerTabPage-RLv6LS-z-CYo8kes0.js → SpendManagementPerTabPage-BWDjZyLp-B3fMmOF_.js} +114 -114
- package/dist/assets/{SpendManagementSection-DJfAJzAL-ig4GL1ZT.js → SpendManagementSection-D8rBpC-y-aWPmGHDr.js} +22 -22
- package/dist/assets/StatementItem-Cu6dlAsl-CEMP7iv_.js +31 -0
- package/dist/assets/{StatementsPage-BgYeg1T4-C88dmgbV.js → StatementsPage-DiY2BOcu-BFWv5aAG.js} +5 -5
- package/dist/assets/{StatusSwitcher-C4MmXvmy-xYxIiuBt.js → StatusSwitcher-B9MARTyR-RwzQ_fCz.js} +4 -4
- package/dist/assets/{SubTabSwitcher-UW2b0f3g-Dn63h3aS.js → SubTabSwitcher-C3rtSwro-BMElQQQG.js} +2 -2
- package/dist/assets/{SummaryCard-BLqrfWMN-BoOQqfaJ.js → SummaryCard-CShVbqhj-Dhj3DzIG.js} +1 -1
- package/dist/assets/TaskManagementPage-RVS8nv0n-BsJrrOep.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-NHpll2Zg-Dr20odtf.js → TimeRangeSwitcher-DFnX6_WT-CZfjpBqG.js} +4 -4
- package/dist/assets/TimeframeSwitcher-CW08yYgo-ComQ5EHq.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-DJOCWqpZ-Bk-ycr2q.js +31 -0
- package/dist/assets/{TopExCard-BKUm1fVu-CdS4qfxw.js → TopExCard-dI_WEGWb-BU3wMngO.js} +6 -6
- package/dist/assets/{TopExDetailPage-BpaKGiXB-_eDwMn8-.js → TopExDetailPage-BWy5E8Lp-DtvjK_xS.js} +18 -18
- package/dist/assets/TransactionActivityLogPage-DjhEIUYm-DnNtacww.js +195 -0
- package/dist/assets/TransactionDetailPage-CuxqQd8U-XsnlScFV.js +903 -0
- package/dist/assets/TransactionList-80KjM8Kg-CbkPg3Zf.js +153 -0
- package/dist/assets/{TransactionListBig-C1i2HOEm-BoHPxhV4.js → TransactionListBig-DWQXH4ID-DD5UPGD_.js} +18 -18
- package/dist/assets/TransactionListPage-DC08rCC9-dt6exeNm.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-BhEUsSHE-DWkVZWnN.js → TransactionVendorDetailPage-CzfJ5b_3-CL7XOBkn.js} +15 -15
- package/dist/assets/{TransferDrawerPage-enFS8KsH-pWKe3GIV.js → TransferDrawerPage-6z-MoZZP-Dp04U_Kt.js} +29 -29
- package/dist/assets/{TreasuryOverviewPage-BT--Br6F-DZD_F62z.js → TreasuryOverviewPage-CF_ter0o-BGqEPdpU.js} +36 -36
- package/dist/assets/{TreasuryPromoPage-DsUxXGv2-CbCXpGfI.js → TreasuryPromoPage-Do-PTcjI-2DZrhiFT.js} +27 -27
- package/dist/assets/{TreasuryStatementsPage-D7NeRKLM-FnJOs5A5.js → TreasuryStatementsPage-l_HC4zsb-lMujmf6c.js} +3 -3
- package/dist/assets/{TreasuryTaxLetterPage-Cj6nJmhq-eRbAIBG9.js → TreasuryTaxLetterPage-B8YxWytK-BmggpXbf.js} +3 -3
- package/dist/assets/{TrendChart-CWaL1-sD-jHXMg1Jt.js → TrendChart-C6B61CAm-Ye7o4G34.js} +4 -4
- package/dist/assets/{TrendWithTransactions-ULrBa2b0-DV504Izy.js → TrendWithTransactions-Bp3vhaPa-B97DwabO.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-D8b01XUy-DqqC0SGI.js → UncategorizedAccountsMappingPage-cbFqKAv4-DRcpc90f.js} +18 -18
- package/dist/assets/{UnitIntegrationPage-KbEwifey-DfbiDH3c.js → UnitIntegrationPage-DZ0ZpE5p-BO2em7A8.js} +5 -5
- package/dist/assets/UploadAdditionalDocumentOverlay-BKY6hK51-XuWx6jLi.js +38 -0
- package/dist/assets/Vendor2FAPopup-DezpDfp8-BubnwwOl.js +1 -0
- package/dist/assets/VendorACHDetailsPage-C8TWKYfc-C1dwXSNh.js +1 -0
- package/dist/assets/{VendorDetailPage-BwbESVFq-BHZW_2ez.js → VendorDetailPage-C4g_Gfsl-Bc5VCqyN.js} +89 -89
- package/dist/assets/VendorDomesticWireDetailsPage-BhJQ-Vmn-BdLmKxae.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Dycvl3IG-DtHtcSbL.js → VendorFiling1099EditablePage-Ckt2MiVN-Dvui8jZZ.js} +15 -15
- package/dist/assets/VendorFirstReviewPage-CIKRaTax-ChJc6Bvu.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-Di0TU5Db-B1HiqwDL.js → VendorInternationalWireDetailsPage-Dz8mMD8d-s76HnOyI.js} +22 -22
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-XcV7Ot44-BrH5PbpD.js +1 -0
- package/dist/assets/{VendorsAccountsSection-BPuqPLC8-CD6vaKdE.js → VendorsAccountsSection-BT-RADSV-D8dDuRZ5.js} +4 -4
- package/dist/assets/{VerifyDevice-BRCRNTf1-Dw4vKeVk.js → VerifyDevice-Cxc9CVMi-DsFVHfxT.js} +11 -11
- package/dist/assets/{VideoPlayer-BgWCDJp3-CbPNc--2.js → VideoPlayer-9UkKMhGy-CfYKM_4G.js} +2 -2
- package/dist/assets/{VideoPopup-ckAw3yZZ-CPBR9ffY.js → VideoPopup-rfiYmtio-cGZkVWLj.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-D0VOjlPL-Cmk9Gclc.js → WarningsDrawerPage-DrUA4asI-D1jrLnQQ.js} +7 -7
- package/dist/assets/{ZeniAccountDetailPage-DxdKUJ_i-8Rps5gMW.js → ZeniAccountDetailPage-K016HgQt-CpwqGrdv.js} +24 -24
- package/dist/assets/{ZeniAccountListViewPage-DxCB40sG-D7wpBJpb.js → ZeniAccountListViewPage-1oZZynB1-CTCKXOm1.js} +17 -17
- package/dist/assets/{ZeniAccountNavBarPieces-D7o4_8jk-DU75NHos.js → ZeniAccountNavBarPieces-C6Oicpue-CDronLj9.js} +3 -3
- package/dist/assets/{ZeniAccountPromoPage-BlfBjcVV-D8slteBQ.js → ZeniAccountPromoPage-BCgys-YM-B4PBTYBK.js} +22 -22
- package/dist/assets/ZeniAccountSetupPage-BubBgkoa-ED0NkT0J.js +36 -0
- package/dist/assets/ZeniCopyright-BxIwmms--CB7vwHQ2.js +1 -0
- package/dist/assets/{ZeniTransferAmountSlider-yfG_RSE5-Chw30zZt.js → ZeniTransferAmountSlider-DVJ0puXA-BbQe3edZ.js} +11 -11
- package/dist/assets/{add-to-wallet-DgdBD8_G-DgloNLoG.js → add-to-wallet-DgdBD8_G-F5LVW0PA.js} +1 -1
- package/dist/assets/{analytics-BxsZVqMD.js → analytics-CahM0ApT.js} +30 -30
- package/dist/assets/{analyticsHelper-YXL3oVeL-st_q3oRE.js → analyticsHelper-CT5zOInj--DKtKqan.js} +1 -1
- package/dist/assets/{analyticsHelper-BROaWFlP.js → analyticsHelper-Dt-Wvzj6.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-Cgw5LgRs.js → arrow-south-east-round-PEovUgvH-CEqKeUmQ.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-DEP8Cseu.js → auto-transfer-rule-mbafm5D3-CoGwDI0h.js} +1 -1
- package/dist/assets/{chartTypes-BPQ65VEE-6yZpeJsO.js → chartTypes-Ddw_3-6f-iughbCu_.js} +1 -1
- package/dist/assets/commonDimensions-ClmbdehE-Cl9ebfDm.js +1 -0
- package/dist/assets/{commonTypes-WZYufpaN-dYh7B5Qi.js → commonTypes-B-foaEwJ-Dxy4bmoK.js} +1 -1
- package/dist/assets/{constants-cBgt-jnp.js → constants-DLQpBQr_.js} +1 -1
- package/dist/assets/{core-CCdM5htn.js → core-DhOBLUcR.js} +1 -1
- package/dist/assets/{dash.all.min-BhdX5A-b.js → dash.all.min-D9C7dpy1.js} +1 -1
- package/dist/assets/{detailCommon-cqZF9ZV8-CcqFhiCw.js → detailCommon-Cpgf9GLg-CVrer6Nv.js} +6 -6
- package/dist/assets/downloadPdf-DfRYmfsd-Ci0FssC9.js +1 -0
- package/dist/assets/{empty-21UCvCWa.js → empty-B0kqq7AF.js} +1 -1
- package/dist/assets/{empty-Ci7PTPdn.js → empty-DXLckAFq.js} +1 -1
- package/dist/assets/epic-CTsLkOVJ.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-fL_gav59.js → gift-box-Cmt9OgIZ-7HACeG8S.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-CsPk6hIb.js → graphic-no-data-l-DU4J8fDt-DXaGx8Uq.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CK0OnqK_.js → graphic-no-data-net-burn-l-CzmycA0m-DMYfos4l.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-CJV_gJfO.js → handshake-BPg58FML-C3Tu6ob6.js} +1 -1
- package/dist/assets/{helper-GwFcgf4f-QTj7P4Bk.js → helper-DP3YY99s-Dat90eJR.js} +3 -3
- package/dist/assets/{index-DBail5F5.js → index-58NM9fG5.js} +1 -1
- package/dist/assets/{index-BsaB-Va2.js → index-BA-jk0ze.js} +1 -1
- package/dist/assets/{index-C96UtQPZ.js → index-BPjVYw8N.js} +1 -1
- package/dist/assets/{index-D2yPgh5G.js → index-CNYrrT7d.js} +1 -1
- package/dist/assets/{index-8HE4yJ5t.js → index-CNbvhErF.js} +1 -1
- package/dist/assets/{index-DQtDqiLj.js → index-DDUTPJHS.js} +1 -1
- package/dist/assets/{index-Cq3X29cS.js → index-DmMELGnq.js} +4589 -4594
- package/dist/assets/{lexical-BfjdJw9p.js → lexical-CjsD_DZd.js} +1 -1
- package/dist/assets/{liveblocks-hPir54fv.js → liveblocks-Ckq-Ca_6.js} +1 -1
- package/dist/assets/{lottie-B9oE3WTk.js → lottie-D9uGWJnR.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-C0YIUOnb-DzM3IPUV.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BR34hkWh-Dcg0Ex62.js → mapSectionWithAcOnlyToTreeNode-QJI_OYzu-CWbZz_DM.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-DKDsz0vw-DY4vMoqX.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DqDJAeAj-DQV8mQPm.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-J3b1nb_T-CdLTDjgE.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-DT3UAyAi.js +1 -0
- package/dist/assets/{mui-DzE-7sTl.js → mui-D89AqdoX.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-CU2PSbaV.js → page-detail-CWX5S47F-DbQrivxF.js} +1 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-D4-lfmac.js +4 -0
- package/dist/assets/{radio-default-CiSgisfh-Bxc-V1Pu.js → radio-default-CiSgisfh-raG5dxC1.js} +1 -1
- package/dist/assets/{react-CCRxUGC8.js → react-7Ri_94Fu.js} +3 -3
- package/dist/assets/{react-CI8KeqtZ.js → react-BVKhHWWR.js} +1 -1
- package/dist/assets/{react-iFe9VXnX.js → react-C00KSCiy.js} +1 -1
- package/dist/assets/{react-BZ8J0jw1.js → react-C7JpWPz-.js} +2 -2
- package/dist/assets/{react-BldneNt8.js → react-CawXqPwY.js} +1 -1
- package/dist/assets/{react-DukPPAPu.js → react-CmfaUpNO.js} +1 -1
- package/dist/assets/{react-IwpftXW_.js → react-CwOq2FWn.js} +1 -1
- package/dist/assets/{react-CrnvOta1.js → react-GdMEeNvP.js} +1 -1
- package/dist/assets/{recharts-CiLmNGsl.js → recharts-BGD0T3Yu.js} +1 -1
- package/dist/assets/{sentry-DQ_HstYV.js → sentry-D7VPqxYq.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-B21f1_cN.js → shield-DOlUxcFf-BJuX-oII.js} +1 -1
- package/dist/assets/toCOABalancesWithID-AzKAZ-Cv-BQ5-SiQ7.js +1 -0
- package/dist/assets/toChartData-BEjMhb7--Ci9QGOR0.js +1 -0
- package/dist/assets/{uploadAttachment-htF-2xC2-BK-WmHcD.js → uploadAttachment-DUpHzqMe-BsXZIlq1.js} +21 -21
- package/dist/assets/uploadReceipts-Dge0cNF1-DZBMoenL.js +1 -0
- package/dist/assets/{url-D8jqtRfm.js → url-BmPGVW_-.js} +1 -1
- package/dist/assets/{url-vYaM0QEj.js → url-DKbKH14f.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-BEGNcNvC.js → useLongPress-GCK2COYQ-BEJWN3qx.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-R5RCG5WU.js → usp-line-BBd1wKwW-5sdZ_HyE.js} +1 -1
- package/dist/assets/{utils-wDk5ojg7.js → utils-HSFXD1Qz.js} +1 -1
- package/dist/assets/{zeni-epic-state-B4gyGBI3.js → zeni-epic-state-C513CLlc.js} +34 -34
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-CXIFSMnN-Coq6wI87.js +0 -21
- package/dist/assets/AccountInfoPage-WkSEcWJL-CkOnNoKS.js +0 -18
- package/dist/assets/AccountRow-C7_pSX9U-C_uj4ob-.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-BiaLjcnj-DwcRtJ6c.js +0 -6
- package/dist/assets/ApAgingDetailPage-C-whdj9K-JXlpGLx8.js +0 -46
- package/dist/assets/ApprovalRulesSettingsPage-BdNNS-TS-C1VrdMxf.js +0 -47
- package/dist/assets/ArAgingDetailPage-CQRhI5Z_-Db-Z6Fvw.js +0 -46
- package/dist/assets/BankAccountWarningSection-Bqrm3j-y-DAe6VsjZ.js +0 -51
- package/dist/assets/BillDetailPage-GenRHQg3-fgN7wk2K.js +0 -266
- package/dist/assets/BillPayPromoPage-C-lZ36kT-Cmn31Ydv.js +0 -84
- package/dist/assets/BillingSettingsPage-ButDt4sV-CDAA93m9.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-DngjFR3H-BSt2ez3P.js +0 -1
- package/dist/assets/BusinessVerificationPage-CnF2Rkda-BxUtCmxb.js +0 -138
- package/dist/assets/ConfettiBurst-D_bNA5jm-AxnjtqGp.js +0 -1
- package/dist/assets/CurrencySelectField-7to_rmTp-D1r0SB0Y.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-DMF9BtF3-COJ-Wyve.js +0 -1
- package/dist/assets/DashboardSidebarBackgroundAnimation-JT601qzy-CkG1z_mx.js +0 -12
- package/dist/assets/EditPeoplePage-D25vo51x-BKCEnPp5.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-DnFC_tCw-Cr7fsauQ.js +0 -865
- package/dist/assets/EntityDetailPage-C9vgxsh4-Dg0LhTdP.js +0 -18
- package/dist/assets/ExpenseAutomationPage-DiJoZGeD-lfenglhX.js +0 -3001
- package/dist/assets/GlobalReviewListPage-Ck-LItUj-B8rLujq7.js +0 -291
- package/dist/assets/InsightsSection-BdLDesVF-oVNFlqx0.js +0 -27
- package/dist/assets/IntegrationsSettingsPage-skBb_52w-D47eLHv2.js +0 -57
- package/dist/assets/InternationalWireVerificationPage-D1_fj0MG-Bu9SiBen.js +0 -65
- package/dist/assets/InvitePeoplePage-C0bQFMoO-C-nWyYL8.js +0 -12
- package/dist/assets/InvoiceUploadSection-CVOHcfdx-FSNHIS5V.js +0 -140
- package/dist/assets/LabeledAddressValueField-B6IDZIGK-SXi-bQ86.js +0 -45
- package/dist/assets/LabeledDocumentField-DXd7BAH7-EzfLYbDV.js +0 -41
- package/dist/assets/LabeledText-B0bwznDi-CbaJVeOz.js +0 -42
- package/dist/assets/MagicLinkACHDetailsPage-CUhe4LF8-C2tbOI9Z.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-DRiOxSts-fgdDLLEw.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DwCrgk9X-BJyrM3xf.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-UOywm1sp-BBCToRwV.js +0 -31
- package/dist/assets/MailingDetailsSection-OYOVCPaq-B5APfdaG.js +0 -21
- package/dist/assets/MyPendingActivationChargeCardListPage-SxpMobOC-QJU8xHLH.js +0 -6
- package/dist/assets/MyProfileSettingsPage-DLvCW9dl-3UYEbBEM.js +0 -85
- package/dist/assets/NavBarWithPicker-zd1BopIw-dYFUtFeu.js +0 -30
- package/dist/assets/NoDataChart-Vz2Z_iIL-BHz7pPoV.js +0 -26
- package/dist/assets/NotificationsListConfig-B5Ei8fVY-6YLjvq8F.js +0 -1
- package/dist/assets/NotificationsPage-ChGr8-XF-VM1F0z8s.js +0 -685
- package/dist/assets/OpExByVendorPage-ae4FK1p6-CuNG361W.js +0 -100
- package/dist/assets/PeoplePage-D8pfeVRK-n6UzH76T.js +0 -727
- package/dist/assets/QBOSetupSection-C4KJ5iyA-DQVhDTXa.js +0 -79
- package/dist/assets/ReimbursementDetailPage-8i30hIr0-Dsm2Dpy8.js +0 -314
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-CYZGBUms--1POKdZc.js +0 -1
- package/dist/assets/ReportTableViewSelector-DM_Em4lI-DVoP-nO6.js +0 -150
- package/dist/assets/RoleWithToolTip-zLU58xb1-CSAiI1iT.js +0 -22
- package/dist/assets/ScheduleSequenceTable-CCHqmNhS-C5vei5ej.js +0 -324
- package/dist/assets/SignIn-Lqp6Uw4I--saqLsOx.js +0 -491
- package/dist/assets/SignInScreen-Crh_lnSg.js +0 -1
- package/dist/assets/SpendManagementListViewPage-DUBWXnF--DVg116ep.js +0 -134
- package/dist/assets/StatementItem-DWaejUx_-C8v9F3EQ.js +0 -31
- package/dist/assets/TaskManagementPage-BmOv6jb0-DMzDUJnW.js +0 -508
- package/dist/assets/TimeframeSwitcher-DR4B6ENA-CD0Ac63k.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-DlZ34Erl-BkLOXZy3.js +0 -31
- package/dist/assets/TransactionActivityLogPage-C4oS0b8d-5ZoA1pgW.js +0 -195
- package/dist/assets/TransactionDetailPage-Dz5UCI7c-DCbRyu-c.js +0 -903
- package/dist/assets/TransactionList-7sC4Vvux-BdQNJsG3.js +0 -153
- package/dist/assets/TransactionListPage-CTzZTWJh-rMP8UEHn.js +0 -35
- package/dist/assets/UploadAdditionalDocumentOverlay-Cxxuws-w-q1izSlj8.js +0 -38
- package/dist/assets/Vendor2FAPopup-Dm6Ot_5k-CeyePLNN.js +0 -1
- package/dist/assets/VendorACHDetailsPage-DMhwUboX-DW77y7-e.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-DU47133D-BNz0vLWP.js +0 -1
- package/dist/assets/VendorFirstReviewPage-COk5-4Mm-BUPA8fWX.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Do345R_v-M_TSksW9.js +0 -1
- package/dist/assets/ZeniAccountSetupPage-akgqrbmw-xtslv-BN.js +0 -36
- package/dist/assets/ZeniCopyright-BrtqzLbb-BE2v7OcH.js +0 -1
- package/dist/assets/commonDimensions-DY0eA-Tl-D8wklKVF.js +0 -1
- package/dist/assets/downloadPdf-3uDsBfRK-CGEKdVDQ.js +0 -1
- package/dist/assets/epic-DjY7Y3Uv.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-CkbJ6R1I-DIVOAa5P.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-BDHpjDEs-DAaIJCY0.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-B-58xc9r-DNQTilLS.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DNryKtmS-D24Y9ZFz.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-6kNSnV0m-BkRLjeRM.js +0 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-CcYFb3nR.js +0 -3
- package/dist/assets/toCOABalancesWithID-CU-N01Ne-BfeZ-0De.js +0 -1
- package/dist/assets/toChartData-BIERIIE--CxJg6nKe.js +0 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-DWftVCta.js +0 -1
- package/dist/assets/uploadReceipts-Dge0cNF1-DNapZCC1.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,J as ue,ac as A,hE as lt,aQ as J,a as ve,hN as ct,L as Ne,aT as $e,o as a,b as E,x as c,d as Ye,h as dt,bb as ut,as as ft,e as be,ak as De,an as fe,aS as ce,fF as pt,aa as Xe,cI as mt,a_ as ht,aR as gt,p as H,ae as qe,fJ as ke,fK as Ae,gh as wt,bV as ye,gb as xt,hO as $t,u as o,ft as bt,ck as Je,c2 as Dt,f5 as yt,bM as Tt,ao as Ue,fW as Ct,dw as St,c4 as He,h4 as vt,h5 as kt}from"./index-Cq3X29cS.js";import{a as u}from"./sentry-DQ_HstYV.js";import{n}from"./mui-DzE-7sTl.js";import{bL as At}from"./zeni-epic-state-B4gyGBI3.js";import{v as Pt}from"./ZeniTransferAmountSlider-yfG_RSE5-Chw30zZt.js";import{r as Lt}from"./AccountInfoPageContent-DeptuP1q-CsYE_k70.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.js";import"./downloadPdf-3uDsBfRK-CGEKdVDQ.js";import"./commonDimensions-DY0eA-Tl-D8wklKVF.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]="fe67b2dd-c261-4dc6-8e9d-a4739a619178",e._sentryDebugIdIdentifier="sentry-dbid-fe67b2dd-c261-4dc6-8e9d-a4739a619178")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=E.getLocalizedStrings(),Ke="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Qe="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ge=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:K,onBackClick:I,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:Q,onReviewClick:G}){const i=ue(),R=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,V]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[N,Y]=u.useState(!1),Z=r.transferMoneyPartiesFetchState,oe=ce(Z),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),Ze=u.useCallback(s=>{O?.(s),I(),Y(!1),z(!1)},[I,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Ze,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&&V(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&Y(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{N&&x&&q()},[N,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&Q?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Z==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Z,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};K(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),G())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(Ft,{children:t.jsxs(It,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Wt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Vt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Et,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:H.heroLight}})})]})}):null,t.jsx(Nt,{children:J("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:Ge(Qe),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ie,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ie,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ke),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Jt,{children:[$?t.jsxs(Yt,{children:[t.jsx(Xt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Ut,{windowSize:i,children:[t.jsx(Qt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Ht,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${J("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Kt,{windowSize:i}),t.jsx(Gt,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${J("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(Zt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ne,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Ke]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
|
|
1
|
+
import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e,o as a,F as E,y as c,x as Ye,c as dt,ba as ut,aq as ft,R as be,ai as De,al as fe,aR as ce,fD as pt,a9 as Xe,cG as mt,aZ as ht,aP as gt,p as J,ac as qe,fH as ke,fI as Ae,gf as wt,bU as ye,g9 as xt,hH as $t,u as o,fr as bt,cj as Ue,c1 as Dt,f3 as yt,bL as Tt,am as Ge,fU as Ct,dv as St,c3 as Je,g_ as vt,g$ as kt}from"./index-DmMELGnq.js";import{a as u}from"./sentry-D7VPqxYq.js";import{n}from"./mui-D89AqdoX.js";import{bL as At}from"./zeni-epic-state-C513CLlc.js";import{v as Pt}from"./ZeniTransferAmountSlider-DVJ0puXA-BbQe3edZ.js";import{r as Lt}from"./AccountInfoPageContent-BS2TBUSE-BCLlNmfm.js";import"./liveblocks-Ckq-Ca_6.js";import"./core-DhOBLUcR.js";import"./recharts-BGD0T3Yu.js";import"./lottie-D9uGWJnR.js";import"./analytics-CahM0ApT.js";import"./lexical-CjsD_DZd.js";import"./utils-HSFXD1Qz.js";import"./downloadPdf-DfRYmfsd-Ci0FssC9.js";import"./commonDimensions-ClmbdehE-Cl9ebfDm.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]="1b1893f6-62ae-449b-9552-690832905e23",e._sentryDebugIdIdentifier="sentry-dbid-1b1893f6-62ae-449b-9552-690832905e23")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=E.getLocalizedStrings(),Ze="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",He="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:Z,onBackClick:I,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:H,onReviewClick:K}){const i=ue(),R=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[N,Y]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),I(),Y(!1),z(!1)},[I,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&Y(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{N&&x&&q()},[N,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&H?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};Z(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),K())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Ft,{children:t.jsxs(It,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Et,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:J.heroLight}})})]})}):null,t.jsx(Nt,{children:U("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:Ke(He),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ie,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ie,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ze),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Ut,{children:[$?t.jsxs(Yt,{children:[t.jsx(Xt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Gt,{windowSize:i,children:[t.jsx(Ht,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Jt,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${U("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Zt,{windowSize:i}),t.jsx(Kt,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${U("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ne,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Ze]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
|
|
2
2
|
margin-top: ${a.sp3};
|
|
3
3
|
display: flex;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -17,7 +17,7 @@ import{V as t,J as ue,ac as A,hE as lt,aQ as J,a as ve,hN as ct,L as Ne,aT as $e
|
|
|
17
17
|
width: 100%;
|
|
18
18
|
justify-content: space-between;
|
|
19
19
|
padding: ${a.sp3} ${a.sp4};
|
|
20
|
-
background-color: ${
|
|
20
|
+
background-color: ${J.importantLight};
|
|
21
21
|
border-radius: ${a.sp2};
|
|
22
22
|
`,Rt=n.div`
|
|
23
23
|
display: flex;
|
|
@@ -25,15 +25,15 @@ import{V as t,J as ue,ac as A,hE as lt,aQ as J,a as ve,hN as ct,L as Ne,aT as $e
|
|
|
25
25
|
`,Et=n.div``,Ot=n(bt)`
|
|
26
26
|
width: ${a.sp4};
|
|
27
27
|
height: ${a.sp4};
|
|
28
|
-
color: ${
|
|
28
|
+
color: ${J.important};
|
|
29
29
|
`,_t=n.div`
|
|
30
30
|
display: flex;
|
|
31
31
|
flex-direction: column;
|
|
32
32
|
margin-left: ${a.sp2};
|
|
33
|
-
`,
|
|
34
|
-
color: ${
|
|
35
|
-
`,
|
|
36
|
-
color: ${
|
|
33
|
+
`,Vt=n(Ue)`
|
|
34
|
+
color: ${J.important};
|
|
35
|
+
`,Wt=n(fe)`
|
|
36
|
+
color: ${J.important};
|
|
37
37
|
`,Nt=n(Dt)`
|
|
38
38
|
color: ${e=>e.theme.colors.primary};
|
|
39
39
|
margin: ${a.sp5} ${a.sp0} ${a.sp3} ${a.sp0};
|
|
@@ -55,8 +55,8 @@ import{V as t,J as ue,ac as A,hE as lt,aQ as J,a as ve,hN as ct,L as Ne,aT as $e
|
|
|
55
55
|
margin-bottom: ${a.sp3};
|
|
56
56
|
margin-top: ${a.sp3};
|
|
57
57
|
white-space: pre-line;
|
|
58
|
-
`,ze=n(
|
|
59
|
-
color: ${
|
|
58
|
+
`,ze=n(Ue)`
|
|
59
|
+
color: ${J.success};
|
|
60
60
|
white-space: nowrap;
|
|
61
61
|
`,qt=n(Tt)`
|
|
62
62
|
width: ${a.sp3};
|
|
@@ -65,10 +65,10 @@ import{V as t,J as ue,ac as A,hE as lt,aQ as J,a as ve,hN as ct,L as Ne,aT as $e
|
|
|
65
65
|
&:hover {
|
|
66
66
|
color: ${e=>e.theme.colors.primary};
|
|
67
67
|
}
|
|
68
|
-
`,
|
|
68
|
+
`,Ut=n.div`
|
|
69
69
|
margin-bottom: ${a.sp6};
|
|
70
70
|
width: 90%;
|
|
71
|
-
`,
|
|
71
|
+
`,Gt=n.div`
|
|
72
72
|
display: flex;
|
|
73
73
|
align-items: center;
|
|
74
74
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
@@ -77,7 +77,7 @@ import{V as t,J as ue,ac as A,hE as lt,aQ as J,a as ve,hN as ct,L as Ne,aT as $e
|
|
|
77
77
|
background-color: ${e=>e.theme.colors.grey3};
|
|
78
78
|
border-bottom-right-radius: ${a.sp1};
|
|
79
79
|
border-bottom-left-radius: ${a.sp1};
|
|
80
|
-
`,
|
|
80
|
+
`,Jt=n.div`
|
|
81
81
|
display: flex;
|
|
82
82
|
flex-direction: row;
|
|
83
83
|
align-items: center;
|
|
@@ -98,7 +98,7 @@ import{V as t,J as ue,ac as A,hE as lt,aQ as J,a as ve,hN as ct,L as Ne,aT as $e
|
|
|
98
98
|
color: ${e=>e.theme.colors.primary};
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
`,
|
|
101
|
+
`,Zt=n.div`
|
|
102
102
|
display: ${e=>e.windowSize==="small"?"none":"block"};
|
|
103
103
|
width: ${a.sp1};
|
|
104
104
|
height: ${a.sp1};
|
|
@@ -106,14 +106,14 @@ import{V as t,J as ue,ac as A,hE as lt,aQ as J,a as ve,hN as ct,L as Ne,aT as $e
|
|
|
106
106
|
margin: 0 ${a.sp2};
|
|
107
107
|
background-color: ${e=>e.theme.colors.grey1};
|
|
108
108
|
border-radius: 50%;
|
|
109
|
-
`,
|
|
109
|
+
`,Ht=n.div`
|
|
110
110
|
display: flex;
|
|
111
111
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
112
112
|
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
113
113
|
width: ${e=>e.windowSize==="small"?"100%":"unset"};
|
|
114
|
-
`,
|
|
114
|
+
`,Kt=n(Ge)`
|
|
115
115
|
color: ${e=>e.theme.colors.hero};
|
|
116
|
-
`,
|
|
116
|
+
`,Qt=n(Ct)`
|
|
117
117
|
cursor: pointer;
|
|
118
118
|
width: 12px;
|
|
119
119
|
height: 12px;
|
|
@@ -179,7 +179,7 @@ import{V as t,J as ue,ac as A,hE as lt,aQ as J,a as ve,hN as ct,L as Ne,aT as $e
|
|
|
179
179
|
&:hover {
|
|
180
180
|
color: ${e=>e.theme.colors.primary};
|
|
181
181
|
}
|
|
182
|
-
`,re={navBarContainerPaddingXaxis:new c(10,19),containerPaddingLeft:new c(16,40,56),containerPaddingRight:new c(16,40,56),successContentMargin:new c(o[3],o[12]),buttonTrayGap:new c(o[4],o[5])},b=E.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,ra=({transferDetails:e,isCalculatorOpen:r,showAnnualYieldEarned:g,transferAmount:$,yieldEarned:y,totalBalance:w,maxInsuredAmount:d,zeniAccountsConfigDetail:f,fireTrackTransferBetweenAccountsFormClicked:l,onSaveChangesToLocalStore:T,onTransferClick:C,onDismissClick:S,onAnotherTransferClick:F,onEstablishConnectionClick:M,onBackClick:
|
|
182
|
+
`,re={navBarContainerPaddingXaxis:new c(10,19),containerPaddingLeft:new c(16,40,56),containerPaddingRight:new c(16,40,56),successContentMargin:new c(o[3],o[12]),buttonTrayGap:new c(o[4],o[5])},b=E.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,ra=({transferDetails:e,isCalculatorOpen:r,showAnnualYieldEarned:g,transferAmount:$,yieldEarned:y,totalBalance:w,maxInsuredAmount:d,zeniAccountsConfigDetail:f,fireTrackTransferBetweenAccountsFormClicked:l,onSaveChangesToLocalStore:T,onTransferClick:C,onDismissClick:S,onAnotherTransferClick:F,onEstablishConnectionClick:M,onBackClick:Z,onFetchLinkTokenClick:I,plaidConnectionDetails:O,showReviewContent:_,setShowReviewContent:H,setCurrentDrawerContent:K,clearReviewTransferDetail:i,onReviewClick:R,setIsCalculatorOpen:V,setShowAnnualYieldEarned:j,setTransferAmount:m,setYieldEarned:v,setTotalBalance:W})=>{const x=ue(),z=e.reviewTransferDetail,N=e.transferDetailLocalData.transferFrom?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accType==="depositAccount",Y=()=>e.transferDetailLocalData.transferFrom?.id!=null||e.transferDetailLocalData.transferTo?.id!=null||e.transferDetailLocalData.amount.amount>0;return t.jsx(sa,{windowSize:x,children:e.fetchState==="Completed"?t.jsxs(Ee,{windowSize:x,isTransferCompleted:!0,children:[t.jsx(Oe,{windowSize:x,children:t.jsx(_e,{"data-testid":A("cross-transfer-success-close-button"),onClick:()=>{l("Cross","Transfer Success"),S?.()}})}),t.jsxs(da,{windowSize:x,children:[t.jsx(lt,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),t.jsx(la,{children:N?t.jsxs(t.Fragment,{children:[b.transferDrawer.internal.transferSuccessMsgPrefix,t.jsx(Re,{children:U("0,0.[00]",e.transferDetailLocalData.amount)}),b.transferDrawer.internal.transferSuccessMsgMidfix,`"${e.transferDetailLocalData.transferFrom?.label}"`,b.transferDrawer.internal.transferSuccessMsgMidfix2,`"${e.transferDetailLocalData.transferTo?.label}".`]}):t.jsxs(t.Fragment,{children:[b.transferDrawer.external.transferSuccessMsgPrefix,t.jsx(Re,{children:U("0,0.[00]",e.transferDetailLocalData.amount)}),b.transferDrawer.external.transferSuccessMsgMidfix,`"${e.transferDetailLocalData.transferFrom?.label}"`,b.transferDrawer.external.transferSuccessMsgMidfix1,`"${e.transferDetailLocalData.transferTo?.label}".`,z.reviewTransferMoney.isShowDailyAchLimitWarning?null:b.transferDrawer.external.transferSuccessMsgMidfix2]})}),t.jsxs(ca,{windowSize:x,children:[t.jsx(ve,{variant:"secondary",label:b.transferDrawer.anotherTransferBtn,"data-testid":A("another-transfer-button"),onClick:()=>{l("Another Transfer","Transfer Success"),W(0),V(!1),v(0),j(!1),F()},style:{minWidth:200}}),t.jsx(ve,{variant:"primary",label:b.transferDrawer.backToChecking,"data-testid":A("back-to-checking-button"),onClick:()=>{l("Back to Checking","Transfer Success"),S?.()},style:{minWidth:200}})]})]})]}):_?t.jsx(ct,{transferDetails:e,setCurrentDrawerContent:K,setShowReviewContent:H,onTransferClick:C,clearReviewTransferDetail:i,reviewTransferDetail:z,fireTrackTransferBetweenAccountsFormClicked:l}):t.jsxs(t.Fragment,{children:[t.jsxs(Ee,{windowSize:x,isTransferCompleted:!1,children:[t.jsx(Oe,{windowSize:x,children:t.jsx(_e,{"data-testid":A("cross-amount-details-close-button"),onClick:()=>{l("Cross","Amount Details"),S?.()}})}),x==="small"?t.jsx(ua,{windowSize:x,children:b.transferDrawer.title}):t.jsx(fa,{children:b.transferDrawer.title}),x==="small"?t.jsx(ia,{children:b.transferDrawer.subTitle}):t.jsx(oa,{children:b.transferDrawer.subTitle}),e.transferMoneyPartiesFetchState==="Completed"?t.jsx(zt,{isCalculatorOpen:r,showAnnualYieldEarned:g,transferAmount:$,yieldEarned:y,totalBalance:w,onBackClick:Z,onSaveChangesToLocalStore:T,plaidConnectionDetails:O,transferDetails:e,zeniAccountsConfigDetail:f,onEstablishConnectionClick:M,onFetchLinkTokenClick:I,onReviewClick:R,setIsCalculatorOpen:V,setShowAnnualYieldEarned:j,setTransferAmount:m,setYieldEarned:v,setTotalBalance:W,fireTrackTransferBetweenAccountsFormClicked:l,maxInsuredAmount:d}):t.jsx(Ne,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})]}),Y()?t.jsx($e,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:Ke(He),helperStyle:{paddingTop:a.sp0,paddingBottom:a.sp0},primaryBtn:{label:E.getLocalizedStrings().common.review,isLoading:z.fetchState==="In-Progress"},cancelBtn:{label:b.transferDrawer.cancelBtn,onClick:()=>{l("Cancel","Amount Details"),S?.()}}}):null]})})},oa=n(fe)`
|
|
183
183
|
color: ${e=>e.theme.colors.hero};
|
|
184
184
|
`,ia=n(De)`
|
|
185
185
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -241,10 +241,10 @@ import{V as t,J as ue,ac as A,hE as lt,aQ as J,a as ve,hN as ct,L as Ne,aT as $e
|
|
|
241
241
|
color: ${e=>e.theme.colors.primary};
|
|
242
242
|
margin-top: ${a.sp3};
|
|
243
243
|
margin-bottom: ${a.sp2};
|
|
244
|
-
`,
|
|
244
|
+
`,G={accountRowLeftRightPadding:new c(o[3],o[3]),zeniAccountListPaddingBottom:new c(o[3],o[6]),navBarContainerPaddingXaxis:new c(10,19),containerPaddingLeft:new c(o[3],o[6],o[8]),containerPaddingRight:new c(o[3],o[6],o[8])},Ve="wireTransferDetailPage",We=e=>`${e}_form`,pa=E.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList.transferDrawer,we=E.getLocalizedStrings().common,ma=e=>t.jsx(va,{color:vt(e)}),ha=({depositAccountListView:e,setCurrentDrawerContent:r,selectedAccount:g,setShowWireAccountInfo:$,setSelectedAccount:y,fireTrackTransferBetweenAccountsFormClicked:w})=>{const d=Xe({mode:"all",reValidateMode:"onChange",defaultValues:{selectedAccountId:g?.id}}),f=ue();return u.useEffect(()=>{const l=d.watch(()=>{const T=e.depositAccounts.find(C=>C.id===d.getValues("selectedAccountId"));y(T)});return()=>{l.unsubscribe()}}),e.fetchState!="Completed"?t.jsx(xt,{fetchState:e.fetchState}):t.jsxs(t.Fragment,{children:[t.jsxs(ga,{windowSize:f,children:[t.jsx(Ca,{windowSize:f,children:t.jsx(ye,{style:{marginTop:a.sp1},title:we.navBar.back,enterDelay:600,placement:"bottom",children:t.jsx(Ta,{"data-testid":A("select-zeni-account-back-button"),onClick:()=>{w("Back","Select Account for Split Transfer"),r("achTransfer")}})})}),t.jsx(Sa,{windowSize:f,children:pa.selectYour}),t.jsx(qe,{...d,children:t.jsx("form",{id:We(Ve),onSubmit:d.handleSubmit(()=>{w("Next","Select Account for Split Transfer"),$(!0)}),children:t.jsx(ya,{windowSize:f,children:e.depositAccounts.map((l,T)=>t.jsx(Da,{isClickEnabled:!0,windowSize:f,"data-testid":A("deposit-account-click",l.id),onClick:()=>d.setValue("selectedAccountId",l.id),children:t.jsxs(wa,{children:[t.jsx($t,{name:"selectedAccountId",id:l.id,value:l.id,radioSize:"small",style:{marginRight:8}}),ma(T),t.jsxs(xa,{children:[t.jsx(ba,{windowSize:f,children:l.accountName}),t.jsx($a,{children:U("0,0[.]00",l.accountBalance?.available)})]})]})},l.id))})})})]}),g!=null?t.jsx($e,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:We(Ve),cancelBtn:{label:we.cancel,onClick:()=>{w("Cancel","Select Account for Split Transfer"),r("achTransfer")},style:{width:93}},primaryBtn:{label:we.next,style:{width:93}}}):null]})},ga=n.div`
|
|
245
245
|
height: auto;
|
|
246
|
-
padding-left: ${e=>`${
|
|
247
|
-
padding-right: ${e=>`${
|
|
246
|
+
padding-left: ${e=>`${G.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
247
|
+
padding-right: ${e=>`${G.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
248
248
|
margin-bottom: auto;
|
|
249
249
|
`,wa=n.div`
|
|
250
250
|
display: flex;
|
|
@@ -257,7 +257,7 @@ import{V as t,J as ue,ac as A,hE as lt,aQ as J,a as ve,hN as ct,L as Ne,aT as $e
|
|
|
257
257
|
overflow: hidden;
|
|
258
258
|
position: relative;
|
|
259
259
|
top: 2px;
|
|
260
|
-
`,$a=n(
|
|
260
|
+
`,$a=n(Ge)`
|
|
261
261
|
color: ${e=>e.theme.colors.grey1};
|
|
262
262
|
position: relative;
|
|
263
263
|
top: -${a.sp1};
|
|
@@ -267,8 +267,8 @@ import{V as t,J as ue,ac as A,hE as lt,aQ as J,a as ve,hN as ct,L as Ne,aT as $e
|
|
|
267
267
|
text-transform: capitalize;
|
|
268
268
|
overflow: hidden;
|
|
269
269
|
`,Da=n.div`
|
|
270
|
-
padding-left: ${e=>
|
|
271
|
-
padding-right: ${e=>
|
|
270
|
+
padding-left: ${e=>G.accountRowLeftRightPadding.valuePx(e.windowSize)};
|
|
271
|
+
padding-right: ${e=>G.accountRowLeftRightPadding.valuePx(e.windowSize)};
|
|
272
272
|
background: ${e=>e.theme.colors.grey5};
|
|
273
273
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
274
274
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal} `};
|
|
@@ -285,8 +285,8 @@ import{V as t,J as ue,ac as A,hE as lt,aQ as J,a as ve,hN as ct,L as Ne,aT as $e
|
|
|
285
285
|
color: ${e=>e.isClickEnabled?e.theme.colors.champion:e.theme.colors.hero};
|
|
286
286
|
}
|
|
287
287
|
`,ya=n.div`
|
|
288
|
-
padding-bottom: ${e=>
|
|
289
|
-
`,Ta=n(
|
|
288
|
+
padding-bottom: ${e=>G.zeniAccountListPaddingBottom.valuePx(e.windowSize)};
|
|
289
|
+
`,Ta=n(Je)`
|
|
290
290
|
cursor: pointer;
|
|
291
291
|
color: ${e=>e.theme.colors.hero};
|
|
292
292
|
width: ${a.sp4};
|
|
@@ -302,7 +302,7 @@ import{V as t,J as ue,ac as A,hE as lt,aQ as J,a as ve,hN as ct,L as Ne,aT as $e
|
|
|
302
302
|
align-items: center;
|
|
303
303
|
width: 100%;
|
|
304
304
|
top: ${a.sp0};
|
|
305
|
-
padding: ${e=>`${
|
|
305
|
+
padding: ${e=>`${G.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${a.sp0}`};
|
|
306
306
|
z-index: 2;
|
|
307
307
|
background-color: ${e=>e.theme.colors.grey4};
|
|
308
308
|
`,Sa=n(be)`
|
|
@@ -323,7 +323,7 @@ import{V as t,J as ue,ac as A,hE as lt,aQ as J,a as ve,hN as ct,L as Ne,aT as $e
|
|
|
323
323
|
height: auto;
|
|
324
324
|
padding: ${e=>`${a.sp0} ${L.pageContentPaddingLeftRight.valuePx(e.windowSize)}`};
|
|
325
325
|
margin-bottom: auto;
|
|
326
|
-
`,ja=n(
|
|
326
|
+
`,ja=n(Je)`
|
|
327
327
|
cursor: pointer;
|
|
328
328
|
color: ${e=>e.theme.colors.hero};
|
|
329
329
|
width: ${a.sp4};
|
|
@@ -352,11 +352,11 @@ import{V as t,J as ue,ac as A,hE as lt,aQ as J,a as ve,hN as ct,L as Ne,aT as $e
|
|
|
352
352
|
color: ${e=>e.theme.colors.primary};
|
|
353
353
|
padding: ${a.sp3} ${a.sp0} ${a.sp2} ${a.sp0};
|
|
354
354
|
margin: ${e=>`${a.sp0} ${L.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
|
|
355
|
-
`,Ia=({zeniAccountsConfigDetail:e,depositAccountListView:r,downloadAccountDetailEndPoint:g,authParams:$,selectedAccountId:y,currentTenant:w,setCurrentDrawerContent:d,fireTrackTransferBetweenAccountsFormClicked:f,onDismissClick:l})=>{const[T,C]=u.useState(!1),[S,F]=u.useState(r.depositAccounts.find(M=>M.id===y));return T&&S!=null?t.jsx(Aa,{downloadAccountDetailEndPoint:g,authParams:$,currentTenant:w,zeniAccountsConfigDetail:e,depositAccount:S,onDismissClick:l,setShowWireAccountInfo:C,fireTrackTransferBetweenAccountsFormClicked:f}):t.jsx(ha,{depositAccountListView:r,setCurrentDrawerContent:d,selectedAccount:S,setShowWireAccountInfo:C,setSelectedAccount:F,fireTrackTransferBetweenAccountsFormClicked:f})},
|
|
355
|
+
`,Ia=({zeniAccountsConfigDetail:e,depositAccountListView:r,downloadAccountDetailEndPoint:g,authParams:$,selectedAccountId:y,currentTenant:w,setCurrentDrawerContent:d,fireTrackTransferBetweenAccountsFormClicked:f,onDismissClick:l})=>{const[T,C]=u.useState(!1),[S,F]=u.useState(r.depositAccounts.find(M=>M.id===y));return T&&S!=null?t.jsx(Aa,{downloadAccountDetailEndPoint:g,authParams:$,currentTenant:w,zeniAccountsConfigDetail:e,depositAccount:S,onDismissClick:l,setShowWireAccountInfo:C,fireTrackTransferBetweenAccountsFormClicked:f}):t.jsx(ha,{depositAccountListView:r,setCurrentDrawerContent:d,selectedAccount:S,setShowWireAccountInfo:C,setSelectedAccount:F,fireTrackTransferBetweenAccountsFormClicked:f})},Qa=({transferDetails:e,zeniAccountsConfigDetail:r,depositAccountListView:g,maxInsuredAmount:$,currentTenant:y,showReviewContent:w,currentDrawerContent:d,downloadAccountDetailEndPoint:f,authParams:l,analytics:T,setCurrentDrawerContent:C,setShowReviewContent:S,onSaveChangesToLocalStore:F,onTransferClick:M,onReviewClick:Z,onDismissClick:I,onAnotherTransferClick:O,onEstablishConnectionClick:_,onBackClick:H,clearReviewTransferDetail:K,onFetchLinkTokenClick:i,plaidConnectionDetails:R})=>{const[V,j]=u.useState(!1),[m,v]=u.useState(!1),[W,x]=u.useState(0),[z,N]=u.useState(0),[Y,Q]=u.useState(0),oe=()=>{const X=(ee,ie)=>T.trackTransferBetweenAccountsFormClicked(ee,ie,e.transferDetailLocalData.transferFrom?.label,e.transferDetailLocalData.transferTo?.label,e.transferDetailLocalData.amount.amount,e.reviewTransferDetail.reviewTransferMoney.isShowDailyAchLimitWarning,e.reviewTransferDetail.reviewTransferMoney.transferSchedules.length,e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.zeniAccountsConfigDetail.depositProductConfig.depositProducts?.[0].range?.[1]!=null&&e.transferDetailLocalData.amount.amount>r.zeniAccountsConfigDetail.depositProductConfig.depositProducts[0].range[1]);return d==="achTransfer"?t.jsx(ra,{transferDetails:e,isCalculatorOpen:V,showAnnualYieldEarned:m,transferAmount:W,yieldEarned:z,totalBalance:Y,zeniAccountsConfigDetail:r,fireTrackTransferBetweenAccountsFormClicked:X,onSaveChangesToLocalStore:F,onTransferClick:M,onDismissClick:I,onAnotherTransferClick:O,onEstablishConnectionClick:_,onBackClick:H,onFetchLinkTokenClick:i,plaidConnectionDetails:R,setCurrentDrawerContent:C,clearReviewTransferDetail:K,onReviewClick:Z,setShowReviewContent:S,showReviewContent:w,setIsCalculatorOpen:j,setShowAnnualYieldEarned:v,setTransferAmount:x,setYieldEarned:N,setTotalBalance:Q,maxInsuredAmount:$}):t.jsx(Ia,{zeniAccountsConfigDetail:r,depositAccountListView:g,selectedAccountId:e.transferDetailLocalData.transferTo?.id,currentTenant:y,downloadAccountDetailEndPoint:f,authParams:l,fireTrackTransferBetweenAccountsFormClicked:X,setCurrentDrawerContent:C,onDismissClick:I})};return t.jsx(Ra,{children:oe()})},Ra=n.div`
|
|
356
356
|
display: flex;
|
|
357
357
|
flex-direction: column;
|
|
358
358
|
background-color: ${e=>e.theme.colors.grey4};
|
|
359
359
|
overflow-x: hidden;
|
|
360
360
|
height: 100%;
|
|
361
361
|
width: 100%;
|
|
362
|
-
`;export{
|
|
362
|
+
`;export{Qa as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as C,
|
|
1
|
+
import{J as C,d as M,a8 as Fe,ce as Ke,V as t,aO as V,bU as ae,bD as Ve,b as ie,aQ as W,T as We,o as i,ai as k,F as L,p as w,bL as Ee,y,fk as X,H as I,u as p,b5 as ne,bP as Le,aU as Me,aw as Ue,fX as Ge,h4 as _e,i as Je,al as A,b0 as Xe,jt as Qe,k5 as qe,bh as Ze,eQ as et,d9 as tt,fU as it,k_ as ot,j2 as Ae,j3 as Oe,cu as rt,iV as at,iW as nt,k$ as st,kg as lt,am as E,bS as dt,cA as le,j1 as ct,cD as ht}from"./index-DmMELGnq.js";import{a as f,P as pt}from"./sentry-D7VPqxYq.js";import{n as o,c as de}from"./mui-D89AqdoX.js";import{bL as U,c4 as xt}from"./zeni-epic-state-C513CLlc.js";import{s as gt}from"./commonDimensions-ClmbdehE-Cl9ebfDm.js";import{g as ce}from"./BoxItem-CACRFWG2-X3bucjjy.js";import{o as mt}from"./shield-DOlUxcFf-BJuX-oII.js";import{U as he,F as pe,X as xe,Y as ge,G as me,J as ut}from"./recharts-BGD0T3Yu.js";import"./liveblocks-Ckq-Ca_6.js";import"./core-DhOBLUcR.js";import"./lottie-D9uGWJnR.js";import"./analytics-CahM0ApT.js";import"./lexical-CjsD_DZd.js";import"./utils-HSFXD1Qz.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]="c1ad9bae-ead2-446b-93de-635f7179cb58",e._sentryDebugIdIdentifier="sentry-dbid-c1ad9bae-ead2-446b-93de-635f7179cb58")}catch{}})();const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},ft={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[yt,ft,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Ae,Oe),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=f.useState(oe());f.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let m=s;r.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),n(c,m)},g=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(dt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Mt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":W("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(le,{})})})]})]}):t.jsx(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":W("cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(le,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":W("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const jt=pt.memo($t),bt=o.div`
|
|
2
2
|
top: ${i.sp0};
|
|
3
3
|
left: ${i.sp0};
|
|
4
4
|
z-index: 2;
|
|
@@ -95,14 +95,14 @@ import{J as C,y as M,a9 as Fe,cf as Ke,V as t,aQ as V,bV as ae,bE as Ve,w as ie,
|
|
|
95
95
|
cursor: pointer;
|
|
96
96
|
gap: 5px;
|
|
97
97
|
color: ${e=>e.theme.colors.primary};
|
|
98
|
-
`,
|
|
98
|
+
`,G={containerPaddingLeft:new y(p[3],p[4]),containerPaddingRight:new y(p[2],p[3]),containerPaddingTop:new y(p[2],p[3]),containerPaddingBottom:new y(p[2],p[3])};function At({data:e,boxType:r}){const{description:n,amount:h,status:l,date:a}=e,u=V("0,0.00",h),d=C(),{dateFormat:g}=L.getLocalizedStrings(),x=oe(),$=x[0].width,j=x[1].width,c=x[2].width,s=st(l);if(d==="small"){const b=t.jsx(Kt,{children:t.jsxs(Vt,{children:[t.jsxs(Wt,{children:[t.jsxs(Ut,{children:[t.jsx(fe,{}),t.jsx(Gt,{children:t.jsx(_t,{children:t.jsxs(Jt,{children:[n,l!=null&&l.code!=="completed"?t.jsxs(t.Fragment,{children:[t.jsx(Xt,{}),t.jsx(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(Ot,{windowSize:d,children:[t.jsxs(Rt,{windowSize:d,width:$,children:[t.jsx(fe,{}),t.jsxs(Ht,{windowSize:d,children:[t.jsx(we,{children:n}),l!=null&&l.code!=="completed"?t.jsxs(Yt,{windowSize:d,children:[t.jsx(Ft,{}),t.jsx(Nt,{color:s?.color,children:s?.value})]}):null]})]}),t.jsx(It,{windowSize:d,width:j,children:t.jsx(we,{children:a!=null?a.format(g.visual.MMMDCommaYYYYformat):null})}),t.jsx(Bt,{windowSize:d,width:c,children:t.jsx($e,{children:u})})]});return t.jsx(ce,{content:m,boxType:r,isDisabled:!0,isNotClickable:!0})}const Ot=o.div`
|
|
99
99
|
width: 100%;
|
|
100
100
|
display: flex;
|
|
101
101
|
background-color: ${e=>e.theme.colors.grey5};
|
|
102
|
-
padding-left: ${e=>
|
|
103
|
-
padding-right: ${e=>
|
|
104
|
-
padding-top: ${e=>
|
|
105
|
-
padding-bottom: ${e=>
|
|
102
|
+
padding-left: ${e=>G.containerPaddingLeft.valuePx(e.windowSize)};
|
|
103
|
+
padding-right: ${e=>G.containerPaddingRight.valuePx(e.windowSize)};
|
|
104
|
+
padding-top: ${e=>G.containerPaddingTop.valuePx(e.windowSize)};
|
|
105
|
+
padding-bottom: ${e=>G.containerPaddingBottom.valuePx(e.windowSize)};
|
|
106
106
|
box-shadow: ${e=>e.theme.mode==="dark"?`${w.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${w.dropShadowNormalLight}`};
|
|
107
107
|
border-radius: ${i.sp2};
|
|
108
108
|
justify-content: space-between;
|
|
@@ -115,14 +115,14 @@ import{J as C,y as M,a9 as Fe,cf as Ke,V as t,aQ as V,bV as ae,bE as Ve,w as ie,
|
|
|
115
115
|
min-width: ${e=>e.width.valuePx(e.windowSize)};
|
|
116
116
|
padding-left: ${i.sp0};
|
|
117
117
|
box-sizing: border-box;
|
|
118
|
-
`,
|
|
118
|
+
`,It=o.div`
|
|
119
119
|
display: flex;
|
|
120
120
|
align-items: center;
|
|
121
121
|
width: ${e=>e.width.valuePx(e.windowSize)};
|
|
122
122
|
max-width: ${e=>e.width.valuePx(e.windowSize)};
|
|
123
123
|
min-width: ${e=>e.width.valuePx(e.windowSize)};
|
|
124
124
|
box-sizing: border-box;
|
|
125
|
-
`,
|
|
125
|
+
`,Bt=o.div`
|
|
126
126
|
display: flex;
|
|
127
127
|
align-items: center;
|
|
128
128
|
justify-content: flex-end;
|
|
@@ -134,7 +134,7 @@ import{J as C,y as M,a9 as Fe,cf as Ke,V as t,aQ as V,bV as ae,bE as Ve,w as ie,
|
|
|
134
134
|
`,fe=o(lt)`
|
|
135
135
|
width: ${i.sp4};
|
|
136
136
|
height: ${i.sp4};
|
|
137
|
-
`,we=o(
|
|
137
|
+
`,we=o(A)`
|
|
138
138
|
display: -webkit-box;
|
|
139
139
|
-webkit-box-orient: vertical;
|
|
140
140
|
-webkit-line-clamp: 1;
|
|
@@ -154,11 +154,11 @@ import{J as C,y as M,a9 as Fe,cf as Ke,V as t,aQ as V,bV as ae,bE as Ve,w as ie,
|
|
|
154
154
|
word-break: break-word;
|
|
155
155
|
text-overflow: ellipsis;
|
|
156
156
|
overflow: hidden;
|
|
157
|
-
`,
|
|
157
|
+
`,Yt=o.div`
|
|
158
158
|
display: flex;
|
|
159
159
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
160
160
|
align-items: center;
|
|
161
|
-
`,
|
|
161
|
+
`,Nt=o(E)`
|
|
162
162
|
color: ${e=>e.color};
|
|
163
163
|
-webkit-box-orient: vertical;
|
|
164
164
|
-webkit-line-clamp: 1;
|
|
@@ -171,7 +171,7 @@ import{J as C,y as M,a9 as Fe,cf as Ke,V as t,aQ as V,bV as ae,bE as Ve,w as ie,
|
|
|
171
171
|
background-color: ${e=>e.theme.colors.grey1};
|
|
172
172
|
margin-left: ${i.sp2};
|
|
173
173
|
margin-right: ${i.sp2};
|
|
174
|
-
`,$e=o(
|
|
174
|
+
`,$e=o(A)`
|
|
175
175
|
display: -webkit-box;
|
|
176
176
|
-webkit-box-orient: vertical;
|
|
177
177
|
-webkit-line-clamp: 1;
|
|
@@ -202,20 +202,20 @@ import{J as C,y as M,a9 as Fe,cf as Ke,V as t,aQ as V,bV as ae,bE as Ve,w as ie,
|
|
|
202
202
|
flex-direction: column;
|
|
203
203
|
align-items: flex-end;
|
|
204
204
|
margin-left: ${i.sp4};
|
|
205
|
-
`,
|
|
205
|
+
`,Ut=o.div`
|
|
206
206
|
display: flex;
|
|
207
207
|
align-items: flex-start;
|
|
208
208
|
margin-bottom: ${i.sp1};
|
|
209
|
-
`,
|
|
209
|
+
`,Gt=o.div`
|
|
210
210
|
display: flex;
|
|
211
211
|
flex-direction: column;
|
|
212
212
|
align-items: flex-start;
|
|
213
213
|
margin-left: ${i.sp3};
|
|
214
214
|
flex: 1;
|
|
215
215
|
min-width: 0;
|
|
216
|
-
`,
|
|
216
|
+
`,_t=o.div`
|
|
217
217
|
width: 100%;
|
|
218
|
-
`,Jt=o(
|
|
218
|
+
`,Jt=o(A)`
|
|
219
219
|
display: block;
|
|
220
220
|
color: ${e=>e.theme.colors.hero};
|
|
221
221
|
line-height: 1.4;
|
|
@@ -246,7 +246,7 @@ import{J as C,y as M,a9 as Fe,cf as Ke,V as t,aQ as V,bV as ae,bE as Ve,w as ie,
|
|
|
246
246
|
`,ei=o.div`
|
|
247
247
|
display: flex;
|
|
248
248
|
align-items: flex-start;
|
|
249
|
-
`,re={lastListItemHeight:new y(200,128),rowWrapperMarginLeftRight:new y(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=f.useRef(null),d=f.useMemo(()=>a!=="small"?ot:gt+40,[a]),g=()=>d,x=a==="small"?Oe
|
|
249
|
+
`,re={lastListItemHeight:new y(200,128),rowWrapperMarginLeftRight:new y(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=f.useRef(null),d=f.useMemo(()=>a!=="small"?ot:gt+40,[a]),g=()=>d,x=a==="small"?Ae:Oe,$=f.useMemo(()=>e.length*d+x,[e.length,d,x]);f.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(Re,{...e,onColumnSortConfigChanged:r,uiState:{sortKey:n.sortKey,sortOrder:n.sortOrder},fetchState:h}),Re=f.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})]})});Re.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(At,{data:e,boxType:"roundedBox"},e.id),li=o.div`
|
|
250
250
|
margin: ${e=>e.fetchState==="Error"?"auto":"unset"};
|
|
251
251
|
display: block;
|
|
252
252
|
height: 100%;
|
|
@@ -293,7 +293,7 @@ import{J as C,y as M,a9 as Fe,cf as Ke,V as t,aQ as V,bV as ae,bE as Ve,w as ie,
|
|
|
293
293
|
position: relative;
|
|
294
294
|
width: auto;
|
|
295
295
|
height: 100%;
|
|
296
|
-
`,
|
|
296
|
+
`,Ie=o.div``,ui=["editPortfolio","taxLetter","statements","settings"],yi=e=>xt(e??"",ui),_=L.getLocalizedStrings().spendManagement.treasury.overviewPage,je=[{value:"editPortfolio",label:_.editPortfolio},{value:"taxLetter",label:_.taxLetter},{value:"statements",label:_.statements},{value:"settings",label:_.settings}],fi=({onOptionSelection:e,onTransferClick:r})=>{const n=Ue(),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(_e,{entity:"zeni_treasury",onOptionSelection:g=>{const x=yi(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{J as C,y as M,a9 as Fe,cf as Ke,V as t,aQ as V,bV as ae,bE as Ve,w 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 B("extraSmallRegular","smallRegular"),balanceIntegerStyles:new B("h5Regular","h3Regular"),integerStyles:new B("largeRegular","h6Regular"),decimalStyles:new B("standardRegular","standardRegular"),fundSummaryStyles:new B("extraSmallSemiBold","smallSemiBold"),yieldValueStyles:new B("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(),Ie=f.memo(({accountHistory:e})=>{const r=C(),n=M(),[h,l]=f.useState(),a=f.useMemo(()=>{const s=G(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 R;return A<.5?R=0:A<.6?R=.9*((A-.5)/.09999999999999998):R=.9,{date:(D===6?s:m.clone().add(Math.round(D*b),"day")).toISOString(),value:R}})},[]),u=f.useMemo(()=>(a.length<=0,0),[a.length]),d=e.fetchState==="Completed"&&(e.accountHistoryWithBalance.length===0||e.accountHistoryWithBalance.every(s=>s.balance?.available.amount===0)),g=f.useMemo(()=>e.accountHistoryWithBalance.map(s=>({...s,date:s.date.toISOString()})),[e.accountHistoryWithBalance]),x=f.useCallback(s=>{const m=Array.isArray(s)?s:[];let b="",z="";if(Array.isArray(m)&&m.length>0){const D=m[0].payload?.balance?.available;z=V("0,0[.]00",D),b=G(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 R=A?G(D).format(Q.visual.MMMformat):G(D).format(Q.visual.MMMDFormat);return t.jsx(Bi,{translateX:b,translateY:z,children:t.jsx(Fi,{windowSize:r,dy:20,dx:-25,children:R})})},[e.accountHistoryWithBalance.length,r]),j=f.useCallback(({cx:s,cy:m,dataKey:b})=>(b==="balance.available.amount"&&(h?.x!==s||h?.y!==m)&&l({x:s,y:m}),t.jsx(Gi,{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)"})]})})})});Ie.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(Ne,{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(Ye,{})})})},[j,d]),s=t.jsx(fi,{onOptionSelection:$,onTransferClick:()=>{x.trackTreasuryDashboardInteraction("Transfer Funds"),u()}});return t.jsxs(Ti,{children:[t.jsx(Ve,{title:v.title,onBackClick:h,showMenuIcon:!1,backgroundColor:g.colors.grey5,style:{zIndex:3,...ie.largeSemiBold.cssObject},rightSideComponent:s,source:"treasury"}),t.jsxs(Li,{windowSize:d,children:[t.jsxs(Mi,{windowSize:d,children:[t.jsx(vi,{fundAllocation:r.currentAllocation,fundsData:r.fundsData,getToolTipContent:c,treasuryDetail:e,hasAccountActivity:e.transactions.length>0}),t.jsx(Ri,{windowSize:d,children:t.jsx(Ie,{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(Ii,{children:[t.jsx(Hi,{onClick:l,"data-testid":W("account-detail-reload"),children:t.jsx(Yi,{})}),t.jsx(Ni,{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(Oi,{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(Ne,{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(Ye,{})})})]}),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(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," Liquidity"]}),t.jsx(N,{children:r.liquidityTimeline})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",d.fundSize]}),t.jsx(N,{color:g.fundNameColor,children:Qe(r.fundSize,r.currencyCode)})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",d.maturity]}),t.jsxs(N,{children:[r.maturity," ",a.timeStrings.days]})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",d.expenseRatio]}),t.jsxs(N,{children:[r.expenseRatio,d.expenseRatioSuffix]})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",d.riskRating]}),t.jsx(N,{children:r.riskRating})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",d.composition]}),t.jsx(N,{children:t.jsxs($o,{children:[r.compositions[0].investedIn," ",r.compositions[0].percentage,Array.isArray(r.compositions)&&r.compositions.length>0&&t.jsx(ae,{style:{textAlign:"left",display:"inline"},title:t.jsx(jo,{children:r.compositions.map((x,$)=>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(_i,{children:e}),Pi=o.div`
|
|
314
|
+
`,P={tickLabelText:new I("extraSmallRegular","smallRegular"),balanceIntegerStyles:new I("h5Regular","h3Regular"),integerStyles:new I("largeRegular","h6Regular"),decimalStyles:new I("standardRegular","standardRegular"),fundSummaryStyles:new I("extraSmallSemiBold","smallSemiBold"),yieldValueStyles:new I("standardMedium","largeMedium")},T={accountDetailHeaderPaddingRight:new y(p[3],p[8]),accountDetailHeaderPaddingBottom:new y(p[3],p[6]),accountDetailHeaderPaddingLeft:new y(p[3],p[8]),accountDetailHeaderPaddingTop:new y(p[3],p[6]),accountDetailContentMarginTop:new y(p[4],p[4]),areaChartHeight:new y(114,209),accountDetailHeaderGap:new y(18,100,184)},{spendManagement:{zeniAccounts:be,treasury:{overviewPage:v}},dateFormat:Q,common:bi}=L.getLocalizedStrings(),Be=f.memo(({accountHistory:e})=>{const r=C(),n=M(),[h,l]=f.useState(),a=f.useMemo(()=>{const s=U(new Date().toISOString()),m=s.clone().subtract(84,"day"),b=84/6;return Array.from({length:7}).map((z,D)=>{const O=D/6;let R;return O<.5?R=0:O<.6?R=.9*((O-.5)/.09999999999999998):R=.9,{date:(D===6?s:m.clone().add(Math.round(D*b),"day")).toISOString(),value:R}})},[]),u=f.useMemo(()=>(a.length<=0,0),[a.length]),d=e.fetchState==="Completed"&&(e.accountHistoryWithBalance.length===0||e.accountHistoryWithBalance.every(s=>s.balance?.available.amount===0)),g=f.useMemo(()=>e.accountHistoryWithBalance.map(s=>({...s,date:s.date.toISOString()})),[e.accountHistoryWithBalance]),x=f.useCallback(s=>{const m=Array.isArray(s)?s:[];let b="",z="";if(Array.isArray(m)&&m.length>0){const D=m[0].payload?.balance?.available;z=V("0,0[.]00",D),b=U(m[0].payload?.date??"").format(Q.visual.DMMMYYYYFormat)}return t.jsxs(Ei,{children:[t.jsx(ze,{children:b}),t.jsx(ze,{isSublabel:!0,children:z})]})},[]),$=f.useCallback(s=>{const m=s,{x:b,y:z}=m,{value:D}=m.payload;let O=!1;e.accountHistoryWithBalance.length>360&&(O=!0);const R=O?U(D).format(Q.visual.MMMformat):U(D).format(Q.visual.MMMDFormat);return t.jsx(Ii,{translateX:b,translateY:z,children:t.jsx(Fi,{windowSize:r,dy:20,dx:-25,children:R})})},[e.accountHistoryWithBalance.length,r]),j=f.useCallback(({cx:s,cy:m,dataKey:b})=>(b==="balance.available.amount"&&(h?.x!==s||h?.y!==m)&&l({x:s,y:m}),t.jsx(Ui,{cx:s,cy:m,strokeWidth:1,r:p[1]})),[h]),c=f.useMemo(()=>{const s=e.accountHistoryWithBalance.length;return s<=0?0:s>360?Math.floor(s/12):Math.floor(s/7)},[e.accountHistoryWithBalance.length]);return t.jsx(Ki,{children:d?t.jsxs(eo,{children:[t.jsx(he,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(pe,{data:a,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(ve,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Se,{offset:"0%",stopColor:n.colors.grey2,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:n.colors.grey2,stopOpacity:.02})]})}),t.jsx(xe,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,tick:s=>$(s),interval:u,padding:{right:p[4]}}),t.jsx(ge,{tick:!1,axisLine:!1,domain:[0,1]}),t.jsx(me,{activeDot:void 0,fillOpacity:1,dot:!1,type:"monotone",dataKey:"value",stroke:n.colors.grey2,strokeDasharray:"4 4",fill:"url(#colorUv)"})]})}),t.jsx(to,{children:t.jsx(Zi,{children:v.noData})})]}):t.jsx(he,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(pe,{data:g,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(ve,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Se,{offset:"0%",stopColor:w.brandColorJade,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:w.brandColorJade,stopOpacity:.03})]})}),t.jsx(xe,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:s=>$(s),padding:{right:p[4]},interval:c}),t.jsx(ge,{tick:!1,axisLine:!1}),t.jsx(ut,{position:h,content:({payload:s})=>x(s),cursor:{strokeDasharray:"3",stroke:w.brandColorJade}}),t.jsx(me,{activeDot:j,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:w.brandColorJade,fill:"url(#colorUv)"})]})})})});Be.displayName="AccountBalanceGraph";const Ko=({treasuryDetail:e,treasurySetupView:r,onColumnSortConfigChanged:n,onBackClick:h,onReloadTreasuryTransactions:l,handleTreasuryOptionSelection:a,onTransferClick:u})=>{const d=C(),g=M(),x=Fe().analytics;Ke({componentName:"treasury.overview",enabled:e.fetchState==="Completed"});const $=m=>{x.trackTreasuryDashboardInteraction((()=>{switch(m){case"editPortfolio":return"Edit Portfolio";case"taxLetter":return"Tax Letter";case"statements":return"Statement";default:return"Settings"}})()),a(m)},j=e.accountSummary,c=f.useCallback(m=>{let b=null,z;switch(m){case"insuredFunds":b=t.jsx(Pe,{children:v.insuredFundsTooltip}),z="280px";break;case"totalBalance":b=t.jsxs(qi,{children:[t.jsx(Qi,{children:v.balanceTooltip.base}),t.jsxs(Z,{children:[t.jsx(ee,{children:v.balanceTooltip.balance}),t.jsx(te,{children:V("0,0[.]00",j?.totalBalance)})]}),t.jsxs(Z,{children:[t.jsx(ee,{children:v.balanceTooltip.processing}),t.jsx(te,{children:V("0,0[.]00",j?.processingBalance)})]}),t.jsxs(Z,{children:[t.jsx(ee,{children:v.balanceTooltip.available}),t.jsx(te,{children:V("0,0[.]00",j?.availableBalance)})]})]}),z="312px";break;case"sevenDayYield":b=t.jsx(Pe,{children:v.fundTile.sevenDayYieldTooltip}),z="464px";break;default:b=t.jsx(t.Fragment,{});break}return t.jsx(Ye,{children:t.jsx(ae,{display:"flex",placement:d==="small"?"bottom":"top",title:b,style:{textAlign:"left"},maxWidth:z,children:m==="insuredFunds"?t.jsx(yo,{}):t.jsx(Ne,{})})})},[j,d]),s=t.jsx(fi,{onOptionSelection:$,onTransferClick:()=>{x.trackTreasuryDashboardInteraction("Transfer Funds"),u()}});return t.jsxs(Ti,{children:[t.jsx(Ve,{title:v.title,onBackClick:h,showMenuIcon:!1,backgroundColor:g.colors.grey5,style:{zIndex:3,...ie.largeSemiBold.cssObject},rightSideComponent:s,source:"treasury"}),t.jsxs(Li,{windowSize:d,children:[t.jsxs(Mi,{windowSize:d,children:[t.jsx(vi,{fundAllocation:r.currentAllocation,fundsData:r.fundsData,getToolTipContent:c,treasuryDetail:e,hasAccountActivity:e.transactions.length>0}),t.jsx(Ri,{windowSize:d,children:t.jsx(Be,{accountHistory:e.accountHistory})})]}),t.jsx(Si,{analytics:x,fundsData:r.fundsData,fundAllocation:r.currentAllocation,hasAccountActivity:e.transactions.length>0})]}),e.transactionsFetchState.fetchState==="Completed"?t.jsx(He,{treasuryDetail:e,onColumnSortConfigChanged:n}):e.transactionsFetchState.fetchState==="Error"?t.jsxs(Bi,{children:[t.jsx(Hi,{onClick:l,"data-testid":W("account-detail-reload"),children:t.jsx(Ni,{})}),t.jsx(Yi,{children:bi.reloadPage.label})]}):t.jsx(ji,{children:t.jsx(We,{size:"ExtraLarge",start:!0})})]})},He=f.memo(({treasuryDetail:e,onColumnSortConfigChanged:r})=>{const n=C();return t.jsx(t.Fragment,{children:e.transactions.length>0?t.jsx(Di,{windowSize:n,children:t.jsx(ai,{transactionList:e.transactions,fetchState:e.fetchState,uiState:e.uiState,onReloadCards:()=>{},onColumnSortConfigChanged:r})}):t.jsx(Pi,{})})});He.displayName="TransactionListScreen";const vi=({treasuryDetail:e,hasAccountActivity:r,getToolTipContent:n,fundAllocation:h,fundsData:l})=>{const a=C(),[u,d]=f.useState(!1);return f.useEffect(()=>{u===!0&&setTimeout(()=>{d(!1)},800)},[u]),t.jsxs(Ai,{children:[t.jsxs(J,{children:[t.jsx(Vi,{children:t.jsxs(K,{children:[F(be.zeniAccountList.totalAvailableBalance),n("totalBalance")]})}),t.jsx(Xi,{windowSize:a,children:e.accountSummary?.availableBalance?t.jsx(t.Fragment,{children:t.jsx(X,{amount:e.accountSummary?.availableBalance,integerStyles:P.balanceIntegerStyles.styleObject(a),decimalStyles:P.balanceIntegerStyles.styleObject(a)})}):null})]}),t.jsxs(J,{children:[t.jsxs(K,{children:[F(v.insuredFunds),n("insuredFunds")]}),t.jsx(q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(X,{amount:{amount:e.accountSummary?.insuredFunds.amount??0,currencyCode:"USD",currencySymbol:"$"},integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})}),t.jsx(K,{children:F(v.insuredFundsAmount)})]}),r&&t.jsxs(Oi,{children:[t.jsxs(Ce,{children:[t.jsx(K,{children:F(be.common.totalYieldEarned)}),t.jsx(q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(X,{amount:e.accountSummary?.totalYield,integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})})]}),t.jsxs(Ce,{children:[t.jsxs(K,{children:[F(v.sevenDayYield)," ",n("sevenDayYield")]}),t.jsx(q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsxs(Wi,{windowSize:a,children:[zi(h??{},l),"%"]})})]})]})]})},Si=({analytics:e,fundsData:r,fundAllocation:n,hasAccountActivity:h})=>{const[l,a]=f.useState(!1),u=C(),d=M(),g=()=>{a(x=>!x)};return t.jsx(io,{windowSize:u,allTilesExpanded:l,children:r.map((x,$)=>{const j=l,c=ne($,d);return t.jsxs(oo,{expanded:j,windowSize:u,children:[t.jsx(go,{bgColor:c.headerBackground}),t.jsx(ki,{fund:x,fundIndex:$,fundAllocation:n!=null?n[x.fundCode]:0,hasAccountActivity:h}),!l&&t.jsx(ro,{children:t.jsxs(no,{onClick:()=>{e.trackTreasuryDashboardInteraction("View Details "+x.fundCompanyName+" "+x.fundName),g()},children:[v.fundTile.viewDetails,t.jsx(_i,{})]})}),j&&t.jsxs(t.Fragment,{children:[t.jsx(zo,{}),t.jsx(Ci,{analytics:e,fund:x,fundIndex:$,onHide:g})]})]},x.fundCode)})})},ki=({fund:e,fundIndex:r,fundAllocation:n})=>{const h=M(),l=ne(r,h),a=C();return t.jsxs(ao,{windowSize:a,children:[t.jsxs(De,{style:{width:a==="small"?"100%":"50%"},children:[t.jsx(lo,{children:t.jsxs(co,{children:[t.jsx(Te,{windowSize:a,children:e.fundCode}),t.jsxs(Te,{windowSize:a,children:[n,"%"]})]})}),t.jsxs(ho,{color:l.fundNameColor,children:[t.jsx(J,{children:e.fundCompanyName}),t.jsx(J,{children:e.fundName})]})]}),t.jsx(so,{windowSize:a,children:t.jsxs(De,{style:{alignItems:a==="small"?"flex-start":"flex-end"},children:[t.jsxs(xo,{children:[v.sevenDayYield,t.jsx(Ye,{style:{marginRight:"-20px",marginTop:"2px"},children:t.jsx(ae,{placement:a==="small"?"bottom":"bottom-end",data:v.fundTile.sevenDayYieldTooltip,variant:"small-description",maxWidth:"464px",children:t.jsx(Ne,{})})})]}),t.jsxs(po,{windowSize:a,children:[e.yield,"%"]})]})})]})},Ci=({analytics:e,fund:r,fundIndex:n,onHide:h})=>{const l=M(),{common:a,spendManagement:u}=L.getLocalizedStrings(),d=u.treasury.promoPage,g=ne(n,l);return t.jsxs(t.Fragment,{children:[t.jsx(fo,{children:r.description}),t.jsxs(wo,{children:[t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," Liquidity"]}),t.jsx(Y,{children:r.liquidityTimeline})]}),t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.fundSize]}),t.jsx(Y,{color:g.fundNameColor,children:Qe(r.fundSize,r.currencyCode)})]}),t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.maturity]}),t.jsxs(Y,{children:[r.maturity," ",a.timeStrings.days]})]}),t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.expenseRatio]}),t.jsxs(Y,{children:[r.expenseRatio,d.expenseRatioSuffix]})]}),t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.riskRating]}),t.jsx(Y,{children:r.riskRating})]}),t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.composition]}),t.jsx(Y,{children:t.jsxs($o,{children:[r.compositions[0].investedIn," ",r.compositions[0].percentage,Array.isArray(r.compositions)&&r.compositions.length>0&&t.jsx(ae,{style:{textAlign:"left",display:"inline"},title:t.jsx(jo,{children:r.compositions.map((x,$)=>t.jsxs(bo,{children:[t.jsx(vo,{}),t.jsx(k,{children:x.investedIn}),t.jsx(k,{style:{marginLeft:"auto",textAlign:"right"},children:x.percentage})]},$))}),children:t.jsxs(So,{children:["+",r.compositions.length]})})]})})]})]}),t.jsxs(mo,{children:[t.jsxs(ko,{onClick:()=>e.trackTreasuryProspectusClick(r.fundCompanyName+" "+r.fundName,r.fundCode,"Treasury Overview Page"),href:r.url,target:"_blank",rel:"noopener noreferrer",children:[d.asOf," ",r.asOfDate.format("MMM D, YYYY"),t.jsx(Co,{})]}),t.jsxs(uo,{onClick:h,children:[d.hide,t.jsx(Ji,{})]})]})]})};function zi(e,r){let n=0;for(const h of r){const l=e[h.fundCode]??0;l>0&&h.yield!=null&&(n+=h.yield*l)}return Number((n/100).toFixed(2))}const F=e=>t.jsx(Gi,{children:e}),Pi=o.div`
|
|
315
315
|
display: flex;
|
|
316
316
|
flex-direction: column;
|
|
317
317
|
align-items: center;
|
|
@@ -339,12 +339,12 @@ import{J as C,y as M,a9 as Fe,cf as Ke,V as t,aQ as V,bV as ae,bE as Ve,w as ie,
|
|
|
339
339
|
gap: ${e=>`${T.accountDetailHeaderGap.valuePx(e.windowSize)}`};
|
|
340
340
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
341
341
|
justify-content: space-between;
|
|
342
|
-
`,
|
|
342
|
+
`,Ai=o.div`
|
|
343
343
|
display: flex;
|
|
344
344
|
gap: ${i.sp4};
|
|
345
345
|
flex-direction: column;
|
|
346
346
|
justify-content: space-between;
|
|
347
|
-
`,J=o.div``,
|
|
347
|
+
`,J=o.div``,Oi=o.div`
|
|
348
348
|
display: flex;
|
|
349
349
|
flex-direction: row;
|
|
350
350
|
gap: ${i.sp6};
|
|
@@ -355,9 +355,9 @@ import{J as C,y as M,a9 as Fe,cf as Ke,V as t,aQ as V,bV as ae,bE as Ve,w as ie,
|
|
|
355
355
|
flex-direction: column;
|
|
356
356
|
justify-content: flex-end;
|
|
357
357
|
padding: ${e=>e.windowSize==="small"?i.sp3:i.sp0};
|
|
358
|
-
`,
|
|
358
|
+
`,Ii=o.g`
|
|
359
359
|
transform: ${e=>`translate(${e.translateX}px, ${e.translateY}px)`};
|
|
360
|
-
`,
|
|
360
|
+
`,Bi=o.div`
|
|
361
361
|
display: flex;
|
|
362
362
|
width: 100%;
|
|
363
363
|
height: calc(100% - 60px);
|
|
@@ -382,10 +382,10 @@ import{J as C,y as M,a9 as Fe,cf as Ke,V as t,aQ as V,bV as ae,bE as Ve,w as ie,
|
|
|
382
382
|
color: ${e=>e.theme.colors.primary};
|
|
383
383
|
}
|
|
384
384
|
}
|
|
385
|
-
`,
|
|
385
|
+
`,Yi=o(Me)`
|
|
386
386
|
margin-top: ${i.sp3};
|
|
387
387
|
color: ${e=>e.theme.colors.hero};
|
|
388
|
-
`,
|
|
388
|
+
`,Ni=o(Le)`
|
|
389
389
|
height: ${i.sp5};
|
|
390
390
|
width: ${i.sp5};
|
|
391
391
|
margin: ${i.sp5};
|
|
@@ -434,7 +434,7 @@ import{J as C,y as M,a9 as Fe,cf as Ke,V as t,aQ as V,bV as ae,bE as Ve,w as ie,
|
|
|
434
434
|
border-radius: ${i.sp1};
|
|
435
435
|
padding: ${i.sp0} ${i.sp2};
|
|
436
436
|
background-color: ${w.blackColor};
|
|
437
|
-
`,
|
|
437
|
+
`,Ui=o.circle`
|
|
438
438
|
stroke: ${e=>e.theme.colors.brandColorJade};
|
|
439
439
|
fill: ${e=>e.theme.colors.grey5};
|
|
440
440
|
`,ze=o(k)`
|
|
@@ -442,9 +442,9 @@ import{J as C,y as M,a9 as Fe,cf as Ke,V as t,aQ as V,bV as ae,bE as Ve,w as ie,
|
|
|
442
442
|
`,K=o.div`
|
|
443
443
|
display: flex;
|
|
444
444
|
gap: ${i.sp1};
|
|
445
|
-
`,
|
|
445
|
+
`,Gi=o(k)`
|
|
446
446
|
color: ${e=>e.theme.colors.hero};
|
|
447
|
-
`,
|
|
447
|
+
`,_i=o(Xe)`
|
|
448
448
|
height: 12px;
|
|
449
449
|
width: 12px;
|
|
450
450
|
margin-left: ${i.sp1};
|
|
@@ -460,7 +460,7 @@ import{J as C,y as M,a9 as Fe,cf as Ke,V as t,aQ as V,bV as ae,bE as Ve,w as ie,
|
|
|
460
460
|
display: flex;
|
|
461
461
|
align-items: baseline;
|
|
462
462
|
color: ${e=>e.theme.colors.primary};
|
|
463
|
-
`,
|
|
463
|
+
`,Ye=o.div`
|
|
464
464
|
display: flex;
|
|
465
465
|
color: ${e=>e.theme.colors.grey1};
|
|
466
466
|
&:hover {
|
|
@@ -486,7 +486,7 @@ import{J as C,y as M,a9 as Fe,cf as Ke,V as t,aQ as V,bV as ae,bE as Ve,w as ie,
|
|
|
486
486
|
color: ${e=>e.theme.colors.hero};
|
|
487
487
|
`,te=o.div`
|
|
488
488
|
color: ${w.primaryDark};
|
|
489
|
-
`,
|
|
489
|
+
`,Ne=o(Ee)`
|
|
490
490
|
width: ${i.sp3};
|
|
491
491
|
height: ${i.sp3};
|
|
492
492
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -497,7 +497,7 @@ import{J as C,y as M,a9 as Fe,cf as Ke,V as t,aQ as V,bV as ae,bE as Ve,w as ie,
|
|
|
497
497
|
padding: ${i.sp2};
|
|
498
498
|
background: ${e=>e.theme.colors.black};
|
|
499
499
|
border-radius: ${i.sp1};
|
|
500
|
-
`,Zi=o(
|
|
500
|
+
`,Zi=o(A)`
|
|
501
501
|
color: ${e=>e.theme.colors.hero};
|
|
502
502
|
white-space: pre-line;
|
|
503
503
|
text-align: center;
|
|
@@ -622,29 +622,29 @@ import{J as C,y as M,a9 as Fe,cf as Ke,V as t,aQ as V,bV as ae,bE as Ve,w as ie,
|
|
|
622
622
|
width: ${i.sp3};
|
|
623
623
|
height: ${i.sp3};
|
|
624
624
|
color: ${w.success};
|
|
625
|
-
`,fo=o(
|
|
625
|
+
`,fo=o(A)`
|
|
626
626
|
padding: ${i.sp3} ${i.sp4} 0 ${i.sp4};
|
|
627
627
|
color: ${w.heroLight};
|
|
628
628
|
`,wo=o.div`
|
|
629
629
|
display: flex;
|
|
630
630
|
flex-direction: column;
|
|
631
631
|
padding: ${i.sp2} ${i.sp5};
|
|
632
|
-
`,
|
|
632
|
+
`,B=o.div`
|
|
633
633
|
display: flex;
|
|
634
634
|
justify-content: space-between;
|
|
635
635
|
align-items: flex-start;
|
|
636
636
|
padding-bottom: ${i.sp1};
|
|
637
|
-
`,H=o(
|
|
637
|
+
`,H=o(A)`
|
|
638
638
|
color: ${e=>e.theme.colors.hero};
|
|
639
639
|
width: 140px;
|
|
640
640
|
display: flex;
|
|
641
641
|
align-items: center;
|
|
642
|
-
`,
|
|
642
|
+
`,Y=o(A)`
|
|
643
643
|
color: ${e=>e.color??e.theme.colors.primary};
|
|
644
644
|
flex: 1;
|
|
645
645
|
border-bottom: 1px solid ${e=>e.theme.colors.grey3};
|
|
646
646
|
padding-bottom: 4px;
|
|
647
|
-
`,
|
|
647
|
+
`,N=o.div`
|
|
648
648
|
width: 4px;
|
|
649
649
|
height: 4px;
|
|
650
650
|
border-radius: 50%;
|