@zeniai/web-cockpit-ui 1.15.6-qa → 1.15.7-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-DDuW5spI-ugZGssMG.js → ACHDetailsPage-CGG2Hx4v-BW7Ihkof.js} +1 -1
- package/dist/assets/{AIPerformancePage-Bbk-pUwz-BlxRToKD.js → AIPerformancePage-XDCygRgj-CEqrEuBs.js} +32 -32
- package/dist/assets/AccountInfoPage-CSf3J58F-DCyXpiFs.js +18 -0
- package/dist/assets/{AccountInfoPageContent-BA3WBfD4-S2IoqbBC.js → AccountInfoPageContent-wjaeVokT-CiNOfJ02.js} +9 -9
- package/dist/assets/{AccountLockedInfoModal-Bs1ImO2L-Cd1E5lWq.js → AccountLockedInfoModal-DJnj--uc-BJgnvrcM.js} +4 -4
- package/dist/assets/{AccountReconDetailsDrawerPage-Ci_Eb0_d-BTFVE0QR.js → AccountReconDetailsDrawerPage-a2stjcsR-Ds8R_X-n.js} +19 -19
- package/dist/assets/{AccountRow-BWclqiQh-ChNK56Ur.js → AccountRow-DlccmtgU-foUdbmvG.js} +24 -24
- package/dist/assets/{AccountsPromoCardStack-BHgGIeBG-BvmrVWEy.js → AccountsPromoCardStack-BE0vjkiK-DEN0OmWn.js} +14 -14
- package/dist/assets/AddAddressForCardDrawer-D3mMFgO8-8PMwaa8Q.js +6 -0
- package/dist/assets/{AddToWalletPage-Dllxg_0u-Cin7qPiV.js → AddToWalletPage-6OCJaNcg-EoATwn7j.js} +19 -19
- package/dist/assets/{AgingReportsPage-CBHhfTKI-XOHkAEGk.js → AgingReportsPage-hgg1L3pv-DEJ_mF4m.js} +1 -1
- package/dist/assets/{AllUserItems-Bdv9AIQ9-AUnGqfQg.js → AllUserItems-BmNtc-69-BsLa0Y8T.js} +14 -14
- package/dist/assets/{ApAgingDetailPage-EE3MrY5l-DjneR2md.js → ApAgingDetailPage-DAZAnfcs-zxr1sXnX.js} +5 -5
- package/dist/assets/{AppBasePage-02I6V3Np-B6lYTPsK.js → AppBasePage-D7_krMlm-D-9wFTdh.js} +9 -9
- package/dist/assets/{AppDrawerContent-DbBd9m20-ns8GH0Pa.js → AppDrawerContent-DWL57wUk-DZ6AAyNy.js} +6 -6
- package/dist/assets/ApprovalRulesSettingsPage-CiX2Xx3--YCvl1YZm.js +47 -0
- package/dist/assets/{ArAgingChart-BqBx1Gj1-B1AT15np.js → ArAgingChart-CeaYIqlX-BUR2NiTJ.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-D9rI5yue-C7eLkZEj.js → ArAgingDetailPage-Is5kv2-P-CDH0tn0m.js} +1 -1
- package/dist/assets/{AttachmentView-CeblaMyI-DBGFvosS.js → AttachmentView-BsNhULL3-C-ca695p.js} +4 -4
- package/dist/assets/{BankAccountSection-B3v3BDPK-B_DOigwY.js → BankAccountSection-ZWR_hXjD-mYMACSQd.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-DCi9o7_J-w-3jN6e4.js → BankAccountWarningSection-C-2eE9pL-BhkH4zkd.js} +5 -5
- package/dist/assets/{BankConnectionsSettingsPage-Csbc7IYe-dwO5wQN1.js → BankConnectionsSettingsPage-CjbaVbou-BNqlym9z.js} +17 -17
- package/dist/assets/{BillDetailPage-ByPP2r-L-DYJrFGG4.js → BillDetailPage-B_zbQLLp-Dsf72rKA.js} +8 -8
- package/dist/assets/{BillPayApprovalRuleDetailPage-GDOnscxH-wu_5dYsT.js → BillPayApprovalRuleDetailPage-CtJLn_JO-BVtB6sJH.js} +4 -4
- package/dist/assets/{BillPayApprovalRulesPage-BqDyhnz3-B_wXxPzU.js → BillPayApprovalRulesPage-vvgGBmoM-C7iW15VO.js} +5 -5
- package/dist/assets/{BillPayPromoPage-B1_ugFQw-DrmfvS7a.js → BillPayPromoPage-DkyMRquU-6vAZUzNc.js} +7 -7
- package/dist/assets/{BillPaySetUpPage-Cx2vQIL8-ngc-DjEe.js → BillPaySetUpPage-m15SlV0c-C_W7-nyr.js} +9 -9
- package/dist/assets/BillingSettingsPage-C4P_B31U-Dbv-0XdG.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-B8KhD0xH-CKIRXjIs.js → BillsBulkReviewDrawerPage-C_Nmv34F-s0EetHC0.js} +1 -1
- package/dist/assets/{BoxItem-CqsCCOrk-Dekq2mMN.js → BoxItem-Cmrt_yxF-Cr2cxrKm.js} +1 -1
- package/dist/assets/BusinessVerificationPage-Dr_YFkLN-5SYND8JY.js +138 -0
- package/dist/assets/{CardNumberSubText-ByPbO0F8-BLrI1gTW.js → CardNumberSubText-B6Fprh6S-CEzRIr67.js} +8 -8
- package/dist/assets/{CashbackDetailPage-Ve3JZpeP-D5oSvHQU.js → CashbackDetailPage-CWExYaIT-BmImExjs.js} +20 -20
- package/dist/assets/{ChargeCardDetailPage-D7zLKDQo-DG3fl-Wi.js → ChargeCardDetailPage-B3hr0WBI-X68NSBCl.js} +1 -1
- package/dist/assets/{ChargeCardListPage-Cnm7GqIj-Fc3uHPEU.js → ChargeCardListPage-g9gCfpoh-BTqPP-pZ.js} +15 -15
- package/dist/assets/{ChargeCardListTable-bTR8Mmj4-CI38yG68.js → ChargeCardListTable-BoDSmzn_-CpSnyHh2.js} +38 -38
- package/dist/assets/{ChargeCardPaymentHistoryPage-Cufm-hgn-Cqrd5ERh.js → ChargeCardPaymentHistoryPage-xs346JMC-CvFrTbeZ.js} +28 -28
- package/dist/assets/ChargeCardPromoPage-DwiDNiRF-BfEfjZd3.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-B-jcdCNM-ernLwEHq.js → ChargeCardSetupPage-Dbz_GdRL-ClxdYJ_F.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-CyVlO8hd-CIP5xUta.js → ChargeCardStatementsPage-Da9NY51a-ChevXKmL.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-BmG5ma6K-DHrUrYJa.js → CheckDepositDrawerPage-CcSRXOv7-DM7Ey8xT.js} +8 -8
- package/dist/assets/{CollapsableReportTable-LB-wYzj1-DaCyOKB5.js → CollapsableReportTable-D1b80h2R-CMeyXG6i.js} +41 -41
- package/dist/assets/CompanyOfficerDetailsSection-BMYQ8Qcq-vyiocP81.js +260 -0
- package/dist/assets/{CompanyPassportCard-BwHjmTyn-CWXWGUYt.js → CompanyPassportCard-vAocVa7X-Bg4vrJh5.js} +4 -4
- package/dist/assets/CompanyPassportPage-Dva5Le3j-D1jREPm8.js +574 -0
- package/dist/assets/{CompleteProfile-H7UexvAo-sZKr-j3R.js → CompleteProfile-B-Hhosch-DRCiMIXe.js} +1 -1
- package/dist/assets/ConfettiBurst-BV8M1GTR-DJjoIhlI.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-Bt2itRHK-CCLBzSRT.js → CreateOrEditVendorPage-Bgc7zC_D-CfO9iUSb.js} +11 -11
- package/dist/assets/{CreditCardPaymentDrawerPage-B8eb8Q0G-D7xI54mJ.js → CreditCardPaymentDrawerPage-Bs5RpFes-CgklXCqv.js} +11 -11
- package/dist/assets/{CurrencySelectField-DIh7_ile-Ch5w8ptc.js → CurrencySelectField-BC9QkDwI-BEtmNe90.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-B3t4tiur-DzW0AY2p.js → CustomerOnboardingActivationPage-Br4RFzGo-DgY7VWoB.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-BRs0LPZ0-y5fJ25mS.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-JE_MoyoU-BqMNWAeW.js → CustomerOnboardingDetailPageSkeleton-DLKJINnV-B2tg0XBT.js} +18 -18
- package/dist/assets/CustomerOnboardingNoStepsPage-CjvQ3PFZ-BN9B2AZm.js +66 -0
- package/dist/assets/CustomerOnboardingPage-3ECCqY1a-CL7QxZ3D.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-DZLKr3qq-ClvLyM4I.js → CustomerOnboardingProductSuitePage-Dx3FU6Fe-CAm2edHR.js} +4 -4
- package/dist/assets/{Dashboard-z7EuNcjw-wBhbzCb7.js → Dashboard-EWWj1Uby-C8-SPpUF.js} +21 -21
- package/dist/assets/{DashboardReportPage-BX2xSgwt-BTs5yweV.js → DashboardReportPage-D4kzdnvI-BKOw_sqx.js} +10 -10
- package/dist/assets/{DashboardSidebarBackgroundAnimation-fiNmHYV3-CEwDJ7_M.js → DashboardSidebarBackgroundAnimation-BSwRgXFk-CJAI0MPE.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-CmlUJZgz-LioQcDUg.js → DepositAccTransactionItem-xvCtIj9v-7jCouOnq.js} +2 -2
- package/dist/assets/DepositAccTransactionListPage-B8UpFh_9-DlvHxyY3.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-D-SBQqbR-C8ovHvyA.js → DomesticWireDetailsPage-DF8bLeDL-Be0QfLbt.js} +1 -1
- package/dist/assets/{DownloadOverlay-DznbXeUZ-Cp9A0E8f.js → DownloadOverlay-wlAXZwF0-B68SEe8G.js} +30 -30
- package/dist/assets/{DrawerPage-8d8mdD3v-DOGRNriH.js → DrawerPage-DroW95LB-DgRu7-up.js} +18 -18
- package/dist/assets/{EditPeoplePage-CTwY7ePr-BHVb3TK3.js → EditPeoplePage-CgUM9UYI-_7L-v32x.js} +3 -3
- package/dist/assets/{EditReimbursementDetailPage-DVg6dH7p-p4ImlM0s.js → EditReimbursementDetailPage-BgcII79s-qEpt9Cs6.js} +61 -61
- package/dist/assets/EntityDetailPage-ByHvXL2c-DbNraeh4.js +18 -0
- package/dist/assets/{EntitySummarySection-CloCPwyO-BkWlGttQ.js → EntitySummarySection-D6HekhK7-CEx8SebE.js} +9 -9
- package/dist/assets/{ExpenseAutomationOverviewPage-dHZEdK4L-Cfk-AEiv.js → ExpenseAutomationOverviewPage-VN-P6f2z-D9XayAVC.js} +16 -16
- package/dist/assets/{ExpenseAutomationPage-CWyP8ETl-Buoi-mX4.js → ExpenseAutomationPage-CvnkIuMf-BzVTKngy.js} +66 -66
- package/dist/assets/{ExpressPayPage-liflPa6J-d_gsBVue.js → ExpressPayPage-C_yRTeDh-CXT1jZ8h.js} +15 -15
- package/dist/assets/{FeaturePreviewPage-DhSoy4IL-BFzihstG.js → FeaturePreviewPage-BLRhajFn-BfH5LrVG.js} +1 -1
- package/dist/assets/{FollowStepsSection-DW5HuzRR-C2pFSUm_.js → FollowStepsSection-DhiGIylh-dcsWOGAc.js} +49 -49
- package/dist/assets/{GlobalReviewListPage-CGCdgQFw-2bH6uNqV.js → GlobalReviewListPage-Tg986b2s-BcraUWMG.js} +6 -6
- package/dist/assets/{InformationCardStack-D6xiRsRy-DeDzkULA.js → InformationCardStack-3Lmn6LJr-BzzpUQZE.js} +1 -1
- package/dist/assets/{InsightsCardStack-D1eIlMkU-DAOP4NpT.js → InsightsCardStack-Dc6OL9Od-D89joaRU.js} +2 -2
- package/dist/assets/InsightsSection-Drr3r1BL-BjPy8A4H.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-CRZfnPIT-CqWmWxBy.js → IntegrationsSettingsPage-DACHBlEm-DaFs14XG.js} +8 -8
- package/dist/assets/{InternationalWireSwiftDetailsPage-DouGaVny-Dv_WELpr.js → InternationalWireSwiftDetailsPage-BaqSqvWh-BwJgPcJE.js} +17 -17
- package/dist/assets/InternationalWireVerificationPage-Daxni4YY-BKNsaA95.js +292 -0
- package/dist/assets/{InviteFormPage-dCGpLoBC-B7oqyaD4.js → InviteFormPage-CXcHy9Sz-C3-iU8eM.js} +24 -24
- package/dist/assets/{InvitePageListView-DhV6Pw56-C4-16sSD.js → InvitePageListView-tu82Q2y6-CzjWJAgY.js} +54 -54
- package/dist/assets/{InvitePeoplePage-J-HYw9MC-UjYYlzHC.js → InvitePeoplePage-Bbv2pjhR-BZJHvIvS.js} +2 -2
- package/dist/assets/{InvoiceUploadSection-BJLLf4x5-DFydS2Od.js → InvoiceUploadSection-CO34IhU8-1rxbAjFS.js} +4 -4
- package/dist/assets/{IssueChargeCardPage-hEaegmyi-D821vf9d.js → IssueChargeCardPage-DuqGEs5b-DVXuxnuF.js} +23 -23
- package/dist/assets/{LabeledAddressValue-PXtKo31O-p0vkJLZ_.js → LabeledAddressValue-D0Gu5Mgp-CuHBod6j.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-D0Ow_UPE-D2ZZ_G49.js → LabeledAddressValueField-DPisU2iY-3oGO3c9v.js} +3 -3
- package/dist/assets/{LabeledControlledCheckBoxField-DVOeaKu0-CpyOiqej.js → LabeledControlledCheckBoxField-BKqCiNdy-CKGxo72C.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-Dqt1M07c-DY3asbo7.js → LabeledCreatableSingleSelectField-DLVxVffe-RkcfyIgp.js} +5 -5
- package/dist/assets/{LabeledDocumentField-D2n9ry_0-D2DNLpw5.js → LabeledDocumentField-DtOCNiEg-DdNet_Ri.js} +5 -5
- package/dist/assets/{LabeledDropDownFormattedTextField-BfpPbI2T-BknUycVk.js → LabeledDropDownFormattedTextField-CsbwG9At-Cie_r1vg.js} +6 -6
- package/dist/assets/{LabeledText-BHQeQs6Z-DYOqW74l.js → LabeledText-C4GeOHM8-ChfVujh4.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CnwVXq2g-BfCQlTRV.js → LabeledUserSingleSelectWithSubtitlesField-gwRpED7x-BzoJSlO5.js} +15 -15
- package/dist/assets/{LabeledZeniRolesDropDownField-Dpdlc1DB-aTk_GR-I.js → LabeledZeniRolesDropDownField-Bj8qcvuK-mHT__PRC.js} +12 -12
- package/dist/assets/{LinkJETransactionPage-CWOfaAhz-sHHDjXdg.js → LinkJETransactionPage-CdWWV_7u-CTynd4m9.js} +3 -3
- package/dist/assets/{LockCardPage-BMt1zujT-Ch-0yiFY.js → LockCardPage-BTxCWQ6_-bPbvvlRf.js} +65 -65
- package/dist/assets/{LowBalancePopup-BN2RBNOV-CkWXHs8U.js → LowBalancePopup-Dt9KCWOU-CfGVa0nY.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-C2z4VD4x-yC-7xafy.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Dxd73sj8-Dnp7p7eT.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Ct-REVbS-CPUlXtmL.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-DQbdgFhH-acLMYQDQ.js → MagicLinkSuccessPage-D45Lu2cc-Co6kTR8X.js} +4 -4
- package/dist/assets/{MagicLinkTitleSection-BYkzInkY-HyU6V8sj.js → MagicLinkTitleSection-BdiSVi0V-B1KEw-n6.js} +3 -3
- package/dist/assets/{MailingDetailsSection-DiSohByM-B0LpnqFx.js → MailingDetailsSection-CjO5OVZN-CsIdvq8c.js} +1 -1
- package/dist/assets/{Menu-TzNY4ajT-CMR-yX-w.js → Menu-C_kotivE-FvhfNRdu.js} +2 -2
- package/dist/assets/{MyBankConnectionsSettingsPage-Bk4Hdapv-vgoL826T.js → MyBankConnectionsSettingsPage-CN9EKlOy-B7KFdOdn.js} +4 -4
- package/dist/assets/{MyPendingActivationChargeCardListPage-C5Q5p5zq-HjmaMbpp.js → MyPendingActivationChargeCardListPage-rmpT6HFS-CAP6sOzW.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BxiofsK0-BXkFCNOu.js → MyProfileSettingsPage-CTmDuFNJ-KfiZ2ouo.js} +5 -5
- package/dist/assets/{NavBarWithPicker-DX31nlvR-iKhmwyP2.js → NavBarWithPicker-VzNJnXX3-D_mYpcQU.js} +4 -4
- package/dist/assets/{NavigationArrow-BDdBEJFM-ByEm_T8f.js → NavigationArrow-B9ZEhJdg-DZDpNuL-.js} +1 -1
- package/dist/assets/{NavigationDots-BZOdXVhR-J922kz3s.js → NavigationDots-C_N16I15-CgfbbWpb.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-qOuBGJ6w-PqI-s75M.js → NewGlobalMerchantPage-DICWFjCu-B9FIBlfd.js} +8 -8
- package/dist/assets/NoDataChart-CCCkzfa4-CZ1VHThr.js +26 -0
- package/dist/assets/NoDataTable-DVW_simO-CiETBp14.js +8 -0
- package/dist/assets/{NotFoundPage-B31SyO4w-DnMJV9Nw.js → NotFoundPage-BHrUY910-CB4emWh9.js} +8 -8
- package/dist/assets/{NotificationSettingsPage-3GoJDHjY-CmERm1Eo.js → NotificationSettingsPage-alUKfWWf-BIIzsf_j.js} +12 -12
- package/dist/assets/NotificationsListConfig-QOeX1KBS-BXuzGZYq.js +1 -0
- package/dist/assets/{NotificationsPage-Cuz_KDD8-Br1syqiZ.js → NotificationsPage-BjhHCUzl-CL_1S-pu.js} +22 -22
- package/dist/assets/{OpExByVendorPage-B2CQ-hT1-DgzOnglp.js → OpExByVendorPage-h_QozoZk-rvk-4kbQ.js} +20 -20
- package/dist/assets/OverlayContainerPage-Daz3A7cI-DZnbS2el.js +11 -0
- package/dist/assets/{PandLWithForecastPage-Dkcy07sC-HdbdrtMY.js → PandLWithForecastPage-DdiEIHC--BvKI5oME.js} +4 -4
- package/dist/assets/PaymentAccountSetupBillingAddressSection-CIlQ-MgM-D9smrX3o.js +107 -0
- package/dist/assets/{PeoplePage-yzYfizds-CxYPe3s5.js → PeoplePage-BaOppi8Y-C-YATJdW.js} +34 -34
- package/dist/assets/{Preview-CoWxE6yB.js → Preview-yiJBApzl.js} +1 -1
- package/dist/assets/{ProductsCarousel-DRfZ_sZ_-CLK0bly7.js → ProductsCarousel-E65X4lGB-DH2SteEv.js} +9 -9
- package/dist/assets/{PromoBaseCards-CbPywvj2-cL15_Lku.js → PromoBaseCards-O66NGGWD-BKbCdKhK.js} +4 -4
- package/dist/assets/{QBOConnectionDialog-DLuBxOXr-ChTwBVFO.js → QBOConnectionDialog-BrMv7xjB-DlUN7Kz1.js} +2 -2
- package/dist/assets/{QBOSetupSection-CxLynYFq-BCq79mPl.js → QBOSetupSection-B5D4uUOv-CGhKBwg7.js} +16 -16
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CDK4q7B4-K_MvSiez.js → ReimbursementApprovalRuleDetailPage-DJNl2oqj-B4OdqkFs.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-DFmZm1Qr-KN8xudqI.js → ReimbursementApprovalRulesPage-tnc2z3Es-yyigySmO.js} +17 -17
- package/dist/assets/ReimbursementDetailPage-CO8Wv5-c-qlCsVXqq.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-DENI6dAX-B3ip0p99.js → ReimbursementPromoPage-04Cqe8zH--NCi_DFM.js} +6 -6
- package/dist/assets/{ReimbursementSetUpPage-BJoFNAQR-COWxA7Kg.js → ReimbursementSetUpPage-2VrhpV75-Bv2sY3Y4.js} +6 -6
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-C0a107hB-2TKc5O3B.js → ReimbursementsBulkReviewDrawerPage-CEZlRH0_-CC2d3Iit.js} +1 -1
- package/dist/assets/{ReloadCard-BCuJkAqw-CDSljNn0.js → ReloadCard-BakyoznA-DmnMlohL.js} +6 -6
- package/dist/assets/{ReportTableViewSelector-CEo0z4A2-DOQ_EfJ4.js → ReportTableViewSelector-C7w_WVnY-C6Okt0Gv.js} +4 -4
- package/dist/assets/{ReportsPage-gMt_l_Aa-C-pMgAcv.js → ReportsPage-BeZqGQ2i-2BlXIjgp.js} +5 -5
- package/dist/assets/{RevenueChart-JLdzi3aQ-CYETDjQg.js → RevenueChart-BcRkSSWz-D5XPPSEX.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-WBKwpVad-ChCuaJ93.js → ReviewDetailsPage-CA5CBeB7-DN9fIS4d.js} +52 -52
- package/dist/assets/{ReviewOverlay-DqOXHkMM-1Yn1edNo.js → ReviewOverlay-DNjbv6Ir-BYUbQDSw.js} +12 -12
- package/dist/assets/RoleWithToolTip-CSoHoT3u-vTwGI01K.js +22 -0
- package/dist/assets/ScheduleDetailsFixedAssetsPage-CLjpednn-81YU8z_r.js +37 -0
- package/dist/assets/{ScheduleDetailsPage-_Ag36lXG-j5tYZL01.js → ScheduleDetailsPage-MEVdw-l_-gtCnaFgw.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-axweBiV5-DG58qOyk.js → ScheduleSequenceTable-BGx2un0o-CTi3pu3D.js} +52 -52
- package/dist/assets/{ScreenRoutes-DfcN59qq.js → ScreenRoutes-DUbNYmu4.js} +1 -1
- package/dist/assets/{SetUpAccountSection-CerAAia_-BHtxUnyV.js → SetUpAccountSection-Blriup16-W2fx2DgC.js} +14 -14
- package/dist/assets/{SignIn-B1yQ5XWH-B0qhoH5M.js → SignIn-DqVQU08d-BerCpw9H.js} +15 -15
- package/dist/assets/{SignInScreen-Cqy7lnQW.js → SignInScreen-B5Y03mpU.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-BL77zVeL-B2bOM6nq.js → SpendManagementListViewPage-Cd88asmE-CB759VbW.js} +8 -8
- package/dist/assets/{SpendManagementPerTabPage-B82q9yMk-DhUjeST3.js → SpendManagementPerTabPage-DyPyPQjh-CeHpfSNV.js} +26 -26
- package/dist/assets/{SpendManagementSection-Bcex-9e7-BSKprzB6.js → SpendManagementSection-C5fvFmdh-D7vZlQqH.js} +21 -21
- package/dist/assets/StatementItem-CBGi9f9C-DW_QCJ6P.js +31 -0
- package/dist/assets/StatementsPage-De1wPDzS-BpyLzEUf.js +58 -0
- package/dist/assets/{StatusSwitcher-Cw0Sq3bY-Dbm7BDCm.js → StatusSwitcher-BS4h8SJh-CcRGAnPy.js} +2 -2
- package/dist/assets/{SubTabSwitcher-DmGRgMQe-DIYYgIi-.js → SubTabSwitcher-vsehXtEO-aHnk9ME_.js} +3 -3
- package/dist/assets/SummaryCard-gehzCCsW-cRlcrWMR.js +1 -0
- package/dist/assets/{TaskManagementPage-CAX0yrep-CSjDDqkF.js → TaskManagementPage-DlzHdHSu-DMSrvQ05.js} +31 -31
- package/dist/assets/{TimeRangeSwitcher-2AXHoZ8f-Cgeq5dRL.js → TimeRangeSwitcher-CFZq5KoG-DvA1T4tX.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-DJiKd_tL-BdEO97Xk.js → TimeframeSwitcher-Bb7JwirM-DT_nE5Dd.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-5W1Xu4QM-CuZ3Yom9.js → TimeframeSwitcherWithToggle-BXIevpvE-CV8LNwYU.js} +1 -1
- package/dist/assets/{TopExCard-8RRaMY7F-1AcJ6ae5.js → TopExCard-BQIHsi_z-CJAyN5Zr.js} +10 -10
- package/dist/assets/{TopExDetailPage-D2KlaBXx-CrnYkF9C.js → TopExDetailPage-BYCn9hZ2-DC2P4FKF.js} +2 -2
- package/dist/assets/{TransactionDetailPage-DdyFRxld-DnZZ8KzJ.js → TransactionDetailPage-BMYeFZH7-BFKwH-pD.js} +34 -34
- package/dist/assets/{TransactionList-CLVkETBe-C6Sys-PQ.js → TransactionList-BMfwxUes-i8oCJgrA.js} +12 -12
- package/dist/assets/{TransactionListBig-BRCiFBKB-BqQRPoZI.js → TransactionListBig-CSjliLzH-5P3TN04x.js} +6 -6
- package/dist/assets/{TransactionListPage-D0OgwsUo-LU1vJ-Dw.js → TransactionListPage-C2Iz7CDJ-CDbQhMhs.js} +2 -2
- package/dist/assets/TransactionVendorDetailPage-OXcpSTxA-ogeFkWo8.js +80 -0
- package/dist/assets/{TransferDrawerPage-DdDRqsyR-DMAPk7th.js → TransferDrawerPage-4lrBrmvC-BzHEhXmo.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-BcIRsLLj-DCm6-KYB.js → TreasuryOverviewPage-DNUrwQ-l-CtbTN09Y.js} +37 -37
- package/dist/assets/{TreasuryPromoPage-qbltxtYj-CW-CYLuB.js → TreasuryPromoPage-CjjmLEyR-Jw9_r6c2.js} +16 -16
- package/dist/assets/TreasuryStatementsPage-CGax-FVg-CB9f88VO.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-C2-SmkNZ-D-j8G4aE.js → TreasuryTaxLetterPage-DapKFecA-Ckfl6mTT.js} +2 -2
- package/dist/assets/{TrendChart-Cot9LFNh-kn3CmpPt.js → TrendChart-t_2mlnuR-C3EpG69G.js} +2 -2
- package/dist/assets/{TrendWithTransactions-BKxxRKGE-IUCrWYsQ.js → TrendWithTransactions-BjQX1uvO-CXSH8SoK.js} +6 -6
- package/dist/assets/{UncategorizedAccountsMappingPage-C7Z3q75s-CkVCyXIl.js → UncategorizedAccountsMappingPage-C9DJ4P_n-Da3On2ZP.js} +11 -11
- package/dist/assets/{UnitIntegrationPage-DV9q3Nzs-B6vgPVOV.js → UnitIntegrationPage-CzfmBBVs-ea0q-ics.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-BJiBj5mg-Cktdlkx4.js +38 -0
- package/dist/assets/Vendor2FAPopup-Jhuzv3Fs-CDaFjIcb.js +1 -0
- package/dist/assets/VendorACHDetailsPage-BRmIiet8-C_w2yQJy.js +1 -0
- package/dist/assets/{VendorDetailPage-CH1L4UZF-BsVioyb_.js → VendorDetailPage-D_ia0GnG-EjDxeWPl.js} +10 -10
- package/dist/assets/VendorDomesticWireDetailsPage-DTx8HL4V-ypi2AXXw.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-BaX4ACXz-2JAer4Dh.js → VendorFiling1099EditablePage-6mV7WBuT-BWwNGaDM.js} +9 -9
- package/dist/assets/{VendorFirstReviewPage-DAZJMUR3-DNxGnCTD.js → VendorFirstReviewPage-BIh28s7e-DSbo4VGu.js} +20 -20
- package/dist/assets/{VendorInternationalWireDetailsPage-CPnjLrDQ-DMs_PuTr.js → VendorInternationalWireDetailsPage-CXmAXDcB-BBI1eBRw.js} +25 -25
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DITo3td6-DtabXm0e.js +1 -0
- package/dist/assets/{VendorsAccountsSection-DsgK37WB-aox7OqvX.js → VendorsAccountsSection-kJAKmxCN-DLYMQH1s.js} +3 -3
- package/dist/assets/{VerifyDevice-BPAsHKLY-Cz_qYix0.js → VerifyDevice-Cclxcvod-LionuPr6.js} +6 -6
- package/dist/assets/{VideoPlayer-Bwg_8KIq-BdYMo354.js → VideoPlayer-B0jJK498-Bbxsuaup.js} +2 -2
- package/dist/assets/{VideoPopup-CxjbzbjP-BNEaMqCr.js → VideoPopup-BUq4CaWy-BN4RkIzc.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-BBc3-y8F-BZEfDhck.js → WarningsDrawerPage-B7Pmv7_n-DMtwZsM9.js} +5 -5
- package/dist/assets/{ZeniAccountDetailPage-VB4JoNYE-BFAmjkJH.js → ZeniAccountDetailPage-l5IuVidF-9qcHcEDf.js} +14 -14
- package/dist/assets/{ZeniAccountListViewPage-CMjCtqT0-DlchsqGp.js → ZeniAccountListViewPage-CtOCukoi-BrJGMSMd.js} +14 -14
- package/dist/assets/{ZeniAccountNavBarPieces-C89nBJ6j--_uql9Y3.js → ZeniAccountNavBarPieces-DHpWht7s-DoN45Kif.js} +2 -2
- package/dist/assets/{ZeniAccountPromoPage-C1_qLOdH-DnXsp_Yv.js → ZeniAccountPromoPage-DhuZowvX-C0CMafiM.js} +6 -6
- package/dist/assets/{ZeniAccountSetupPage-DWEVvvHh-FILqo9Qu.js → ZeniAccountSetupPage-DXmdPnU2-Od8qQEgW.js} +1 -1
- package/dist/assets/{ZeniCopyright-COx-CtZK-D8sb71fE.js → ZeniCopyright-CxIm7c5S-BQ5EemJ1.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DfOF_MH1-CdGJRA77.js → ZeniTransferAmountSlider-7nRSeYbl-qFHjxePx.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-0XGXXyET.js → add-to-wallet-DgdBD8_G-DTqFjlvW.js} +1 -1
- package/dist/assets/{analytics-DKo_M1pl.js → analytics-nCDopMZa.js} +1 -1
- package/dist/assets/{analyticsHelper-CcmV6wHp-Ds3S8ZrP.js → analyticsHelper-BXN2EdPH-DXUFohOz.js} +1 -1
- package/dist/assets/{analyticsHelper-CIahkACa.js → analyticsHelper-DFj-3TWh.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-BXV4c0YJ.js → arrow-south-east-round-PEovUgvH-C9v2daeL.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-CaqR_Fs7.js → auto-transfer-rule-mbafm5D3-C9ojomBW.js} +1 -1
- package/dist/assets/{chartTypes-YlZX4WLs-vwClst_9.js → chartTypes-qqLvT6t1-BAzagmMG.js} +1 -1
- package/dist/assets/{commonDimensions-IG4iGJ-6-COy8LjzW.js → commonDimensions-CDU138wy-0KaFqMmK.js} +1 -1
- package/dist/assets/{constants-fG1bibDB.js → constants-CiSoUYAy.js} +1 -1
- package/dist/assets/{core-CpHpZW9N.js → core-B8o5Jj6O.js} +1 -1
- package/dist/assets/{dash.all.min-CVRHLeuD.js → dash.all.min-D-Z5Ee1V.js} +1 -1
- package/dist/assets/{detailCommon-lUFqcp_3-D6_iWrpG.js → detailCommon-DP02lgW9-DwZYcDAj.js} +5 -5
- package/dist/assets/{downloadPdf-DYME892p-CFdivUKB.js → downloadPdf-Dl5UuOv_-DcSCv9vJ.js} +1 -1
- package/dist/assets/{empty-BHQsFmmb.js → empty-CGwQB5sP.js} +1 -1
- package/dist/assets/{empty-_FQjEKMH.js → empty-dVLDjrZY.js} +1 -1
- package/dist/assets/epic-gk6U9kCP.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-Dy2FFAHX.js → gift-box-Cmt9OgIZ-C7uoRs4g.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-BYD1Ec66.js → graphic-no-data-l-DU4J8fDt-DxQEyL6u.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DyCtYJXL.js → graphic-no-data-net-burn-l-CzmycA0m-BeDfyPz6.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-Ck4T6x8r.js → handshake-BPg58FML-C6I69X2f.js} +1 -1
- package/dist/assets/{index-DMxZ-F2f.js → index-2UT2PoLz.js} +1 -1
- package/dist/assets/{index-snZI7Ejp.js → index-B62kMDsj.js} +1 -1
- package/dist/assets/{index-gQkYKWh4.js → index-BlhMiimg.js} +1 -1
- package/dist/assets/{index-CdjgwxSA.js → index-CJSgchrb.js} +1 -1
- package/dist/assets/{index-CXEWvwRf.js → index-CofZqiyy.js} +1 -1
- package/dist/assets/{index-B_cddanf.js → index-l9FViNoO.js} +1044 -1048
- package/dist/assets/{index--v5kH7eI.js → index-mRKAcklk.js} +1 -1
- package/dist/assets/{lexical-DVClH-hg.js → lexical-B19SDutg.js} +1 -1
- package/dist/assets/{liveblocks-DKD_-8rq.js → liveblocks-BKCvXoiA.js} +1 -1
- package/dist/assets/{lottie-DPQlys-3.js → lottie-CTuuushW.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DL4wGcX6-qKcz8o_r.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BNXHaV-x-8h6T4NE0.js → mapSectionWithAcOnlyToTreeNode-DLeyrCPV-CBeUvfG-.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-Bl4MSBc9-DsaOHsUd.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-LxIEmBdX-Bxr9xNOi.js → mapTimeframeBalancesToTreeNode-BNP8a_pF-DA-Kt9CP.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Cx4O7W7V-C8qea7Z2.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BvxVvq-i-B7P1WFjn.js +1 -0
- package/dist/assets/{mui-vQToN2qW.js → mui-cKt0zt2w.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-BDbvQ5nZ.js → page-detail-CWX5S47F-hDrW8rOj.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-n0U7H3Pg.js → radio-default-CiSgisfh-D4wl_ybJ.js} +1 -1
- package/dist/assets/{react-Hb_TE8am.js → react-3b8QVeng.js} +1 -1
- package/dist/assets/{react-D4TXMxQv.js → react-85WN45Y4.js} +1 -1
- package/dist/assets/{react-DSNCIi97.js → react-BcpaDQXf.js} +1 -1
- package/dist/assets/{react-BP7HcSTu.js → react-CUDeH5fw.js} +1 -1
- package/dist/assets/{react-DkBDh8Z0.js → react-D2QCQuEO.js} +1 -1
- package/dist/assets/{react-DoQr6jZT.js → react-D811AKIl.js} +3 -3
- package/dist/assets/{react-BoeZM2US.js → react-Drezwue3.js} +1 -1
- package/dist/assets/{react-4R0im3o1.js → react-DycPsf8e.js} +1 -1
- package/dist/assets/{recharts-jo6oNEJ1.js → recharts-DKlDhqpA.js} +1 -1
- package/dist/assets/{sentry-CiC6rduJ.js → sentry-DWELwT5u.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-B-y5Gt68.js → shield-DOlUxcFf-DcDDcztl.js} +1 -1
- package/dist/assets/toCOABalancesWithID-BM2RMkm6-8ztVlUAS.js +1 -0
- package/dist/assets/{toChartData-CuSN9vUZ-CBCyKcms.js → toChartData-xURa2wgf-D5Tvqegg.js} +1 -1
- package/dist/assets/{uploadAttachment-CRI5U1f4-BNbLH2xC.js → uploadAttachment-DfTOIWsX-DQL7CPp6.js} +17 -17
- package/dist/assets/{uploadReceipts-CPw64UYa-rrnBgQHD.js → uploadReceipts-CPw64UYa-BXgFs59O.js} +1 -1
- package/dist/assets/{url-Cptp4ROd.js → url-BO73xRx2.js} +1 -1
- package/dist/assets/{url-D2MARgat.js → url-dLu3i57y.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-DI7_2uJq.js → useLongPress-GCK2COYQ-BJatk2tg.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-COeXcH05.js → usp-line-BBd1wKwW-DG080FPi.js} +1 -1
- package/dist/assets/{utils-CM3T2Iks.js → utils-Db67jZaM.js} +1 -1
- package/dist/assets/{zeni-epic-state-Ce8CP8e3.js → zeni-epic-state-atBaoFS-.js} +17 -17
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/AccountInfoPage-D0Kzx5mY-4RCW-gma.js +0 -18
- package/dist/assets/AddAddressForCardDrawer-C_QsOhGT-sPCk5dFw.js +0 -6
- package/dist/assets/ApprovalRulesSettingsPage-5bJIKss7-Y9SQffD9.js +0 -47
- package/dist/assets/BillingSettingsPage-BiKaSV4T-Clmey8ds.js +0 -44
- package/dist/assets/BusinessVerificationPage-8tFxbXGC-u7kE13ru.js +0 -138
- package/dist/assets/ChargeCardPromoPage-BUGGPnco-B8DmSz9X.js +0 -222
- package/dist/assets/CompanyOfficerDetailsSection-CMl5cDNs-ClxHSaX5.js +0 -330
- package/dist/assets/CompanyPassportPage-BlDBD5EG-Ms4tKiHb.js +0 -347
- package/dist/assets/ConfettiBurst-nOkNOTPr-BBZuvmiJ.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-Dq7dnrBC-CLzw6d0Z.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-D1XU-7jk-U96sx-zJ.js +0 -66
- package/dist/assets/CustomerOnboardingPage-DFky4iQx-DXMpG3E5.js +0 -107
- package/dist/assets/DepositAccTransactionListPage-MLQJ9urd-DG1x-GzH.js +0 -66
- package/dist/assets/EntityDetailPage-Bj5lQ0PH-DoSc2vhw.js +0 -18
- package/dist/assets/InsightsSection-BT0lHMo3-BUbRW235.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-B0ha4dEA-C8DDegxT.js +0 -65
- package/dist/assets/LabeledCountryMultiSelectField-CJud_Lwc-CMmFxHh7.js +0 -234
- package/dist/assets/LabeledMultiSelectField-DH6iG4SR-Dp-VUwax.js +0 -220
- package/dist/assets/MagicLinkACHDetailsPage-CRVp5zpz-Bv9MRMFe.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Cc9jW4rg-CJBdK_v_.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-COHy_2Nv-CRrVgpWZ.js +0 -1
- package/dist/assets/NoDataChart-DxwqqeoI-DkdOoSHp.js +0 -26
- package/dist/assets/NoDataTable-DOZy5UAM-CLNkMXvt.js +0 -8
- package/dist/assets/NotificationsListConfig-C-OlC5S6-DRk_Uldo.js +0 -1
- package/dist/assets/OverlayContainerPage-Daz3A7cI-DMUnjjcT.js +0 -11
- package/dist/assets/PaymentAccountSetupBillingAddressSection-Dnw0APJu-4xS9nSQN.js +0 -107
- package/dist/assets/ReimbursementDetailPage-DOCRkpPT-AvgWK7pn.js +0 -314
- package/dist/assets/RoleWithToolTip-BYuFXi4d-CSVDcI3W.js +0 -22
- package/dist/assets/ScheduleDetailsFixedAssetsPage-BU--t7Cu-DFGGgkNo.js +0 -37
- package/dist/assets/StatementItem-CL4KzNeN-CTh4IsrB.js +0 -31
- package/dist/assets/StatementsPage-ECVGrRXi-Dgi1qAAg.js +0 -58
- package/dist/assets/SummaryCard-OvE5BRYP-lMLGP1wc.js +0 -1
- package/dist/assets/TransactionVendorDetailPage-BLCUqZvL-V1txeeOu.js +0 -80
- package/dist/assets/TreasuryStatementsPage-CLFal4Qu-Bi5NNgyx.js +0 -58
- package/dist/assets/UploadAdditionalDocumentOverlay-B37gdjRF-D7Y_EFQG.js +0 -38
- package/dist/assets/Vendor2FAPopup-BZQXt_G4-B9AtIVBH.js +0 -1
- package/dist/assets/VendorACHDetailsPage-WS3d8TF6-BTnrLXkh.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-Brom_Sf_-Bln1Phsj.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-C4XEeSs2-CiauNbGU.js +0 -1
- package/dist/assets/commonTypes-ByC4Sd87-BqJ29CNI.js +0 -1
- package/dist/assets/epic-DRq35BIa.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-B7Tq4sxB-DXX1rvvB.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-DpgQIqP_-d7FgPe5u.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-fxn51zxe-ArPj_MwE.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-opvjldHo-DvfSG3SI.js +0 -1
- package/dist/assets/toCOABalancesWithID-BAw7mDDs-4dn7cu8D.js +0 -1
package/dist/assets/{TransactionList-CLVkETBe-C6Sys-PQ.js → TransactionList-BMfwxUes-i8oCJgrA.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{cb as ct,q as R,V as e,b2 as mt,aN as x,
|
|
1
|
+
import{cb as ct,q as R,V as e,b2 as mt,aN as x,dd as ft,de as xt,d8 as ut,df as ht,o,p as _,cr as pt,F as y,y as K,A as gt,al as v,d as g,ai as bt,dg as X,c$ as G,aL as J,am as wt}from"./index-l9FViNoO.js";import{a as p,S as $t}from"./sentry-DWELwT5u.js";import{n}from"./mui-cKt0zt2w.js";import{F4 as q,F5 as V,F6 as Q,F7 as L,bh as yt,Fj as tt,bE as et}from"./zeni-epic-state-atBaoFS-.js";import{g as it}from"./BoxItem-Cmrt_yxF-Cr2cxrKm.js";import{o as B}from"./commonDimensions-CDU138wy-0KaFqMmK.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="12d55472-c376-4bb4-a637-8bd8a5190bb9",t._sentryDebugIdIdentifier="sentry-dbid-12d55472-c376-4bb4-a637-8bd8a5190bb9")}catch{}})();const D=t=>t?24:125,vt={containerPaddingBottom:new K(g[9],g[8])},U=n.div`
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex: 1 1 auto;
|
|
@@ -15,7 +15,7 @@ import{cb as ct,q as R,V as e,b2 as mt,aN as x,db as ft,dc as xt,d6 as ut,dd as
|
|
|
15
15
|
`,jt=n(v)`
|
|
16
16
|
display: flex;
|
|
17
17
|
cursor: pointer;
|
|
18
|
-
`;function E({firstMonthOfFY:t,isLoadNextItem:i,isLoading:
|
|
18
|
+
`;function E({firstMonthOfFY:t,isLoadNextItem:i,isLoading:d,timePeriod:a,fixedTimePeriod:r,timeframe:m,doLoadMoreTransactions:f}){let l=a;if(i)if(r!=null){const b=q(a.endDate.startOf("month"),t,r.numberOfPeriods,r.timeframe);l={startDate:l.endDate.add(1,"day"),endDate:b}}else{const b=q(a.endDate.startOf("month"),t,1,m),{startOfTimeframeFY:j,endOfTimeframeFY:k}=V(b,t,m);l={startDate:j,endDate:k}}else if(r!=null)l={startDate:Q(a.startDate.startOf("month"),t,r.numberOfPeriods,r.timeframe),endDate:a.startDate.subtract(1,"day")};else{const b=Q(a.startDate.startOf("month"),t,1,m),{startOfTimeframeFY:j,endOfTimeframeFY:k}=V(b,t,m);l={startDate:j,endDate:k}}const s=y.getLocalizedStrings();let u="";r==null?m==="month"?u=`${i===!0?s.transactionList.loadNextMonthPrefix:s.transactionList.loadPreviousMonthPrefix} (${L(l.startDate,s.dateFormat.visual.MMMYYYYFormat,t)})`:m==="quarter"?u=`${i===!0?s.transactionList.loadNextQuarterPrefix:s.transactionList.loadPreviousQuarterPrefix} (${s.transactionList.quarterPrefix}${L(l.startDate,s.dateFormat.visual.QYYYYformat,t)})`:u=`${i===!0?s.transactionList.loadNextYearPrefix:s.transactionList.loadPreviousYearPrefix} (${L(l.startDate,s.dateFormat.visual.YYYYformat,t)})`:u=`${i===!0?s.transactionList.loadNextMonthPrefix:s.transactionList.loadPreviousPrefix} ${r.numberOfPeriods} ${s.transactionList.monthsSuffix} - (${L(l.startDate,s.dateFormat.visual.MMMYYYYFormat,t)} - ${L(l.endDate,s.dateFormat.visual.MMMYYYYFormat,t)})`;const M=R();return d===!0?e.jsx(U,{windowSize:M,isLoadNextItem:i,children:e.jsx(gt,{size:"Small",start:!0})}):e.jsx(U,{windowSize:M,isLoadNextItem:i,children:e.jsx(jt,{"data-testid":x("load-more-transactions",u),onClick:()=>{f?.(l,m)},children:u})})}E.displayName="LoadMoreTransactions";const{common:{strings:{empty:W}}}=y.getLocalizedStrings(),kt=n(wt)`
|
|
19
19
|
display: -webkit-box;
|
|
20
20
|
-webkit-box-orient: vertical;
|
|
21
21
|
-webkit-line-clamp: 1;
|
|
@@ -35,7 +35,7 @@ import{cb as ct,q as R,V as e,b2 as mt,aN as x,db as ft,dc as xt,d6 as ut,dd as
|
|
|
35
35
|
justify-content: space-between;
|
|
36
36
|
align-items: center;
|
|
37
37
|
width: 100%;
|
|
38
|
-
`,
|
|
38
|
+
`,Mt=n(v)`
|
|
39
39
|
display: -webkit-box;
|
|
40
40
|
-webkit-box-orient: vertical;
|
|
41
41
|
-webkit-line-clamp: 1;
|
|
@@ -45,7 +45,7 @@ import{cb as ct,q as R,V as e,b2 as mt,aN as x,db as ft,dc as xt,d6 as ut,dd as
|
|
|
45
45
|
word-break: break-word;
|
|
46
46
|
text-align: left;
|
|
47
47
|
overflow: hidden;
|
|
48
|
-
`,
|
|
48
|
+
`,Ft=n(v)`
|
|
49
49
|
display: -webkit-box;
|
|
50
50
|
-webkit-box-orient: vertical;
|
|
51
51
|
-webkit-line-clamp: 1;
|
|
@@ -54,7 +54,7 @@ import{cb as ct,q as R,V as e,b2 as mt,aN as x,db as ft,dc as xt,d6 as ut,dd as
|
|
|
54
54
|
width: ${t=>B.amountWidth.valuePx(t.windowSize)};
|
|
55
55
|
`,Pt=n.div`
|
|
56
56
|
display: flex;
|
|
57
|
-
`;function St({transaction:t,onItemClick:i}){const{description:
|
|
57
|
+
`;function St({transaction:t,onItemClick:i}){const{description:d,typeName:a,amount:r,logo:m,vendorId:f}=t,l=et(t)&&f==null;return e.jsxs(Yt,{onClick:()=>i?.(t),"data-testid":x("transaction-item-medium",t.id),children:[e.jsx(X,{photoUrl:l===!1?m?.toString()??W:W,styles:{width:o.sp4,height:o.sp4,borderRadius:o.sp0},placeholder:{width:g[4],height:g[4]},fallbackAvatar:e.jsx(Pt,{children:e.jsx(G,{name:d,size:o.sp4})})}),e.jsxs(Lt,{children:[e.jsx(Mt,{children:d}),a!=null?e.jsx(kt,{className:"tag",children:a}):null]}),e.jsx(Ft,{children:J("0,0.00",r)})]})}function Dt({data:t,boxType:i,onItemClick:d}){const a=tt(t.type)==null,r=e.jsx(St,{transaction:t,onItemClick:a?void 0:d});return e.jsx(it,{content:r,boxType:i,isDisabled:a})}const{common:{strings:{empty:Z}}}=y.getLocalizedStrings(),It=n.div`
|
|
58
58
|
display: flex;
|
|
59
59
|
padding: ${o.sp3} ${o.sp4};
|
|
60
60
|
flex-direction: row;
|
|
@@ -80,7 +80,7 @@ import{cb as ct,q as R,V as e,b2 as mt,aN as x,db as ft,dc as xt,d6 as ut,dd as
|
|
|
80
80
|
width: ${t=>B.amountWidth.valuePx(t.windowSize)};
|
|
81
81
|
`,Nt=n.div`
|
|
82
82
|
display: flex;
|
|
83
|
-
`;function Ot({transaction:t,onItemClick:i}){const{description:
|
|
83
|
+
`;function Ot({transaction:t,onItemClick:i}){const{description:d,amount:a,logo:r,vendorId:m}=t,f=et(t)&&m==null;return e.jsxs(It,{onClick:()=>i?.(t),"data-testid":x("transaction-item-small",t.id),children:[e.jsx(X,{photoUrl:f===!1?r?.toString()??Z:Z,styles:{width:o.sp4,height:o.sp4,borderRadius:o.sp0},placeholder:{width:g[4],height:g[4]},fallbackAvatar:e.jsx(Nt,{children:e.jsx(G,{name:d,size:o.sp4})})}),e.jsx(Tt,{children:e.jsx(zt,{children:d})}),e.jsx(Ct,{children:J("0,0.00",a)})]})}function Et({data:t,boxType:i,onItemClick:d}){const a=tt(t.type)==null,r=e.jsx(Ot,{transaction:t,onItemClick:a?void 0:d});return e.jsx(it,{content:r,boxType:i,isDisabled:a})}function Rt(t){return R()==="small"?e.jsx(Et,{...t}):e.jsx(Dt,{...t})}const Bt=n.div`
|
|
84
84
|
display: flex;
|
|
85
85
|
flex: 1 1 auto;
|
|
86
86
|
flex-direction: column;
|
|
@@ -93,16 +93,16 @@ import{cb as ct,q as R,V as e,b2 as mt,aN as x,db as ft,dc as xt,d6 as ut,dd as
|
|
|
93
93
|
margin-bottom: ${o.sp2};
|
|
94
94
|
margin-top: ${o.sp3};
|
|
95
95
|
color: ${t=>t.theme.colors.grey1};
|
|
96
|
-
`,
|
|
96
|
+
`,At=n.div`
|
|
97
97
|
display: flex;
|
|
98
98
|
flex-direction: column;
|
|
99
99
|
width: 100%;
|
|
100
|
-
`,
|
|
100
|
+
`,_t=(t,i)=>i.length===1?"roundedBox":t===0?"topRoundedBox":t===i.length-1?"bottomRoundedBox":"box",qt=t=>t*B.transactionItemHeight+45;function Vt({date:t,transactions:i,onItemClick:d}){const{dateFormat:a}=y.getLocalizedStrings();return e.jsxs(At,{"data-testid":x("transactions-group"),children:[e.jsx(Ht,{children:yt().year()===t.year()?t.format(a.visual.MMMDFormat):t.format(a.visual.MMMDCommaYYYYformat)}),e.jsx(Bt,{children:i.map((r,m)=>e.jsx(Rt,{data:r,boxType:_t(m,i),onItemClick:f=>{d?.(f)},"data-testid":x("transaction-item",r.id)},r.id))})]})}const Qt=$t.memo(Vt),{dateFormat:Ut}=y.getLocalizedStrings();function Wt(t){const i=ft(t,a=>a.date.format(Ut.visual.MMMDCommaYYYYformat)),d=xt(i,a=>a.length>0);return ut(d,a=>({date:a[0].date,transactions:ht(a,r=>r.updateTime,"desc")}))}const $=y.getLocalizedStrings(),Zt={listItemMargin:new K(g[3],g[8])},Kt=n.div`
|
|
101
101
|
display: flex;
|
|
102
102
|
flex: 1 1 auto;
|
|
103
103
|
width: 99.9%;
|
|
104
104
|
`,S=n.div`
|
|
105
|
-
margin: ${t=>`${o.sp0} ${
|
|
105
|
+
margin: ${t=>`${o.sp0} ${Zt.listItemMargin.valuePx(t.windowSize)}`};
|
|
106
106
|
`,Xt=n.div`
|
|
107
107
|
min-height: ${o.sp8};
|
|
108
108
|
`,Gt=n.div`
|
|
@@ -124,8 +124,8 @@ import{cb as ct,q as R,V as e,b2 as mt,aN as x,db as ft,dc as xt,d6 as ut,dd as
|
|
|
124
124
|
background-color: transparent;
|
|
125
125
|
}
|
|
126
126
|
&::-webkit-scrollbar-track {
|
|
127
|
-
box-shadow: inset 0 0 2px ${
|
|
128
|
-
-webkit-box-shadow: inset 0 0 2px ${
|
|
127
|
+
box-shadow: inset 0 0 2px ${_.scrollbarBoxShadow};
|
|
128
|
+
-webkit-box-shadow: inset 0 0 2px ${_.scrollbarBoxShadow};
|
|
129
129
|
background-color: transparent;
|
|
130
130
|
}
|
|
131
131
|
&::-webkit-scrollbar-thumb {
|
|
@@ -144,4 +144,4 @@ import{cb as ct,q as R,V as e,b2 as mt,aN as x,db as ft,dc as xt,d6 as ut,dd as
|
|
|
144
144
|
border-radius: 2px;
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
|
-
`,
|
|
147
|
+
`,de=p.forwardRef(function({firstMonthOfFY:t,timeframe:i,timePeriod:d,transactions:a,isFirstLotLoading:r,currentScrollYOffset:m,componentName:f,showLoadNext:l,showLoadPrevious:s,onTransactionItemClick:u,trackPerformance:M=!0,onTransactionListScroll:b,onListInnerElementHeightChanged:j},k){const F=p.useMemo(()=>Wt(a),[a]),I=p.createRef(),[T,at]=p.useState(!1);p.useEffect(()=>{I.current?.resetAfterIndex(0)},[a,I]);const ot=k,Y=p.useRef(null),[rt,st]=p.useState(void 0);p.useEffect(()=>{!T&&r===!1&&at(!0)},[r,T]),ct({componentName:f,enabled:M&&T});const nt=()=>{if(Y!=null&&typeof Y=="object"&&Y.current){const c=Y.current;c!=null&&c.clientHeight>0&&c.clientHeight!=rt&&(st(c.clientHeight),j?.(c.clientHeight))}},z=F.length===0,H=s!=null,C=l!=null,N=F.length+(l!=null?1:0)+(s!=null?1:0)+(z===!0?1:0),A=c=>C===!0?c-1:c,P=R(),dt=({index:c,style:w})=>{if(C===!0&&c===0)return e.jsx("div",{style:{...w},children:e.jsx(S,{windowSize:P,"data-testid":x("transaction-list","list-item-load-more"),children:e.jsx(E,{firstMonthOfFY:t,isLoadNextItem:!0,isLoading:l?.isLoading==!0,timePeriod:d,timeframe:i,fixedTimePeriod:l?.fixedTimePeriod,doLoadMoreTransactions:(h,O)=>{l?.onLoadNextClick?.(h,O)}})})});if(H===!0&&c===N-1)return e.jsx("div",{style:{...w},children:e.jsx(S,{windowSize:P,"data-testid":x("transaction-list","list-item-load-previous"),children:e.jsx(E,{firstMonthOfFY:t,isLoadNextItem:!1,isLoading:s?.isLoading==!0,timePeriod:d,fixedTimePeriod:s?.fixedTimePeriod,timeframe:i,doLoadMoreTransactions:(h,O)=>{s?.onLoadPreviousClick?.(h,O)}})})});if(z===!1){const h=F[A(c)];return e.jsx("div",{style:{...w},children:e.jsxs(S,{windowSize:P,children:[e.jsx(Qt,{date:h.date,transactions:h.transactions,onItemClick:u}),s==null?e.jsx(Xt,{}):null]})})}else return e.jsx("div",{style:{...w},children:e.jsx(Gt,{children:e.jsx(S,{windowSize:P,"data-testid":x("transaction-list","transactions-list-empty"),children:e.jsx(Jt,{children:ee(d,l?.isLoading==!0||s?.isLoading==!0)})})})})},lt=c=>C===!0&&c===0?D(!0):H===!0&&c===N-1?D(!1):z===!1?qt(F[A(c)].transactions.length):D(!1);return e.jsx(Kt,{children:e.jsx(mt,{children:({height:c,width:w})=>e.jsx(te,{"data-testid":x("transaction-list"),ref:I,height:c,width:w,innerRef:Y,outerRef:ot,onItemsRendered:nt,itemCount:N,itemSize:lt,onScroll:({scrollOffset:h})=>{b?.(h)},initialScrollOffset:m??0,children:dt})})})}),ee=(t,i)=>i===!0?$.transactionList.fetching:t.startDate.isSame(t.endDate,"month")?`${$.transactionList.noTransactionsFoundForPrefix} (${t.startDate.format($.dateFormat.visual.MMMYYFormat)})`:`${$.transactionList.noTransactionsFoundForPeriodPrefix} (${t.startDate.format($.dateFormat.visual.MMMYYFormat)} - ${t.endDate.format($.dateFormat.visual.MMMYYFormat)})`;export{de as f};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as a,q as R,aw as W,aC as ie,aW as ne,V as t,b2 as re,aN as w,
|
|
1
|
+
import{y as a,q as R,aw as W,aC as ie,aW as ne,V as t,b2 as re,aN as w,d as n,b as ae,p as B,o,M as j,a as Q,F as $,bp as se,bq as le,ai as de,aq as ce,aL as me,br as pe,ao as he,A as ue,I as G,bs as X,n as V,aR as ee}from"./index-l9FViNoO.js";import{a as U,S as z}from"./sentry-DWELwT5u.js";import{n as i,c as ge}from"./mui-cKt0zt2w.js";import{EM as xe,bg as we,bC as N}from"./zeni-epic-state-atBaoFS-.js";import{G as $e,c as be}from"./AccountsPromoCardStack-BE0vjkiK-DEN0OmWn.js";import"./liveblocks-BKCvXoiA.js";import"./core-B8o5Jj6O.js";import"./recharts-DKlDhqpA.js";import"./lottie-CTuuushW.js";import"./analytics-nCDopMZa.js";import"./lexical-B19SDutg.js";import"./utils-Db67jZaM.js";import"./SummaryCard-gehzCCsW-cRlcrWMR.js";import"./ReloadCard-BakyoznA-DmnMlohL.js";import"./NavigationArrow-B9ZEhJdg-DZDpNuL-.js";import"./NavigationDots-C_N16I15-CgfbbWpb.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]="e6d5c77c-70fb-40bd-98be-2a99941407b2",e._sentryDebugIdIdentifier="sentry-dbid-e6d5c77c-70fb-40bd-98be-2a99941407b2")}catch{}})();const ye={textContainer:new j("extraSmallRegular","smallRegular")},fe=i.div`
|
|
2
2
|
color: ${e=>e.theme.colors.hero};
|
|
3
3
|
cursor: default;
|
|
4
4
|
`,ve=i.div`
|
|
@@ -97,7 +97,7 @@ import{y as a,q as R,aw as W,aC as ie,aW as ne,V as t,b2 as re,aN as w,c as n,b
|
|
|
97
97
|
background: ${e=>e.theme.colors.background};
|
|
98
98
|
text-align: center;
|
|
99
99
|
border-radius: ${o.sp1};
|
|
100
|
-
`;function Ae({accountDetails:e,analytics:g,isZeniUser:c,onSetAccountsStatementDate:C}){const m=$.getLocalizedStrings().statementCloseDay.dropdown.option1,h=$.getLocalizedStrings().statementCloseDay.dropdown.option2,[P,f]=z.useState(!1),r=e.statementCloseDay,[y,b]=z.useState(r!=="LAST_DAY_OF_THE_MONTH"?m:h),[x,p]=z.useState(r!=="LAST_DAY_OF_THE_MONTH"?r:void 0),[
|
|
100
|
+
`;function Ae({accountDetails:e,analytics:g,isZeniUser:c,onSetAccountsStatementDate:C}){const m=$.getLocalizedStrings().statementCloseDay.dropdown.option1,h=$.getLocalizedStrings().statementCloseDay.dropdown.option2,[P,f]=z.useState(!1),r=e.statementCloseDay,[y,b]=z.useState(r!=="LAST_DAY_OF_THE_MONTH"?m:h),[x,p]=z.useState(r!=="LAST_DAY_OF_THE_MONTH"?r:void 0),[L,A]=z.useState(!1),E=z.useRef(r),T=W();z.useEffect(()=>{E.current!==r&&A(!1)},[r]);const H=s=>{N(T.loggedInUserRole??[])&&(s.stopPropagation(),s.preventDefault(),f(!0),g.trackCardStatementCloseDate(G.Event.cardStatementCloseDateClicked,e.accountId,e.accountName,"Card Balance",""))},_=s=>{const d=["th","st","nd","rd"],Z=s%100;return s+(d[(Z-20)%10]||d[Z]||d[0])};let k="";r!==void 0&&(r==="LAST_DAY_OF_THE_MONTH"?k=$.getLocalizedStrings().statementCloseDay.ordinalText.lastDate:k=`${$.getLocalizedStrings().statementCloseDay.ordinalText.prefix} ${_(r)} ${$.getLocalizedStrings().statementCloseDay.ordinalText.suffix}`);const I=s=>{const d=s.target.value;d===h&&p(void 0),b(d)},u=(s,d)=>{s.stopPropagation(),p(d),b(m)},v=()=>{p(void 0),b(h)},F=()=>{const s=e.accountId,d=x??"LAST_DAY_OF_THE_MONTH";r!==d&&(A(!0),C?.(s,d)),f(!1),g.trackCardStatementCloseDate(G.Event.cardStatementCloseDateSaved,e.accountId,e.accountName,"Card Balance",x!==void 0?`${x}`:"End")},te=()=>t.jsxs(K,{children:[$.getLocalizedStrings().statementCloseDay.pickDate.prefix,t.jsx(Be,{children:x??" - "}),$.getLocalizedStrings().statementCloseDay.pickDate.suffix]}),oe=()=>t.jsxs(Ce,{role:"presentation","data-testid":w("statement-close-day-section"),onClick:s=>{s.stopPropagation()},children:[t.jsxs(q,{checked:y===m,children:[t.jsx("input",{type:"radio",name:"statementCloseDay",id:m,value:m,onChange:I,checked:y===m,style:{width:"100%"},"data-testid":w("statement-close-day-input")}),te(),t.jsx(ke,{children:Array.from({length:28},(s,d)=>d+1).map(s=>t.jsx(je,{isSelectedDate:s===x,"data-testid":w("statement-close-day-text"),onClick:d=>u(d,s),children:t.jsx(Pe,{children:s})},s))})]}),t.jsxs(q,{checked:y===h,children:[t.jsx("input",{type:"radio",name:"statementCloseDay",id:h,value:h,onChange:I,checked:y===h,style:{width:"100%"},"data-testid":w("statement-close-day-input-last-day")}),t.jsx(K,{onClick:()=>v(),children:$.getLocalizedStrings().statementCloseDay.lastDate.text})]}),t.jsxs(De,{children:[t.jsx(V,{size:"small",variant:"secondary",label:"Cancel",onClick:()=>{f(!1)},style:{marginRight:o.sp3},"data-testid":w("statement-close-day-button-secondary")}),t.jsx(V,{size:"small",variant:"primary",label:"Save",onClick:F,disabled:x==null&&y!==h,"data-testid":w("statement-close-day-button-primary")})]})]}),O=R();return t.jsx(he,{onClickAway:()=>f(!1),children:t.jsxs("div",{onClick:H,"data-testid":w("statement-close-day-modal"),children:[L?t.jsx(ue,{size:"Small",start:!0}):k?t.jsxs(fe,{"data-testid":w("edit-statement-close-day"),children:[t.jsx(Se,{}),t.jsx(Y,{className:"statementCloseDayText",windowSize:O,children:k})]}):N(T.loggedInUserRole??[])&&c===!0?t.jsxs(ve,{"data-testid":w("add-statement-close-day"),children:[t.jsx(ze,{}),t.jsx(Y,{className:"statementCloseDayText",windowSize:O,children:$.getLocalizedStrings().statementCloseDay.statement})]}):"",P?oe():""]})})}const Te=new 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])},He={textContainer:new j("standardMedium","largeMedium")},Ie=i.div`
|
|
101
101
|
display: flex;
|
|
102
102
|
width: 100%;
|
|
103
103
|
`,Re=i.div`
|
|
@@ -129,7 +129,7 @@ import{y as a,q as R,aw as W,aC as ie,aW as ne,V as t,b2 as re,aN as w,c as n,b
|
|
|
129
129
|
display: flex;
|
|
130
130
|
padding: ${e=>S.contentContainerPadding.valuePx(e.windowSize)};
|
|
131
131
|
width: 100%;
|
|
132
|
-
`,
|
|
132
|
+
`,Le=i.div`
|
|
133
133
|
display: flex;
|
|
134
134
|
align-items: center;
|
|
135
135
|
width: calc(
|
|
@@ -143,7 +143,7 @@ import{y as a,q as R,aw as W,aC as ie,aW as ne,V as t,b2 as re,aN as w,c as n,b
|
|
|
143
143
|
width: ${e=>S.imageWidth.valuePx(e.windowSize)};
|
|
144
144
|
height: ${e=>S.imageHeight.valuePx(e.windowSize)};
|
|
145
145
|
object-fit: contain;
|
|
146
|
-
`,
|
|
146
|
+
`,_e=i.div`
|
|
147
147
|
margin: ${e=>`${o.sp0} ${o.sp0} ${o.sp0} ${S.titleLeftMargin.valuePx(e.windowSize)}`};
|
|
148
148
|
overflow: hidden;
|
|
149
149
|
text-align: left;
|
|
@@ -157,7 +157,7 @@ import{y as a,q as R,aw as W,aC as ie,aW as ne,V as t,b2 as re,aN as w,c as n,b
|
|
|
157
157
|
align-items: flex-end;
|
|
158
158
|
flex-direction: column;
|
|
159
159
|
justify-content: center;
|
|
160
|
-
`,Ue=i(pe)``;function Ne({data:e,showStatementSection:g,analytics:c,isZeniUser:C,onItemClick:m,onSetAccountsStatementDate:h}){const{key:P,title:f,amount:r,logoUri:y}=e,b=W(),x=b.loggedInUserRole!=null&&!we(b.loggedInUserRole),p=R();return t.jsx(Ie,{windowSize:p,children:t.jsx(Re,{"data-testid":w("transaction-list-item-big",e.title),windowSize:p,showEditStatementIcon:N(b.loggedInUserRole??[])&&C===!0,isClickEnabled:x,onClick:()=>x===!0?m?.(P,e.source):null,children:t.jsxs(Me,{windowSize:p,children:[t.jsxs(
|
|
160
|
+
`,Ue=i(pe)``;function Ne({data:e,showStatementSection:g,analytics:c,isZeniUser:C,onItemClick:m,onSetAccountsStatementDate:h}){const{key:P,title:f,amount:r,logoUri:y}=e,b=W(),x=b.loggedInUserRole!=null&&!we(b.loggedInUserRole),p=R();return t.jsx(Ie,{windowSize:p,children:t.jsx(Re,{"data-testid":w("transaction-list-item-big",e.title),windowSize:p,showEditStatementIcon:N(b.loggedInUserRole??[])&&C===!0,isClickEnabled:x,onClick:()=>x===!0?m?.(P,e.source):null,children:t.jsxs(Me,{windowSize:p,children:[t.jsxs(Le,{windowSize:p,children:[t.jsx(Ee,{windowSize:p,src:y,loading:"lazy"}),t.jsx(_e,{windowSize:p,children:f})]}),t.jsxs(Fe,{windowSize:p,children:[t.jsx(Ue,{children:me("0,0",r)}),g&&p!=="small"&&t.jsx(Ae,{accountDetails:e.source,isZeniUser:C,onSetAccountsStatementDate:h,analytics:c})]})]})})})}const We=z.memo(Ne),D=$.getLocalizedStrings().zeniAccountsPromoCard,l={marginTop:new 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])},M={textContainer:new j("largeMedium","h6Medium"),promoText:new j("extraSmallRegular","standardRegular"),promoHighlightText:new j("extraLargeRegular","h5Regular"),promoButtonText:new j("extraSmallMedium","smallRegular")},J=8,Oe=i.div`
|
|
161
161
|
display: flex;
|
|
162
162
|
flex: 1 1 auto;
|
|
163
163
|
flex-direction: column;
|
|
@@ -281,4 +281,4 @@ import{y as a,q as R,aw as W,aC as ie,aW as ne,V as t,b2 as re,aN as w,c as n,b
|
|
|
281
281
|
position: absolute;
|
|
282
282
|
bottom: ${e=>l.promoFooterPositionBottom.valuePx(e.size)};
|
|
283
283
|
right: ${e=>l.promoFooterPositionRight.valuePx(e.size)};
|
|
284
|
-
`,at=({sectionTitle:e,totalFormatted:g})=>{const c=R();return t.jsx(Ze,{windowSize:c,children:t.jsxs(Ve,{windowSize:c,children:[t.jsx(Ye,{children:e}),t.jsx(qe,{children:g})]})})};function St({sectionTitle:e,analytics:g,transactionArray:c,isZeniUser:C,zeniAccountsPromoCardReport:m,onItemClick:h,onSetAccountsStatementDate:P,onPromoCardBtnClick:f}){const r=R(),y=U.createRef(),[b,x]=U.useState(0),p=W(),
|
|
284
|
+
`,at=({sectionTitle:e,totalFormatted:g})=>{const c=R();return t.jsx(Ze,{windowSize:c,children:t.jsxs(Ve,{windowSize:c,children:[t.jsx(Ye,{children:e}),t.jsx(qe,{children:g})]})})};function St({sectionTitle:e,analytics:g,transactionArray:c,isZeniUser:C,zeniAccountsPromoCardReport:m,onItemClick:h,onSetAccountsStatementDate:P,onPromoCardBtnClick:f}){const r=R(),y=U.createRef(),[b,x]=U.useState(0),p=W(),L=ie(c,function(u,v){return u+(v.amount?.amount??0)},0),A=c.length>0?c[0].amount?.currencySymbol:"",E=ne("0,0",L,A),T=({index:u,style:v})=>t.jsx("div",{style:{...v},children:t.jsx(Ke,{children:t.jsx(Je,{windowSize:r,children:t.jsx(We,{data:c[u],showStatementSection:e===$.getLocalizedStrings().balanceCard.cardBalanceSectionTitle,isZeniUser:C,analytics:g,onItemClick:h,onSetAccountsStatementDate:P})})})}),H=U.useRef(null),_=()=>{const u=H.current;u!=null&&u.clientHeight>0&&u.clientHeight!=b&&x(u.clientHeight)},k=()=>{f?.(m?.depositAccountId??"")},I=xe(p.loggedInUserRoleMap);return t.jsxs(Oe,{windowSize:r,listHeight:b,"data-testid":w("transaction-list-big"),children:[t.jsx(at,{sectionTitle:e,totalFormatted:E}),t.jsx(Ge,{children:t.jsx(re,{children:({height:u,width:v})=>t.jsxs(t.Fragment,{children:[m?.isShowDepositAccountsPromo===!0?t.jsxs(Xe,{width:v,size:r,children:[t.jsxs(et,{size:r,children:[t.jsx(tt,{size:r,children:D.keepInterest.prefixCashBalance}),t.jsx(ot,{size:r,children:$e("keepInterest",be(m.maxPossibleInterest??0))})]}),t.jsx(it,{onClick:k,size:r,children:t.jsx(nt,{size:r,children:I?m.depositAccountId!=null?D.button:D.signUp:D.learnMore})}),t.jsx(rt,{size:r,children:D.keepInterest.footer.replace(/<interest>/,m.maxAnnualPercentageYield.toString())})]}):null,t.jsx(Qe,{ref:y,height:u,width:v,style:{overflow:"unset"},itemCount:c.length,itemSize:Te.value(r)+l.itemPaddingBottom.value(r),onItemsRendered:_,itemKey:F=>c[F].key,innerRef:H,children:T})]})})})]})}export{St as default,l as dimensions};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{e as O,by as z,bz as R,V as o,bA as M,aN as p,A as V,o as n,al as q}from"./index-l9FViNoO.js";import{a as r,o as G}from"./sentry-DWELwT5u.js";import{n as l}from"./mui-cKt0zt2w.js";import{f as Z}from"./TransactionList-BMfwxUes-i8oCJgrA.js";import{t as H}from"./page-detail-CWX5S47F-hDrW8rOj.js";import"./liveblocks-BKCvXoiA.js";import"./core-B8o5Jj6O.js";import"./recharts-DKlDhqpA.js";import"./zeni-epic-state-atBaoFS-.js";import"./lottie-CTuuushW.js";import"./analytics-nCDopMZa.js";import"./lexical-B19SDutg.js";import"./utils-Db67jZaM.js";import"./BoxItem-Cmrt_yxF-Cr2cxrKm.js";import"./commonDimensions-CDU138wy-0KaFqMmK.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new t.Error().stack;c&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[c]="64a5f72f-a703-435b-a413-960dcef309a2",t._sentryDebugIdIdentifier="sentry-dbid-64a5f72f-a703-435b-a413-960dcef309a2")}catch{}})();const J=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
height: 100vh;
|
|
@@ -32,4 +32,4 @@ import{d as O,by as z,bz as R,V as o,bA as M,aN as p,k as V,o as n,al as q}from"
|
|
|
32
32
|
&:hover {
|
|
33
33
|
color: ${t=>t.theme.colors.primary};
|
|
34
34
|
}
|
|
35
|
-
`;function ht({title:t,subTitle:c,firstMonthOfFY:g,timeframe:d,timePeriod:a,useFixedPeriod:x,dataAvailableForPeriod:y,report:e,currentScrollYOffset:w,showStatementPageIcon:L=!1,onTimePeriodChange:b,onTransactionItemClick:T,onTransactionListScroll:
|
|
35
|
+
`;function ht({title:t,subTitle:c,firstMonthOfFY:g,timeframe:d,timePeriod:a,useFixedPeriod:x,dataAvailableForPeriod:y,report:e,currentScrollYOffset:w,showStatementPageIcon:L=!1,onTimePeriodChange:b,onTransactionItemClick:T,onTransactionListScroll:C,onBackClick:I,onStatementPageIconClick:j,referrerType:D}){const[f,S]=r.useState(!0),[m,$]=r.useState(!1),[u,P]=r.useState(!1),N=O();r.useEffect(()=>{e.transactions.length>0?S(!1):S(m===!1&&u===!1?e.fetchState==="In-Progress"||e.fetchState==="Not-Started":!1)},[e,f,m,u]);const A=z(),k=R(D),B=`${k===""?A:k}.transactions.list`,E=a.startDate.isAfter(y.startDate,d)?{isLoading:m&&(e.fetchState==="In-Progress"||e.fetchState==="Not-Started"),fixedTimePeriod:x,onLoadPreviousClick:(i,s)=>{P(!1),$(!0),b?.(i,a,s)}}:void 0,F=a.endDate.isBefore(y.endDate,d)?{isLoading:u&&(e.fetchState==="In-Progress"||e.fetchState==="Not-Started"),fixedTimePeriod:x,onLoadNextClick:(i,s)=>{$(!1),P(!0),b?.(i,a,s)}}:void 0;let v=null;L&&(v=o.jsx(W,{onClick:j}));const h=r.useRef(null);function Y(i,s,_){G({category:`${B}.transaction-list.react.profiler`,message:`${i} (${s}) took ${_}ms`,level:"info"})}return o.jsx(r.Profiler,{id:"TransactionListPage",onRender:Y,children:o.jsxs(J,{"data-testid":p("transaction-list-page",t),children:[o.jsx(M,{source:"TransactionListPage","data-testid":p("transaction-list-page-nav-bar"),title:t,onBackClick:I,backgroundColor:N.colors.grey4,rightSideComponent:v,scrollableContent:h.current!=null?h:void 0}),o.jsxs(K,{"data-testid":p("transaction-list",t),children:[o.jsx(U,{children:c}),f===!1?o.jsx(Z,{ref:h,firstMonthOfFY:g,timeframe:d,timePeriod:a,transactions:e.transactions,isFirstLotLoading:f,currentScrollYOffset:w,onTransactionItemClick:T,onTransactionListScroll:C,showLoadPrevious:E,showLoadNext:F,componentName:"report.transactions.list"}):o.jsx(Q,{children:o.jsx(V,{size:"ExtraLarge",start:!0})})]})]})})}export{ht as default};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import{q as H,F,V as o,A as q,aN as L,aP as R,o as a,y as g,_ as W,M as K,d1 as U,a9 as G,cC as J,ac as Q,d as r,h9 as k,ha as M,hb as B,e as X,cF as Y,gH as z,hc as Z,b6 as ee,hg as oe,hh as te}from"./index-l9FViNoO.js";import{a as I}from"./sentry-DWELwT5u.js";import{n as c}from"./mui-cKt0zt2w.js";import"./liveblocks-BKCvXoiA.js";import"./core-B8o5Jj6O.js";import"./recharts-DKlDhqpA.js";import"./zeni-epic-state-atBaoFS-.js";import"./lottie-CTuuushW.js";import"./analytics-nCDopMZa.js";import"./lexical-B19SDutg.js";import"./utils-Db67jZaM.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]="04a49d70-e830-4644-8cec-f01884d0f45a",e._sentryDebugIdIdentifier="sentry-dbid-04a49d70-e830-4644-8cec-f01884d0f45a")}catch{}})();const D=(e,n)=>`${e}.${n}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=F.getLocalizedStrings().transactionDetail.vendorDetails,d=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:n,selectedClassId:h,selectedOwnerId:t,selectedVendorName:f,allAccounts:p,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:w,classHierarchyList:x})=>{const i=H(),y=X(),$=N.labelWidth.value(i),j=N.controlWidth.value(i),P=s=>p.filter(O=>O.accountId===s)[0]?.coaId??"",l=s=>C.filter(O=>O.classId===s)[0]?.accountingClassNumber??"",b=s=>{const O=p.find(_=>_.accountId===s)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(se,{"data-testid":L("vendor-details-section",v),children:[o.jsx(re,{children:d.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:d.vendorDetails.vendorName,width:$},text:{type:"text",name:D(v,"vendorName"),placeholder:d.placeholders.vendor,defaultValue:f,autoComplete:"off",options:{required:!0}},isSaveError:n,showAdditionalInfoLabel:!1,additionalInfoLabel:d.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorCategory"),placeholder:d.placeholders.category,valueToInfo:s=>P(s),defaultValue:{selectedOption:e,allOptions:M(w)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:b,zIndexOnFocus:!0,additionalLabelInfo:d.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorClass"),placeholder:d.placeholders.class,valueToInfo:s=>l(s),defaultValue:{selectedOption:h,allOptions:k(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:d.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Z,{label:{label:d.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:D(v,"vendorOwner"),placeholder:d.placeholders.owner,defaultValue:{allOptions:B(S),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},se=c.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
padding-top: ${a.sp3};
|
|
5
|
+
padding-bottom: ${a.sp3};
|
|
6
|
+
`,re=c(ee)`
|
|
7
|
+
color: ${e=>e.theme.colors.primary};
|
|
8
|
+
margin-bottom: ${a.sp3};
|
|
9
|
+
margin-right: ${a.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=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
16
|
+
border-radius: ${a.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
|
+
`,V="vendorDetails",de=({id:e,allAccounts:n,allClasses:h,allOwners:t,selectedVendor:f,formLocalData:p,isDisabled:C,onSaveVendor:S,saveVendorDetailLocalData:v,accountsHierarchyList:u,classHierarchyList:w})=>{const x=G({mode:"all",reValidateMode:"onChange",defaultValues:ce(u,w,t,p)}),[i,y]=I.useState(!1),$=l=>{l.preventDefault(),x.getValues().vendorDetails.vendorName!==""&&i===!1&&S?.()},j=(l,b)=>{const s=ue(l,void 0);v?.(s)},P=async(l,b)=>{(l.includes("vendorName")||l.includes("vendorOwner")||l.includes("vendorClass")||l.includes("vendorCategory"))&&(j(b),i===!0&&l.includes("vendorName")&&y(!1))};return I.useEffect(()=>{const l=x.watch((b,{name:s})=>{s!=null&&b!=null&&J(()=>P(s,b))});return()=>{l.unsubscribe()}}),I.useEffect(()=>{f.saveStatus.fetchState==="Error"&&f.saveStatus.error?.code===409&&y(!0)},[f.saveStatus]),o.jsx(Q,{...x,children:o.jsx("form",{id:e,onSubmit:$,children:o.jsx(ne,{sectionId:V,selectedVendorDetails:f,isSaveError:i,selectedAccountId:p?.vendorCategory,selectedClassId:p?.vendorClass,selectedOwnerId:p?.vendorOwner,allAccounts:n??[],allClasses:h??[],selectedVendorName:p?.vendorName,allOwners:t,isDisabled:C,accountsHierarchyList:u,classHierarchyList:w})})})},ce=(e,n,h,t)=>({[V]:{vendorName:t?.vendorName??"",vendorOwner:{allOptions:B(h),selectedOption:t?.vendorOwner},vendorCategory:{allOptions:M(e),selectedOption:t?.vendorCategory},vendorClass:{allOptions:k(n),selectedOption:t?.vendorClass}}});function ue(e,n,h){const t=e?.[V];return{vendorCategory:t.vendorCategory.selectedOption,vendorClass:t.vendorClass.selectedOption,vendorId:n,vendorName:t.vendorName,vendorOwner:t.vendorOwner?.selectedOption}}const m={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 K("h6Regular","h5Medium"),sectionTitleLineHeight:new g(30,40)},he=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=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
31
|
+
`,pe=c.div`
|
|
32
|
+
margin-top: ${e=>m.containerMarginTop.valuePx(e.windowSize)};
|
|
33
|
+
padding-left: ${e=>m.containerPaddingLeft.valuePx(e.windowSize)};
|
|
34
|
+
padding-right: ${e=>m.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=>`${a.sp0} 2px ${a.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: ${a.sp0};
|
|
52
|
+
z-index: 2;
|
|
53
|
+
padding-left: ${e=>m.containerPaddingLeft.valuePx(e.windowSize)};
|
|
54
|
+
padding-right: ${e=>m.containerPaddingRight.valuePx(e.windowSize)};
|
|
55
|
+
padding-top: ${e=>m.navbarContainerPaddingTop.valuePx(e.windowSize)};
|
|
56
|
+
padding-bottom: ${e=>m.navbarContainerPaddingBottom.valuePx(e.windowSize)};
|
|
57
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
58
|
+
`,me=c.div`
|
|
59
|
+
display: flex;
|
|
60
|
+
width: 100%;
|
|
61
|
+
justify-content: flex-end;
|
|
62
|
+
margin-top: 3px;
|
|
63
|
+
margin-bottom: 3px;
|
|
64
|
+
`,we=c(W)`
|
|
65
|
+
cursor: pointer;
|
|
66
|
+
color: ${e=>e.theme.colors.hero};
|
|
67
|
+
width: ${a.sp4};
|
|
68
|
+
height: ${a.sp4};
|
|
69
|
+
&:hover {
|
|
70
|
+
color: ${e=>e.theme.colors.primary};
|
|
71
|
+
}
|
|
72
|
+
`,xe=c(U)`
|
|
73
|
+
display: flex;
|
|
74
|
+
width: 100%;
|
|
75
|
+
color: ${e=>e.theme.colors.primary};
|
|
76
|
+
margin-top: ${e=>m.SectionTitleMarginTop.valuePx(e.windowSize)};
|
|
77
|
+
${e=>`${T.sectionTitle.style(e.windowSize)}`};
|
|
78
|
+
margin-left: ${e=>e.windowSize==="small"?a.sp3:0};
|
|
79
|
+
line-height: ${e=>T.sectionTitleLineHeight.valuePx(e.windowSize)};
|
|
80
|
+
`,A="vendorDetailPage",E=e=>`${e}_form`,Ve=({vendorDetailView:e,onSaveSuccess:n,onCancelClick:h,onSaveVendor:t,saveVendorDetailLocalData:f})=>{const{editVendorState:p,newVendorState:C,accountsHierarchyList:S,classHierarchyList:v}=e,u=H(),{footer:w,newVendor:x}=F.getLocalizedStrings().transactionDetail.vendorDetails.createVendor,i=Object.assign({},p??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 y=i.saveStatus?.fetchState==="In-Progress";return o.jsxs(he,{windowSize:u,"data-testid":L("transaction-vendor-detail-page"),children:[o.jsxs(fe,{windowSize:u,children:[o.jsx(me,{children:o.jsx(we,{onClick:h,"data-testid":L("close-icon")})}),o.jsx(xe,{windowSize:u,children:x})]}),o.jsx(ge,{children:o.jsx(pe,{windowSize:u,"data-testid":L("vendor-detail-page-form"),children:o.jsx(de,{id:E(A),allAccounts:e.accountList.accounts,allClasses:e.classList.classes,allOwners:e.ownerList,selectedVendor:i,formLocalData:i.vendorDetailLocalData,onSaveVendor:t,saveVendorDetailLocalData:f,accountsHierarchyList:S,classHierarchyList:v})})}),o.jsx(R,{formId:E(A),primaryBtn:{label:w.save,isLoading:y},cancelBtn:{label:w.cancel,shouldResetOnCancel:!0,onClick:h}})]})};export{Ve as default,E as formUniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,q as ue,aN as A,hr as lt,aL as U,n as ve,hA as ct,k as Ye,aP as $e,o as a,F as R,y as c,L as Ne,l as dt,b8 as ut,aq as ft,a as be,ai as De,al as fe,aO as ce,fw as pt,a9 as Xe,cC as mt,aW as ht,aM as gt,p as G,ac as qe,fA as ke,fB as Ae,g8 as wt,bR as ye,g2 as xt,hB as $t,c as o,fk as bt,cg as Ue,b_ as Dt,eY as yt,bI as Tt,am as Ze,fN as Ct,dp as St,c0 as Ge,gU as vt,gV as kt}from"./index-B_cddanf.js";import{a as u}from"./sentry-CiC6rduJ.js";import{n}from"./mui-vQToN2qW.js";import{bL as At}from"./zeni-epic-state-Ce8CP8e3.js";import{v as Pt}from"./ZeniTransferAmountSlider-DfOF_MH1-CdGJRA77.js";import{r as Lt}from"./AccountInfoPageContent-BA3WBfD4-S2IoqbBC.js";import"./liveblocks-DKD_-8rq.js";import"./core-CpHpZW9N.js";import"./recharts-jo6oNEJ1.js";import"./lottie-DPQlys-3.js";import"./analytics-DKo_M1pl.js";import"./lexical-DVClH-hg.js";import"./utils-CM3T2Iks.js";import"./downloadPdf-DYME892p-CFdivUKB.js";import"./commonDimensions-IG4iGJ-6-COy8LjzW.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]="6f1e9e18-5ef9-4adf-bcde-ef504a366854",e._sentryDebugIdIdentifier="sentry-dbid-6f1e9e18-5ef9-4adf-bcde-ef504a366854")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=R.getLocalizedStrings(),Je="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Ke="transferDetailPage",ge=(e,r)=>`${e}.${r}`,He=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:J,onBackClick:I,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:K,onReviewClick:H}){const i=ue(),E=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[Y,N]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),I(),N(!1),z(!1)},[I,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{Y&&x&&q()},[Y,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&K?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};J(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),H())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Ft,{children:t.jsxs(It,{children:[t.jsxs(Et,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Rt,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:G.heroLight}})})]})}):null,t.jsx(Yt,{children:U("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:He(Ke),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ie,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ie,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:E},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Je),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Ut,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Zt,{windowSize:i,children:[t.jsx(Kt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Gt,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${U("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Jt,{windowSize:i}),t.jsx(Ht,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${U("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Je]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
|
|
1
|
+
import{V as t,q as ue,aN as A,hp as lt,aL as U,n as ve,hy as ct,A as Ye,aP as $e,o as a,F as R,y as c,_ as Ne,l as dt,b8 as ut,aq as ft,c as be,ai as De,al as fe,aO as ce,fw as pt,a9 as Xe,cC as mt,aW as ht,aM as gt,p as G,ac as qe,fA as ke,fB as Ae,g8 as wt,bR as ye,g2 as xt,hz as $t,d as o,fk as bt,cg as Ue,b_ as Dt,eY as yt,bI as Tt,am as Ze,fN as Ct,dr as St,c0 as Ge,gS as vt,gT as kt}from"./index-l9FViNoO.js";import{a as u}from"./sentry-DWELwT5u.js";import{n}from"./mui-cKt0zt2w.js";import{bL as At}from"./zeni-epic-state-atBaoFS-.js";import{v as Pt}from"./ZeniTransferAmountSlider-7nRSeYbl-qFHjxePx.js";import{r as Lt}from"./AccountInfoPageContent-wjaeVokT-CiNOfJ02.js";import"./liveblocks-BKCvXoiA.js";import"./core-B8o5Jj6O.js";import"./recharts-DKlDhqpA.js";import"./lottie-CTuuushW.js";import"./analytics-nCDopMZa.js";import"./lexical-B19SDutg.js";import"./utils-Db67jZaM.js";import"./downloadPdf-Dl5UuOv_-DcSCv9vJ.js";import"./commonDimensions-CDU138wy-0KaFqMmK.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]="38d8c6f0-493d-412a-8e04-3946b85b0120",e._sentryDebugIdIdentifier="sentry-dbid-38d8c6f0-493d-412a-8e04-3946b85b0120")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=R.getLocalizedStrings(),Je="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Ke="transferDetailPage",ge=(e,r)=>`${e}.${r}`,He=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:J,onBackClick:I,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:K,onReviewClick:H}){const i=ue(),E=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[Y,N]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),I(),N(!1),z(!1)},[I,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{Y&&x&&q()},[Y,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&K?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};J(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),H())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Ft,{children:t.jsxs(It,{children:[t.jsxs(Et,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Rt,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:G.heroLight}})})]})}):null,t.jsx(Yt,{children:U("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:He(Ke),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ie,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ie,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:E},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Je),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Ut,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Zt,{windowSize:i,children:[t.jsx(Kt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Gt,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${U("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Jt,{windowSize:i}),t.jsx(Ht,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${U("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Je]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
|
|
2
2
|
margin-top: ${a.sp3};
|
|
3
3
|
display: flex;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|