@zeniai/web-cockpit-ui 1.15.11-dev → 1.15.12-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-CR6ypd9o-CPuvu8Ya.js → ACHDetailsPage-BY65AQjO-Cl2Tlmft.js} +3 -3
- package/dist/assets/{AIPerformancePage-C1OU9y7O-Cy2fQhSN.js → AIPerformancePage-B0a7EX_p-BepCOVvT.js} +17 -17
- package/dist/assets/AccountInfoPage-DUYpaV3v-CL9yEZEk.js +18 -0
- package/dist/assets/{AccountInfoPageContent-CrSVf_Od-DxUVjtpH.js → AccountInfoPageContent-BsSGhNw9-Bhg40nPQ.js} +13 -13
- package/dist/assets/{AccountLockedInfoModal-DNU_J1FV-BrQt7SPM.js → AccountLockedInfoModal-uPOYP0OH-gMh9hb_c.js} +3 -3
- package/dist/assets/{AccountReconDetailsDrawerPage-DghCIWni-WUADgsvH.js → AccountReconDetailsDrawerPage-BgPmbG_g-9wGOY4BN.js} +6 -6
- package/dist/assets/{AccountRow-CYv0Uw-I-DQCZ-Htb.js → AccountRow-B9ZIzZy7-C9nPv4rY.js} +22 -22
- package/dist/assets/{AccountsPromoCardStack-BANu3wYt-CQ0iVQrx.js → AccountsPromoCardStack-BLcpWU3T-CV6K5Y9x.js} +8 -8
- package/dist/assets/AddAddressForCardDrawer-B1oucxyM-I6biD8O7.js +6 -0
- package/dist/assets/{AddToWalletPage-C8keLYK6-Bn2sefuz.js → AddToWalletPage-B1GVnxRf-CndQH9vq.js} +7 -7
- package/dist/assets/{AgingReportsPage-L84_Ka8x-B6lkNbiG.js → AgingReportsPage-Bpp4te8m-HodwoOcT.js} +3 -3
- package/dist/assets/{AllUserItems-Duwm6ypi-CNUX4dOE.js → AllUserItems-CzugF5fn-8WnbDsqH.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-MH7SN7mP-D7GEtWSd.js → ApAgingDetailPage-CyUQeZY0-DHH2Dilv.js} +4 -4
- package/dist/assets/{AppBasePage-DpK4Drat-Bt4q9XbU.js → AppBasePage-Di7hObbX-uZJvqLhK.js} +6 -6
- package/dist/assets/{AppDrawerContent-CR_WXwBz-CFNPiFQp.js → AppDrawerContent-KdrUuifo-DcEK8qwb.js} +5 -5
- package/dist/assets/{ApprovalRulesSettingsPage-DD2E4NU5-DpHAD8Ti.js → ApprovalRulesSettingsPage-BRIgTh7x-CF-Pagn9.js} +1 -1
- package/dist/assets/{ArAgingChart-q1DoAAzl-IMdyrhPv.js → ArAgingChart-DeE5uhiT-BcI5cuvH.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-BKqFTdkz-kMEm6GPZ.js → ArAgingDetailPage-CFiIUBWl-BXhWrXr_.js} +2 -2
- package/dist/assets/{AttachmentView-CwbFyo5O-DSfNvuAU.js → AttachmentView-CfacSLcU-gwYezuYM.js} +7 -7
- package/dist/assets/{BankAccountSection-DNYhcdas-Ddz8QKzl.js → BankAccountSection-Bm8vdxFd-DKKdvH8R.js} +6 -6
- package/dist/assets/{BankAccountWarningSection-B6AIe7nT-BcHAPM_q.js → BankAccountWarningSection-M3w6kP33-ChP5wvhC.js} +13 -13
- package/dist/assets/{BankConnectionsSettingsPage-BQSAz9yS-R3TufSTo.js → BankConnectionsSettingsPage-Dfrp0CKz-Dc4Qac0T.js} +9 -9
- package/dist/assets/{BillDetailPage-CJMkS2TO-CUCvdJLF.js → BillDetailPage-BA1D1bO3-Ofkt6QPd.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-CWCmHWbz-BO-G290w.js → BillPayApprovalRuleDetailPage-DR8YzZt1-CQcbdF34.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-0_wlhyx9-CKOGyW5d.js → BillPayApprovalRulesPage-CfZ4aSPM-C6nI7yKc.js} +11 -11
- package/dist/assets/{BillPayPromoPage-CKOYCq5V-C6OfnMF1.js → BillPayPromoPage-CP9Nvd2Q-CSZ8mSrV.js} +4 -4
- package/dist/assets/{BillPaySetUpPage-Dibv-FD4-kIfalP85.js → BillPaySetUpPage-BwEONKu_-DARv5ESb.js} +6 -6
- package/dist/assets/{BillingSettingsPage-CG9gklV0-CGGGPaut.js → BillingSettingsPage-DicGyWCt-DwbmjVcE.js} +6 -6
- package/dist/assets/{BillsBulkReviewDrawerPage-Cgof7dpG-BwYBq9-d.js → BillsBulkReviewDrawerPage-fS3-YEdi-DKZKHDla.js} +1 -1
- package/dist/assets/{BoxItem-DD7d5_ky-D2d9aLr-.js → BoxItem-Cr0Y9YBV-C2AawtqJ.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-KfKed7nf-Bzkiryv0.js → BusinessVerificationPage-CvL9cdJm-Drj-tMQU.js} +3 -3
- package/dist/assets/CardNumberSubText-CXBKzGK5-CCtn2y_n.js +21 -0
- package/dist/assets/{CashbackDetailPage-D1ejnH4R-BltiUdCI.js → CashbackDetailPage-DOdPOiws-CAJxdhJ3.js} +11 -11
- package/dist/assets/{ChargeCardDetailPage-Cvs-BEKp-Bqa3oM5k.js → ChargeCardDetailPage-DfhAyysD-Cgd92Yem.js} +1 -1
- package/dist/assets/{ChargeCardListPage-CW0WF8w6-DBIJI8Xw.js → ChargeCardListPage-Bnnu4TVk-DFZAYaNm.js} +20 -20
- package/dist/assets/{ChargeCardListTable-43l6tEOp-BbcKoGZ2.js → ChargeCardListTable-D7zGM8uo-70otSDDQ.js} +40 -40
- package/dist/assets/{ChargeCardPaymentHistoryPage-fpQhp74g-BLq-AFt8.js → ChargeCardPaymentHistoryPage-U00GbINt-BIwIfF30.js} +13 -13
- package/dist/assets/ChargeCardPromoPage-BpBiwjfr-DWB9eQGN.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-CFR2KfLW-Bj3pYNfL.js → ChargeCardSetupPage-Duj6901M-CIASuReJ.js} +4 -4
- package/dist/assets/{ChargeCardStatementsPage-BMYUlzTk-CZ02SfTF.js → ChargeCardStatementsPage-IkU86L31-ClrDQTtP.js} +4 -4
- package/dist/assets/{CheckDepositDrawerPage-BXWeeMR7-BYN5c48i.js → CheckDepositDrawerPage-fHeTkRJF-CdLdCkIH.js} +13 -13
- package/dist/assets/{CollapsableReportTable-CZJ_4MUf-TH_6P-Y_.js → CollapsableReportTable-DUo-9gOh-B_gwOhYJ.js} +32 -32
- package/dist/assets/{CompanyOfficerDetailsSection-b2itwQOK-DbOlSBag.js → CompanyOfficerDetailsSection-DzDZe6MU-DWguMF6d.js} +10 -10
- package/dist/assets/{CompanyPassportCard-C5C3AykH-DcHAKmoT.js → CompanyPassportCard-BwiwJ82k-WRVY9XX8.js} +4 -4
- package/dist/assets/{CompanyPassportPage-D9zWgLlj-CWyCqrqW.js → CompanyPassportPage-Bz3rzG9k-e3d2ccIM.js} +15 -15
- package/dist/assets/{CompleteProfile-CMnTwbXr-DZqd8rFQ.js → CompleteProfile-CRXV-nNq-DpRL426l.js} +2 -2
- package/dist/assets/ConfettiBurst-CapRdPno-Dlg4XvfD.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-CthcMxEa-PQhPjSjB.js → CreateOrEditVendorPage-BjPotKnf-De1W0m4N.js} +12 -12
- package/dist/assets/{CreditCardPaymentDrawerPage-LD349Ert-C4Wbd8yP.js → CreditCardPaymentDrawerPage-BTZ2Lph6-DMwCUXwV.js} +13 -13
- package/dist/assets/{CurrencySelectField-iXGB-cNy-BRjQHy5W.js → CurrencySelectField-DY0HeU0G-CSYPXeIb.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-BuZrVCRr-DQvZbF43.js → CustomerOnboardingActivationPage-BIKXkkcY-IFMHYYO1.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-DZfFYnVw-BG6Jz35S.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-L4WssPjU-BL2-a44j.js → CustomerOnboardingDetailPageSkeleton-DYiAmFsM-C0-Ot9Uw.js} +9 -9
- package/dist/assets/{CustomerOnboardingNoStepsPage-Bqv6vbYJ-B4xhs9JC.js → CustomerOnboardingNoStepsPage-gssFllMT-DT9hupvU.js} +9 -9
- package/dist/assets/{CustomerOnboardingPage-D7YVlzdy-GqcXPa-d.js → CustomerOnboardingPage-CBJHj8BH-KUidrPxI.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-DLzC-lxj-pVKJNYgp.js → CustomerOnboardingProductSuitePage-2V3vSjB8-BYRuju-o.js} +12 -12
- package/dist/assets/{Dashboard-BgpeTLE--ZF2wZzkh.js → Dashboard-BVvkfPf9-hp4sQi7A.js} +1 -1
- package/dist/assets/{DashboardReportPage-DJtJdsj5-D0j90p2O.js → DashboardReportPage-DHQ79h9V-C3FgTbgA.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-CL6vWi6p-DaXPDfmE.js → DashboardSidebarBackgroundAnimation-B8Q-YA_s-DLXiBeQj.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-B8Kledeo-BlVCqg6w.js → DepositAccTransactionItem-DZnqI7IQ-DR0NgZ86.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-DYBIAd7n-gVv7-TK3.js → DepositAccTransactionListPage-BMNdp-3Q-CyOUea8P.js} +4 -4
- package/dist/assets/{DomesticWireDetailsPage-Bm-bfxSa-rYZYhMWI.js → DomesticWireDetailsPage-CCP6xoW_-BlmZjbpt.js} +1 -1
- package/dist/assets/{DownloadOverlay-CAfyh0W2-BJk2KPOA.js → DownloadOverlay-B2bK30rG-B-m5Mv2I.js} +18 -18
- package/dist/assets/{DrawerPage-DUeVKq0Q-DB8bkP9s.js → DrawerPage-BRJDrBlv-D28-uO54.js} +8 -8
- package/dist/assets/{EditPeoplePage-dVrpOcc1-DgbweCi9.js → EditPeoplePage-I8E1Rs3x-DbyrgA_C.js} +6 -6
- package/dist/assets/{EditReimbursementDetailPage-xWwm-k8T-Hs0cdO6C.js → EditReimbursementDetailPage-C7BPmFMR-DTPMhwLH.js} +19 -19
- package/dist/assets/EntityDetailPage-BraBJ2k1-Wq1E4JPl.js +18 -0
- package/dist/assets/{EntitySummarySection-CTU-YsQl-CSwZth_c.js → EntitySummarySection-DPmL3Bnf-CHA6TrKp.js} +5 -5
- package/dist/assets/{ExpenseAutomationOverviewPage-DCbcWM84-DHrtqP9f.js → ExpenseAutomationOverviewPage-CDaO_5Vj-gZyomnai.js} +12 -12
- package/dist/assets/{ExpenseAutomationPage-DbFQ6EeA-C0i_UBmZ.js → ExpenseAutomationPage-DUenmMQD-Yh_8CeIf.js} +59 -59
- package/dist/assets/{ExpressPayPage-DMLKT4Nf-6YIrNvk0.js → ExpressPayPage-DxO1mXNE-DeRja-sm.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-DFsZRRmZ-KGYTIegX.js → FeaturePreviewPage-BWPNZcYs-CdJLxzVS.js} +1 -1
- package/dist/assets/{FollowStepsSection-DkBj9-hs-mJdSbXed.js → FollowStepsSection-DhVGeocZ-Ddk_z58q.js} +6 -6
- package/dist/assets/{GlobalReviewListPage-D1fbfssG-CByDE9EN.js → GlobalReviewListPage-8eiQXg7N-pPWYTyKl.js} +5 -5
- package/dist/assets/{InformationCardStack-CBsOTiOc-CgAe3fDD.js → InformationCardStack-CHVjIv01-Y1Eih__r.js} +2 -2
- package/dist/assets/{InsightsCardStack-BEpCIgoE-Bd7MJjyH.js → InsightsCardStack-x_tohY2Z-DNptH2Sv.js} +2 -2
- package/dist/assets/{InsightsSection-DcKb1p5B-QoDxUPcZ.js → InsightsSection-D7g00fg7-Bl1k6KMG.js} +2 -2
- package/dist/assets/{IntegrationsSettingsPage-CMEV5P0b-3g_v4D8X.js → IntegrationsSettingsPage-DVRtPRi9-ig1iJJpM.js} +10 -10
- package/dist/assets/{InternationalWireSwiftDetailsPage-Bukfo0LC-DGIPKWPe.js → InternationalWireSwiftDetailsPage-DnWbUuiD-CIWMoecY.js} +11 -11
- package/dist/assets/{InternationalWireVerificationPage-nZvCemaM-DntrzxyD.js → InternationalWireVerificationPage-CHvUYgd8-B9TQJM22.js} +3 -3
- package/dist/assets/{InviteFormPage-BpgeFttq-BbrTw2ZL.js → InviteFormPage-Cw0TIkwc-D0dTmTLg.js} +25 -25
- package/dist/assets/{InvitePageListView-B6wJomGk-pTRfOIaC.js → InvitePageListView-B4gEzFp2-1aqNeIHc.js} +19 -19
- package/dist/assets/{InvitePeoplePage-BArRXjlz-BHQlwXvg.js → InvitePeoplePage-Bnsqv_IY-DhNBoZS8.js} +5 -5
- package/dist/assets/{InvoiceUploadSection-CTqSftrm-CyVrgEkl.js → InvoiceUploadSection-CW4hHmAi-DKFSw8te.js} +20 -20
- package/dist/assets/{IssueChargeCardPage-DYG5IXrC-D-2m3p9R.js → IssueChargeCardPage-sM826Uvu-DMhbp0aa.js} +21 -21
- package/dist/assets/{LabeledAddressValue-D09c5wJR-784mespz.js → LabeledAddressValue-AuzW29LK-99vdzqZR.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-Cac2YPpN-Ba7qdzlE.js → LabeledAddressValueField-C_KatgTA-ByiPbJgm.js} +1 -1
- package/dist/assets/LabeledControlledCheckBoxField-CEd7DSmU-mOU-S2fp.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-DdqOGBwp-DSHkYk9h.js → LabeledCountryMultiSelectField-CffMX6f1-C44H-4q3.js} +12 -12
- package/dist/assets/{LabeledCreatableSingleSelectField-K0xUavli-THytCXMe.js → LabeledCreatableSingleSelectField-CoS6DIi_-DTDCa09f.js} +2 -2
- package/dist/assets/LabeledDocumentField-CVBhbPHv-9665D02s.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-Dms9ziRv-CJQkVxrk.js → LabeledDropDownFormattedTextField-CNru68eT-GPSUv36b.js} +5 -5
- package/dist/assets/{LabeledMultiSelectField-X5GGPnfG-0qUfOlj0.js → LabeledMultiSelectField-CTqXa2Rh-Cxu9DNT8.js} +1 -1
- package/dist/assets/{LabeledText-BJrI_PVT-oE-g3K8U.js → LabeledText-Da0Yn6u8-CFgd90E4.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BmMN3W3F-BzPJ9P_-.js → LabeledUserSingleSelectWithSubtitlesField-CE332GjA-BafYQ_Pm.js} +9 -9
- package/dist/assets/{LabeledZeniRolesDropDownField-PsaKyCCY-EbSrXIJy.js → LabeledZeniRolesDropDownField-DU4-ho4X-DQBIg45w.js} +7 -7
- package/dist/assets/{LinkJETransactionPage-BDIpw0zn-B_cGLw9N.js → LinkJETransactionPage-Dx4OE1-O-HLvvvZHd.js} +9 -9
- package/dist/assets/{LockCardPage-ChGk6VJX-BzQI96FY.js → LockCardPage-B3P6wcK_-Ckpg2eew.js} +23 -23
- package/dist/assets/{LowBalancePopup-Bv3kKmAV-DSB2Ymlf.js → LowBalancePopup-Dp1vEYQQ-DIw_NRSy.js} +5 -5
- package/dist/assets/MagicLinkACHDetailsPage-BeRQFYX3-CrMUHXPB.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-C1DDZC2_-CWTR8m-D.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DyDp04Vn-UtoyLAup.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-ySlQc8oV-BspPWH9Z.js → MagicLinkSuccessPage-Iva17nX0-DhK2jGAZ.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-C_OYT1do-NbVFRCAZ.js → MagicLinkTitleSection-B726bP_P-CoT1ZO_f.js} +1 -1
- package/dist/assets/MailingDetailsSection-IQJY4Yl0-C_b76P8R.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-CxaXh1Aj-CwKK_h51.js → MyBankConnectionsSettingsPage-Ad6xGN08-JjXBlik9.js} +6 -6
- package/dist/assets/{MyPendingActivationChargeCardListPage-B9mNbLDd-Db1Atl2l.js → MyPendingActivationChargeCardListPage-BYZ61huS-YKZjMs5X.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-DDERIXlZ-CjalvgMv.js → MyProfileSettingsPage-bEru4GQJ-Cj303JTH.js} +6 -6
- package/dist/assets/{NavBarWithPicker-BJ_8PHPv-B6R9nMuM.js → NavBarWithPicker-BAKrtv3g-BXBcsUFZ.js} +4 -4
- package/dist/assets/{NavigationArrow-9HOMBxoh-CWFuMeOE.js → NavigationArrow-CKvBs9-h-DGD1r2EE.js} +1 -1
- package/dist/assets/{NavigationDots-DPf5iy8f-DNlf5jCf.js → NavigationDots-BdcVrwsL-D_WEvn6f.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-1MfUlwkA-Dx3DZ-ZO.js → NewGlobalMerchantPage-Cx38uQAS-BBICE4OG.js} +7 -7
- package/dist/assets/{NoDataChart-CDHiYyiO-DHWgty-U.js → NoDataChart-BbyxZE2g-CtN5BYbf.js} +2 -2
- package/dist/assets/{NoDataTable-BoAJZxdS-ClNYPP1-.js → NoDataTable-BNZWGvtm-S9Fe9Ovx.js} +1 -1
- package/dist/assets/{NotFoundPage-C-EoeDss-DqOvJ6YN.js → NotFoundPage-CssnEz-k-ccXdF3op.js} +7 -7
- package/dist/assets/{NotificationSettingsPage-BfFNx-vu-Byo7BJZr.js → NotificationSettingsPage-DmgxnO9I-BH2rOJH7.js} +15 -15
- package/dist/assets/{NotificationsListConfig-CBQwRqMo-DVBdjTys.js → NotificationsListConfig-DdMKLqFI-DwvXMwFg.js} +1 -1
- package/dist/assets/{NotificationsPage-BPfRskWZ-_QOFXGgt.js → NotificationsPage-B9XIE39J-CejudHUF.js} +12 -12
- package/dist/assets/{OpExByVendorPage-BLI8h8LP-PGQ9bnDo.js → OpExByVendorPage-5wnFvYXt-D6A9jnRY.js} +4 -4
- package/dist/assets/{OverlayContainerPage-IDTUbuAC-B16J5Isr.js → OverlayContainerPage-IDTUbuAC-dv-sDcTQ.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DvT1WQdL-CPylI6Uc.js → PandLWithForecastPage-CrtKdSaD-CYng6puq.js} +7 -7
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CyfKYJV3-CnunCi1o.js → PaymentAccountSetupBillingAddressSection-CQki5l4P-CuMomXeK.js} +9 -9
- package/dist/assets/{PeoplePage-BHfn-oLF-CGOapKvG.js → PeoplePage-BCjxJl1y-JBCpiTMQ.js} +10 -10
- package/dist/assets/{Preview-B9tjpKKL.js → Preview-DMKZka6j.js} +1 -1
- package/dist/assets/{ProductsCarousel-ChWN6HhX-DEhcI5NW.js → ProductsCarousel-BYvlY6Jl-BJ6Pqq3q.js} +1 -1
- package/dist/assets/{PromoBaseCards-BWpqciJW-DEw7mp3r.js → PromoBaseCards-6vRaZnUg-CBqkAept.js} +12 -12
- package/dist/assets/{QBOConnectionDialog-D9wVm2ga-jv2cIUQM.js → QBOConnectionDialog-C-v9bhUW-CtiRv4Zj.js} +2 -2
- package/dist/assets/{QBOSetupSection-CR7JQ_H9-CokKwnfI.js → QBOSetupSection-DPhwp1AB-DxJDpMHr.js} +11 -11
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-RTvnT_vl-D0AOYl_B.js → ReimbursementApprovalRuleDetailPage-Crz8RArL-DQzyot-2.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-Dbs4lLSo-5JjLiWWQ.js → ReimbursementApprovalRulesPage-CHrPVveg-DDlyKkun.js} +13 -13
- package/dist/assets/{ReimbursementDetailPage-COF-QqKR-BLj9_Zcn.js → ReimbursementDetailPage-BlfifQuc-DXXQTfQu.js} +8 -8
- package/dist/assets/{ReimbursementPromoPage-DSHynwPv-CMfUTDoh.js → ReimbursementPromoPage-B6rhhOye-CmIRL-Wr.js} +12 -12
- package/dist/assets/{ReimbursementSetUpPage-CafAtAVr-BdH5_Uu6.js → ReimbursementSetUpPage-BQwRjKZ5-CWVOKlly.js} +7 -7
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Cz8keUEO-C42JglzT.js → ReimbursementsBulkReviewDrawerPage-BTaFn0Mh-DXx1vhRK.js} +1 -1
- package/dist/assets/{ReloadCard-Bf1jxC4B-CjPHohhm.js → ReloadCard-DETUOoLJ-Dww2RtAQ.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-DOQm7O9r-DcS436ql.js → ReportTableViewSelector-DSDclygb-CPmwPKtZ.js} +29 -29
- package/dist/assets/{ReportsPage-Deg59aYB-VaMTaqOC.js → ReportsPage-BrmMmYET-qm3o80ge.js} +4 -4
- package/dist/assets/{RevenueChart-C1RR_51e-Bn1LRvSc.js → RevenueChart-B711QWTX-ztc9NA65.js} +17 -17
- package/dist/assets/{ReviewDetailsPage-D3bqGZYb-DmpMCAqo.js → ReviewDetailsPage-Bkw0FfE--BL2mmyys.js} +52 -52
- package/dist/assets/{ReviewOverlay-CKB9LulM-CUNk2W-s.js → ReviewOverlay-CkB3Z8hH-CX5FMXRQ.js} +11 -11
- package/dist/assets/{RoleWithToolTip-BGlbeXtJ-BQ5iinOT.js → RoleWithToolTip-CkpqxMzB-CgYpd1vG.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-D4OkyPNa-6prKuM88.js → ScheduleDetailsFixedAssetsPage-C-4zVu03-B-3H4CNH.js} +9 -9
- package/dist/assets/{ScheduleDetailsPage-9oUScaFD-Czq02-r0.js → ScheduleDetailsPage-D4mYRUnv-CIK0kUkx.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-CuOC0Niz-BzAvMkBB.js → ScheduleSequenceTable-q-031a_C-Cl6g3k1V.js} +8 -8
- package/dist/assets/{ScreenRoutes-DhG0rKVC.js → ScreenRoutes-D9-sd0S3.js} +1 -1
- package/dist/assets/{SetUpAccountSection-CK2Ibij3-DvyPJ8FZ.js → SetUpAccountSection-Mm8JelXc-DJkSxyLc.js} +6 -6
- package/dist/assets/{SignIn-CLLS0cqt-G1jKv-f1.js → SignIn-faWXqi7o-BVPJ-uzq.js} +16 -16
- package/dist/assets/{SignInScreen-BdhVUUiU.js → SignInScreen-DTTr8TvQ.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-C1hg05PB-BMXGChah.js → SpendManagementListViewPage-BLWEPKWO-zjDi64vH.js} +6 -6
- package/dist/assets/{SpendManagementPerTabPage-7uggjzlM-BBdEOhcD.js → SpendManagementPerTabPage-vZNK6DuA-DHQi0ok2.js} +23 -23
- package/dist/assets/{SpendManagementSection-DFiL_yNI-ca-vlRub.js → SpendManagementSection-CeDmloNd-CJQVf2yR.js} +1 -1
- package/dist/assets/StatementItem-CJShifEl-gXZiawe9.js +31 -0
- package/dist/assets/StatementsPage-BRxP-Jwn-CibgKP9E.js +58 -0
- package/dist/assets/{StatusSwitcher-DPzwQ_o1-DkaIBc47.js → StatusSwitcher-CPuONMOx-IUewbXcR.js} +1 -1
- package/dist/assets/{SubTabSwitcher-Dztt2rN9-DqHo5u0Z.js → SubTabSwitcher-ibTbIxr5-87SzITqK.js} +1 -1
- package/dist/assets/SummaryCard-vWpHXMPE-j4-YbXA_.js +1 -0
- package/dist/assets/{TaskManagementPage-BRAt26fv-om-zuIgh.js → TaskManagementPage-COs5ebo9-LStJ5YyB.js} +22 -22
- package/dist/assets/{TimeRangeSwitcher-DMCbeOcI-C4mgjK4U.js → TimeRangeSwitcher-fD5vvYGO-Cg6AHBEd.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-YCgPbEnk-CJUz-kg1.js → TimeframeSwitcher-BYXKRKtc-BTNUudrw.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-BBJP1nmh-D1jTbV4O.js → TimeframeSwitcherWithToggle-f92qNjEk-CshyNxhp.js} +2 -2
- package/dist/assets/{TopExCard-LesAF7Ot-CWhGtv9n.js → TopExCard-Bs4nI9Q9-C9Jpq9jc.js} +10 -10
- package/dist/assets/{TopExDetailPage-BTG2W95T-CAgJv3QR.js → TopExDetailPage-B0kS11k0-IiO7dIt-.js} +8 -8
- package/dist/assets/{TransactionDetailPage-BqHVfK2K-CBoMen48.js → TransactionDetailPage-BXl6y7sy-B_wNV2dF.js} +1 -1
- package/dist/assets/{TransactionList-CGmpQyNM-BGohJsUE.js → TransactionList-BYXPQXN1-C2WkgSOj.js} +11 -11
- package/dist/assets/{TransactionListBig-CSYpIxGa-Bd2xJZzC.js → TransactionListBig-lrbHUS38-D0fzERPt.js} +16 -16
- package/dist/assets/{TransactionListPage-CV5U_pA6-DsUhS_R3.js → TransactionListPage-OOLJzsmw-Dmoozb9S.js} +2 -2
- package/dist/assets/{TransactionVendorDetailPage-DvqHmq7y-C8mjIShR.js → TransactionVendorDetailPage-CmjrngD2-DvxXX996.js} +4 -4
- package/dist/assets/{TransferDrawerPage-Cm5reG35-B5qd6-NU.js → TransferDrawerPage-CnFrzA_M-C6390hZV.js} +15 -15
- package/dist/assets/{TreasuryOverviewPage-CwcehiRb-BBfaI9Ls.js → TreasuryOverviewPage-CGxccIcU-CgXb0qH5.js} +25 -25
- package/dist/assets/{TreasuryPromoPage-BagqhZgO-BswlnynL.js → TreasuryPromoPage-BmMVa8cX-BOYWbSX7.js} +8 -8
- package/dist/assets/{TreasuryStatementsPage-o-ID2nvn-DTg8AAgQ.js → TreasuryStatementsPage-DL94A9mN-DZ6yoZ74.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-D9f3ohGF-DEP20r26.js → TreasuryTaxLetterPage-BJ9-ZsCQ-DnDmd1Op.js} +2 -2
- package/dist/assets/{TrendChart-CqxpheW7-DiPHNgeC.js → TrendChart-ClyJQTBF-TLthRW_O.js} +1 -1
- package/dist/assets/{TrendWithTransactions-CK_je__x-C1Qk91i9.js → TrendWithTransactions-D4m4sVkf-DJ-5Yugx.js} +4 -4
- package/dist/assets/{UncategorizedAccountsMappingPage-BBYQFJxE-nEmuJTEW.js → UncategorizedAccountsMappingPage-BLwx8CVj-dhOY5qHO.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-ULhazfl5-DPlYAGvC.js → UnitIntegrationPage-CgbOyIBt-nz_B7FQx.js} +10 -10
- package/dist/assets/{UploadAdditionalDocumentOverlay-BPNLdaLG-DQNAWd7N.js → UploadAdditionalDocumentOverlay-CmVwCxA2-BL_6rNZZ.js} +1 -1
- package/dist/assets/Vendor2FAPopup-DQtP0bm--CecMTi1i.js +1 -0
- package/dist/assets/VendorACHDetailsPage-CuCteqbL-CrfAmoz7.js +1 -0
- package/dist/assets/{VendorDetailPage-DPiVnh93-CAOlBr9d.js → VendorDetailPage-CFkDOdUe-B1GqtBiD.js} +93 -93
- package/dist/assets/VendorDomesticWireDetailsPage-Cr1fyB0u-N7obKAAe.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-CFrvW8qi-C-v6Mx4-.js → VendorFiling1099EditablePage-Bkn9p2Sf-xXTYWhq9.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-CRLGuw2s-wfeT2fAg.js → VendorFirstReviewPage-CKvnB4Q7-wJi46XXQ.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-CV11lzdw-BWhlaMax.js → VendorInternationalWireDetailsPage--B2XU_hP-CbzsnIo2.js} +8 -8
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CJFB7SEO-BecYrM5_.js +1 -0
- package/dist/assets/{VendorsAccountsSection-vd0V4UXY-BNPavepY.js → VendorsAccountsSection-DJP1yZx7-OlnsbsSP.js} +3 -3
- package/dist/assets/{VerifyDevice-DbyjJVTH-_0YHPiw6.js → VerifyDevice-dFsnt44d-C1LsKxM_.js} +3 -3
- package/dist/assets/{VideoPlayer-CoI7aj8a-B3tmTxCF.js → VideoPlayer-Dy6rImBJ-QOYygi-i.js} +2 -2
- package/dist/assets/{VideoPopup-Bp7fCV1r-BulLqsQx.js → VideoPopup-DM5Buf4j-CFLugl6n.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-jMslD0FX-CrUmOPLP.js → WarningsDrawerPage-C8i8v3rq-BqkJBNMa.js} +5 -5
- package/dist/assets/{ZeniAccountDetailPage-C1Vq8cMd-BzjwyTwn.js → ZeniAccountDetailPage-CI7znfzM-Vqgai5nW.js} +12 -12
- package/dist/assets/{ZeniAccountListViewPage-BNTb04x5-DcvhdCN4.js → ZeniAccountListViewPage-CBnYQpc8-Dv81IpSI.js} +7 -7
- package/dist/assets/{ZeniAccountNavBarPieces-ByYrxg3x-w6kmpmKh.js → ZeniAccountNavBarPieces-sMjtAlej-CO7nbf-u.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-BCkk0NbR-juw5u7mQ.js → ZeniAccountPromoPage-B_NJMHHV-DWsuBCOP.js} +13 -13
- package/dist/assets/{ZeniAccountSetupPage-ClZTjZhF-C_sOqJTM.js → ZeniAccountSetupPage-C9cJ0F8e-BF5g947U.js} +1 -1
- package/dist/assets/{ZeniCopyright-C8wXM9Gr-qMGnv8al.js → ZeniCopyright-DzWFQiAt-07AcK5yb.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-NAR_1h8K-DARDrTsk.js → ZeniTransferAmountSlider-B424bcSV-CHepSJQx.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-flwj0i1s.js → add-to-wallet-DgdBD8_G-pWZi41H8.js} +1 -1
- package/dist/assets/{analytics-EizVTK6x.js → analytics-BvXI56dE.js} +1 -1
- package/dist/assets/{analyticsHelper-DjynPp_X-s29on7ka.js → analyticsHelper-CzevEN9D-BUYGstD0.js} +1 -1
- package/dist/assets/{analyticsHelper-BRPQgKH6.js → analyticsHelper-DP-LgJhR.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-DbFUNUBk.js → arrow-south-east-round-PEovUgvH-B9_UwdI_.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-T83isyAA.js → auto-transfer-rule-mbafm5D3-CRwly3T1.js} +1 -1
- package/dist/assets/{chartTypes-CXNoxZp_-CJ_wyUtd.js → chartTypes-n3TS0IBf-DRx7aLxA.js} +1 -1
- package/dist/assets/{commonDimensions-i9Qxk1O2-XYIUogON.js → commonDimensions-6BcP8EhU-CPpjZ-C4.js} +1 -1
- package/dist/assets/{commonTypes-CcEHeA3z-sEqnsPbS.js → commonTypes-Q1WP-Ym3-Cmq2uCPt.js} +1 -1
- package/dist/assets/{constants-BGXrwDfx.js → constants-B97TsRRb.js} +1 -1
- package/dist/assets/{core-C5wq1_Bk.js → core-CIefpDlV.js} +1 -1
- package/dist/assets/{dash.all.min-B4_top4V.js → dash.all.min-RUznf6Xj.js} +1 -1
- package/dist/assets/{detailCommon-DVTOw71--Wk0Evzej.js → detailCommon-D3YbmSu3-CiTGsaNF.js} +7 -7
- package/dist/assets/{downloadPdf-1-N8Pf0G-CMW67koi.js → downloadPdf-Bf11NXjY-DUwuSlsF.js} +1 -1
- package/dist/assets/{empty-fb3xJ2Vb.js → empty-BQQX0XD1.js} +1 -1
- package/dist/assets/{empty-DuP8pCf7.js → empty-DJIJO66a.js} +1 -1
- package/dist/assets/{epic-4LjfR2JF.js → epic-C6ygjjdM.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-BtixTK1k.js → gift-box-Cmt9OgIZ-BWCTqneo.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt--UnjJCr0.js → graphic-no-data-l-DU4J8fDt-C8GXOUxr.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-8oQBXM_J.js → graphic-no-data-net-burn-l-CzmycA0m-BQAFQuCs.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-BSCdA5zo.js → handshake-BPg58FML-BCnezDN8.js} +1 -1
- package/dist/assets/{index-tW1FBxGF.js → index-BzA0Xv0P.js} +1 -1
- package/dist/assets/{index-Ko3PkHk3.js → index-CQs92n2L.js} +1 -1
- package/dist/assets/{index-CzJUh-iK.js → index-DAj0zPwk.js} +1 -1
- package/dist/assets/{index-J8KI2Uyc.js → index-DtRGsySN.js} +1 -1
- package/dist/assets/{index-DVgY55Ab.js → index-WEj6FS32.js} +10 -8
- package/dist/assets/{index-_TIifI_v.js → index-rikpsdq-.js} +1 -1
- package/dist/assets/{index-DqRCO-H6.js → index-smQbM7l5.js} +1 -1
- package/dist/assets/{lexical-xuKHFvUb.js → lexical-Dp1JhPKz.js} +1 -1
- package/dist/assets/{liveblocks-B14TpO3l.js → liveblocks-CrODURpx.js} +1 -1
- package/dist/assets/{lottie-BIQaRIZs.js → lottie-hIwSKdQS.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-UA-QQZJo-DsDuha6V.js → mapLoadingInProgressToTreeNode-BArKDqgr-Ce9uxfyP.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode--y3nO5uZ-DP42yTzT.js → mapSectionWithAcOnlyToTreeNode-BCmFQbuz-BJl1ilV_.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-DdwRxjlP-Bw1NwZTY.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CR-gDA51-Dr9tcN9g.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-ClmNRrTo-Covijrhn.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-aD-96xtj-BAIV3Qln.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DT4LUXl9-COTrRRrU.js} +1 -1
- package/dist/assets/{mui-CR-wYMmN.js → mui-BTtN6lbG.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-Dp0GDjdb.js → page-detail-CWX5S47F-vL4oE1Hd.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-CInIhD3e.js → radio-default-CiSgisfh-CzTG_UVX.js} +1 -1
- package/dist/assets/{react-D2cRiLcJ.js → react-BZDhaeWn.js} +1 -1
- package/dist/assets/{react-C8urvt-z.js → react-CZT8R2xg.js} +1 -1
- package/dist/assets/{react-D_2r5dmn.js → react-D8h_J9ua.js} +1 -1
- package/dist/assets/{react-BW87X3sj.js → react-DTawl0rf.js} +1 -1
- package/dist/assets/{react-DHV7aTmN.js → react-FdUpWGdd.js} +2 -2
- package/dist/assets/{react-CCZeJYV_.js → react-RUf-G1wy.js} +1 -1
- package/dist/assets/{react-BHi_eEiU.js → react-dGc0O2tO.js} +1 -1
- package/dist/assets/{react-CcqTmi2W.js → react-yNxKnTJa.js} +1 -1
- package/dist/assets/{recharts-C3mrSjO2.js → recharts-BfU_srYC.js} +1 -1
- package/dist/assets/{sentry-DMXY90dB.js → sentry-B0WgNUxa.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-BYs2EC5i.js → shield-DOlUxcFf-Z1Xg2OMK.js} +1 -1
- package/dist/assets/toCOABalancesWithID-BzzH0Io4-q6KiTxht.js +1 -0
- package/dist/assets/{toChartData-Dv-QcYgv-C4sd-ifC.js → toChartData-Bl-lEYbQ-Cv_10vbn.js} +1 -1
- package/dist/assets/{uploadAttachment-DSmux1Yp-Dl4ms4pR.js → uploadAttachment-B_0cN84g-C7pQHANb.js} +8 -8
- package/dist/assets/{uploadReceipts-DJRtId-4-CHJq-raT.js → uploadReceipts-DJRtId-4-B1jpX457.js} +1 -1
- package/dist/assets/{url-20Ls3nS_.js → url-CHEcUoer.js} +1 -1
- package/dist/assets/{url-DojBAuFA.js → url-D-l_68oE.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-C5_U_XBl.js → useLongPress-GCK2COYQ-BysG3lqG.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-l2et8N9o.js → usp-line-BBd1wKwW-ZROsAmzr.js} +1 -1
- package/dist/assets/{utils-BCuN6woZ.js → utils-DZQMbqmw.js} +1 -1
- package/dist/assets/{zeni-epic-state-BXMuLX_S.js → zeni-epic-state-DnAAAEmj.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-CyJ0eFqc-oDTaIYye.js +0 -18
- package/dist/assets/AddAddressForCardDrawer-D1XOklKz-D41jak46.js +0 -6
- package/dist/assets/CardNumberSubText-sE2DGwYG-B174guLL.js +0 -21
- package/dist/assets/ChargeCardPromoPage-D0np03A--Bpq9wCjH.js +0 -222
- package/dist/assets/ConfettiBurst-BRie0bid-CKCgsLzT.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-DrNstqxI-DBMIRSp3.js +0 -1
- package/dist/assets/EntityDetailPage-Cpdbw3XR-C8k1xBJc.js +0 -18
- package/dist/assets/LabeledControlledCheckBoxField--EmdYCME-BUoRkObt.js +0 -16
- package/dist/assets/LabeledDocumentField--JZn0qDn-Ck_rkdmF.js +0 -41
- package/dist/assets/MagicLinkACHDetailsPage-D4Vmz8ms-ItRZ63_N.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-B7C30ROh-C843OBvj.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DVFrpmvm-COXfeIQs.js +0 -1
- package/dist/assets/MailingDetailsSection-CTPCXpZR-Dv3Iye8Q.js +0 -21
- package/dist/assets/StatementItem-CdytKcBE-CavJc8fo.js +0 -31
- package/dist/assets/StatementsPage-DU32IYXF-Dj_pMhMm.js +0 -58
- package/dist/assets/SummaryCard-D3ev0zFr-CHfcyxTY.js +0 -1
- package/dist/assets/Vendor2FAPopup-C3Z-3poJ-Cxx265s1.js +0 -1
- package/dist/assets/VendorACHDetailsPage-DnB2b-v_-C755XLlO.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-BbfatdWd-DhsLa-3A.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-D3asjWH_-BXIinpkC.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-BOG_274U-C0W1M9EX.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Btd_0ZvL-CEgQnhXV.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-LWHXAvJU-B42MwYQ_.js +0 -1
- package/dist/assets/toCOABalancesWithID-C_7wlYeT-C3P4q5bp.js +0 -1
package/dist/assets/{TransactionList-CGmpQyNM-BGohJsUE.js → TransactionList-BYXPQXN1-C2WkgSOj.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{cc as ct,
|
|
1
|
+
import{cc as ct,J as R,V as e,b3 as mt,aP as x,de as ft,df as xt,d9 as ut,dg as ht,o,p as A,cs as pt,F as y,y as J,T as gt,al as v,u as g,ai as bt,dh as K,d0 as X,aN as G,am as wt}from"./index-WEj6FS32.js";import{a as p,P as $t}from"./sentry-B0WgNUxa.js";import{n}from"./mui-BTtN6lbG.js";import{F4 as Q,F5 as V,F6 as U,F7 as L,bh as yt,Fj as tt,bE as et}from"./zeni-epic-state-DnAAAEmj.js";import{g as it}from"./BoxItem-Cr0Y9YBV-C2AawtqJ.js";import{o as B}from"./commonDimensions-6BcP8EhU-CPpjZ-C4.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]="25522d2a-1a59-4da1-9da0-a3c989f03011",t._sentryDebugIdIdentifier="sentry-dbid-25522d2a-1a59-4da1-9da0-a3c989f03011")}catch{}})();const S=t=>t?24:125,vt={containerPaddingBottom:new J(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{cc as ct,Q as R,V as e,b3 as mt,aP as x,de as ft,df as xt,d9 as ut,dg as
|
|
|
15
15
|
`,jt=n(v)`
|
|
16
16
|
display: flex;
|
|
17
17
|
cursor: pointer;
|
|
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=
|
|
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:U(a.startDate.startOf("month"),t,r.numberOfPeriods,r.timeframe),endDate:a.startDate.subtract(1,"day")};else{const b=U(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 F=R();return d===!0?e.jsx(q,{windowSize:F,isLoadNextItem:i,children:e.jsx(gt,{size:"Small",start:!0})}):e.jsx(q,{windowSize:F,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;
|
|
@@ -54,7 +54,7 @@ import{cc as ct,Q as R,V as e,b3 as mt,aP as x,de as ft,df as xt,d9 as ut,dg as
|
|
|
54
54
|
width: ${t=>B.amountWidth.valuePx(t.windowSize)};
|
|
55
55
|
`,Pt=n.div`
|
|
56
56
|
display: flex;
|
|
57
|
-
`;function Dt({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(
|
|
57
|
+
`;function Dt({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(K,{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(X,{name:d,size:o.sp4})})}),e.jsxs(Lt,{children:[e.jsx(Ft,{children:d}),a!=null?e.jsx(kt,{className:"tag",children:a}):null]}),e.jsx(Mt,{children:G("0,0.00",r)})]})}function St({data:t,boxType:i,onItemClick:d}){const a=tt(t.type)==null,r=e.jsx(Dt,{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{cc as ct,Q as R,V as e,b3 as mt,aP as x,de as ft,df as xt,d9 as ut,dg as
|
|
|
80
80
|
width: ${t=>B.amountWidth.valuePx(t.windowSize)};
|
|
81
81
|
`,Ct=n.div`
|
|
82
82
|
display: flex;
|
|
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(
|
|
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(K,{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(Ct,{children:e.jsx(X,{name:d,size:o.sp4})})}),e.jsx(Tt,{children:e.jsx(zt,{children:d})}),e.jsx(Nt,{children:G("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(St,{...t})}const Bt=n.div`
|
|
84
84
|
display: flex;
|
|
85
85
|
flex: 1 1 auto;
|
|
86
86
|
flex-direction: column;
|
|
@@ -97,22 +97,22 @@ import{cc as ct,Q as R,V as e,b3 as mt,aP as x,de as ft,df as xt,d9 as ut,dg as
|
|
|
97
97
|
display: flex;
|
|
98
98
|
flex-direction: column;
|
|
99
99
|
width: 100%;
|
|
100
|
-
`,
|
|
100
|
+
`,At=(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(_t,{"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:At(m,i),onItemClick:f=>{d?.(f)},"data-testid":x("transaction-item",r.id)},r.id))})]})}const Ut=$t.memo(Vt),{dateFormat:qt}=y.getLocalizedStrings();function Wt(t){const i=ft(t,a=>a.date.format(qt.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 J(g[3],g[8])},Jt=n.div`
|
|
101
101
|
display: flex;
|
|
102
102
|
flex: 1 1 auto;
|
|
103
103
|
width: 99.9%;
|
|
104
104
|
`,D=n.div`
|
|
105
105
|
margin: ${t=>`${o.sp0} ${Zt.listItemMargin.valuePx(t.windowSize)}`};
|
|
106
|
-
`,
|
|
106
|
+
`,Kt=n.div`
|
|
107
107
|
min-height: ${o.sp8};
|
|
108
|
-
`,
|
|
108
|
+
`,Xt=n.div`
|
|
109
109
|
display: flex;
|
|
110
110
|
height: 100%;
|
|
111
111
|
flex: 1 1 auto;
|
|
112
112
|
flex-direction: row;
|
|
113
113
|
justify-content: center;
|
|
114
114
|
align-items: flex-end;
|
|
115
|
-
`,
|
|
115
|
+
`,Gt=n(v)`
|
|
116
116
|
display: flex;
|
|
117
117
|
color: ${t=>t.theme.colors.grey2};
|
|
118
118
|
`,te=n(pt)`
|
|
@@ -124,8 +124,8 @@ import{cc as ct,Q as R,V as e,b3 as mt,aP as x,de as ft,df as xt,d9 as ut,dg 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 ${A.scrollbarBoxShadow};
|
|
128
|
+
-webkit-box-shadow: inset 0 0 2px ${A.scrollbarBoxShadow};
|
|
129
129
|
background-color: transparent;
|
|
130
130
|
}
|
|
131
131
|
&::-webkit-scrollbar-thumb {
|
|
@@ -144,4 +144,4 @@ import{cc as ct,Q as R,V as e,b3 as mt,aP as x,de as ft,df as xt,d9 as ut,dg as
|
|
|
144
144
|
border-radius: 2px;
|
|
145
145
|
}
|
|
146
146
|
}
|
|
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:F=!0,onTransactionListScroll:b,onListInnerElementHeightChanged:j},k){const M=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:F&&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=M.length===0,H=s!=null,N=l!=null,C=M.length+(l!=null?1:0)+(s!=null?1:0)+(z===!0?1:0),_=c=>N===!0?c-1:c,P=R(),dt=({index:c,style:w})=>{if(N===!0&&c===0)return e.jsx("div",{style:{...w},children:e.jsx(D,{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===C-1)return e.jsx("div",{style:{...w},children:e.jsx(D,{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=M[_(c)];return e.jsx("div",{style:{...w},children:e.jsxs(D,{windowSize:P,children:[e.jsx(Ut,{date:h.date,transactions:h.transactions,onItemClick:u}),s==null?e.jsx(
|
|
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:F=!0,onTransactionListScroll:b,onListInnerElementHeightChanged:j},k){const M=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:F&&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=M.length===0,H=s!=null,N=l!=null,C=M.length+(l!=null?1:0)+(s!=null?1:0)+(z===!0?1:0),_=c=>N===!0?c-1:c,P=R(),dt=({index:c,style:w})=>{if(N===!0&&c===0)return e.jsx("div",{style:{...w},children:e.jsx(D,{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===C-1)return e.jsx("div",{style:{...w},children:e.jsx(D,{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=M[_(c)];return e.jsx("div",{style:{...w},children:e.jsxs(D,{windowSize:P,children:[e.jsx(Ut,{date:h.date,transactions:h.transactions,onItemClick:u}),s==null?e.jsx(Kt,{}):null]})})}else return e.jsx("div",{style:{...w},children:e.jsx(Xt,{children:e.jsx(D,{windowSize:P,"data-testid":x("transaction-list","transactions-list-empty"),children:e.jsx(Gt,{children:ee(d,l?.isLoading==!0||s?.isLoading==!0)})})})})},lt=c=>N===!0&&c===0?S(!0):H===!0&&c===C-1?S(!1):z===!1?Qt(M[_(c)].transactions.length):S(!1);return e.jsx(Jt,{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:C,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,11 +1,11 @@
|
|
|
1
|
-
import{y as a,
|
|
1
|
+
import{y as a,J as R,aw as W,aE as ie,aY as ne,V as t,b3 as re,aP as w,u as n,b as ae,p as B,o,a as j,d as Q,F as $,bq as se,br as le,ai as de,aq as ce,aN as me,bs as pe,ao as he,T as ue,G as Z,bt as X,r as G,aT as ee}from"./index-WEj6FS32.js";import{a as U,P as z}from"./sentry-B0WgNUxa.js";import{n as i,c as ge}from"./mui-BTtN6lbG.js";import{EM as xe,bg as we,bC as N}from"./zeni-epic-state-DnAAAEmj.js";import{G as $e,c as be}from"./AccountsPromoCardStack-BLcpWU3T-CV6K5Y9x.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";import"./SummaryCard-vWpHXMPE-j4-YbXA_.js";import"./ReloadCard-DETUOoLJ-Dww2RtAQ.js";import"./NavigationArrow-CKvBs9-h-DGD1r2EE.js";import"./NavigationDots-BdcVrwsL-D_WEvn6f.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]="55c14243-bade-48c0-b37d-f67d109b2eb6",e._sentryDebugIdIdentifier="sentry-dbid-55c14243-bade-48c0-b37d-f67d109b2eb6")}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`
|
|
5
5
|
color: ${B.important};
|
|
6
6
|
opacity: 1;
|
|
7
7
|
cursor: default;
|
|
8
|
-
`,
|
|
8
|
+
`,V=i.span`
|
|
9
9
|
top: -2px;
|
|
10
10
|
position: relative;
|
|
11
11
|
color: ${e=>e.theme.colors.grey1};
|
|
@@ -36,7 +36,7 @@ import{y as a,Q as R,aw as W,aE as ie,aY as ne,V as t,b3 as re,aP as w,u as n,b
|
|
|
36
36
|
border-radius: ${o.sp1};
|
|
37
37
|
width: 270px;
|
|
38
38
|
right: 5%;
|
|
39
|
-
`,
|
|
39
|
+
`,J=i.div`
|
|
40
40
|
padding: 10px 12px 12px ${o.sp0};
|
|
41
41
|
background: ${e=>e.checked?e.theme.colors.grey3:"transparent"};
|
|
42
42
|
& input {
|
|
@@ -81,7 +81,7 @@ import{y as a,Q as R,aw as W,aE as ie,aY as ne,V as t,b3 as re,aP as w,u as n,b
|
|
|
81
81
|
}
|
|
82
82
|
`,Pe=i(ee)`
|
|
83
83
|
text-align: center;
|
|
84
|
-
`,
|
|
84
|
+
`,q=i(ee)`
|
|
85
85
|
top: -2px;
|
|
86
86
|
position: relative;
|
|
87
87
|
cursor: pointer;
|
|
@@ -97,7 +97,7 @@ import{y as a,Q as R,aw as W,aE as ie,aY as ne,V as t,b3 as re,aP 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 Te({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),[M,T]=z.useState(!1),_=z.useRef(r),A=W();z.useEffect(()=>{_.current!==r&&T(!1)},[r]);const H=s=>{N(A.loggedInUserRole??[])&&(s.stopPropagation(),s.preventDefault(),f(!0),g.trackCardStatementCloseDate(
|
|
100
|
+
`;function Te({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),[M,T]=z.useState(!1),_=z.useRef(r),A=W();z.useEffect(()=>{_.current!==r&&T(!1)},[r]);const H=s=>{N(A.loggedInUserRole??[])&&(s.stopPropagation(),s.preventDefault(),f(!0),g.trackCardStatementCloseDate(Z.Event.cardStatementCloseDateClicked,e.accountId,e.accountName,"Card Balance",""))},L=s=>{const d=["th","st","nd","rd"],Y=s%100;return s+(d[(Y-20)%10]||d[Y]||d[0])};let k="";r!==void 0&&(r==="LAST_DAY_OF_THE_MONTH"?k=$.getLocalizedStrings().statementCloseDay.ordinalText.lastDate:k=`${$.getLocalizedStrings().statementCloseDay.ordinalText.prefix} ${L(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&&(T(!0),C?.(s,d)),f(!1),g.trackCardStatementCloseDate(Z.Event.cardStatementCloseDateSaved,e.accountId,e.accountName,"Card Balance",x!==void 0?`${x}`:"End")},te=()=>t.jsxs(q,{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(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")}),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(J,{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(q,{onClick:()=>v(),children:$.getLocalizedStrings().statementCloseDay.lastDate.text})]}),t.jsxs(De,{children:[t.jsx(G,{size:"small",variant:"secondary",label:"Cancel",onClick:()=>{f(!1)},style:{marginRight:o.sp3},"data-testid":w("statement-close-day-button-secondary")}),t.jsx(G,{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:[M?t.jsx(ue,{size:"Small",start:!0}):k?t.jsxs(fe,{"data-testid":w("edit-statement-close-day"),children:[t.jsx(Se,{}),t.jsx(V,{className:"statementCloseDayText",windowSize:O,children:k})]}):N(A.loggedInUserRole??[])&&c===!0?t.jsxs(ve,{"data-testid":w("add-statement-close-day"),children:[t.jsx(ze,{}),t.jsx(V,{className:"statementCloseDayText",windowSize:O,children:$.getLocalizedStrings().statementCloseDay.statement})]}):"",P?oe():""]})})}const Ae=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`
|
|
@@ -157,7 +157,7 @@ import{y as a,Q as R,aw as W,aE as ie,aY as ne,V as t,b3 as re,aP as w,u 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(Ee,{windowSize:p,children:[t.jsxs(Me,{windowSize:p,children:[t.jsx(_e,{windowSize:p,src:y,loading:"lazy"}),t.jsx(Le,{windowSize:p,children:f})]}),t.jsxs(Fe,{windowSize:p,children:[t.jsx(Ue,{children:me("0,0",r)}),g&&p!=="small"&&t.jsx(Te,{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])},E={textContainer:new j("largeMedium","h6Medium"),promoText:new j("extraSmallRegular","standardRegular"),promoHighlightText:new j("extraLargeRegular","h5Regular"),promoButtonText:new j("extraSmallMedium","smallRegular")},
|
|
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(Ee,{windowSize:p,children:[t.jsxs(Me,{windowSize:p,children:[t.jsx(_e,{windowSize:p,src:y,loading:"lazy"}),t.jsx(Le,{windowSize:p,children:f})]}),t.jsxs(Fe,{windowSize:p,children:[t.jsx(Ue,{children:me("0,0",r)}),g&&p!=="small"&&t.jsx(Te,{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])},E={textContainer:new j("largeMedium","h6Medium"),promoText:new j("extraSmallRegular","standardRegular"),promoHighlightText:new j("extraLargeRegular","h5Regular"),promoButtonText:new j("extraSmallMedium","smallRegular")},K=8,Oe=i.div`
|
|
161
161
|
display: flex;
|
|
162
162
|
flex: 1 1 auto;
|
|
163
163
|
flex-direction: column;
|
|
@@ -165,40 +165,40 @@ import{y as a,Q as R,aw as W,aE as ie,aY as ne,V as t,b3 as re,aP as w,u as n,b
|
|
|
165
165
|
width: 100%;
|
|
166
166
|
height: ${e=>l.sectionTitleHeight.value(e.windowSize)+e.listHeight}px;
|
|
167
167
|
max-width: ${e=>l.maxWidth.value(e.windowSize)}%;
|
|
168
|
-
`,
|
|
168
|
+
`,Ye=i.div`
|
|
169
169
|
margin: ${e=>`${l.marginTop.valuePx(e.windowSize)} ${o.sp0} ${l.marginBottom.valuePx(e.windowSize)} ${o.sp0}`};
|
|
170
170
|
|
|
171
171
|
width: 100%;
|
|
172
|
-
`,
|
|
172
|
+
`,Ze=i.div`
|
|
173
173
|
flex: 1 1 auto;
|
|
174
174
|
width: 99.9%;
|
|
175
|
-
`,
|
|
175
|
+
`,Ge=i.div`
|
|
176
176
|
display: flex;
|
|
177
177
|
flex-direction: column;
|
|
178
178
|
gap: ${o.sp2};
|
|
179
179
|
align-items: flex-start;
|
|
180
180
|
${e=>`${E.textContainer.style(e.windowSize)}`};
|
|
181
|
-
`,
|
|
181
|
+
`,Ve=i(de)`
|
|
182
182
|
display: -webkit-box;
|
|
183
183
|
-webkit-box-orient: vertical;
|
|
184
184
|
-webkit-line-clamp: 1;
|
|
185
185
|
overflow: hidden;
|
|
186
186
|
color: ${e=>e.theme.colors.hero};
|
|
187
187
|
text-align: left;
|
|
188
|
-
`,
|
|
188
|
+
`,Je=i(ce)`
|
|
189
189
|
display: flex;
|
|
190
190
|
color: ${e=>e.theme.colors.primary};
|
|
191
191
|
text-align: right;
|
|
192
|
-
`,
|
|
192
|
+
`,qe=i.div`
|
|
193
193
|
display: flex;
|
|
194
194
|
justify-content: center;
|
|
195
|
-
`,
|
|
195
|
+
`,Ke=i.div`
|
|
196
196
|
width: 100%;
|
|
197
197
|
`,Qe=i(le)`
|
|
198
198
|
scrollbar-width: thin;
|
|
199
199
|
scrollbar-color: transparent transparent;
|
|
200
200
|
&::-webkit-scrollbar {
|
|
201
|
-
width: ${
|
|
201
|
+
width: ${K}px;
|
|
202
202
|
height: ${o.sp0};
|
|
203
203
|
background-color: transparent;
|
|
204
204
|
}
|
|
@@ -214,7 +214,7 @@ import{y as a,Q as R,aw as W,aE as ie,aY as ne,V as t,b3 as re,aP as w,u as n,b
|
|
|
214
214
|
&:hover {
|
|
215
215
|
scrollbar-color: ${e=>e.theme.colors.grey1} transparent;
|
|
216
216
|
&::-webkit-scrollbar {
|
|
217
|
-
width: ${
|
|
217
|
+
width: ${K}px;
|
|
218
218
|
height: ${o.sp0};
|
|
219
219
|
background-color: transparent;
|
|
220
220
|
}
|
|
@@ -281,4 +281,4 @@ import{y as a,Q as R,aw as W,aE as ie,aY as ne,V as t,b3 as re,aP 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
|
-
`,at=({sectionTitle:e,totalFormatted:g})=>{const c=R();return t.jsx(
|
|
284
|
+
`,at=({sectionTitle:e,totalFormatted:g})=>{const c=R();return t.jsx(Ye,{windowSize:c,children:t.jsxs(Ge,{windowSize:c,children:[t.jsx(Ve,{children:e}),t.jsx(Je,{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(),M=ie(c,function(u,v){return u+(v.amount?.amount??0)},0),T=c.length>0?c[0].amount?.currencySymbol:"",_=ne("0,0",M,T),A=({index:u,style:v})=>t.jsx("div",{style:{...v},children:t.jsx(qe,{children:t.jsx(Ke,{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),L=()=>{const u=H.current;u!=null&&u.clientHeight>0&&u.clientHeight!=b&&x(u.clientHeight)},k=()=>{f?.(m?.depositAccountId??"")},I=xe(p.loggedInUserRoleMap);return t.jsxs(Oe,{windowSize:r,listHeight:b,"data-testid":w("transaction-list-big"),children:[t.jsx(at,{sectionTitle:e,totalFormatted:_}),t.jsx(Ze,{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:Ae.value(r)+l.itemPaddingBottom.value(r),onItemsRendered:L,itemKey:F=>c[F].key,innerRef:H,children:A})]})})})]})}export{St as default,l as dimensions};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as _,bz as z,bA as R,V as o,bB as M,aP as
|
|
1
|
+
import{g as _,bz as z,bA as R,V as o,bB as M,aP as p,T as V,o as n,al as q}from"./index-WEj6FS32.js";import{a as r,n as G}from"./sentry-B0WgNUxa.js";import{n as l}from"./mui-BTtN6lbG.js";import{f as J}from"./TransactionList-BYXPQXN1-C2WkgSOj.js";import{t as X}from"./page-detail-CWX5S47F-vL4oE1Hd.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./zeni-epic-state-DnAAAEmj.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";import"./BoxItem-Cr0Y9YBV-C2AawtqJ.js";import"./commonDimensions-6BcP8EhU-CPpjZ-C4.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]="5288baf3-d560-4213-a610-5b43e74c29a0",t._sentryDebugIdIdentifier="sentry-dbid-5288baf3-d560-4213-a610-5b43e74c29a0")}catch{}})();const Z=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
height: 100vh;
|
|
@@ -32,4 +32,4 @@ import{g as _,bz as z,bA as R,V as o,bB as M,aP as g,T 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:
|
|
35
|
+
`;function ht({title:t,subTitle:c,firstMonthOfFY:g,timeframe:d,timePeriod:a,useFixedPeriod:x,dataAvailableForPeriod:y,report:e,currentScrollYOffset:T,showStatementPageIcon:k=!1,onTimePeriodChange:b,onTransactionItemClick:L,onTransactionListScroll:C,onBackClick:I,onStatementPageIconClick:j,referrerType:D}){const[f,S]=r.useState(!0),[m,$]=r.useState(!1),[u,P]=r.useState(!1),B=_();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 N=z(),v=R(D),E=`${v===""?N:v}.transactions.list`,F=a.startDate.isAfter(y.startDate,d)?{isLoading:m&&(e.fetchState==="In-Progress"||e.fetchState==="Not-Started"),fixedTimePeriod:x,onLoadPreviousClick:(s,i)=>{P(!1),$(!0),b?.(s,a,i)}}:void 0,Y=a.endDate.isBefore(y.endDate,d)?{isLoading:u&&(e.fetchState==="In-Progress"||e.fetchState==="Not-Started"),fixedTimePeriod:x,onLoadNextClick:(s,i)=>{$(!1),P(!0),b?.(s,a,i)}}:void 0;let w=null;k&&(w=o.jsx(U,{onClick:j}));const h=r.useRef(null);function A(s,i,O){G({category:`${E}.transaction-list.react.profiler`,message:`${s} (${i}) took ${O}ms`,level:"info"})}return o.jsx(r.Profiler,{id:"TransactionListPage",onRender:A,children:o.jsxs(Z,{"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:B.colors.grey4,rightSideComponent:w,scrollableContent:h.current!=null?h:void 0}),o.jsxs(H,{"data-testid":p("transaction-list",t),children:[o.jsx(Q,{children:c}),f===!1?o.jsx(J,{ref:h,firstMonthOfFY:g,timeframe:d,timePeriod:a,transactions:e.transactions,isFirstLotLoading:f,currentScrollYOffset:T,onTransactionItemClick:L,onTransactionListScroll:C,showLoadPrevious:F,showLoadNext:Y,componentName:"report.transactions.list"}):o.jsx(K,{children:o.jsx(V,{size:"ExtraLarge",start:!0})})]})]})})}export{ht as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{J as A,F as k,V as o,T as q,aP as L,aR as W,o as a,y as g,x as _,a as J,d2 as U,a9 as G,cE as K,ac as Q,u as r,hd as F,he as B,hf as M,g as X,cJ as Y,gL as z,hg as Z,b7 as ee,hk as oe,hl as te}from"./index-WEj6FS32.js";import{a as I}from"./sentry-B0WgNUxa.js";import{n as c}from"./mui-BTtN6lbG.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./zeni-epic-state-DnAAAEmj.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.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]="7687ba3b-0fd8-484f-925b-94cb894cd166",e._sentryDebugIdIdentifier="sentry-dbid-7687ba3b-0fd8-484f-925b-94cb894cd166")}catch{}})();const O=(e,n)=>`${e}.${n}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=k.getLocalizedStrings().transactionDetail.vendorDetails,d=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:n,selectedClassId:p,selectedOwnerId:t,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(R=>R.accountId===s)?.accountName;return[oe,te].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:B(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:M(S),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},se=c.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
padding-top: ${a.sp3};
|
|
@@ -20,7 +20,7 @@ import{Q as A,F as k,V as o,T as q,aP as L,aR as W,o as a,y as g,x as _,a as J,d
|
|
|
20
20
|
background-color: ${e=>e.theme.colors.grey3};
|
|
21
21
|
min-height: 1px;
|
|
22
22
|
max-height: 1px;
|
|
23
|
-
`,
|
|
23
|
+
`,P="vendorDetails",de=({id:e,allAccounts:n,allClasses:p,allOwners:t,selectedVendor:f,formLocalData:h,isDisabled:C,onSaveVendor:S,saveVendorDetailLocalData:v,accountsHierarchyList:u,classHierarchyList:m})=>{const x=G({mode:"all",reValidateMode:"onChange",defaultValues:ce(u,m,t,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&&K(()=>V(s,y))});return()=>{l.unsubscribe()}}),I.useEffect(()=>{f.saveStatus.fetchState==="Error"&&f.saveStatus.error?.code===409&&b(!0)},[f.saveStatus]),o.jsx(Q,{...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:t,isDisabled:C,accountsHierarchyList:u,classHierarchyList:m})})})},ce=(e,n,p,t)=>({[P]:{vendorName:t?.vendorName??"",vendorOwner:{allOptions:M(p),selectedOption:t?.vendorOwner},vendorCategory:{allOptions:B(e),selectedOption:t?.vendorCategory},vendorClass:{allOptions:F(n),selectedOption:t?.vendorClass}}});function ue(e,n,p){const t=e?.[P];return{vendorCategory:t.vendorCategory.selectedOption,vendorClass:t.vendorClass.selectedOption,vendorId:n,vendorName:t.vendorName,vendorOwner:t.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 J("h6Regular","h5Medium"),sectionTitleLineHeight:new g(30,40)},pe=c.div`
|
|
24
24
|
display: flex;
|
|
25
25
|
flex: 1 1 auto;
|
|
26
26
|
min-height: 100%;
|
|
@@ -69,7 +69,7 @@ import{Q as A,F as k,V as o,T as q,aP as L,aR as W,o as a,y as g,x as _,a as J,d
|
|
|
69
69
|
&:hover {
|
|
70
70
|
color: ${e=>e.theme.colors.primary};
|
|
71
71
|
}
|
|
72
|
-
`,
|
|
72
|
+
`,xe=c(U)`
|
|
73
73
|
display: flex;
|
|
74
74
|
width: 100%;
|
|
75
75
|
color: ${e=>e.theme.colors.primary};
|
|
@@ -77,4 +77,4 @@ import{Q as A,F as k,V as o,T as q,aP as L,aR as W,o as a,y as g,x as _,a as J,d
|
|
|
77
77
|
${e=>`${T.sectionTitle.style(e.windowSize)}`};
|
|
78
78
|
margin-left: ${e=>e.windowSize==="small"?a.sp3:0};
|
|
79
79
|
line-height: ${e=>T.sectionTitleLineHeight.valuePx(e.windowSize)};
|
|
80
|
-
`,E="vendorDetailPage",H=e=>`${e}_form`,
|
|
80
|
+
`,E="vendorDetailPage",H=e=>`${e}_form`,Pe=({vendorDetailView:e,onSaveSuccess:n,onCancelClick:p,onSaveVendor:t,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:H(E),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(W,{formId:H(E),primaryBtn:{label:m.save,isLoading:b},cancelBtn:{label:m.cancel,shouldResetOnCancel:!0,onClick:p}})]})};export{Pe as default,H as formUniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,Q as ue,aP as A,ht as lt,aN as J,r as ve,hC as ct,T as Ye,aR as $e,o as a,F as R,y as c,x as Ne,f as dt,b9 as ut,aq as ft,M as be,ai as De,al as fe,aQ as ce,fy as pt,a9 as Xe,cE as mt,aY as ht,aO as gt,p as Q,ac as qe,fC as ke,fD as Ae,ga as wt,bS as ye,g4 as xt,hD as $t,u as o,fm as bt,ch as Je,b$ as Dt,e_ as yt,bJ as Tt,am as Ze,fP as Ct,ds as St,c1 as Qe,gW as vt,gX as kt}from"./index-DVgY55Ab.js";import{a as u}from"./sentry-DMXY90dB.js";import{n}from"./mui-CR-wYMmN.js";import{bL as At}from"./zeni-epic-state-BXMuLX_S.js";import{v as Pt}from"./ZeniTransferAmountSlider-NAR_1h8K-DARDrTsk.js";import{r as Lt}from"./AccountInfoPageContent-CrSVf_Od-DxUVjtpH.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";import"./downloadPdf-1-N8Pf0G-CMW67koi.js";import"./commonDimensions-i9Qxk1O2-XYIUogON.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]="7aa3a2c2-3c53-4f89-9dbb-c445f9efa4c8",e._sentryDebugIdIdentifier="sentry-dbid-7aa3a2c2-3c53-4f89-9dbb-c445f9efa4c8")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=R.getLocalizedStrings(),Ge="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Ue="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:G,onBackClick:I,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:U,onReviewClick:H}){const i=ue(),E=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,V]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[Y,N]=u.useState(!1),K=r.transferMoneyPartiesFetchState,oe=ce(K),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),Ke=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:Ke,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&V(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&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)&&U?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&K==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,K,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)};G(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:[W?t.jsx(Ft,{children:t.jsxs(It,{children:[t.jsxs(Et,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Wt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Vt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(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:Q.heroLight}})})]})}):null,t.jsx(Yt,{children:J("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:He(Ue),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,Ge),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Jt,{children:[$?t.jsxs(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(Ut,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Qt,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${J("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Gt,{windowSize:i}),t.jsx(Ht,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${J("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Kt,{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:{[Ge]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
|
|
1
|
+
import{V as t,J as ue,aP as A,ht as lt,aN as J,r as ve,hC as ct,T as Ye,aR as $e,o as a,F as R,y as c,x as Ne,f as dt,b9 as ut,aq as ft,M as be,ai as De,al as fe,aQ as ce,fy as pt,a9 as Xe,cE as mt,aY as ht,aO as gt,p as U,ac as qe,fC as ke,fD as Ae,ga as wt,bS as ye,g4 as xt,hD as $t,u as o,fm as bt,ch as Je,b$ as Dt,e_ as yt,bJ as Tt,am as Ze,fP as Ct,ds as St,c1 as Ue,gW as vt,gX as kt}from"./index-WEj6FS32.js";import{a as u}from"./sentry-B0WgNUxa.js";import{n}from"./mui-BTtN6lbG.js";import{bL as At}from"./zeni-epic-state-DnAAAEmj.js";import{v as Pt}from"./ZeniTransferAmountSlider-B424bcSV-CHepSJQx.js";import{r as Lt}from"./AccountInfoPageContent-BsSGhNw9-Bhg40nPQ.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";import"./downloadPdf-Bf11NXjY-DUwuSlsF.js";import"./commonDimensions-6BcP8EhU-CPpjZ-C4.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]="ac04b321-71a1-47c8-8731-65e24c36e616",e._sentryDebugIdIdentifier="sentry-dbid-ac04b321-71a1-47c8-8731-65e24c36e616")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=R.getLocalizedStrings(),Ge="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:G,onBackClick:I,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:H,onReviewClick:K}){const i=ue(),E=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,V]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[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&&V(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 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)};G(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:[W?t.jsx(Ft,{children:t.jsxs(It,{children:[t.jsxs(Et,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Wt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Vt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(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:U.heroLight}})})]})}):null,t.jsx(Yt,{children:J("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: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,Ge),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Jt,{children:[$?t.jsxs(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(Ht,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Ut,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${J("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Gt,{windowSize:i}),t.jsx(Kt,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${J("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(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:{[Ge]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
|
|
2
2
|
margin-top: ${a.sp3};
|
|
3
3
|
display: flex;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -17,7 +17,7 @@ import{V as t,Q as ue,aP as A,ht as lt,aN as J,r as ve,hC as ct,T as Ye,aR as $e
|
|
|
17
17
|
width: 100%;
|
|
18
18
|
justify-content: space-between;
|
|
19
19
|
padding: ${a.sp3} ${a.sp4};
|
|
20
|
-
background-color: ${
|
|
20
|
+
background-color: ${U.importantLight};
|
|
21
21
|
border-radius: ${a.sp2};
|
|
22
22
|
`,Et=n.div`
|
|
23
23
|
display: flex;
|
|
@@ -25,15 +25,15 @@ import{V as t,Q as ue,aP as A,ht as lt,aN as J,r as ve,hC as ct,T as Ye,aR as $e
|
|
|
25
25
|
`,Rt=n.div``,Ot=n(bt)`
|
|
26
26
|
width: ${a.sp4};
|
|
27
27
|
height: ${a.sp4};
|
|
28
|
-
color: ${
|
|
28
|
+
color: ${U.important};
|
|
29
29
|
`,_t=n.div`
|
|
30
30
|
display: flex;
|
|
31
31
|
flex-direction: column;
|
|
32
32
|
margin-left: ${a.sp2};
|
|
33
33
|
`,Wt=n(Je)`
|
|
34
|
-
color: ${
|
|
34
|
+
color: ${U.important};
|
|
35
35
|
`,Vt=n(fe)`
|
|
36
|
-
color: ${
|
|
36
|
+
color: ${U.important};
|
|
37
37
|
`,Yt=n(Dt)`
|
|
38
38
|
color: ${e=>e.theme.colors.primary};
|
|
39
39
|
margin: ${a.sp5} ${a.sp0} ${a.sp3} ${a.sp0};
|
|
@@ -56,7 +56,7 @@ import{V as t,Q as ue,aP as A,ht as lt,aN as J,r as ve,hC as ct,T as Ye,aR as $e
|
|
|
56
56
|
margin-top: ${a.sp3};
|
|
57
57
|
white-space: pre-line;
|
|
58
58
|
`,ze=n(Je)`
|
|
59
|
-
color: ${
|
|
59
|
+
color: ${U.success};
|
|
60
60
|
white-space: nowrap;
|
|
61
61
|
`,qt=n(Tt)`
|
|
62
62
|
width: ${a.sp3};
|
|
@@ -77,7 +77,7 @@ import{V as t,Q as ue,aP as A,ht as lt,aN as J,r as ve,hC as ct,T as Ye,aR as $e
|
|
|
77
77
|
background-color: ${e=>e.theme.colors.grey3};
|
|
78
78
|
border-bottom-right-radius: ${a.sp1};
|
|
79
79
|
border-bottom-left-radius: ${a.sp1};
|
|
80
|
-
`,
|
|
80
|
+
`,Ut=n.div`
|
|
81
81
|
display: flex;
|
|
82
82
|
flex-direction: row;
|
|
83
83
|
align-items: center;
|
|
@@ -106,14 +106,14 @@ import{V as t,Q as ue,aP as A,ht as lt,aN as J,r as ve,hC as ct,T as Ye,aR as $e
|
|
|
106
106
|
margin: 0 ${a.sp2};
|
|
107
107
|
background-color: ${e=>e.theme.colors.grey1};
|
|
108
108
|
border-radius: 50%;
|
|
109
|
-
`,
|
|
109
|
+
`,Ht=n.div`
|
|
110
110
|
display: flex;
|
|
111
111
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
112
112
|
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
113
113
|
width: ${e=>e.windowSize==="small"?"100%":"unset"};
|
|
114
|
-
`,
|
|
114
|
+
`,Kt=n(Ze)`
|
|
115
115
|
color: ${e=>e.theme.colors.hero};
|
|
116
|
-
`,
|
|
116
|
+
`,Qt=n(Ct)`
|
|
117
117
|
cursor: pointer;
|
|
118
118
|
width: 12px;
|
|
119
119
|
height: 12px;
|
|
@@ -179,7 +179,7 @@ import{V as t,Q as ue,aP as A,ht as lt,aN as J,r as ve,hC as ct,T as Ye,aR 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=R.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:G,onFetchLinkTokenClick:I,plaidConnectionDetails:O,showReviewContent:_,setShowReviewContent:
|
|
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=R.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:G,onFetchLinkTokenClick:I,plaidConnectionDetails:O,showReviewContent:_,setShowReviewContent:H,setCurrentDrawerContent:K,clearReviewTransferDetail:i,onReviewClick:E,setIsCalculatorOpen:W,setShowAnnualYieldEarned:j,setTransferAmount:m,setYieldEarned:v,setTotalBalance:V})=>{const x=ue(),z=e.reviewTransferDetail,Y=e.transferDetailLocalData.transferFrom?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accType==="depositAccount",N=()=>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(Re,{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:Y?t.jsxs(t.Fragment,{children:[b.transferDrawer.internal.transferSuccessMsgPrefix,t.jsx(Ee,{children:J("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(Ee,{children:J("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"),V(0),W(!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(Re,{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:G,onSaveChangesToLocalStore:T,plaidConnectionDetails:O,transferDetails:e,zeniAccountsConfigDetail:f,onEstablishConnectionClick:M,onFetchLinkTokenClick:I,onReviewClick:E,setIsCalculatorOpen:W,setShowAnnualYieldEarned:j,setTransferAmount:m,setYieldEarned:v,setTotalBalance:V,fireTrackTransferBetweenAccountsFormClicked:l,maxInsuredAmount:d}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})]}),N()?t.jsx($e,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:Ke(He),helperStyle:{paddingTop:a.sp0,paddingBottom:a.sp0},primaryBtn:{label:R.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};
|
|
@@ -286,7 +286,7 @@ import{V as t,Q as ue,aP as A,ht as lt,aN as J,r as ve,hC as ct,T as Ye,aR as $e
|
|
|
286
286
|
}
|
|
287
287
|
`,ya=n.div`
|
|
288
288
|
padding-bottom: ${e=>Z.zeniAccountListPaddingBottom.valuePx(e.windowSize)};
|
|
289
|
-
`,Ta=n(
|
|
289
|
+
`,Ta=n(Ue)`
|
|
290
290
|
cursor: pointer;
|
|
291
291
|
color: ${e=>e.theme.colors.hero};
|
|
292
292
|
width: ${a.sp4};
|
|
@@ -323,7 +323,7 @@ import{V as t,Q as ue,aP as A,ht as lt,aN as J,r as ve,hC as ct,T as Ye,aR as $e
|
|
|
323
323
|
height: auto;
|
|
324
324
|
padding: ${e=>`${a.sp0} ${L.pageContentPaddingLeftRight.valuePx(e.windowSize)}`};
|
|
325
325
|
margin-bottom: auto;
|
|
326
|
-
`,ja=n(
|
|
326
|
+
`,ja=n(Ue)`
|
|
327
327
|
cursor: pointer;
|
|
328
328
|
color: ${e=>e.theme.colors.hero};
|
|
329
329
|
width: ${a.sp4};
|
|
@@ -352,11 +352,11 @@ import{V as t,Q as ue,aP as A,ht as lt,aN as J,r as ve,hC as ct,T as Ye,aR as $e
|
|
|
352
352
|
color: ${e=>e.theme.colors.primary};
|
|
353
353
|
padding: ${a.sp3} ${a.sp0} ${a.sp2} ${a.sp0};
|
|
354
354
|
margin: ${e=>`${a.sp0} ${L.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
|
|
355
|
-
`,Ia=({zeniAccountsConfigDetail:e,depositAccountListView:r,downloadAccountDetailEndPoint:g,authParams:$,selectedAccountId:y,currentTenant:w,setCurrentDrawerContent:d,fireTrackTransferBetweenAccountsFormClicked:f,onDismissClick:l})=>{const[T,C]=u.useState(!1),[S,F]=u.useState(r.depositAccounts.find(M=>M.id===y));return T&&S!=null?t.jsx(Aa,{downloadAccountDetailEndPoint:g,authParams:$,currentTenant:w,zeniAccountsConfigDetail:e,depositAccount:S,onDismissClick:l,setShowWireAccountInfo:C,fireTrackTransferBetweenAccountsFormClicked:f}):t.jsx(ha,{depositAccountListView:r,setCurrentDrawerContent:d,selectedAccount:S,setShowWireAccountInfo:C,setSelectedAccount:F,fireTrackTransferBetweenAccountsFormClicked:f})},
|
|
355
|
+
`,Ia=({zeniAccountsConfigDetail:e,depositAccountListView:r,downloadAccountDetailEndPoint:g,authParams:$,selectedAccountId:y,currentTenant:w,setCurrentDrawerContent:d,fireTrackTransferBetweenAccountsFormClicked:f,onDismissClick:l})=>{const[T,C]=u.useState(!1),[S,F]=u.useState(r.depositAccounts.find(M=>M.id===y));return T&&S!=null?t.jsx(Aa,{downloadAccountDetailEndPoint:g,authParams:$,currentTenant:w,zeniAccountsConfigDetail:e,depositAccount:S,onDismissClick:l,setShowWireAccountInfo:C,fireTrackTransferBetweenAccountsFormClicked:f}):t.jsx(ha,{depositAccountListView:r,setCurrentDrawerContent:d,selectedAccount:S,setShowWireAccountInfo:C,setSelectedAccount:F,fireTrackTransferBetweenAccountsFormClicked:f})},Qa=({transferDetails:e,zeniAccountsConfigDetail:r,depositAccountListView:g,maxInsuredAmount:$,currentTenant:y,showReviewContent:w,currentDrawerContent:d,downloadAccountDetailEndPoint:f,authParams:l,analytics:T,setCurrentDrawerContent:C,setShowReviewContent:S,onSaveChangesToLocalStore:F,onTransferClick:M,onReviewClick:G,onDismissClick:I,onAnotherTransferClick:O,onEstablishConnectionClick:_,onBackClick:H,clearReviewTransferDetail:K,onFetchLinkTokenClick:i,plaidConnectionDetails:E})=>{const[W,j]=u.useState(!1),[m,v]=u.useState(!1),[V,x]=u.useState(0),[z,Y]=u.useState(0),[N,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:W,showAnnualYieldEarned:m,transferAmount:V,yieldEarned:z,totalBalance:N,zeniAccountsConfigDetail:r,fireTrackTransferBetweenAccountsFormClicked:X,onSaveChangesToLocalStore:F,onTransferClick:M,onDismissClick:I,onAnotherTransferClick:O,onEstablishConnectionClick:_,onBackClick:H,onFetchLinkTokenClick:i,plaidConnectionDetails:E,setCurrentDrawerContent:C,clearReviewTransferDetail:K,onReviewClick:G,setShowReviewContent:S,showReviewContent:w,setIsCalculatorOpen:j,setShowAnnualYieldEarned:v,setTransferAmount:x,setYieldEarned:Y,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(Ea,{children:oe()})},Ea=n.div`
|
|
356
356
|
display: flex;
|
|
357
357
|
flex-direction: column;
|
|
358
358
|
background-color: ${e=>e.theme.colors.grey4};
|
|
359
359
|
overflow-x: hidden;
|
|
360
360
|
height: 100%;
|
|
361
361
|
width: 100%;
|
|
362
|
-
`;export{
|
|
362
|
+
`;export{Qa as default};
|