@zeniai/web-cockpit-ui 1.15.31-qa → 1.15.32-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/ACHDetailsPage-tTJc_EMP-DYpFLcu6.js +21 -0
- package/dist/assets/{AIPerformancePage-BtDuOBey-DmPphsXg.js → AIPerformancePage-ByUb4gCe-JuDAfC8h.js} +18 -18
- package/dist/assets/AccountInfoPage-VLhd4vnL-DXlupn44.js +18 -0
- package/dist/assets/{AccountInfoPageContent-BLF92_vF-YYhij8lg.js → AccountInfoPageContent-BHD9tOzB-DoEbtT2v.js} +15 -15
- package/dist/assets/{AccountLockedInfoModal-AsMkXu1I-CVe3Hy3M.js → AccountLockedInfoModal-DNjLeZYt-D2fsUG4f.js} +2 -2
- package/dist/assets/{AccountReconDetailsDrawerPage-CkaBrm5K-DIIw5FlK.js → AccountReconDetailsDrawerPage-BEfA1bsG-I47iAx1D.js} +10 -10
- package/dist/assets/{AccountRow-aEmcYP8T-BbTS3-CK.js → AccountRow-CK5HLVrf-CkNAMQ2u.js} +19 -19
- package/dist/assets/{AccountsPromoCardStack-C0At5pn8-DXWBY6OH.js → AccountsPromoCardStack-CaTnaSn3-FCk-ULE2.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-CbjThbsA-CLlWEIxe.js → AddAddressForCardDrawer-DmajBqRK-DEh9VlDB.js} +1 -1
- package/dist/assets/{AddToWalletPage-CMJwUbgf-rrVXiQw9.js → AddToWalletPage-BSzuByT6-nwQQhLJ_.js} +36 -36
- package/dist/assets/{AgingReportsPage-B_BSfude-D0QpW98_.js → AgingReportsPage-D2gPAJKw-DtSYadID.js} +4 -4
- package/dist/assets/{AllUserItems-CGlWa60t-h-riUf2G.js → AllUserItems-BIf1v0a5-B9sgoKVP.js} +11 -11
- package/dist/assets/{ApAgingDetailPage-DT3vkmLG-C_cL6gbI.js → ApAgingDetailPage-pfP6vTc2-DNdR70Vv.js} +5 -5
- package/dist/assets/{AppBasePage-CDy7wPlv-BxqW_Qg2.js → AppBasePage-BGPY0zrb-Cgw6EXRu.js} +11 -11
- package/dist/assets/{AppDrawerContent-CEsXm_i6-CW1nkTKX.js → AppDrawerContent-6AX5Y5tK-C6Pu2n78.js} +2 -2
- package/dist/assets/{ApprovalRulesSettingsPage-CB2_4-2f-EvDWmVK-.js → ApprovalRulesSettingsPage-BurRfT7n-D8ylQviU.js} +1 -1
- package/dist/assets/{ArAgingChart-qxhWsIQb-C4Jx_960.js → ArAgingChart-Dx8jVL0O-CupzM74j.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-BbzQryp_-CxVbfpIm.js → ArAgingDetailPage-BcrHD5zT-BoHizRsh.js} +6 -6
- package/dist/assets/{AttachmentView-duTVxc9g-BUPi4zJZ.js → AttachmentView-CdIA5zLk-Ccm-n9L1.js} +4 -4
- package/dist/assets/{BankAccountSection-CAwAf9xK-CgO5EJAd.js → BankAccountSection-Qe9eRUmE-B6lQ-JzW.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-CaDnP9_--BB5RKb-6.js → BankAccountWarningSection-BfN1KiTF-CqPWwbNY.js} +12 -12
- package/dist/assets/{BankConnectionsSettingsPage-CDV7O8cl-CZbYdgLy.js → BankConnectionsSettingsPage-Dmub7xxp-BTbJWWvl.js} +9 -9
- package/dist/assets/{BillDetailPage-DJxh2CIc-D5yng4UK.js → BillDetailPage-DHCP-PUd-DpbXdVFf.js} +13 -13
- package/dist/assets/{BillPayApprovalRuleDetailPage-B2ZPbqtr-CSSyEtEl.js → BillPayApprovalRuleDetailPage-DS31MPI0-Dn-T4Njh.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-MM7v8ZMx-z7T84rau.js → BillPayApprovalRulesPage-Cc3wkV9k-DMlp8m1G.js} +13 -13
- package/dist/assets/{BillPayPromoPage-JK-VOx4W-B_C8DuZu.js → BillPayPromoPage-DslCxm8f-Be4WJJK2.js} +2 -2
- package/dist/assets/{BillPaySetUpPage-h0uoCWMl-DvAR3JfV.js → BillPaySetUpPage-DnabCnSI-3IQFcnkB.js} +1 -1
- package/dist/assets/BillingSettingsPage-B91NuvxJ-DIg4E4pn.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-CPPDFsZt-D-k0WBgw.js → BillsBulkReviewDrawerPage-BOulFH2M-CfBwEemW.js} +1 -1
- package/dist/assets/{BoxItem-CYe_gTmA-Bq-cUyHa.js → BoxItem-Dhk2kQlB-ymoj_NmA.js} +1 -1
- package/dist/assets/BusinessVerificationPage-BU2b5oF1-tm8Rn4Pv.js +138 -0
- package/dist/assets/{CardNumberSubText-CFDhtij8-BJ6ircXZ.js → CardNumberSubText-CRjU8jZf-DzA9ggM9.js} +3 -3
- package/dist/assets/{CashbackDetailPage-BBGGzKh7-CDIItVJw.js → CashbackDetailPage-GNwtsA01-PgGpZ01a.js} +6 -6
- package/dist/assets/{ChargeCardDetailPage-BQhago53-CZ9rE-O-.js → ChargeCardDetailPage-DspeEPRm-DHY-84Ch.js} +40 -40
- package/dist/assets/{ChargeCardListPage-B0E-C3RH-qI0c9wPw.js → ChargeCardListPage-C4N76196-CL7LpKYX.js} +9 -9
- package/dist/assets/{ChargeCardListTable-ByGv0xWl-Dy5_i773.js → ChargeCardListTable-ObawcMuP-BDRD6_-S.js} +49 -49
- package/dist/assets/{ChargeCardPaymentHistoryPage-LCY9rFqO-DFgHnoSL.js → ChargeCardPaymentHistoryPage-NBxH70YE-Cj3oOuEC.js} +27 -27
- package/dist/assets/{ChargeCardPromoPage-CKEnOseD-nYO2qT_d.js → ChargeCardPromoPage-CN9d98ht-4K-amLMG.js} +7 -7
- package/dist/assets/{ChargeCardSetupPage-BHv2VOdc-BfcjRYsg.js → ChargeCardSetupPage-Cie4HjPR-ZtUOiOiR.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-UpRXyPTS-DUoykYJ6.js → ChargeCardStatementsPage-DSUakLyb-fNOGZHcg.js} +4 -4
- package/dist/assets/{CheckDepositDrawerPage-0zbTQ3Fa-DZUNeuWX.js → CheckDepositDrawerPage-BK6iLLEA-jWxLf2wl.js} +23 -23
- package/dist/assets/{CollapsableReportTable-DlYIKSlQ-CTPvx283.js → CollapsableReportTable-vwzu1AgW-BTLj3VXb.js} +1 -1
- package/dist/assets/CompanyOfficerDetailsSection-CtptCfIN-apBFYZGi.js +331 -0
- package/dist/assets/{CompanyPassportCard-DeVPuuje-dXTJCMs0.js → CompanyPassportCard-DyasR99R-CYkEVZS_.js} +2 -2
- package/dist/assets/CompanyPassportPage-Xp8Bn6ev-Bfcf_ruC.js +417 -0
- package/dist/assets/{CompleteProfile-Y6HwKtpz-CKG60-Ev.js → CompleteProfile-CyoPiiWR-xf-bWpXE.js} +2 -2
- package/dist/assets/ConfettiBurst-BWYsiO3O-BTrtU6ii.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-COBnQDX5.js → ConstrainedInnerElement-BeIpAPjB-DDbvqxn6.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BlZe6gmh-LIbnXoCR.js → CreateOrEditVendorPage-CecROHGm-D41yC84M.js} +16 -16
- package/dist/assets/{CreditCardPaymentDrawerPage-flPmyCaF-ju95FaYN.js → CreditCardPaymentDrawerPage-C6Tx5HFf-oVWkJDzH.js} +13 -13
- package/dist/assets/{CurrencySelectField-RiKAivD8-bvSf14oM.js → CurrencySelectField-DAmYUy85-BWbCVGju.js} +3 -3
- package/dist/assets/{CustomerOnboardingActivationPage-B7dLMk4g-BZHZ1dpa.js → CustomerOnboardingActivationPage-CsBXicnS-QAit89b5.js} +3 -3
- package/dist/assets/CustomerOnboardingContainerPage-CNJZIVlJ-BZqVU5dg.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-AWsst0XH-X1brA0-n.js → CustomerOnboardingDetailPageSkeleton-BrWGFePj-DMstYizh.js} +10 -10
- package/dist/assets/CustomerOnboardingNoStepsPage-EIhXr3Tb-DznkXuZH.js +66 -0
- package/dist/assets/CustomerOnboardingPage-DXoS8Lvh-C2VugePi.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-DqgoBLWp-Cv1WT5RL.js → CustomerOnboardingProductSuitePage-BRXSZWKm-BD_syEun.js} +6 -6
- package/dist/assets/{Dashboard-D0KlujCx-BSLisJSN.js → Dashboard-Bd774Cwk-AzSeLKy1.js} +1 -1
- package/dist/assets/{DashboardReportPage-bxKyMsG7-CUvvzIc4.js → DashboardReportPage-CdyFzIwd-DfVPg9E3.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-Ch0OiH1g-vmCAY7a1.js → DashboardSidebarBackgroundAnimation-NYtLjb5A-C-FYqFtS.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-BdZVCAx--CrDYcfUN.js → DepositAccTransactionItem-DZk4h7x--C88hUVsA.js} +6 -6
- package/dist/assets/{DepositAccTransactionListPage-LU0QMdSV-CKNGH1tO.js → DepositAccTransactionListPage-CKgbbZOW-BgK9Zw4Y.js} +3 -3
- package/dist/assets/{DomesticWireDetailsPage-CFt5GgZ1-DQv3a0ub.js → DomesticWireDetailsPage-CY2Pv6jd-CheyQF2l.js} +2 -2
- package/dist/assets/{DownloadOverlay-CH_bA3On-B69b38U1.js → DownloadOverlay-BflHtA84-B4UfqjFr.js} +16 -16
- package/dist/assets/{DrawerPage-Cpdp-IFb-CaiAQFdD.js → DrawerPage-5Q_xvjmz-Co18igPQ.js} +8 -8
- package/dist/assets/EditPeoplePage-Dq02jvsi-b5H5H_8q.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-DnyyPZ26-Bd2lr5Lb.js → EditReimbursementDetailPage-CYnqM-2--BRFle9yb.js} +66 -66
- package/dist/assets/EntityDetailPage-s91tl4Wk-BAN18nGN.js +18 -0
- package/dist/assets/{EntitySummarySection-BFpgAYAM-DJcwKTxQ.js → EntitySummarySection-BUjGJmFT-CjfLlHfk.js} +10 -10
- package/dist/assets/{ExpenseAutomationOverviewPage-YjOVm_Bw-DbWbD2ZW.js → ExpenseAutomationOverviewPage-D7_-NOLq-Bds1x68a.js} +19 -19
- package/dist/assets/{ExpenseAutomationPage-DlhH-R-e-DP26P-kb.js → ExpenseAutomationPage-CFxbvTbd-VTUN9rRL.js} +44 -44
- package/dist/assets/{ExpressPayPage-CKqPEfbR-B9xRjGEZ.js → ExpressPayPage-gyFQBzLO-BnlxI_0_.js} +20 -20
- package/dist/assets/{FeaturePreviewPage-Cs1Y3nP0-C736qEjy.js → FeaturePreviewPage-BT-WJozX-m5nY8Cr0.js} +2 -2
- package/dist/assets/{FollowStepsSection-BCyL8Jdr-CTurJjBu.js → FollowStepsSection-Du2gzmC6-LTRvUZJY.js} +42 -42
- package/dist/assets/{GlobalReviewListPage-CBQFcVHd-BFn41JwP.js → GlobalReviewListPage-B0MxdV0g-O7Eaq9sr.js} +10 -10
- package/dist/assets/{InformationCardStack-nFMetrAy-DmLTnFTd.js → InformationCardStack-rAU0N5_N-BNWO8W3c.js} +4 -4
- package/dist/assets/{InsightsCardStack-CEMeGJXy-Dl1gxtvy.js → InsightsCardStack-CEkmuCB6-CpJ0Ou6A.js} +9 -9
- package/dist/assets/InsightsSection-CK6L0ggh-DiYoPBIp.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-BQ7g3a3K-ZPT5zibV.js → IntegrationsSettingsPage-Do41V6J0-CYPG6GBQ.js} +5 -5
- package/dist/assets/{InternationalWireSwiftDetailsPage-BHRYsZgm-hXisNfc-.js → InternationalWireSwiftDetailsPage-BnsnrM3q-TCK2vz36.js} +31 -31
- package/dist/assets/InternationalWireVerificationPage-C3EEqPT--COWTCQVg.js +65 -0
- package/dist/assets/{InviteFormPage-BVXte8w8-Bv3riR4y.js → InviteFormPage-x40AE2Pw-DcL74k0M.js} +14 -14
- package/dist/assets/{InvitePageListView-DFPyLLrA-DwPZnRCN.js → InvitePageListView-CiVNaN8z-BNxs-kv2.js} +44 -44
- package/dist/assets/InvitePeoplePage-DGTYEet3-q8LMzEbG.js +12 -0
- package/dist/assets/{InvoiceUploadSection-B9q7nIs0-FeM5fM0I.js → InvoiceUploadSection-C4K602QO-edDVc4Pa.js} +4 -4
- package/dist/assets/{IssueChargeCardPage-BuLj1bOl-dPJklROU.js → IssueChargeCardPage-BVmxvrlx-Ca71cuKs.js} +15 -15
- package/dist/assets/{LabeledAddressValue-D2t8ti-C-DUztl2du.js → LabeledAddressValue-aejn380k-DwlaPoVh.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-DMcor_I8-DnYPVaTw.js → LabeledAddressValueField-DSU3b6xx-SFUhns2M.js} +4 -4
- package/dist/assets/{LabeledControlledCheckBoxField-B6w2HGJK-BLA_30cF.js → LabeledControlledCheckBoxField-CKE6Nln6-BoFyY4Lg.js} +2 -2
- package/dist/assets/LabeledCountryMultiSelectField-D1bMiaZj-DHyO4cp8.js +237 -0
- package/dist/assets/{LabeledCreatableSingleSelectField-DHNAX5Pu-Cxl2v4pk.js → LabeledCreatableSingleSelectField-amXDv508-ayE33Uzo.js} +22 -18
- package/dist/assets/LabeledDocumentField-2_VcrmJN-NvvTwxvI.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-BBS4da2b-CKcQYn_8.js → LabeledDropDownFormattedTextField-C6sW-5j7-DVIx7gwf.js} +4 -4
- package/dist/assets/{LabeledText-zjKn4Cw--Btj0vmVa.js → LabeledText-CrAhx4_P-BV766MG2.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CIofqRT6-BdB4qtCG.js → LabeledUserSingleSelectWithSubtitlesField-BVZg_rlX-BekpWR05.js} +19 -19
- package/dist/assets/{LabeledZeniRolesDropDownField-DiBtAWQ3-CYXjNxbc.js → LabeledZeniRolesDropDownField-DS1icRVA-0u4rotdW.js} +31 -31
- package/dist/assets/{LinkJETransactionPage-D66bzDh_-B9FEJF_c.js → LinkJETransactionPage-VdBxLFQc-55c5hzn3.js} +6 -6
- package/dist/assets/{LockCardPage-B1g2TZWL-BM1z6LUH.js → LockCardPage-Bs8xkpNa-BjwEOKdz.js} +44 -44
- package/dist/assets/{LowBalancePopup-DbtHeVY--C9EswVLY.js → LowBalancePopup-B0-WExEI-lrmES1sf.js} +2 -2
- package/dist/assets/MagicLinkACHDetailsPage-BitHcc3I-C98ytwJK.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BFfxbnHp-N-D8lO-1.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-BncWaxsb-Bxijl5E3.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-DRcOlHnh-CSKpgnmw.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-CqkZ9wOf-DfDEh73I.js → MagicLinkTitleSection-vMBVJSVF-Cq6tgd4r.js} +1 -1
- package/dist/assets/MailingDetailsSection-CKtLfBik-Pke0GJpe.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-CE2ZqHBJ-BMkFuO3K.js → MyBankConnectionsSettingsPage-D6Gjqgv2-CIp3b4Hf.js} +10 -10
- package/dist/assets/{MyPendingActivationChargeCardListPage-BffxXDZg-Dvb6_3Fu.js → MyPendingActivationChargeCardListPage-y9U4DJm9-CBr9crJC.js} +2 -2
- package/dist/assets/{MyProfileSettingsPage-DrsAlesY-j3nt47fF.js → MyProfileSettingsPage-D7btjvQI-mZy4329L.js} +8 -8
- package/dist/assets/NavBarWithPicker-B_vr1zc6-DAolNzoK.js +30 -0
- package/dist/assets/{NavigationArrow-DCCxx6H7-D4B8RREd.js → NavigationArrow-suk7KbA1-xl7E8Abj.js} +7 -7
- package/dist/assets/{NavigationDots-tWCw6Bpk-D0d4bwwO.js → NavigationDots-Dqcv5rrC-DzoP8t9X.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-UIA8zAjd-C002A9hY.js → NewGlobalMerchantPage-CRg1E4PG-_ea1Cd7Q.js} +33 -33
- package/dist/assets/NoDataChart-CGab-TiT-zyPeOkqC.js +26 -0
- package/dist/assets/NoDataTable-B2CS7NPq-CvFUjFVv.js +8 -0
- package/dist/assets/{NotFoundPage-CdH-3upl-DLtXDi3d.js → NotFoundPage-DGMaZUli-aSvAxp7G.js} +7 -7
- package/dist/assets/{NotificationSettingsPage-DP2gGIz1-DEKmBA8p.js → NotificationSettingsPage-CMkB3Lv2-DA8e_wrR.js} +10 -10
- package/dist/assets/{NotificationsListConfig-DG-DH2Aj-C3kn_PJf.js → NotificationsListConfig-8zpkH26L-DVh3_eXQ.js} +1 -1
- package/dist/assets/{NotificationsPage-CgFMmR2X-ZazUgOBE.js → NotificationsPage-D7bHfgsd-B-yh8id7.js} +19 -19
- package/dist/assets/{OpExByVendorPage-eUvIAWzt-CoPEiZJL.js → OpExByVendorPage-PfMkiQRt-CA9khm55.js} +6 -6
- package/dist/assets/OverlayContainerPage-D4QU0p4o-DAP8RqtI.js +11 -0
- package/dist/assets/{PandLWithForecastPage-8S06Nyi5-1bcdIh1F.js → PandLWithForecastPage-CtFnhBki-D2LFAlVU.js} +7 -7
- package/dist/assets/PaymentAccountSetupBillingAddressSection-gaNLv-zU-S6LvrwnZ.js +107 -0
- package/dist/assets/{PeoplePage-D1BLHtO0-C58P6kMk.js → PeoplePage-3Fux2UtP-BH9APgOv.js} +20 -20
- package/dist/assets/{Preview-Duq0gQMO.js → Preview-C8AzcAoJ.js} +1 -1
- package/dist/assets/{ProductsCarousel-BKSXWnFR-D0XqWdeM.js → ProductsCarousel-BPUh4FO7-CHB-qbx5.js} +4 -4
- package/dist/assets/{PromoBaseCards-BYT9nEJT-DW8pd6tD.js → PromoBaseCards-Dmg5PtKw-t6EmiKvL.js} +14 -14
- package/dist/assets/{QBOConnectionDialog-C2-omQMZ-BcqWZr4J.js → QBOConnectionDialog-CLBqmpI8-DH4pGPEG.js} +3 -3
- package/dist/assets/{QBOSetupSection-lgv5wVlg-BJbJg-e3.js → QBOSetupSection-DwqXfi9i-B1C_WaXE.js} +18 -18
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CbJViS3x-CNPS2kKc.js → ReimbursementApprovalRuleDetailPage-BrfP2xcW-DQMVrjws.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-BuNt-Bmb-C4xV1t6F.js → ReimbursementApprovalRulesPage-BmVVfYZD-BmlPhGFM.js} +7 -7
- package/dist/assets/{ReimbursementDetailPage-CK3-Jqkd-BXJxGVOx.js → ReimbursementDetailPage-j-kNxeWY-ZsW0KMFD.js} +5 -5
- package/dist/assets/{ReimbursementPromoPage-fptOAJna-kONXX9OV.js → ReimbursementPromoPage-D2kh5AHM-CtzDBBo_.js} +13 -13
- package/dist/assets/{ReimbursementSetUpPage-CidrpT2g-BaHYOosV.js → ReimbursementSetUpPage-D2890NEZ-Dgq0MW27.js} +8 -8
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Cy_Hediw-CeMENnhM.js → ReimbursementsBulkReviewDrawerPage-qXtPaXjg-CLjTJ8gQ.js} +1 -1
- package/dist/assets/{ReloadCard-C81rGzOp-DrV9TjCC.js → ReloadCard-IEyjck4Y-Bypr7i2O.js} +8 -8
- package/dist/assets/{ReportTableViewSelector-neRSjrhV-DNMR9-mx.js → ReportTableViewSelector-CQjyJkzR-DZEqJbuf.js} +4 -4
- package/dist/assets/{ReportsPage-BhzQVaer-B1sMVpn4.js → ReportsPage-Bzz6If8N-i375FFbW.js} +3 -3
- package/dist/assets/{RevenueChart-x7uTbFlm-CjI9a83n.js → RevenueChart-B00OufPH-B5M-AM4i.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-jXZCylzg-B1MM8UC1.js → ReviewDetailsPage-NnD1LDcO-CZs19GX2.js} +53 -53
- package/dist/assets/{ReviewOverlay-nlm2HnGw-UufbXYzP.js → ReviewOverlay-CFouRoKn-DAQDEDmS.js} +16 -16
- package/dist/assets/RoleWithToolTip-BBbrv_x_-D8MqiafD.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CkPzofLN-BWXCFq3v.js → ScheduleDetailsFixedAssetsPage-B5gQXUI9-DH6Yv6F_.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-BSZefKOh-Bo6woPA8.js → ScheduleDetailsPage-B1Kb9usK-BWyyTA9a.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-BW5M7Zfq-BwchdmgD.js → ScheduleSequenceTable-B973PTTc-C5HNHoNO.js} +14 -14
- package/dist/assets/{ScreenRoutes-Dwdg1cdb.js → ScreenRoutes-BUhhsxeL.js} +1 -1
- package/dist/assets/{SetUpAccountSection-C703iFL6-CHmt5sZt.js → SetUpAccountSection-D6dn2jSD-B2ahVHn3.js} +1 -1
- package/dist/assets/{SignIn-D9K5FklU-CRWhJbb6.js → SignIn-CUOfBh48-Cs6fsPrc.js} +25 -25
- package/dist/assets/SignInScreen-B9_ZQMfW.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-CBNtC74m-Fd85QGhs.js → SpendManagementListViewPage-DOkp7pHa-D_rDsyPi.js} +14 -14
- package/dist/assets/{SpendManagementPerTabPage-D_sa7WRd-CmfTgI85.js → SpendManagementPerTabPage-D_LO55uU-DKDZqq7t.js} +27 -27
- package/dist/assets/{SpendManagementSection-DpZUTV6m-4JhWZKtl.js → SpendManagementSection-CEMNFPRO-DOfjR_1U.js} +23 -23
- package/dist/assets/{StatementItem-DvdSsb8I-HhjAsWuo.js → StatementItem-BDCdJuBz-C5KxKZf9.js} +4 -4
- package/dist/assets/StatementsPage-CgbyzDo5-dOiBmz6G.js +58 -0
- package/dist/assets/{StatusSwitcher-hKYgwNLC-DHsQ9BVG.js → StatusSwitcher-BjvUftXD-BmCBIDA6.js} +4 -4
- package/dist/assets/{SubTabSwitcher-aeDd9xiF-CP_NcrPb.js → SubTabSwitcher-CqTYhJ6K-C6tI5OUk.js} +1 -1
- package/dist/assets/{SummaryCard-CK8Gxbiu-CIbHrisD.js → SummaryCard-BrsOKcrF-DWcUToK_.js} +1 -1
- package/dist/assets/{TaskManagementPage-D2Ooq8DR-Cg7nwJeB.js → TaskManagementPage-C5vXcK0R-BbbjC-Tz.js} +16 -16
- package/dist/assets/{TimeRangeSwitcher-DEqlZxa6-DEfl1xmz.js → TimeRangeSwitcher-BR-bT1hY-DWqBq-hp.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-BppC6giF-C7ddFaNs.js → TimeframeSwitcher-B7EXKmdi-DuvH5agU.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-CbX9ElMN-hszvw3pP.js → TimeframeSwitcherWithToggle-D265f15Y-T64K-skP.js} +1 -1
- package/dist/assets/{TopExCard-Cy6tPVSx-Bbwl1jG_.js → TopExCard-l-xo9Vzj-B1PmkJWv.js} +10 -10
- package/dist/assets/{TopExDetailPage-Rtrcdkcp-vpPj9dbp.js → TopExDetailPage-DJlHcjKS-Bho9tEuD.js} +10 -10
- package/dist/assets/{TransactionActivityLogPage-DbwSsjPJ-C5f3uEbO.js → TransactionActivityLogPage-HLwrGJCG-BzrsUVPS.js} +7 -7
- package/dist/assets/{TransactionDetailPage-D-vXAAB7-KMY-seM4.js → TransactionDetailPage-63dqDjgt-B4iYNZGu.js} +35 -35
- package/dist/assets/{TransactionList-BruCNjQg-Ccsvct2A.js → TransactionList-BFD8ZfJ--BUbGyMLK.js} +10 -10
- package/dist/assets/{TransactionListBig-bp7q3prH-DMAN1AsC.js → TransactionListBig-Cd05cE1H-CAcC3Nig.js} +4 -4
- package/dist/assets/{TransactionListPage-ZfJsaVb8-GGjXUKns.js → TransactionListPage-klQ0oBzv-C-lEqqat.js} +2 -2
- package/dist/assets/TransactionVendorDetailPage-D93V6PtT-CNzgHcFV.js +80 -0
- package/dist/assets/{TransferDrawerPage-DswS6KZf-BDyM8T09.js → TransferDrawerPage-B_Hy3gOY-Clor74dq.js} +12 -12
- package/dist/assets/{TreasuryOverviewPage-DWo7iRpO-DSI7EDiH.js → TreasuryOverviewPage-CJrfTwBd-BzblsfCt.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-DQxCF3-4-C3eX58kN.js → TreasuryPromoPage-BRwTbEqr-C3oIH7Gd.js} +131 -131
- package/dist/assets/TreasuryStatementsPage-CpVaxZhO-BbzJpZN2.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-CUHNWUy--WkFWI_33.js +58 -0
- package/dist/assets/{TrendChart-BMHDaOeh-LWC7_lHj.js → TrendChart-DLex57el-Bd2WzCxo.js} +2 -2
- package/dist/assets/{TrendWithTransactions-DDLrmIrt-BXL-CVpz.js → TrendWithTransactions-CwB4wDSN-BMowh4TY.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-3SW8Gj0Z-CDWZIxfG.js → UncategorizedAccountsMappingPage-CO7p4-Kx-BZ0VCWbX.js} +17 -17
- package/dist/assets/{UnitIntegrationPage-DPMy8dXP-nT8iCa4v.js → UnitIntegrationPage-BDUTrQY0-SS19l8Xm.js} +11 -11
- package/dist/assets/{UploadAdditionalDocumentOverlay-BHpT2al--DXABnZU8.js → UploadAdditionalDocumentOverlay-DID6dcux-DPsjTLN9.js} +1 -1
- package/dist/assets/Vendor2FAPopup-DySyuG4R-82OgFcz6.js +1 -0
- package/dist/assets/VendorACHDetailsPage-CS0fu-kk-0b8QPMYJ.js +1 -0
- package/dist/assets/{VendorDetailPage-BC1FhaQA-KI0Ch5Gm.js → VendorDetailPage-DRgwiRee-B2tPGfn4.js} +23 -23
- package/dist/assets/VendorDomesticWireDetailsPage-B3mJqOdK-BoqOh8HT.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-DYyPOA8D-CxoCgeSh.js → VendorFiling1099EditablePage-CtReDQX3-DVZfKoI-.js} +13 -13
- package/dist/assets/{VendorFirstReviewPage-Cpmk7rDk-CFOuqq24.js → VendorFirstReviewPage-BGVFKcId-7yTwYSjG.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-CWAWq6kq-DzcoBHDk.js → VendorInternationalWireDetailsPage-DtFlzIWc-CYBlV4Tg.js} +13 -13
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CfWP7ILx-BygrRGvT.js +1 -0
- package/dist/assets/{VendorsAccountsSection-CGQ35Mhp-fa4HsF-c.js → VendorsAccountsSection-DlCCF8w7-CQtCi0t6.js} +3 -3
- package/dist/assets/{VerifyDevice-CfMJW1Vh-t_8HTul6.js → VerifyDevice-CDChzTa5-fyUSUzra.js} +7 -7
- package/dist/assets/{VideoPlayer-BNBpjXJk-jZcx6J3u.js → VideoPlayer-D6snpLby-D_sf9SSM.js} +2 -2
- package/dist/assets/{VideoPopup-BF6lmB7l-CPNBV8xg.js → VideoPopup-SylQ4T6l-DUuwzYmi.js} +3 -3
- package/dist/assets/{WarningsDrawerPage-Crj70lnR-BFJEBaju.js → WarningsDrawerPage-D67GprmZ-Dc_Jo6Z8.js} +7 -7
- package/dist/assets/{ZeniAccountDetailPage-CaA6m3tQ-DsIFFK_h.js → ZeniAccountDetailPage-BfYIZPob-DCZW5ugr.js} +13 -13
- package/dist/assets/{ZeniAccountListViewPage-x_51gDs1-CM__NvGD.js → ZeniAccountListViewPage-B5luRVEl-ntYaih24.js} +17 -17
- package/dist/assets/{ZeniAccountNavBarPieces-Csr24dri-BqCNAJs9.js → ZeniAccountNavBarPieces-BQXOnqhc-D38WZkNq.js} +2 -2
- package/dist/assets/{ZeniAccountPromoPage-lxKBk2r5-KMuyeTSq.js → ZeniAccountPromoPage-CHCmIfff-DDgdwEph.js} +10 -10
- package/dist/assets/{ZeniAccountSetupPage-DUI4-2Zw-8cM-uoIc.js → ZeniAccountSetupPage-BzCqTug2-BN8jteFY.js} +1 -1
- package/dist/assets/{ZeniCopyright-DxEZ4DiK-DLP_0Pge.js → ZeniCopyright-CiZTMpf7-C6VWdJm_.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-4Nq4Sm9J-VPec2EGj.js → ZeniTransferAmountSlider-C--qNr-a-BTUYZm1a.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-V6ap5s7K.js → add-to-wallet-DgdBD8_G-Cna2JrPi.js} +1 -1
- package/dist/assets/{analytics-BFo1DlpM.js → analytics-Cz7GTPb4.js} +1 -1
- package/dist/assets/analyticsHelper-D0FSznOb.js +1 -0
- package/dist/assets/{analyticsHelper-CL-t3Y2i-D7L_LVJW.js → analyticsHelper-DEOt00qX-3E5keIK0.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-DUYmTke7.js → arrow-south-east-round-PEovUgvH-D7Guqwvj.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-eGlQozxe.js → auto-transfer-rule-mbafm5D3-DemMuLOK.js} +1 -1
- package/dist/assets/{chartTypes-B3501CSI-DzRICrvV.js → chartTypes-BqKhmkSG-DaJzMpYW.js} +1 -1
- package/dist/assets/{commonDimensions-YcBBlmYP-COMWV7bj.js → commonDimensions-DbvjFx29-M5i-B_2F.js} +1 -1
- package/dist/assets/commonTypes-TAIHQ3fk-BCFWsh3s.js +1 -0
- package/dist/assets/{constants-D7SXzzFi.js → constants-DAniohK4.js} +1 -1
- package/dist/assets/{core-TLZ6PfaT.js → core-BHxev_Cl.js} +1 -1
- package/dist/assets/{dash.all.min-B_wsJDV-.js → dash.all.min-CtGtyz3U.js} +1 -1
- package/dist/assets/{detailCommon-C19MYPnq-BkT0buD6.js → detailCommon-BEEE23XQ-C9xvv1qO.js} +4 -4
- package/dist/assets/downloadPdf-CDTl_Ev--DwC3gr_X.js +1 -0
- package/dist/assets/{empty-DHRJKl0l.js → empty-BjQqAnEr.js} +1 -1
- package/dist/assets/{empty-Dl7OEA8R.js → empty-ycUigo07.js} +1 -1
- package/dist/assets/epic-ouf99YlI.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-BxnAFpgS.js → gift-box-Cmt9OgIZ-DQLMM0Jc.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-BXAAbldy.js → graphic-no-data-l-DU4J8fDt-EQfaFxjc.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-RQBIXxmP.js → graphic-no-data-net-burn-l-CzmycA0m-iUVSxIP-.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-B_pRiSxy.js → handshake-BPg58FML-SL3xJab2.js} +1 -1
- package/dist/assets/helper-Cl1NuKS2-BXsdA-OL.js +223 -0
- package/dist/assets/{index-CZI3Ylli.js → index-BCs-C6Pl.js} +1 -1
- package/dist/assets/{index-f03AvpmF.js → index-BVl75ift.js} +1 -1
- package/dist/assets/{index-CT7uQHtl.js → index-CZ6iVFod.js} +1 -1
- package/dist/assets/{index-Cs8eLM6a.js → index-DDBZjEhE.js} +1 -1
- package/dist/assets/{index-CJvK7-J_.js → index-DKIaTfNE.js} +1 -1
- package/dist/assets/{index-B4SkrUUS.js → index-DOsjGhSZ.js} +2459 -2446
- package/dist/assets/{index-AKtmkw3-.js → index-wXhIQbLd.js} +1 -1
- package/dist/assets/{lexical-DGcsrY0x.js → lexical-Dja08wvc.js} +1 -1
- package/dist/assets/{liveblocks-Dh9EWLXD.js → liveblocks-KFxhhSr3.js} +1 -1
- package/dist/assets/{lottie-osIcf0zV.js → lottie-DDoT_sT4.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-CBq8hzRN-DunJzr3i.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BDWD3x8r-BJJQ7ptw.js → mapSectionWithAcOnlyToTreeNode-DtYXgw-F-TAq1Mekz.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-ycecmJKa-Hd0mRrjF.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-ByLaAQOt-Biy9DgAh.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-C8E1dOPs-B00cM4ms.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-v8qXI-n8-DJfWjA89.js +1 -0
- package/dist/assets/{mui-DUBEtzg-.js → mui-B2MHg-Mu.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-C8N6TvJI.js → page-detail-CWX5S47F-Dqz3fZ9M.js} +1 -1
- package/dist/assets/{panelSelectedMixin-CzfD5-Zs-CVhhFPCD.js → panelSelectedMixin-CzfD5-Zs-CL2f5PJh.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-Cr1_qpyQ.js → radio-default-CiSgisfh-CIrmE0sr.js} +1 -1
- package/dist/assets/{react-DYqSDMNg.js → react-B5mg5_zl.js} +2 -2
- package/dist/assets/{react-DM-hrQxT.js → react-BWSczdFz.js} +1 -1
- package/dist/assets/{react-jiKdoZ4l.js → react-BzzxkC3X.js} +1 -1
- package/dist/assets/{react-Ld4wkc7L.js → react-CciBBuhn.js} +1 -1
- package/dist/assets/{react-Bk-13Lv_.js → react-DJSfrAX2.js} +1 -1
- package/dist/assets/{react-DKnK-TxQ.js → react-Dn-7aN5D.js} +1 -1
- package/dist/assets/{react-Xrf7IcXX.js → react-DqyAh0nx.js} +1 -1
- package/dist/assets/{react-DJtWQPHO.js → react-GWLRtgTU.js} +2 -2
- package/dist/assets/{recharts-ZbSULBPo.js → recharts-B7o7FzH2.js} +1 -1
- package/dist/assets/{sentry-BBFZ4Apy.js → sentry-otjdlEta.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-CxpeC9Dy.js → shield-DOlUxcFf-DDxUv5Gm.js} +1 -1
- package/dist/assets/toCOABalancesWithID-DKhXdLyk-D9LH1M_c.js +1 -0
- package/dist/assets/{toChartData-DzatRnt8-r7b4SzAV.js → toChartData-B3G_wqcy-uAjzhvaS.js} +1 -1
- package/dist/assets/{uploadAttachment-Bq8dk-Sm-BxzYH_e-.js → uploadAttachment-CLjjVoJ0-Do2BBtK7.js} +22 -22
- package/dist/assets/uploadReceipts-Dge0cNF1-BhANrZur.js +1 -0
- package/dist/assets/{url-B-vFaWHB.js → url-DCdUzyOP.js} +1 -1
- package/dist/assets/{url-DieIsDlx.js → url-Dy00DrU7.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-BO__ObzU.js → useLongPress-GCK2COYQ-Sm0Bw4m0.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-Ob7uwwlJ.js → usp-line-BBd1wKwW-BmAEJQI7.js} +1 -1
- package/dist/assets/{utils-DvDl_6hs.js → utils-BbmM3Vsp.js} +1 -1
- package/dist/assets/{zeni-epic-state-CbQxc4HL.js → zeni-epic-state-DVinyIRY.js} +18 -18
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/ACHDetailsPage-CxpLuJpQ-Z25Kj8iB.js +0 -21
- package/dist/assets/AccountInfoPage-DkpBGfrR-DgJ_l529.js +0 -18
- package/dist/assets/BillingSettingsPage-gJG9OxD6-C92nEYt6.js +0 -44
- package/dist/assets/BusinessVerificationPage-Dos8Bnvb-BzlY8P7N.js +0 -138
- package/dist/assets/CompanyOfficerDetailsSection-Ck0xqZ0d-CiQdQV8c.js +0 -260
- package/dist/assets/CompanyPassportPage-F_GUET9a-n_4C1XId.js +0 -574
- package/dist/assets/ConfettiBurst-BGE3Okwr-ChtxA3B0.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-BHPDhC3d-DmiTHP_R.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-Bqid4-rH-BGImJqrF.js +0 -66
- package/dist/assets/CustomerOnboardingPage-B5LrMzZS-BM4VGeP8.js +0 -107
- package/dist/assets/EditPeoplePage-BYnuNojX-tF0zDJiV.js +0 -55
- package/dist/assets/EntityDetailPage-DSfZZ1JW-B8lmLppd.js +0 -18
- package/dist/assets/InsightsSection-BYiN2xB7-xEpnMvUU.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-tJbVtzQP-CZgDrSPN.js +0 -292
- package/dist/assets/InvitePeoplePage-B-uxjkke-DNUKVrZj.js +0 -12
- package/dist/assets/LabeledDocumentField-Bx1u7vv_-mKnRKGeb.js +0 -41
- package/dist/assets/MagicLinkACHDetailsPage-X1pXkZYT-DFFPBXzS.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BDl8k_bB-BL-x5WX7.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Q4lIsHtG-CqwaJ0sv.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-BkxuITX--DbmxzFZs.js +0 -31
- package/dist/assets/MailingDetailsSection-DRFGCM2W-D6QU019C.js +0 -21
- package/dist/assets/NavBarWithPicker-C4VfP_Kw-BP1hKzBN.js +0 -30
- package/dist/assets/NoDataChart-Bvetk9za-ChhbhAl5.js +0 -26
- package/dist/assets/NoDataTable-9xF1_3XS-DmyXOk6M.js +0 -8
- package/dist/assets/OverlayContainerPage-D4QU0p4o-Bv0v7Lg9.js +0 -11
- package/dist/assets/PaymentAccountSetupBillingAddressSection-DQtrANhI-Dbgw6-lm.js +0 -107
- package/dist/assets/RoleWithToolTip-C29QOzxS-Dtn3QO2t.js +0 -22
- package/dist/assets/SignInScreen-93gtogD5.js +0 -1
- package/dist/assets/StatementsPage-73jGj5P2-CMTCSEyj.js +0 -58
- package/dist/assets/TransactionVendorDetailPage-CldkuO2--Depffy_Y.js +0 -80
- package/dist/assets/TreasuryStatementsPage-CYkPtmaT-D5EUuNcF.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-DH3su_rX-DoShkWFh.js +0 -58
- package/dist/assets/Vendor2FAPopup-C6gEOhUv-CYnz9DAX.js +0 -1
- package/dist/assets/VendorACHDetailsPage-LNCcubjL-BYnoq0_Z.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-CLudahOt-D5L89H8f.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CUtums8t-DsF3BjGD.js +0 -1
- package/dist/assets/analyticsHelper-BeWexRsD.js +0 -1
- package/dist/assets/downloadPdf-DPAqxw6u-CTz8FOiE.js +0 -1
- package/dist/assets/epic-hSb3tBg_.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-D2u9MDI--C5UhDOED.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-Blr3egSm-DTRUivWC.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-3Hd8QHr2-CJNy6I1V.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-D-LTfKnD-BwhFvpsB.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CffU-RPP-zWnJVGsZ.js +0 -1
- package/dist/assets/toCOABalancesWithID-D35Fk0m2-devRZ_lq.js +0 -1
- package/dist/assets/uploadReceipts-Dge0cNF1-BfejUd9f.js +0 -1
package/dist/assets/{TransactionList-BruCNjQg-Ccsvct2A.js → TransactionList-BFD8ZfJ--BUbGyMLK.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{ce as fe,J as R,V as t,b4 as ue,aQ as h,
|
|
1
|
+
import{ce as fe,J as R,V as t,b4 as ue,aQ as h,dg as xe,dh as he,db as pe,di as ge,o as a,p as Q,cu as be,F as y,y as X,T as we,al as v,u as g,ai as $e,dj as ye,dk as Z,d2 as G,aO as ee,am as ve}from"./index-DOsjGhSZ.js";import{a as u,P as je}from"./sentry-otjdlEta.js";import{n,c as ke}from"./mui-B2MHg-Mu.js";import{a as Ye}from"./ConstrainedInnerElement-BeIpAPjB-DDbvqxn6.js";import{F8 as V,F9 as J,Fa as W,Fb as L,bh as Le,Ft as te,bE as ie}from"./zeni-epic-state-DVinyIRY.js";import{g as ae}from"./BoxItem-Dhk2kQlB-ymoj_NmA.js";import{l as Me}from"./panelSelectedMixin-CzfD5-Zs-CL2f5PJh.js";import{o as B}from"./commonDimensions-DbvjFx29-M5i-B_2F.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="4593b5bf-ea68-47c5-b26c-3ff19f2850df",e._sentryDebugIdIdentifier="sentry-dbid-4593b5bf-ea68-47c5-b26c-3ff19f2850df")}catch{}})();const D=e=>e?24:125,Pe={containerPaddingBottom:new X(g[9],g[8])},q=n.div`
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex: 1 1 auto;
|
|
@@ -15,7 +15,7 @@ import{ce as fe,J as R,V as t,b4 as ue,aQ as h,dh as xe,di as he,dc as pe,dj as
|
|
|
15
15
|
`,Fe=n(v)`
|
|
16
16
|
display: flex;
|
|
17
17
|
cursor: pointer;
|
|
18
|
-
`;function E({firstMonthOfFY:e,isLoadNextItem:i,isLoading:c,timePeriod:o,fixedTimePeriod:r,timeframe:m,doLoadMoreTransactions:f}){let d=o;if(i)if(r!=null){const b=V(o.endDate.startOf("month"),e,r.numberOfPeriods,r.timeframe);d={startDate:d.endDate.add(1,"day"),endDate:b}}else{const b=V(o.endDate.startOf("month"),e,1,m),{startOfTimeframeFY:j,endOfTimeframeFY:k}=J(b,e,m);d={startDate:j,endDate:k}}else if(r!=null)d={startDate:
|
|
18
|
+
`;function E({firstMonthOfFY:e,isLoadNextItem:i,isLoading:c,timePeriod:o,fixedTimePeriod:r,timeframe:m,doLoadMoreTransactions:f}){let d=o;if(i)if(r!=null){const b=V(o.endDate.startOf("month"),e,r.numberOfPeriods,r.timeframe);d={startDate:d.endDate.add(1,"day"),endDate:b}}else{const b=V(o.endDate.startOf("month"),e,1,m),{startOfTimeframeFY:j,endOfTimeframeFY:k}=J(b,e,m);d={startDate:j,endDate:k}}else if(r!=null)d={startDate:W(o.startDate.startOf("month"),e,r.numberOfPeriods,r.timeframe),endDate:o.startDate.subtract(1,"day")};else{const b=W(o.startDate.startOf("month"),e,1,m),{startOfTimeframeFY:j,endOfTimeframeFY:k}=J(b,e,m);d={startDate:j,endDate:k}}const s=y.getLocalizedStrings();let x="";r==null?m==="month"?x=`${i===!0?s.transactionList.loadNextMonthPrefix:s.transactionList.loadPreviousMonthPrefix} (${L(d.startDate,s.dateFormat.visual.MMMYYYYFormat,e)})`:m==="quarter"?x=`${i===!0?s.transactionList.loadNextQuarterPrefix:s.transactionList.loadPreviousQuarterPrefix} (${s.transactionList.quarterPrefix}${L(d.startDate,s.dateFormat.visual.QYYYYformat,e)})`:x=`${i===!0?s.transactionList.loadNextYearPrefix:s.transactionList.loadPreviousYearPrefix} (${L(d.startDate,s.dateFormat.visual.YYYYformat,e)})`:x=`${i===!0?s.transactionList.loadNextMonthPrefix:s.transactionList.loadPreviousPrefix} ${r.numberOfPeriods} ${s.transactionList.monthsSuffix} - (${L(d.startDate,s.dateFormat.visual.MMMYYYYFormat,e)} - ${L(d.endDate,s.dateFormat.visual.MMMYYYYFormat,e)})`;const M=R();return c===!0?t.jsx(q,{windowSize:M,isLoadNextItem:i,children:t.jsx(we,{size:"Small",start:!0})}):t.jsx(q,{windowSize:M,isLoadNextItem:i,children:t.jsx(Fe,{"data-testid":h("load-more-transactions",x),onClick:()=>{f?.(d,m)},children:x})})}E.displayName="LoadMoreTransactions";const{common:{strings:{empty:K}}}=y.getLocalizedStrings(),Se=n(ve)`
|
|
19
19
|
display: -webkit-box;
|
|
20
20
|
-webkit-box-orient: vertical;
|
|
21
21
|
-webkit-line-clamp: 1;
|
|
@@ -60,7 +60,7 @@ import{ce as fe,J as R,V as t,b4 as ue,aQ as h,dh as xe,di as he,dc as pe,dj as
|
|
|
60
60
|
${Me(e.theme)}
|
|
61
61
|
}
|
|
62
62
|
`}
|
|
63
|
-
`;function Ne({transaction:e,onItemClick:i,isCompressedMode:c}){const{description:o,typeName:r,amount:m,logo:f,vendorId:d}=e,s=ie(e)&&d==null;return t.jsxs(De,{onClick:()=>i?.(e),"data-testid":h("transaction-item-medium",e.id),children:[t.jsx(Z,{photoUrl:s===!1?f?.toString()??
|
|
63
|
+
`;function Ne({transaction:e,onItemClick:i,isCompressedMode:c}){const{description:o,typeName:r,amount:m,logo:f,vendorId:d}=e,s=ie(e)&&d==null;return t.jsxs(De,{onClick:()=>i?.(e),"data-testid":h("transaction-item-medium",e.id),children:[t.jsx(Z,{photoUrl:s===!1?f?.toString()??K:K,styles:{width:a.sp4,height:a.sp4,borderRadius:a.sp0},placeholder:{width:g[4],height:g[4]},fallbackAvatar:t.jsx(ze,{children:t.jsx(G,{name:o,size:a.sp4})})}),t.jsxs(Te,{children:[t.jsx(Ie,{children:o}),r!=null&&c!==!0?t.jsx(Se,{className:"tag",children:r}):null]}),t.jsx(Ce,{children:ee("0,0.00",m)})]})}function Ee({data:e,boxType:i,onItemClick:c}){const{isCompressedMode:o,selectedTransactionId:r}=ye(),m=r!=null&&r===e.id,f=te(e.type)==null,d=t.jsx(Ne,{transaction:e,onItemClick:f?void 0:c,isCompressedMode:o});return t.jsx(Oe,{isPanelSelected:m,children:t.jsx(ae,{content:d,boxType:i,isDisabled:f})})}const{common:{strings:{empty:U}}}=y.getLocalizedStrings(),Re=n.div`
|
|
64
64
|
display: flex;
|
|
65
65
|
padding: ${a.sp3} ${a.sp4};
|
|
66
66
|
flex-direction: row;
|
|
@@ -77,33 +77,33 @@ import{ce as fe,J as R,V as t,b4 as ue,aQ as h,dh as xe,di as he,dc as pe,dj as
|
|
|
77
77
|
word-break: break-word;
|
|
78
78
|
text-align: left;
|
|
79
79
|
overflow: hidden;
|
|
80
|
-
`,
|
|
80
|
+
`,Ae=n(v)`
|
|
81
81
|
display: -webkit-box;
|
|
82
82
|
-webkit-box-orient: vertical;
|
|
83
83
|
-webkit-line-clamp: 1;
|
|
84
84
|
margin-left: ${a.sp3};
|
|
85
85
|
text-align: right;
|
|
86
86
|
width: ${e=>B.amountWidth.valuePx(e.windowSize)};
|
|
87
|
-
`,
|
|
87
|
+
`,_e=n.div`
|
|
88
88
|
display: flex;
|
|
89
|
-
`;function Qe({transaction:e,onItemClick:i}){const{description:c,amount:o,logo:r,vendorId:m}=e,f=ie(e)&&m==null;return t.jsxs(Re,{onClick:()=>i?.(e),"data-testid":h("transaction-item-small",e.id),children:[t.jsx(Z,{photoUrl:f===!1?r?.toString()??
|
|
89
|
+
`;function Qe({transaction:e,onItemClick:i}){const{description:c,amount:o,logo:r,vendorId:m}=e,f=ie(e)&&m==null;return t.jsxs(Re,{onClick:()=>i?.(e),"data-testid":h("transaction-item-small",e.id),children:[t.jsx(Z,{photoUrl:f===!1?r?.toString()??U:U,styles:{width:a.sp4,height:a.sp4,borderRadius:a.sp0},placeholder:{width:g[4],height:g[4]},fallbackAvatar:t.jsx(_e,{children:t.jsx(G,{name:c,size:a.sp4})})}),t.jsx(Be,{children:t.jsx(He,{children:c})}),t.jsx(Ae,{children:ee("0,0.00",o)})]})}function Ve({data:e,boxType:i,onItemClick:c}){const o=te(e.type)==null,r=t.jsx(Qe,{transaction:e,onItemClick:o?void 0:c});return t.jsx(ae,{content:r,boxType:i,isDisabled:o})}function Je(e){return R()==="small"?t.jsx(Ve,{...e}):t.jsx(Ee,{...e})}const We=n.div`
|
|
90
90
|
display: flex;
|
|
91
91
|
flex: 1 1 auto;
|
|
92
92
|
flex-direction: column;
|
|
93
93
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
94
94
|
border-radius: ${a.sp2};
|
|
95
95
|
background-color: ${e=>e.theme.colors.grey5};
|
|
96
|
-
`,
|
|
96
|
+
`,qe=n($e)`
|
|
97
97
|
display: flex;
|
|
98
98
|
height: 21px;
|
|
99
99
|
margin-bottom: ${a.sp2};
|
|
100
100
|
margin-top: ${a.sp3};
|
|
101
101
|
color: ${e=>e.theme.colors.grey1};
|
|
102
|
-
`,
|
|
102
|
+
`,Ke=n.div`
|
|
103
103
|
display: flex;
|
|
104
104
|
flex-direction: column;
|
|
105
105
|
width: 100%;
|
|
106
|
-
`,
|
|
106
|
+
`,Ue=(e,i)=>i.length===1?"roundedBox":e===0?"topRoundedBox":e===i.length-1?"bottomRoundedBox":"box",Xe=e=>e*B.transactionItemHeight+45;function Ze({date:e,transactions:i,onItemClick:c}){const{dateFormat:o}=y.getLocalizedStrings();return t.jsxs(Ke,{"data-testid":h("transactions-group"),children:[t.jsx(qe,{children:Le().year()===e.year()?e.format(o.visual.MMMDFormat):e.format(o.visual.MMMDCommaYYYYformat)}),t.jsx(We,{children:i.map((r,m)=>t.jsx(Je,{data:r,boxType:Ue(m,i),onItemClick:f=>{c?.(f)},"data-testid":h("transaction-item",r.id)},r.id))})]})}const Ge=je.memo(Ze),{dateFormat:et}=y.getLocalizedStrings();function tt(e){const i=xe(e,o=>o.date.format(et.visual.MMMDCommaYYYYformat)),c=he(i,o=>o.length>0);return pe(c,o=>({date:o[0].date,transactions:ge(o,r=>r.updateTime,"desc")}))}const $=y.getLocalizedStrings(),it={listItemMargin:new X(g[3],g[8])},at=n.div`
|
|
107
107
|
display: flex;
|
|
108
108
|
flex: 1 1 auto;
|
|
109
109
|
width: 99.9%;
|
|
@@ -150,4 +150,4 @@ import{ce as fe,J as R,V as t,b4 as ue,aQ as h,dh as xe,di as he,dc as pe,dj as
|
|
|
150
150
|
border-radius: 2px;
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
|
-
`,gt=u.forwardRef(function({firstMonthOfFY:e,timeframe:i,timePeriod:c,transactions:o,isFirstLotLoading:r,currentScrollYOffset:m,componentName:f,showLoadNext:d,showLoadPrevious:s,onTransactionItemClick:x,trackPerformance:M=!0,onTransactionListScroll:b,onListInnerElementHeightChanged:j},k){const P=u.useMemo(()=>tt(o),[o]),T=u.createRef(),[I,oe]=u.useState(!1);u.useEffect(()=>{T.current?.resetAfterIndex(0)},[o,T]);const re=k,Y=u.useRef(null),[se,ne]=u.useState(void 0);u.useEffect(()=>{!I&&r===!1&&oe(!0)},[r,I]),fe({componentName:f,enabled:M&&I});const de=()=>{if(Y!=null&&typeof Y=="object"&&Y.current){const l=Y.current;l!=null&&l.clientHeight>0&&l.clientHeight!=se&&(ne(l.clientHeight),j?.(l.clientHeight))}},H=u.useRef(x);H.current=x;const le=u.useCallback((...l)=>{H.current?.(...l)},[]),C=P.length===0,
|
|
153
|
+
`,gt=u.forwardRef(function({firstMonthOfFY:e,timeframe:i,timePeriod:c,transactions:o,isFirstLotLoading:r,currentScrollYOffset:m,componentName:f,showLoadNext:d,showLoadPrevious:s,onTransactionItemClick:x,trackPerformance:M=!0,onTransactionListScroll:b,onListInnerElementHeightChanged:j},k){const P=u.useMemo(()=>tt(o),[o]),T=u.createRef(),[I,oe]=u.useState(!1);u.useEffect(()=>{T.current?.resetAfterIndex(0)},[o,T]);const re=k,Y=u.useRef(null),[se,ne]=u.useState(void 0);u.useEffect(()=>{!I&&r===!1&&oe(!0)},[r,I]),fe({componentName:f,enabled:M&&I});const de=()=>{if(Y!=null&&typeof Y=="object"&&Y.current){const l=Y.current;l!=null&&l.clientHeight>0&&l.clientHeight!=se&&(ne(l.clientHeight),j?.(l.clientHeight))}},H=u.useRef(x);H.current=x;const le=u.useCallback((...l)=>{H.current?.(...l)},[]),C=P.length===0,A=s!=null,z=d!=null,O=P.length+(d!=null?1:0)+(s!=null?1:0)+(C===!0?1:0),_=l=>z===!0?l-1:l,F=R(),ce=({index:l,style:w})=>{if(z===!0&&l===0)return t.jsx("div",{style:{...w},children:t.jsx(S,{windowSize:F,"data-testid":h("transaction-list","list-item-load-more"),children:t.jsx(E,{firstMonthOfFY:e,isLoadNextItem:!0,isLoading:d?.isLoading==!0,timePeriod:c,timeframe:i,fixedTimePeriod:d?.fixedTimePeriod,doLoadMoreTransactions:(p,N)=>{d?.onLoadNextClick?.(p,N)}})})});if(A===!0&&l===O-1)return t.jsx("div",{style:{...w},children:t.jsx(S,{windowSize:F,"data-testid":h("transaction-list","list-item-load-previous"),children:t.jsx(E,{firstMonthOfFY:e,isLoadNextItem:!1,isLoading:s?.isLoading==!0,timePeriod:c,fixedTimePeriod:s?.fixedTimePeriod,timeframe:i,doLoadMoreTransactions:(p,N)=>{s?.onLoadPreviousClick?.(p,N)}})})});if(C===!1){const p=P[_(l)];return t.jsx("div",{style:{...w},children:t.jsxs(S,{windowSize:F,children:[t.jsx(Ge,{date:p.date,transactions:p.transactions,onItemClick:le}),s==null?t.jsx(ot,{}):null]})})}else return t.jsx("div",{style:{...w},children:t.jsx(rt,{children:t.jsx(S,{windowSize:F,"data-testid":h("transaction-list","transactions-list-empty"),children:t.jsx(st,{children:dt(c,d?.isLoading==!0||s?.isLoading==!0)})})})})},me=l=>z===!0&&l===0?D(!0):A===!0&&l===O-1?D(!1):C===!1?Xe(P[_(l)].transactions.length):D(!1);return t.jsx(at,{children:t.jsx(ue,{children:({height:l,width:w})=>t.jsx(nt,{"data-testid":h("transaction-list"),ref:T,height:l,width:w,innerElementType:Ye,innerRef:Y,outerRef:re,onItemsRendered:de,itemCount:O,itemSize:me,onScroll:({scrollOffset:p})=>{b?.(p)},initialScrollOffset:m??0,children:ce})})})}),dt=(e,i)=>i===!0?$.transactionList.fetching:e.startDate.isSame(e.endDate,"month")?`${$.transactionList.noTransactionsFoundForPrefix} (${e.startDate.format($.dateFormat.visual.MMMYYFormat)})`:`${$.transactionList.noTransactionsFoundForPeriodPrefix} (${e.startDate.format($.dateFormat.visual.MMMYYFormat)} - ${e.endDate.format($.dateFormat.visual.MMMYYFormat)})`;export{gt as T};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as a,J as R,aw as Z,aF as ie,aZ as ne,V as t,b4 as re,aQ as w,u as n,b as ae,p as A,o,
|
|
1
|
+
import{y as a,J as R,aw as Z,aF as ie,aZ as ne,V as t,b4 as re,aQ as w,u as n,b as ae,p as A,o,H as j,a as ee,F as $,br as se,bs as le,ai as de,aq as ce,aO as me,bt as pe,ao as he,T as ue,w as G,bu as te,i as q,aU as oe}from"./index-DOsjGhSZ.js";import{a as T,P as C}from"./sentry-otjdlEta.js";import{n as i,c as ge}from"./mui-B2MHg-Mu.js";import{EQ as xe,bg as we,bC as O}from"./zeni-epic-state-DVinyIRY.js";import{G as $e,c as be}from"./AccountsPromoCardStack-CaTnaSn3-FCk-ULE2.js";import{a as ye}from"./ConstrainedInnerElement-BeIpAPjB-DDbvqxn6.js";import"./liveblocks-KFxhhSr3.js";import"./core-BHxev_Cl.js";import"./recharts-B7o7FzH2.js";import"./lottie-DDoT_sT4.js";import"./analytics-Cz7GTPb4.js";import"./lexical-Dja08wvc.js";import"./utils-BbmM3Vsp.js";import"./SummaryCard-BrsOKcrF-DWcUToK_.js";import"./ReloadCard-IEyjck4Y-Bypr7i2O.js";import"./NavigationArrow-suk7KbA1-xl7E8Abj.js";import"./NavigationDots-Dqcv5rrC-DzoP8t9X.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="3602066a-919c-434f-bc67-701b7af81dc5",e._sentryDebugIdIdentifier="sentry-dbid-3602066a-919c-434f-bc67-701b7af81dc5")}catch{}})();const fe={textContainer:new j("extraSmallRegular","smallRegular")},ve=i.div`
|
|
2
2
|
color: ${e=>e.theme.colors.hero};
|
|
3
3
|
cursor: default;
|
|
4
4
|
`,Se=i.div`
|
|
@@ -97,7 +97,7 @@ import{y as a,J as R,aw as Z,aF as ie,aZ as ne,V as t,b4 as re,aQ as w,u as n,b
|
|
|
97
97
|
background: ${e=>e.theme.colors.background};
|
|
98
98
|
text-align: center;
|
|
99
99
|
border-radius: ${o.sp1};
|
|
100
|
-
`;function Ae({accountDetails:e,analytics:g,isZeniUser:c,onSetAccountsStatementDate:k}){const m=$.getLocalizedStrings().statementCloseDay.dropdown.option1,u=$.getLocalizedStrings().statementCloseDay.dropdown.option2,[P,f]=C.useState(!1),r=e.statementCloseDay,[y,b]=C.useState(r!=="LAST_DAY_OF_THE_MONTH"?m:u),[x,p]=C.useState(r!=="LAST_DAY_OF_THE_MONTH"?r:void 0),[_,H]=C.useState(!1),L=C.useRef(r),D=Z();C.useEffect(()=>{L.current!==r&&H(!1)},[r]);const M=s=>{O(D.loggedInUserRole??[])&&(s.stopPropagation(),s.preventDefault(),f(!0),g.trackCardStatementCloseDate(G.Event.cardStatementCloseDateClicked,e.accountId,e.accountName,"Card Balance",""))},F=s=>{const d=["th","st","nd","rd"],Y=s%100;return s+(d[(Y-20)%10]||d[Y]||d[0])};let z="";r!==void 0&&(r==="LAST_DAY_OF_THE_MONTH"?z=$.getLocalizedStrings().statementCloseDay.ordinalText.lastDate:z=`${$.getLocalizedStrings().statementCloseDay.ordinalText.prefix} ${F(r)} ${$.getLocalizedStrings().statementCloseDay.ordinalText.suffix}`);const I=s=>{const d=s.target.value;d===u&&p(void 0),b(d)},U=(s,d)=>{s.stopPropagation(),p(d),b(m)},
|
|
100
|
+
`;function Ae({accountDetails:e,analytics:g,isZeniUser:c,onSetAccountsStatementDate:k}){const m=$.getLocalizedStrings().statementCloseDay.dropdown.option1,u=$.getLocalizedStrings().statementCloseDay.dropdown.option2,[P,f]=C.useState(!1),r=e.statementCloseDay,[y,b]=C.useState(r!=="LAST_DAY_OF_THE_MONTH"?m:u),[x,p]=C.useState(r!=="LAST_DAY_OF_THE_MONTH"?r:void 0),[_,H]=C.useState(!1),L=C.useRef(r),D=Z();C.useEffect(()=>{L.current!==r&&H(!1)},[r]);const M=s=>{O(D.loggedInUserRole??[])&&(s.stopPropagation(),s.preventDefault(),f(!0),g.trackCardStatementCloseDate(G.Event.cardStatementCloseDateClicked,e.accountId,e.accountName,"Card Balance",""))},F=s=>{const d=["th","st","nd","rd"],Y=s%100;return s+(d[(Y-20)%10]||d[Y]||d[0])};let z="";r!==void 0&&(r==="LAST_DAY_OF_THE_MONTH"?z=$.getLocalizedStrings().statementCloseDay.ordinalText.lastDate:z=`${$.getLocalizedStrings().statementCloseDay.ordinalText.prefix} ${F(r)} ${$.getLocalizedStrings().statementCloseDay.ordinalText.suffix}`);const I=s=>{const d=s.target.value;d===u&&p(void 0),b(d)},U=(s,d)=>{s.stopPropagation(),p(d),b(m)},W=()=>{p(void 0),b(u)},h=()=>{const s=e.accountId,d=x??"LAST_DAY_OF_THE_MONTH";r!==d&&(H(!0),k?.(s,d)),f(!1),g.trackCardStatementCloseDate(G.Event.cardStatementCloseDateSaved,e.accountId,e.accountName,"Card Balance",x!==void 0?`${x}`:"End")},v=()=>t.jsxs(K,{children:[$.getLocalizedStrings().statementCloseDay.pickDate.prefix,t.jsx(Be,{children:x??" - "}),$.getLocalizedStrings().statementCloseDay.pickDate.suffix]}),N=()=>t.jsxs(ke,{role:"presentation","data-testid":w("statement-close-day-section"),onClick:s=>{s.stopPropagation()},children:[t.jsxs(J,{checked:y===m,children:[t.jsx("input",{type:"radio",name:"statementCloseDay",id:m,value:m,onChange:I,checked:y===m,style:{width:"100%"},"data-testid":w("statement-close-day-input")}),v(),t.jsx(je,{children:Array.from({length:28},(s,d)=>d+1).map(s=>t.jsx(Pe,{isSelectedDate:s===x,"data-testid":w("statement-close-day-text"),onClick:d=>U(d,s),children:t.jsx(De,{children:s})},s))})]}),t.jsxs(J,{checked:y===u,children:[t.jsx("input",{type:"radio",name:"statementCloseDay",id:u,value:u,onChange:I,checked:y===u,style:{width:"100%"},"data-testid":w("statement-close-day-input-last-day")}),t.jsx(K,{onClick:()=>W(),children:$.getLocalizedStrings().statementCloseDay.lastDate.text})]}),t.jsxs(Te,{children:[t.jsx(q,{size:"small",variant:"secondary",label:"Cancel",onClick:()=>{f(!1)},style:{marginRight:o.sp3},"data-testid":w("statement-close-day-button-secondary")}),t.jsx(q,{size:"small",variant:"primary",label:"Save",onClick:h,disabled:x==null&&y!==u,"data-testid":w("statement-close-day-button-primary")})]})]}),V=R();return t.jsx(he,{onClickAway:()=>f(!1),children:t.jsxs("div",{onClick:M,"data-testid":w("statement-close-day-modal"),children:[_?t.jsx(ue,{size:"Small",start:!0}):z?t.jsxs(ve,{"data-testid":w("edit-statement-close-day"),children:[t.jsx(ze,{}),t.jsx(Q,{className:"statementCloseDayText",windowSize:V,children:z})]}):O(D.loggedInUserRole??[])&&c===!0?t.jsxs(Se,{"data-testid":w("add-statement-close-day"),children:[t.jsx(Ce,{}),t.jsx(Q,{className:"statementCloseDayText",windowSize:V,children:$.getLocalizedStrings().statementCloseDay.statement})]}):"",P?N():""]})})}const He=new a(n[9],98),S={contentContainerPadding:new a(n[3],n[4]),minItemHeight:new a(n[9],96),imageHeight:new a(n[5],n[7]),imageWidth:new a(n[5],n[7]),amountWrapperWidth:new a(100,230),titleLeftMargin:new a(n[2],n[3])},Ie={textContainer:new j("standardMedium","largeMedium")},Re=i.div`
|
|
101
101
|
display: flex;
|
|
102
102
|
width: 100%;
|
|
103
103
|
`,Ee=i.div`
|
|
@@ -157,7 +157,7 @@ import{y as a,J as R,aw as Z,aF as ie,aZ as ne,V as t,b4 as re,aQ as w,u as n,b
|
|
|
157
157
|
align-items: flex-end;
|
|
158
158
|
flex-direction: column;
|
|
159
159
|
justify-content: center;
|
|
160
|
-
`,
|
|
160
|
+
`,We=i(pe)``;function Ne({data:e,showStatementSection:g,analytics:c,isZeniUser:k,onItemClick:m,onSetAccountsStatementDate:u}){const{key:P,title:f,amount:r,logoUri:y}=e,b=Z(),x=b.loggedInUserRole!=null&&!we(b.loggedInUserRole),p=R();return t.jsx(Re,{windowSize:p,children:t.jsx(Ee,{"data-testid":w("transaction-list-item-big",e.title),windowSize:p,showEditStatementIcon:O(b.loggedInUserRole??[])&&k===!0,isClickEnabled:x,onClick:()=>x===!0?m?.(P,e.source):null,children:t.jsxs(_e,{windowSize:p,children:[t.jsxs(Le,{windowSize:p,children:[t.jsx(Me,{windowSize:p,src:y,loading:"lazy"}),t.jsx(Fe,{windowSize:p,children:f})]}),t.jsxs(Ue,{windowSize:p,children:[t.jsx(We,{children:me("0,0",r)}),g&&p!=="small"&&t.jsx(Ae,{accountDetails:e.source,isZeniUser:k,onSetAccountsStatementDate:u,analytics:c})]})]})})})}const Oe=C.memo(Ne),B=$.getLocalizedStrings().zeniAccountsPromoCard,l={marginTop:new a(n[6],n[8]),marginBottom:new a(n[3],n[4]),itemPaddingBottom:new a(n[3],n[4]),maxWidth:new a(100,67),sectionTitleHeight:new a(83,110),promoBannerPadding:new a(n[3],n[4]),promoBannerMarginBottom:new a(n[3],n[4]),promoBannerGap:new a(n[1],n[3]),promoHighlightContainerMaxHeight:new a(30,ae.h5Regular.lineHeightValue),promoButtonBorderRadius:new a(n[1],n[2]),promoButtonPaddingVertical:new a(2,6),promoButtonPaddingHorizontal:new a(n[1],n[3]),promoFooterPositionBottom:new a(n[3],n[1]),promoFooterPositionRight:new a(n[3],n[4]),promoFooterMarginTop:new a(0,n[2])},E={textContainer:new j("largeMedium","h6Medium"),promoText:new j("extraSmallRegular","standardRegular"),promoHighlightText:new j("extraLargeRegular","h5Regular"),promoButtonText:new j("extraSmallMedium","smallRegular")},X=8,Ze=i.div`
|
|
161
161
|
display: flex;
|
|
162
162
|
flex: 1 1 auto;
|
|
163
163
|
flex-direction: column;
|
|
@@ -281,4 +281,4 @@ import{y as a,J as R,aw as Z,aF as ie,aZ as ne,V as t,b4 as re,aQ as w,u as n,b
|
|
|
281
281
|
position: absolute;
|
|
282
282
|
bottom: ${e=>l.promoFooterPositionBottom.valuePx(e.size)};
|
|
283
283
|
right: ${e=>l.promoFooterPositionRight.valuePx(e.size)};
|
|
284
|
-
`,st=({sectionTitle:e,totalFormatted:g})=>{const c=R();return t.jsx(Ve,{windowSize:c,children:t.jsxs(Ge,{windowSize:c,children:[t.jsx(qe,{children:e}),t.jsx(Qe,{children:g})]})})};function Ct({sectionTitle:e,analytics:g,transactionArray:c,isZeniUser:k,zeniAccountsPromoCardReport:m,onItemClick:u,onSetAccountsStatementDate:P,onPromoCardBtnClick:f}){const r=R(),y=T.createRef(),[b,x]=T.useState(0),p=Z(),_=ie(c,function(h,v){return h+(v.amount?.amount??0)},0),H=c.length>0?c[0].amount?.currencySymbol:"",L=ne("0,0",_,H),D=T.useRef(u);D.current=u;const M=T.useCallback((...h)=>{D.current?.(...h)},[]),F=({index:h,style:v})=>t.jsx("div",{style:{...v},children:t.jsx(Je,{children:t.jsx(Ke,{windowSize:r,children:t.jsx(Oe,{data:c[h],showStatementSection:e===$.getLocalizedStrings().balanceCard.cardBalanceSectionTitle,isZeniUser:k,analytics:g,onItemClick:M,onSetAccountsStatementDate:P})})})}),z=T.useRef(null),I=()=>{const h=z.current;h!=null&&h.clientHeight>0&&h.clientHeight!=b&&x(h.clientHeight)},U=()=>{f?.(m?.depositAccountId??"")},
|
|
284
|
+
`,st=({sectionTitle:e,totalFormatted:g})=>{const c=R();return t.jsx(Ve,{windowSize:c,children:t.jsxs(Ge,{windowSize:c,children:[t.jsx(qe,{children:e}),t.jsx(Qe,{children:g})]})})};function Ct({sectionTitle:e,analytics:g,transactionArray:c,isZeniUser:k,zeniAccountsPromoCardReport:m,onItemClick:u,onSetAccountsStatementDate:P,onPromoCardBtnClick:f}){const r=R(),y=T.createRef(),[b,x]=T.useState(0),p=Z(),_=ie(c,function(h,v){return h+(v.amount?.amount??0)},0),H=c.length>0?c[0].amount?.currencySymbol:"",L=ne("0,0",_,H),D=T.useRef(u);D.current=u;const M=T.useCallback((...h)=>{D.current?.(...h)},[]),F=({index:h,style:v})=>t.jsx("div",{style:{...v},children:t.jsx(Je,{children:t.jsx(Ke,{windowSize:r,children:t.jsx(Oe,{data:c[h],showStatementSection:e===$.getLocalizedStrings().balanceCard.cardBalanceSectionTitle,isZeniUser:k,analytics:g,onItemClick:M,onSetAccountsStatementDate:P})})})}),z=T.useRef(null),I=()=>{const h=z.current;h!=null&&h.clientHeight>0&&h.clientHeight!=b&&x(h.clientHeight)},U=()=>{f?.(m?.depositAccountId??"")},W=xe(p.loggedInUserRoleMap);return t.jsxs(Ze,{windowSize:r,listHeight:b,"data-testid":w("transaction-list-big"),children:[t.jsx(st,{sectionTitle:e,totalFormatted:L}),t.jsx(Ye,{children:t.jsx(re,{children:({height:h,width:v})=>t.jsxs(t.Fragment,{children:[m?.isShowDepositAccountsPromo===!0?t.jsxs(et,{width:v,size:r,children:[t.jsxs(tt,{size:r,children:[t.jsx(ot,{size:r,children:B.keepInterest.prefixCashBalance}),t.jsx(it,{size:r,children:$e("keepInterest",be(m.maxPossibleInterest??0))})]}),t.jsx(nt,{onClick:U,size:r,children:t.jsx(rt,{size:r,children:W?m.depositAccountId!=null?B.button:B.signUp:B.learnMore})}),t.jsx(at,{size:r,children:B.keepInterest.footer.replace(/<interest>/,m.maxAnnualPercentageYield.toString())})]}):null,t.jsx(Xe,{ref:y,height:h,width:v,style:{overflow:"unset"},innerElementType:ye,itemCount:c.length,itemSize:He.value(r)+l.itemPaddingBottom.value(r),onItemsRendered:I,itemKey:N=>c[N].key,innerRef:z,children:F})]})})})]})}export{Ct as default,l as dimensions};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{d as M,bA as R,bB as q,V as t,bC as J,T as Q,aQ as h,bD as U,o as n,al as X}from"./index-DOsjGhSZ.js";import{a as r,n as G}from"./sentry-otjdlEta.js";import{n as l}from"./mui-B2MHg-Mu.js";import{T as H}from"./TransactionList-BFD8ZfJ--BUbGyMLK.js";import{t as K}from"./page-detail-CWX5S47F-Dqz3fZ9M.js";import"./liveblocks-KFxhhSr3.js";import"./core-BHxev_Cl.js";import"./recharts-B7o7FzH2.js";import"./zeni-epic-state-DVinyIRY.js";import"./lottie-DDoT_sT4.js";import"./analytics-Cz7GTPb4.js";import"./lexical-Dja08wvc.js";import"./utils-BbmM3Vsp.js";import"./ConstrainedInnerElement-BeIpAPjB-DDbvqxn6.js";import"./BoxItem-Dhk2kQlB-ymoj_NmA.js";import"./commonDimensions-DbvjFx29-M5i-B_2F.js";import"./panelSelectedMixin-CzfD5-Zs-CL2f5PJh.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="a7872104-11a1-4d41-9327-f93cf8cad50f",e._sentryDebugIdIdentifier="sentry-dbid-a7872104-11a1-4d41-9327-f93cf8cad50f")}catch{}})();const W=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 0;
|
|
@@ -32,4 +32,4 @@ import{e as M,bA as R,bB as q,V as t,bC as J,T as Q,aQ as h,bD as U,o as n,al as
|
|
|
32
32
|
&:hover {
|
|
33
33
|
color: ${e=>e.theme.colors.primary};
|
|
34
34
|
}
|
|
35
|
-
`;function Se({title:e,subTitle:c,firstMonthOfFY:g,timeframe:d,timePeriod:a,useFixedPeriod:x,dataAvailableForPeriod:
|
|
35
|
+
`;function Se({title:e,subTitle:c,firstMonthOfFY:g,timeframe:d,timePeriod:a,useFixedPeriod:x,dataAvailableForPeriod:y,report:o,currentScrollYOffset:$,showStatementPageIcon:k=!1,onTimePeriodChange:b,onTransactionItemClick:v,onTransactionListScroll:I,onBackClick:L,onStatementPageIconClick:j,panelContent:D,referrerType:F,sidePanelIsFullView:O,sidePanelIsOpen:N}){const[f,S]=r.useState(!0),[m,P]=r.useState(!1),[u,w]=r.useState(!1),B=M();r.useEffect(()=>{o.transactions.length>0?S(!1):S(m===!1&&u===!1?o.fetchState==="In-Progress"||o.fetchState==="Not-Started":!1)},[o,f,m,u]);const E=R(),C=q(F),A=`${C===""?E:C}.transactions.list`,V=a.startDate.isAfter(y.startDate,d)?{isLoading:m&&(o.fetchState==="In-Progress"||o.fetchState==="Not-Started"),fixedTimePeriod:x,onLoadPreviousClick:(i,s)=>{w(!1),P(!0),b?.(i,a,s)}}:void 0,Y=a.endDate.isBefore(y.endDate,d)?{isLoading:u&&(o.fetchState==="In-Progress"||o.fetchState==="Not-Started"),fixedTimePeriod:x,onLoadNextClick:(i,s)=>{P(!1),w(!0),b?.(i,a,s)}}:void 0;let T=null;k&&(T=t.jsx(oe,{onClick:j}));const p=r.useRef(null);function _(i,s,z){G({category:`${A}.transaction-list.react.profiler`,message:`${i} (${s}) took ${z}ms`,level:"info"})}return t.jsx(r.Profiler,{id:"TransactionListPage",onRender:_,children:t.jsx(J,{isOpen:N??!1,isFullView:O??!1,panelContent:D,headerContent:t.jsx(U,{source:"TransactionListPage","data-testid":h("transaction-list-page-nav-bar"),title:e,onBackClick:L,backgroundColor:B.colors.grey4,rightSideComponent:T,scrollableContent:p.current!=null?p:void 0}),listContent:t.jsx(W,{"data-testid":h("transaction-list-page",e),children:t.jsxs(Z,{"data-testid":h("transaction-list",e),children:[t.jsx(te,{children:c}),f===!1?t.jsx(H,{ref:p,firstMonthOfFY:g,timeframe:d,timePeriod:a,transactions:o.transactions,isFirstLotLoading:f,currentScrollYOffset:$,onTransactionItemClick:v,onTransactionListScroll:I,showLoadPrevious:V,showLoadNext:Y,componentName:"report.transactions.list"}):t.jsx(ee,{children:t.jsx(Q,{size:"ExtraLarge",start:!0})})]})})})})}export{Se as default};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import{J as A,F as k,V as o,T as q,aQ as L,aS as W,o as t,y as g,x as _,H as G,d4 as J,a9 as Q,cG as U,ac as K,u as r,hh as F,hi as M,hj as R,d as X,cL as Y,gP as z,hk as Z,b8 as ee,ho as oe,hp as ae}from"./index-DOsjGhSZ.js";import{a as I}from"./sentry-otjdlEta.js";import{n as c}from"./mui-B2MHg-Mu.js";import"./liveblocks-KFxhhSr3.js";import"./core-BHxev_Cl.js";import"./recharts-B7o7FzH2.js";import"./zeni-epic-state-DVinyIRY.js";import"./lottie-DDoT_sT4.js";import"./analytics-Cz7GTPb4.js";import"./lexical-Dja08wvc.js";import"./utils-BbmM3Vsp.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="5f362a08-aaca-4b69-9402-eda84f11b8b2",e._sentryDebugIdIdentifier="sentry-dbid-5f362a08-aaca-4b69-9402-eda84f11b8b2")}catch{}})();const O=(e,n)=>`${e}.${n}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},te=k.getLocalizedStrings().transactionDetail.vendorDetails,d=te.vendorCreation,ne=({selectedAccountId:e,isSaveError:n,selectedClassId:p,selectedOwnerId:a,selectedVendorName:f,allAccounts:h,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:m,classHierarchyList:x})=>{const i=A(),b=X(),$=N.labelWidth.value(i),j=N.controlWidth.value(i),V=s=>h.filter(D=>D.accountId===s)[0]?.coaId??"",l=s=>C.filter(D=>D.classId===s)[0]?.accountingClassNumber??"",y=s=>{const D=h.find(B=>B.accountId===s)?.accountName;return[oe,ae].includes(D??"")};return o.jsxs(se,{"data-testid":L("vendor-details-section",v),children:[o.jsx(re,{children:d.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:d.vendorDetails.vendorName,width:$},text:{type:"text",name:O(v,"vendorName"),placeholder:d.placeholders.vendor,defaultValue:f,autoComplete:"off",options:{required:!0}},isSaveError:n,showAdditionalInfoLabel:!1,additionalInfoLabel:d.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorCategory"),placeholder:d.placeholders.category,valueToInfo:s=>V(s),defaultValue:{selectedOption:e,allOptions:M(m)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${b.colors.grey3}`},isDisabled:u,disableCurrentOption:y,zIndexOnFocus:!0,additionalLabelInfo:d.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorClass"),placeholder:d.placeholders.class,valueToInfo:s=>l(s),defaultValue:{selectedOption:p,allOptions:F(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:d.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${b.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Z,{label:{label:d.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:O(v,"vendorOwner"),placeholder:d.placeholders.owner,defaultValue:{allOptions:R(S),selectedOption:a},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},se=c.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
padding-top: ${t.sp3};
|
|
5
|
+
padding-bottom: ${t.sp3};
|
|
6
|
+
`,re=c(ee)`
|
|
7
|
+
color: ${e=>e.theme.colors.primary};
|
|
8
|
+
margin-bottom: ${t.sp3};
|
|
9
|
+
margin-right: ${t.sp6};
|
|
10
|
+
`,le=c.div`
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
14
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
15
|
+
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
16
|
+
border-radius: ${t.sp2};
|
|
17
|
+
`,ie=c.div`
|
|
18
|
+
display: flex;
|
|
19
|
+
flex: 1;
|
|
20
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
21
|
+
min-height: 1px;
|
|
22
|
+
max-height: 1px;
|
|
23
|
+
`,P="vendorDetails",de=({id:e,allAccounts:n,allClasses:p,allOwners:a,selectedVendor:f,formLocalData:h,isDisabled:C,onSaveVendor:S,saveVendorDetailLocalData:v,accountsHierarchyList:u,classHierarchyList:m})=>{const x=Q({mode:"all",reValidateMode:"onChange",defaultValues:ce(u,m,a,h)}),[i,b]=I.useState(!1),$=l=>{l.preventDefault(),x.getValues().vendorDetails.vendorName!==""&&i===!1&&S?.()},j=(l,y)=>{const s=ue(l,void 0);v?.(s)},V=async(l,y)=>{(l.includes("vendorName")||l.includes("vendorOwner")||l.includes("vendorClass")||l.includes("vendorCategory"))&&(j(y),i===!0&&l.includes("vendorName")&&b(!1))};return I.useEffect(()=>{const l=x.watch((y,{name:s})=>{s!=null&&y!=null&&U(()=>V(s,y))});return()=>{l.unsubscribe()}}),I.useEffect(()=>{f.saveStatus.fetchState==="Error"&&f.saveStatus.error?.code===409&&b(!0)},[f.saveStatus]),o.jsx(K,{...x,children:o.jsx("form",{id:e,onSubmit:$,children:o.jsx(ne,{sectionId:P,selectedVendorDetails:f,isSaveError:i,selectedAccountId:h?.vendorCategory,selectedClassId:h?.vendorClass,selectedOwnerId:h?.vendorOwner,allAccounts:n??[],allClasses:p??[],selectedVendorName:h?.vendorName,allOwners:a,isDisabled:C,accountsHierarchyList:u,classHierarchyList:m})})})},ce=(e,n,p,a)=>({[P]:{vendorName:a?.vendorName??"",vendorOwner:{allOptions:R(p),selectedOption:a?.vendorOwner},vendorCategory:{allOptions:M(e),selectedOption:a?.vendorCategory},vendorClass:{allOptions:F(n),selectedOption:a?.vendorClass}}});function ue(e,n,p){const a=e?.[P];return{vendorCategory:a.vendorCategory.selectedOption,vendorClass:a.vendorClass.selectedOption,vendorId:n,vendorName:a.vendorName,vendorOwner:a.vendorOwner?.selectedOption}}const w={containerPaddingLeft:new g(r[3],r[3],r[6]),containerPaddingRight:new g(r[3],r[3],r[8]),containerMarginTop:new g(r[2],r[2],r[4]),navbarContainerPaddingTop:new g(r[3],r[3]),navbarContainerPaddingBottom:new g(r[3],r[3]),SectionTitleMarginTop:new g(0,r[3])},T={sectionTitle:new G("h6Regular","h5Medium"),sectionTitleLineHeight:new g(30,40)},pe=c.div`
|
|
24
|
+
display: flex;
|
|
25
|
+
flex: 1 1 auto;
|
|
26
|
+
min-height: 100%;
|
|
27
|
+
width: 100%;
|
|
28
|
+
flex-direction: column;
|
|
29
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
30
|
+
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
31
|
+
`,he=c.div`
|
|
32
|
+
margin-top: ${e=>w.containerMarginTop.valuePx(e.windowSize)};
|
|
33
|
+
padding-left: ${e=>w.containerPaddingLeft.valuePx(e.windowSize)};
|
|
34
|
+
padding-right: ${e=>w.containerPaddingRight.valuePx(e.windowSize)};
|
|
35
|
+
`,ve=c.div`
|
|
36
|
+
display: flex;
|
|
37
|
+
flex: 1 1 auto;
|
|
38
|
+
height: 100vh;
|
|
39
|
+
width: 100%;
|
|
40
|
+
flex-direction: row;
|
|
41
|
+
justify-content: center;
|
|
42
|
+
align-items: center;
|
|
43
|
+
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
44
|
+
`,ge=c.div`
|
|
45
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
46
|
+
flex: 1;
|
|
47
|
+
`,fe=c.div`
|
|
48
|
+
display: flex;
|
|
49
|
+
flex-direction: column;
|
|
50
|
+
align-items: center;
|
|
51
|
+
top: ${t.sp0};
|
|
52
|
+
z-index: 2;
|
|
53
|
+
padding-left: ${e=>w.containerPaddingLeft.valuePx(e.windowSize)};
|
|
54
|
+
padding-right: ${e=>w.containerPaddingRight.valuePx(e.windowSize)};
|
|
55
|
+
padding-top: ${e=>w.navbarContainerPaddingTop.valuePx(e.windowSize)};
|
|
56
|
+
padding-bottom: ${e=>w.navbarContainerPaddingBottom.valuePx(e.windowSize)};
|
|
57
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
58
|
+
`,we=c.div`
|
|
59
|
+
display: flex;
|
|
60
|
+
width: 100%;
|
|
61
|
+
justify-content: flex-end;
|
|
62
|
+
margin-top: 3px;
|
|
63
|
+
margin-bottom: 3px;
|
|
64
|
+
`,me=c(_)`
|
|
65
|
+
cursor: pointer;
|
|
66
|
+
color: ${e=>e.theme.colors.hero};
|
|
67
|
+
width: ${t.sp4};
|
|
68
|
+
height: ${t.sp4};
|
|
69
|
+
&:hover {
|
|
70
|
+
color: ${e=>e.theme.colors.primary};
|
|
71
|
+
}
|
|
72
|
+
`,xe=c(J)`
|
|
73
|
+
display: flex;
|
|
74
|
+
width: 100%;
|
|
75
|
+
color: ${e=>e.theme.colors.primary};
|
|
76
|
+
margin-top: ${e=>w.SectionTitleMarginTop.valuePx(e.windowSize)};
|
|
77
|
+
${e=>`${T.sectionTitle.style(e.windowSize)}`};
|
|
78
|
+
margin-left: ${e=>e.windowSize==="small"?t.sp3:0};
|
|
79
|
+
line-height: ${e=>T.sectionTitleLineHeight.valuePx(e.windowSize)};
|
|
80
|
+
`,H="vendorDetailPage",E=e=>`${e}_form`,Pe=({vendorDetailView:e,onSaveSuccess:n,onCancelClick:p,onSaveVendor:a,saveVendorDetailLocalData:f})=>{const{editVendorState:h,newVendorState:C,accountsHierarchyList:S,classHierarchyList:v}=e,u=A(),{footer:m,newVendor:x}=k.getLocalizedStrings().transactionDetail.vendorDetails.createVendor,i=Object.assign({},h??C);if(I.useEffect(()=>{i?.saveStatus?.fetchState==="Completed"&&n?.()},[i]),e.fetchState==="Not-Started"||e.fetchState==="In-Progress")return o.jsx(ve,{children:o.jsx(q,{size:"ExtraLarge",start:!0})});const b=i.saveStatus?.fetchState==="In-Progress";return o.jsxs(pe,{windowSize:u,"data-testid":L("transaction-vendor-detail-page"),children:[o.jsxs(fe,{windowSize:u,children:[o.jsx(we,{children:o.jsx(me,{onClick:p,"data-testid":L("close-icon")})}),o.jsx(xe,{windowSize:u,children:x})]}),o.jsx(ge,{children:o.jsx(he,{windowSize:u,"data-testid":L("vendor-detail-page-form"),children:o.jsx(de,{id:E(H),allAccounts:e.accountList.accounts,allClasses:e.classList.classes,allOwners:e.ownerList,selectedVendor:i,formLocalData:i.vendorDetailLocalData,onSaveVendor:a,saveVendorDetailLocalData:f,accountsHierarchyList:S,classHierarchyList:v})})}),o.jsx(W,{formId:E(H),primaryBtn:{label:m.save,isLoading:b},cancelBtn:{label:m.cancel,shouldResetOnCancel:!0,onClick:p}})]})};export{Pe as default,E as formUniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,J as ue,aQ as A,hv as lt,aO as U,i as ve,hE as ct,T as Ye,aS as $e,o as a,F as E,y as c,c as Ne,d as dt,ba as ut,aq as ft,R as be,ai as De,al as fe,aR as ce,fB as pt,a9 as Xe,cG as mt,aZ as ht,aP as gt,p as J,ac as qe,fF as ke,fG as Ae,gd as wt,bU as ye,g7 as xt,hF as $t,u as o,fp as bt,cj as Ue,c1 as Dt,f1 as yt,bL as Tt,am as Ge,fS as Ct,dw as St,c3 as Je,gY as vt,gZ as kt}from"./index-B4SkrUUS.js";import{a as u}from"./sentry-BBFZ4Apy.js";import{n}from"./mui-DUBEtzg-.js";import{bL as At}from"./zeni-epic-state-CbQxc4HL.js";import{v as Pt}from"./ZeniTransferAmountSlider-4Nq4Sm9J-VPec2EGj.js";import{r as Lt}from"./AccountInfoPageContent-BLF92_vF-YYhij8lg.js";import"./liveblocks-Dh9EWLXD.js";import"./core-TLZ6PfaT.js";import"./recharts-ZbSULBPo.js";import"./lottie-osIcf0zV.js";import"./analytics-BFo1DlpM.js";import"./lexical-DGcsrY0x.js";import"./utils-DvDl_6hs.js";import"./downloadPdf-DPAqxw6u-CTz8FOiE.js";import"./commonDimensions-YcBBlmYP-COMWV7bj.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]="1d6f9eda-6475-4b70-9f77-f483b78859ee",e._sentryDebugIdIdentifier="sentry-dbid-1d6f9eda-6475-4b70-9f77-f483b78859ee")}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:B,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),[Y,N]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),I(),N(!1),z(!1)},[I,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{Y&&x&&q()},[Y,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&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 F={...h},le={amount:{amount:F[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===F[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===F[k].transferTo.selectedOption)};Z(le)}};u.useEffect(()=>{const s=P.watch((h,{name:F})=>{if(F!=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:F})=>{F!=null&&h!=null&&mt(()=>at(F,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(Bt,{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(Yt,{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(Nt,{children:[t.jsx(Xt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:B,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(Be,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Fe,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Be,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Fe,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[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:Ft(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Ft=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Bt=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-DOsjGhSZ.js";import{a as u}from"./sentry-otjdlEta.js";import{n}from"./mui-B2MHg-Mu.js";import{bL as At}from"./zeni-epic-state-DVinyIRY.js";import{v as Pt}from"./ZeniTransferAmountSlider-C--qNr-a-BTUYZm1a.js";import{r as Lt}from"./AccountInfoPageContent-BHD9tOzB-DoEbtT2v.js";import"./liveblocks-KFxhhSr3.js";import"./core-BHxev_Cl.js";import"./recharts-B7o7FzH2.js";import"./lottie-DDoT_sT4.js";import"./analytics-Cz7GTPb4.js";import"./lexical-Dja08wvc.js";import"./utils-BbmM3Vsp.js";import"./downloadPdf-CDTl_Ev--DwC3gr_X.js";import"./commonDimensions-DbvjFx29-M5i-B_2F.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="3974c39b-e48b-4f89-82df-bfffcec78af4",e._sentryDebugIdIdentifier="sentry-dbid-3974c39b-e48b-4f89-82df-bfffcec78af4")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=E.getLocalizedStrings(),Ze="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",He="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:Z,onBackClick:I,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:H,onReviewClick:K}){const i=ue(),R=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[N,Y]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),I(),Y(!1),z(!1)},[I,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&Y(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{N&&x&&q()},[N,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&H?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};Z(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),K())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Ft,{children:t.jsxs(It,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Et,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:J.heroLight}})})]})}):null,t.jsx(Nt,{children:U("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:Ke(He),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ie,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ie,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ze),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Ut,{children:[$?t.jsxs(Yt,{children:[t.jsx(Xt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Gt,{windowSize:i,children:[t.jsx(Ht,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Jt,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${U("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Zt,{windowSize:i}),t.jsx(Kt,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${U("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ne,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Ze]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
|
|
2
2
|
margin-top: ${a.sp3};
|
|
3
3
|
display: flex;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -34,13 +34,13 @@ import{V as t,J as ue,aQ as A,hv as lt,aO as U,i as ve,hE as ct,T as Ye,aS as $e
|
|
|
34
34
|
color: ${J.important};
|
|
35
35
|
`,Wt=n(fe)`
|
|
36
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};
|
|
40
40
|
`,je=n(yt)`
|
|
41
41
|
border-radius: ${a.sp2};
|
|
42
42
|
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
43
|
-
`,
|
|
43
|
+
`,Yt=n.div`
|
|
44
44
|
background-color: ${e=>e.theme.colors.background};
|
|
45
45
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
46
46
|
border-top: none;
|
|
@@ -81,10 +81,10 @@ import{V as t,J as ue,aQ as A,hv as lt,aO as U,i as ve,hE as ct,T as Ye,aS as $e
|
|
|
81
81
|
display: flex;
|
|
82
82
|
flex-direction: row;
|
|
83
83
|
align-items: center;
|
|
84
|
-
`,
|
|
84
|
+
`,Be=n(De)`
|
|
85
85
|
color: ${e=>e.theme.colors.hero};
|
|
86
86
|
cursor: pointer;
|
|
87
|
-
`,
|
|
87
|
+
`,Fe=n.div`
|
|
88
88
|
display: flex;
|
|
89
89
|
flex-direction: row;
|
|
90
90
|
align-items: center;
|
|
@@ -170,7 +170,7 @@ import{V as t,J as ue,aQ as A,hv as lt,aO as U,i as ve,hE as ct,T as Ye,aS as $e
|
|
|
170
170
|
display: flex;
|
|
171
171
|
flex-grow: ${e=>p.controllerWrapperFlex.value(e.size)};
|
|
172
172
|
align-items: flex-start;
|
|
173
|
-
`,na=n(
|
|
173
|
+
`,na=n(Ye)`
|
|
174
174
|
cursor: pointer;
|
|
175
175
|
color: ${e=>e.theme.colors.hero};
|
|
176
176
|
width: ${a.sp4};
|
|
@@ -179,7 +179,7 @@ import{V as t,J as ue,aQ as A,hv as lt,aO as U,i as ve,hE as ct,T as Ye,aS as $e
|
|
|
179
179
|
&:hover {
|
|
180
180
|
color: ${e=>e.theme.colors.primary};
|
|
181
181
|
}
|
|
182
|
-
`,re={navBarContainerPaddingXaxis:new c(10,19),containerPaddingLeft:new c(16,40,56),containerPaddingRight:new c(16,40,56),successContentMargin:new c(o[3],o[12]),buttonTrayGap:new c(o[4],o[5])},b=E.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,ra=({transferDetails:e,isCalculatorOpen:r,showAnnualYieldEarned:g,transferAmount:$,yieldEarned:y,totalBalance:w,maxInsuredAmount:d,zeniAccountsConfigDetail:f,fireTrackTransferBetweenAccountsFormClicked:l,onSaveChangesToLocalStore:T,onTransferClick:C,onDismissClick:S,onAnotherTransferClick:
|
|
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};
|
|
@@ -223,7 +223,7 @@ import{V as t,J as ue,aQ as A,hv as lt,aO as U,i as ve,hE as ct,T as Ye,aS as $e
|
|
|
223
223
|
padding: ${e=>`${re.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${a.sp0}`};
|
|
224
224
|
z-index: 2;
|
|
225
225
|
background-color: ${e=>e.theme.colors.grey4};
|
|
226
|
-
`,_e=n(
|
|
226
|
+
`,_e=n(Ye)`
|
|
227
227
|
cursor: pointer;
|
|
228
228
|
color: ${e=>e.theme.colors.hero};
|
|
229
229
|
width: ${a.sp4};
|
|
@@ -315,7 +315,7 @@ import{V as t,J as ue,aQ as A,hv as lt,aO as U,i as ve,hE as ct,T as Ye,aS as $e
|
|
|
315
315
|
margin-right: ${a.sp2};
|
|
316
316
|
padding: 12px ${a.sp0};
|
|
317
317
|
box-sizing: content-box;
|
|
318
|
-
`,{common:{navBar:{back:ka}}}=E.getLocalizedStrings(),L={pageTitleMarginXAxis:new c(o[0],o[8]),navBarContainerPaddingXaxis:new c(10,19),pageContentPaddingLeftRight:new c(o[3],o[0]),navBarContainerMarginLeftRight:new c(o[0],o[8]),descriptionMarginLeftRight:new c(o[0],o[8]),accountInfoPageWrapperMarginLeft:new c(o[0],o[8]),accountInfoPageWrapperMarginRight:new c(o[0],o[5]),accountInfoPageWrapperMarginBottom:new c(o[5],o[8])},xe=E.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList.transferDrawer,Aa=({authParams:e,downloadAccountDetailEndPoint:r,depositAccount:g,zeniAccountsConfigDetail:$,currentTenant:y,onDismissClick:w,fireTrackTransferBetweenAccountsFormClicked:d,setShowWireAccountInfo:f})=>{const l=ue();return t.jsxs(t.Fragment,{children:[t.jsxs(La,{windowSize:l,children:[t.jsx(za,{windowSize:l,children:t.jsx(ye,{title:ka,enterDelay:600,placement:"bottom",children:t.jsx(ja,{"data-testid":A("wire-transfer-account-info-back-button"),onClick:()=>{d("Back","Wire Transfer Details"),f(!1)}})})}),t.jsx(Ma,{windowSize:l,children:xe.wireInstruction.replace("__accountName__",g.accountName)}),t.jsx(
|
|
318
|
+
`,{common:{navBar:{back:ka}}}=E.getLocalizedStrings(),L={pageTitleMarginXAxis:new c(o[0],o[8]),navBarContainerPaddingXaxis:new c(10,19),pageContentPaddingLeftRight:new c(o[3],o[0]),navBarContainerMarginLeftRight:new c(o[0],o[8]),descriptionMarginLeftRight:new c(o[0],o[8]),accountInfoPageWrapperMarginLeft:new c(o[0],o[8]),accountInfoPageWrapperMarginRight:new c(o[0],o[5]),accountInfoPageWrapperMarginBottom:new c(o[5],o[8])},xe=E.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList.transferDrawer,Aa=({authParams:e,downloadAccountDetailEndPoint:r,depositAccount:g,zeniAccountsConfigDetail:$,currentTenant:y,onDismissClick:w,fireTrackTransferBetweenAccountsFormClicked:d,setShowWireAccountInfo:f})=>{const l=ue();return t.jsxs(t.Fragment,{children:[t.jsxs(La,{windowSize:l,children:[t.jsx(za,{windowSize:l,children:t.jsx(ye,{title:ka,enterDelay:600,placement:"bottom",children:t.jsx(ja,{"data-testid":A("wire-transfer-account-info-back-button"),onClick:()=>{d("Back","Wire Transfer Details"),f(!1)}})})}),t.jsx(Ma,{windowSize:l,children:xe.wireInstruction.replace("__accountName__",g.accountName)}),t.jsx(Ba,{windowSize:l,children:t.jsx(Fa,{children:xe.wireTransferDescriptionLine1})}),t.jsx(Pa,{windowSize:l,children:t.jsx(Lt,{authParams:e,downloadAccountDetailEndPoint:r,currentTab:"wireDetails",zeniAccountsConfigDetail:$,currentTenant:y,depositAccount:g})})]}),t.jsx($e,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},cancelBtn:{label:""},primaryBtn:{label:xe.backToChecking,onClick:()=>{d("Back to Checking","Wire Transfer Details"),w()}},showCancel:!1,showPrimaryButton:!0})]})},Pa=n.div`
|
|
319
319
|
margin-left: ${e=>`${L.accountInfoPageWrapperMarginLeft.valuePx(e.windowSize)}`};
|
|
320
320
|
margin-right: ${e=>`${L.accountInfoPageWrapperMarginRight.valuePx(e.windowSize)}`};
|
|
321
321
|
margin-bottom: ${e=>`${L.accountInfoPageWrapperMarginBottom.valuePx(e.windowSize)}`};
|
|
@@ -343,16 +343,16 @@ import{V as t,J as ue,aQ as A,hv as lt,aO as U,i as ve,hE as ct,T as Ye,aS as $e
|
|
|
343
343
|
z-index: 2;
|
|
344
344
|
background-color: ${e=>e.theme.colors.grey4};
|
|
345
345
|
margin: ${e=>`${a.sp0} ${L.navBarContainerMarginLeftRight.valuePx(e.windowSize)}`};
|
|
346
|
-
`,
|
|
346
|
+
`,Ba=n(fe)`
|
|
347
347
|
color: ${e=>e.theme.colors.hero};
|
|
348
348
|
margin-left: ${e=>L.descriptionMarginLeftRight.valuePx(e.windowSize)};
|
|
349
349
|
margin-right: ${e=>L.descriptionMarginLeftRight.valuePx(e.windowSize)};
|
|
350
350
|
margin-bottom: ${a.sp7};
|
|
351
|
-
`,
|
|
351
|
+
`,Fa=n.div``,Ma=n(be)`
|
|
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,
|
|
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};
|
|
@@ -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-DOsjGhSZ.js";import{a as f,P as pt}from"./sentry-otjdlEta.js";import{n as o,c as de}from"./mui-B2MHg-Mu.js";import{bL as U,c4 as xt}from"./zeni-epic-state-DVinyIRY.js";import{s as gt}from"./commonDimensions-DbvjFx29-M5i-B_2F.js";import{g as ce}from"./BoxItem-Dhk2kQlB-ymoj_NmA.js";import{o as mt}from"./shield-DOlUxcFf-DDxUv5Gm.js";import{U as he,F as pe,X as xe,Y as ge,G as me,J as ut}from"./recharts-B7o7FzH2.js";import"./liveblocks-KFxhhSr3.js";import"./core-BHxev_Cl.js";import"./lottie-DDoT_sT4.js";import"./analytics-Cz7GTPb4.js";import"./lexical-Dja08wvc.js";import"./utils-BbmM3Vsp.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]="dc28fc71-1ce4-4627-80be-43d45b2b4e48",e._sentryDebugIdIdentifier="sentry-dbid-dc28fc71-1ce4-4627-80be-43d45b2b4e48")}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;
|