@zeniai/web-app-ui 4.14.31-dev → 4.14.32-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ACHDetailsPage-CFhoboVe-JodbwPsQ.js → ACHDetailsPage-BO7lxW8c-CaH7vfBB.js} +2 -2
- package/dist/assets/{AIPerformancePage-DB-fTWME-CgGQsnV1.js → AIPerformancePage-SF-quMkk-CZFFBw1a.js} +1 -1
- package/dist/assets/AccountInfoPage-v8-NT3FJ-Bw3uGZG4.js +18 -0
- package/dist/assets/{AccountInfoPageContent-eYEsv7ac-vCK7G4bh.js → AccountInfoPageContent-DIWh6VaI-HqDSQPfy.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-jYWr_8TD-q_Ikf2Tn.js → AccountLockedInfoModal-DloPB9vd-BSxEQO_S.js} +6 -6
- package/dist/assets/{AccountReconDetailsDrawerPage-3Q0EPYhL-BH4of7uu.js → AccountReconDetailsDrawerPage-BAgQsFiF-CyK6H2le.js} +4 -4
- package/dist/assets/{AccountRow-CdgvnPG8-Cz30EYLJ.js → AccountRow-Dczx5rSu-CwZA98Uy.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-DHo59LLN-SJuuNn3m.js → AccountsPromoCardStack-Ywhto4lV-cevnOXMT.js} +11 -11
- package/dist/assets/{AddAddressForCardDrawer-BzO1FXUa-Fyg_NOS1.js → AddAddressForCardDrawer-B8srmVT6-DsXtVyAN.js} +1 -1
- package/dist/assets/{AddToWalletPage-BfXFbHjk-CMzYyYW2.js → AddToWalletPage-k__RW699-BSoFKwS5.js} +1 -1
- package/dist/assets/{AddressRoutes-B6KyTWyT.js → AddressRoutes-Bnm4H7bD.js} +1 -1
- package/dist/assets/{AddressScreen-ZPcySSaO.js → AddressScreen-INYb_JGl.js} +2 -2
- package/dist/assets/{AgingReportsPage-C1hFq4KH-Zi5GTQ1z.js → AgingReportsPage-BuIXjljE-DwSwkj0s.js} +5 -5
- package/dist/assets/{AiCfoScreen-C7jQo3LZ.js → AiCfoScreen-Dg31g97F.js} +1 -1
- package/dist/assets/{AllUserItems-B6pnKByY-z-llp8Ld.js → AllUserItems-BdgTe4WF-H7QxO-h-.js} +7 -7
- package/dist/assets/ApAgingDetailPage-6F47t31h-BJY-Gjjh.js +46 -0
- package/dist/assets/{AppBasePage-DiVxF606-DEIAJtmX.js → AppBasePage-DaTueT-x-Db3mer79.js} +1 -1
- package/dist/assets/{AppDrawerContent-B_EWsf8O-nCzxlMlY.js → AppDrawerContent-CtCI6jpp-B-tHPrrL.js} +3 -3
- package/dist/assets/{ApprovalRulesSettingsPage-HHjDp_NQ-Dk_su188.js → ApprovalRulesSettingsPage-BVxu4soW-Nu7LfFuU.js} +1 -1
- package/dist/assets/{ArAgingChart-Ba4A-i2N-DVKxnxLC.js → ArAgingChart-BK-JyW2V-CpKqA7Z3.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-prgcvsS4-B6KvY1N_.js → ArAgingDetailPage-CvqLu3q8-DFRtVqyv.js} +3 -3
- package/dist/assets/{AttachmentView-SsWJw4A8-CiFA7Mtk.js → AttachmentView-DQdb3v_e-BgOMzST7.js} +1 -1
- package/dist/assets/{BalancesInsightWithToolTip-DE6gDjGA-CuriAdQu.js → BalancesInsightWithToolTip-D4q45w1q-CBufZlsy.js} +4 -4
- package/dist/assets/{BankAccountSection-B4jmT0lb-D2VaI5gJ.js → BankAccountSection-DgbfU8F--DERufWYy.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-Bz2itMx0-EQdFts4P.js → BankAccountWarningSection-litL0o_Z-YNoMxnsQ.js} +11 -11
- package/dist/assets/{BankConnectionsSettingsPage-BcVk7bTt-CcJ2zW2K.js → BankConnectionsSettingsPage-bAj9uB9k-D373ilzg.js} +1 -1
- package/dist/assets/{BillDetailPage-Dkqmi4H1-BFTmBvTz.js → BillDetailPage-CiHal44n-DIfTrfpQ.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes-CB_WVdNG.js → BillPayApprovalRoutes-BILiu13g.js} +1 -1
- package/dist/assets/BillPayApprovalRuleDetailPage-CRBli7lk-Cp1ol6-S.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-B_QwggJS-Csxvsi8z.js → BillPayApprovalRulesPage-BTOmSLcs-D3SM4r7K.js} +7 -7
- package/dist/assets/{BillPayPromoPage-Bx2AXpWe-DWku5Qhm.js → BillPayPromoPage-B5gkQjT2-D9lr-mmz.js} +9 -9
- package/dist/assets/{BillPayRoutes-9FjXpkgQ.js → BillPayRoutes-BIHt-HL2.js} +7 -7
- package/dist/assets/{BillPaySetUpPage-CM7_DkHC-B8MycdyA.js → BillPaySetUpPage-DM3r09by-BlBEwtA1.js} +1 -1
- package/dist/assets/{BillingSettingsPage-DM0OIfxa-B3DQmXkS.js → BillingSettingsPage-CiTKyJeG-BkRQgSD8.js} +2 -2
- package/dist/assets/{BillsBulkReviewDrawerPage-C3xmQ7wz-DgU-ZFK3.js → BillsBulkReviewDrawerPage-B6ofRDkg-B-xdke4y.js} +1 -1
- package/dist/assets/{BoxItem-CvCo0wr6-QhJ82HMO.js → BoxItem-C39hQSVg-B9WMvkwI.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-BAZmkR4a-DKUcO_Rf.js → BusinessVerificationPage-BiWEnJET-BPuB56i7.js} +2 -2
- package/dist/assets/{BusinessVerificationPageScreen-BKBP5CJh.js → BusinessVerificationPageScreen-C9kI0BR_.js} +2 -2
- package/dist/assets/{BusyIndication-Cp8KWKB2-C3oZ8Ini.js → BusyIndication-DmApVsF7-DQl3VYqH.js} +1 -1
- package/dist/assets/{CardNumberSubText-DHtSIcZZ-kHFdQu5S.js → CardNumberSubText-FNfrozX6-tv8Brnnn.js} +1 -1
- package/dist/assets/{CashbackDetailPage-CNS1FA6b-Clcw1gL0.js → CashbackDetailPage-DaLICa_v-BHzYFFJ0.js} +7 -7
- package/dist/assets/{ChargeCardDetailPage-C4NeG7IM-CcgpSGTB.js → ChargeCardDetailPage-B0Aq7zO5-40fQ7jsk.js} +28 -28
- package/dist/assets/{ChargeCardListPage-DNYiWaEf-BZBAcxPe.js → ChargeCardListPage-CfRto2rQ-ClyjE_iT.js} +16 -16
- package/dist/assets/{ChargeCardListTable-DdnyzdFf-D27zGMD0.js → ChargeCardListTable-DMdC4lxo-KnHyTkme.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-CXlqzaUt-Cw-q5fHs.js → ChargeCardPaymentHistoryPage-BYTmtF_y-i9mylyuZ.js} +1 -1
- package/dist/assets/ChargeCardPromoPage-AI5bladj-BDPOfxSx.js +222 -0
- package/dist/assets/{ChargeCardRoutes-B9ifIaPD.js → ChargeCardRoutes-CUAUmOPf.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-BtikPFOq-B1Q5Q-k4.js → ChargeCardSetupPage-BjhqdubL-u9TM5_mu.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-RepWBbvJ-BeTG3xG9.js → ChargeCardStatementsPage-DCM92s6v-CAUZgBlq.js} +2 -2
- package/dist/assets/{CheckDepositDrawerPage-BCqg3irO-LJQj-9cr.js → CheckDepositDrawerPage-CkIxEqHU-B7qz4vrp.js} +1 -1
- package/dist/assets/{CollapsableReportTable-gy7Ue_fk-xkuj86hA.js → CollapsableReportTable-ClHwXtCj-BfwfqIOK.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-BsCx7q-g-C5hfQprP.js → CompanyOfficerDetailsSection-BY8hFQnp-DJfNkZb4.js} +16 -16
- package/dist/assets/{CompanyPassportCard-BbUWOs1U-Dw1HMrsN.js → CompanyPassportCard-B3rZE3pg-CtuQmTD5.js} +2 -2
- package/dist/assets/{CompanyPassportPage-BnP2oA1U-BahIQeuB.js → CompanyPassportPage-4FXVf3EP-DhUTHw6y.js} +1 -1
- package/dist/assets/{CompanyPassportScreen-CT9c7lvA.js → CompanyPassportScreen-m_gXhHG_.js} +1 -1
- package/dist/assets/{CompleteProfile-TiRsm2Fm-fE1NUszo.js → CompleteProfile-B1BoilWd-LUJNszjE.js} +1 -1
- package/dist/assets/{ConfettiBurst-D7J36hZf-CSVT9V2q.js → ConfettiBurst-CsbAGF65-C9KfsdE7.js} +1 -1
- package/dist/assets/{ConnectionAuthScreen-D6BkdM1l.js → ConnectionAuthScreen-Zn6jvlmq.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-vBI13ZbI.js → ConstrainedInnerElement-CgdnMeoA-Dc3P_0OR.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-Dihzr1D5-BUR2QFLa.js → CreateOrEditVendorPage-C50eYOFo-D8POwrMQ.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-CZGzDuxC-BUIdND4_.js → CreditCardPaymentDrawerPage-Dxz_SY7N-D8up_BJ4.js} +1 -1
- package/dist/assets/{CurrencySelectField-BTAmIqPa-rlZjvsTh.js → CurrencySelectField-D2Ogwvbr-B4ftuyL3.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-MVI7kqIh-JD8ZqQ1I.js → CustomerOnboardingActivationPage-5Sh7hmI9-DpPsiuW1.js} +1 -1
- package/dist/assets/CustomerOnboardingAuthScreen-BhtVN8fo.js +1 -0
- package/dist/assets/CustomerOnboardingContainerPage-B5kVGk_V-DpOBarI8.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CaI_0pCb-D_9R8ntI.js → CustomerOnboardingDetailPageSkeleton-CL-mOSUp-Crb7CsXj.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CO_c2COV-CTf7zsp5.js → CustomerOnboardingNoStepsPage-CyL1AK78-Dsu24NnA.js} +9 -9
- package/dist/assets/{CustomerOnboardingPage-BF0vuYaJ-DB-M7FrJ.js → CustomerOnboardingPage-C8nxJPwo-UENXO6qW.js} +16 -16
- package/dist/assets/{CustomerOnboardingProductSuitePage-BGFdLX1i-C8cOT0zx.js → CustomerOnboardingProductSuitePage-C7FbnHpU-C2FaoJHQ.js} +3 -3
- package/dist/assets/{CustomerOnboardingRoutes-BiogvBuq.js → CustomerOnboardingRoutes-DbUQBREw.js} +1 -1
- package/dist/assets/{Dashboard-Qjedd4r--CRbsfODt.js → Dashboard-Bpu-6Sm5-CcAT-BJw.js} +1 -1
- package/dist/assets/{DashboardReportPage-Deith_ON-D8fEi8Zc.js → DashboardReportPage-B1aAikQG-BWThnMBB.js} +1 -1
- package/dist/assets/{DashboardRoutes-BQeGUCAH.js → DashboardRoutes-aFJ2Gmek.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-C7DfUDio-C16c7XTp.js → DashboardSidebarBackgroundAnimation-C6xm-p2j-BW7a7KRi.js} +1 -1
- package/dist/assets/{DefaultTenantHome-DDgedZUJ.js → DefaultTenantHome-D-V97ZoE.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-7kYotKov-QpJvWZ45.js → DepositAccTransactionItem-DEU0DgtI-DX-mlAdm.js} +7 -7
- package/dist/assets/{DepositAccTransactionListPage-Bop4Uj5w-oeif2Id9.js → DepositAccTransactionListPage-Bh0dIkE9-CF_bG5NL.js} +4 -4
- package/dist/assets/{DomesticWireDetailScreen-6HCK_7TE.js → DomesticWireDetailScreen-DBNwn4TO.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-_TyXsqEx-BYHoiTtM.js → DomesticWireDetailsPage-2WyD73c9-B2JWW3fS.js} +1 -1
- package/dist/assets/{DownloadOverlay-Cmd727bN-C-PzxP5F.js → DownloadOverlay-B7M2VI7K-93vOHyTt.js} +14 -14
- package/dist/assets/{DrawerPage-DmGwfnGp-soZmQNN_.js → DrawerPage-DsQTxXa8-D8CWGNJU.js} +4 -4
- package/dist/assets/{DrawerScreen-C_1QezB2.js → DrawerScreen-DDmYCdH3.js} +1 -1
- package/dist/assets/{EditPeoplePage-YyluIC6R-B0i1VKsb.js → EditPeoplePage-fY0HXvVS-C62IbLj9.js} +5 -5
- package/dist/assets/{EditReimbursementDetailPage-DeMid2Ko-B5ltV9Cy.js → EditReimbursementDetailPage-D7RUWSTZ-DVOazN97.js} +18 -18
- package/dist/assets/EntityDetailPage-BDyO7iLI-DsywTSaM.js +18 -0
- package/dist/assets/{EntityDetailRoutes--mZVfECz.js → EntityDetailRoutes-BGXfmx5_.js} +1 -1
- package/dist/assets/{EntitySummarySection-5NbutA8l-DL6jpdFo.js → EntitySummarySection-0rRkC5V6-BD_Ykbrq.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-CQ_3WluW-CCAAzH1q.js → ExpenseAutomationOverviewPage-DOGAdZXV-Bv58nG4M.js} +8 -8
- package/dist/assets/{ExpenseAutomationPage-VuU4acYd-BNMHy7wa.js → ExpenseAutomationPage-DOsIzX0P-X4utEwdy.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-DyeVLVvz.js → ExpenseAutomationRoutes-eS-fi8G6.js} +1 -1
- package/dist/assets/{ExpressPayPage-DhoNmyC2-BM7D8t94.js → ExpressPayPage-CIi6jM8Y-zeultZzf.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-GSwhPxgP-CknFQRpv.js → FeaturePreviewPage-BVn6ZUOB-QQqfkJ8p.js} +1 -1
- package/dist/assets/{FeaturePreviewScreen-DcXxWeeZ.js → FeaturePreviewScreen-D5VxTq6D.js} +1 -1
- package/dist/assets/{FollowStepsSection-DaueHRo4-R5WhFSRV.js → FollowStepsSection-CvWPHXDW-CX31cI67.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-DG7_1HOT-BY_P61_d.js → GlobalReviewListPage-CS_11bx0-BWWUBfxL.js} +1 -1
- package/dist/assets/{InformationCardStack-zc-BxR7F-Dc1qaC3e.js → InformationCardStack-B9g7W7Xx-BMa0JHtx.js} +3 -3
- package/dist/assets/{InsightsCardStack-DxCA5sFh-BcClR9fT.js → InsightsCardStack-mvzIc2uY-FQWyC3NM.js} +1 -1
- package/dist/assets/{InsightsSection-BdFG3j3R-D7JeFV31.js → InsightsSection-rGyA4lY9-ztCddwYb.js} +8 -8
- package/dist/assets/{IntegrationsSettingsPage-CaiL3kqS-BK30afn3.js → IntegrationsSettingsPage-Dwz4ukHF-I8L8bnwJ.js} +3 -3
- package/dist/assets/{InternationalWireSwiftDetailsPage-BrQVSzeS-BpNTGybF.js → InternationalWireSwiftDetailsPage-Cm0H9oyf-Dq6HjvzW.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-NaLnhW9C-xEbEY4G_.js → InternationalWireVerificationPage-woIoME3I-Dczyy-qA.js} +10 -10
- package/dist/assets/{InviteFormPage-fjqv2l7h-CN7vzCNz.js → InviteFormPage-DaZ-sJYV-B1D96lar.js} +13 -13
- package/dist/assets/{InvitePageListView-CQecQhxr-D7nG5RDJ.js → InvitePageListView-Do7EVQrj-CnaoEv-w.js} +1 -1
- package/dist/assets/{InvitePeoplePage-DAEBuOnk-etA_btSE.js → InvitePeoplePage-CpD7YoC2-CAkwuWqR.js} +2 -2
- package/dist/assets/{InvoiceUploadSection-58l6ePuH-DGEZcLC_.js → InvoiceUploadSection-DOuTQPee-DNxyr3cj.js} +11 -11
- package/dist/assets/{IssueChargeCardPage-Bkxqsgax-BZ-SKXi3.js → IssueChargeCardPage-ClMhr27d-m0kTf6sc.js} +9 -9
- package/dist/assets/{LabeledAddressValue-CZfFV97h-Bb57sB9z.js → LabeledAddressValue-B6_PZDTO-xVytB-P9.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-D66XOhMx-DAzGEgKS.js → LabeledAddressValueField-Cz6tRMoW-C7dop0k-.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-BtnsqE4D-pO3EStbM.js → LabeledControlledCheckBoxField-BEpAlnvo-BRLqoAnU.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-kopByxLB-CVmx734o.js → LabeledCountryMultiSelectField-1kTcZMQW-Cq5wOhkQ.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-B6An-cwq-ZwV4dPE-.js → LabeledCreatableSingleSelectField-PiLB1S77-CXLJARhZ.js} +1 -1
- package/dist/assets/{LabeledDocumentField-D_ZD8JTn-EgNCcbbj.js → LabeledDocumentField-Cicw8ABs-CehJpiD9.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-CJ7ncCzH-yHUhBReW.js → LabeledDropDownFormattedTextField-BEVVgIGK-ByxutmzB.js} +7 -7
- package/dist/assets/{LabeledEmailInputField-CSfzMDYO-Ccf6Bxv0.js → LabeledEmailInputField-C6gk3B5x-DQKZx3MY.js} +1 -1
- package/dist/assets/{LabeledNameField-DZJXGYR9-C9Z5T7ep.js → LabeledNameField-BpfxLnfN-Dp4_3qSf.js} +1 -1
- package/dist/assets/{LabeledSingleSelectField-D_LoOMiZ-CAsbCcep.js → LabeledSingleSelectField-Utmk8KVy-Cxr5xWDf.js} +1 -1
- package/dist/assets/{LabeledText-A1h_ionS-CcjmiFmI.js → LabeledText-C56xvYuX-BYR-B_G0.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-IYaUvqgY-EIyuSMIG.js → LabeledUserSingleSelectWithSubtitlesField-CF4oVI17-C2nSJ6yS.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-DmynBXbJ-DglcXxDL.js → LabeledZeniRolesDropDownField-B5rxYfam-qcmbm9V-.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-D6-fL4a6-DlR8vjGO.js → LinkJETransactionPage-DbnaYlRA-UFjDu7p8.js} +10 -10
- package/dist/assets/{LockCardPage-BDlnh_zf-64lzFlF5.js → LockCardPage-XHbTmzq8-CizhFaVR.js} +8 -8
- package/dist/assets/{LowBalancePopup-CBPl_udd-Nqllub28.js → LowBalancePopup-IF7NG9aL-DyQqJJ_L.js} +5 -5
- package/dist/assets/MagicLinkACHDetailsPage-DbhqYo7W-C6hltO5g.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-D0JDLfbz-Nd5n74ys.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DChqrJN7-d6t2QZpk.js +1 -0
- package/dist/assets/{MagicLinkRoutes-B4rSGEA5.js → MagicLinkRoutes-D4nTqNcw.js} +18 -18
- package/dist/assets/{MagicLinkSignInScreen-DL54w9kv.js → MagicLinkSignInScreen-DhnaHV0D.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-Cl461HWp-DrFI3SFX.js → MagicLinkSuccessPage-Cyr3p_8a-CVhCJtyQ.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DoIMYrRv-BmkYYs3S.js → MagicLinkTitleSection-A4zyF5bg-B40bJuh0.js} +1 -1
- package/dist/assets/{MailingDetailsSection-NdwWGQ88-M0GYvrro.js → MailingDetailsSection-DqSOlu2t-CyUaZRam.js} +1 -1
- package/dist/assets/{MobileAppDrawer-D4KAg1N8.js → MobileAppDrawer-BRK9r0e2.js} +1 -1
- package/dist/assets/{MoreMenuButton-CkkW1atP-BhjeSlOV.js → MoreMenuButton-B1OKwXLg-CUWjb2Vn.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-BU6TBzI1-D2Qaudqr.js → MyBankConnectionsSettingsPage-DtTjhna--DTBZyR2y.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-DcunCDU6-NjjjBd7F.js → MyPendingActivationChargeCardListPage-CKSWf7I4-5HMiO4ol.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-DF7ahyXE-BjXkIrz2.js → MyProfileSettingsPage-WF1pNlyU-DCBVPnlL.js} +1 -1
- package/dist/assets/NavBarWithPicker-DiCaJ8Qy-BnNZsOl6.js +30 -0
- package/dist/assets/{NavigationArrow-CWUL-6kN-DVve579d.js → NavigationArrow-f4Z3TuXg-UuhH1nBa.js} +7 -7
- package/dist/assets/{NavigationDots-c-XSrFzE-eujVKwdH.js → NavigationDots-WiVjbUsC-Crp3ArrF.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-FGEO68I8-XZyzhNzP.js → NewGlobalMerchantPage-kvjjwV8d-C2-dLqkh.js} +1 -1
- package/dist/assets/{NoDataChart-DJhSgtLu-BSak9fMr.js → NoDataChart-DlSLTzZl-FuGU3dm-.js} +1 -1
- package/dist/assets/{NoDataTable-BZiwo2qK-Cb8q0aH6.js → NoDataTable-9vLoRpsR-CqXldB2y.js} +1 -1
- package/dist/assets/{NotFoundPage-BN5unYX8-CqJlv_oy.js → NotFoundPage-CFlNCHFs-HVhDj2Ia.js} +5 -5
- package/dist/assets/{NotFoundScreen-DxyQKnff.js → NotFoundScreen-YeCuKQy4.js} +1 -1
- package/dist/assets/{NotificationRoutes-DqG-dvkw.js → NotificationRoutes-Dd09Cbi8.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-d8kHDj0M-Beqgksyi.js → NotificationSettingsPage-KJzE9v4p-DOQO6pCa.js} +4 -4
- package/dist/assets/{NotificationsListConfig-ThKLok_w-B2H6cGPA.js → NotificationsListConfig-6sXXtF_E-BS4C2OAr.js} +1 -1
- package/dist/assets/{NotificationsPage-Uvu6XESA-B1Rgn8VW.js → NotificationsPage-D4AmPdo9-BPnTsbgm.js} +1 -1
- package/dist/assets/{OpExByVendorPage-QyqRkD2_-D5R40Gs5.js → OpExByVendorPage-B5Wtu3ww-DQg4-jJ4.js} +6 -6
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-C7rxXRm5.js → OverlayContainerPage-BG9y5C0t-COHi_UQx.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DJ2v5qbE-BEs_yDo8.js → PandLWithForecastPage-CjkaxTx7-DQmjDDak.js} +1 -1
- package/dist/assets/PandLWithForecastRoutes-C4ljq3MB.js +1 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-q5z8XZFC-DgyJWqIO.js → PaymentAccountSetupBillingAddressSection-eeLSg7xb-CRk9dKLv.js} +1 -1
- package/dist/assets/{PeoplePage-C5ZdpVyR-DYtjpv4S.js → PeoplePage-CQREy6SW-aaRJEBLV.js} +1 -1
- package/dist/assets/{PeopleRoutes-BODLG-b6.js → PeopleRoutes-ChdDR42u.js} +3 -3
- package/dist/assets/{PerformanceRoutes-BqLOjKSO.js → PerformanceRoutes-C9_QucnY.js} +1 -1
- package/dist/assets/{Preview-C2UYzTeJ.js → Preview-CQ45ZFEO.js} +1 -1
- package/dist/assets/{ProductsCarousel-CXjLTOLy-BLUY71s0.js → ProductsCarousel-COZZMTcH-Bzu55dWw.js} +1 -1
- package/dist/assets/{PromoBaseCards-CN9uZfG4-BbNgX9Bb.js → PromoBaseCards-Bmn6TN2k-Bz52UdXc.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-CXSi1Pd9-dALyjXGw.js → QBOConnectionDialog-DYxoiSkA-BahHoGsk.js} +4 -4
- package/dist/assets/{QBOConnectionScreen-Ac9DU04j.js → QBOConnectionScreen-CvnGX6ip.js} +1 -1
- package/dist/assets/{QBOSetupSection-BrtLMvEP-DHfwqwJo.js → QBOSetupSection-Cdz2PDxV-3UdpeU-_.js} +7 -7
- package/dist/assets/ReferralListScreen-rNybuoN2.js +5 -0
- package/dist/assets/{ReimbursementApprovalRoutes-B3As-zjk.js → ReimbursementApprovalRoutes-CoADYXXE.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CS1BQ7pL-DnepdUba.js → ReimbursementApprovalRuleDetailPage-C-QEoqCw-nwX6DLtF.js} +5 -5
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-gUYecGxU.js → ReimbursementApprovalRuleDetailScreen-Bqm6EOL1.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-aLRkhkZB-BEmJZKcM.js → ReimbursementApprovalRulesPage-Ch2sxTFV-tKNtb0zE.js} +26 -26
- package/dist/assets/{ReimbursementDetailPage-Dr5BTvEq-mnlxt9h1.js → ReimbursementDetailPage-DSF6SfKn--PtdBuMK.js} +5 -5
- package/dist/assets/{ReimbursementPromoPage-C5Z0mVhQ-nERw0M4a.js → ReimbursementPromoPage-F1ROFd63-BFHAhlMX.js} +11 -11
- package/dist/assets/{ReimbursementRoutes-vASJxFJ_.js → ReimbursementRoutes-DGj3kepc.js} +3 -3
- package/dist/assets/{ReimbursementSetUpPage-CXhOBErm-CR6Shq7r.js → ReimbursementSetUpPage-l2mhLFuo-DfOuAAr0.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CA0n0mau-Dwnq8e4l.js → ReimbursementsBulkReviewDrawerPage-DyPxPnlu-BmJ-UskM.js} +1 -1
- package/dist/assets/{ReloadCard-Bjp8ygC2-fExG7Dij.js → ReloadCard-CDcJMl9F-DmOo4rMc.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-DTk1dNWC-tS3w4hoK.js → ReportTableViewSelector-DvCk55Hn-DU86kKFX.js} +5 -5
- package/dist/assets/ReportsPage-DfqqKSt3-DjEpZpYh.js +269 -0
- package/dist/assets/{ReportsRoutes-DYYeCY0N.js → ReportsRoutes-DrS0PfFL.js} +1 -1
- package/dist/assets/{RevenueChart-CqGvXDr4-BYM89H6k.js → RevenueChart-BONT9upM-Wgu_yKns.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-CWBP7FBN-D5XTlGGP.js → ReviewDetailsPage-857bVurA-DISEdilE.js} +6 -6
- package/dist/assets/{ReviewOverlay-Cxkp85Kw-DWi1LLwl.js → ReviewOverlay-ClQg7d2j-DMLhTFSB.js} +1 -1
- package/dist/assets/RewardsRoutes-BI3CFx__.js +1 -0
- package/dist/assets/RoleWithToolTip-C0G1Hgp_-C6OnScGb.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CYvlB3Nf-BjmGalLA.js → ScheduleDetailsFixedAssetsPage-CJ_JBtxS-BI5TWCkt.js} +4 -4
- package/dist/assets/{ScheduleDetailsPage-CZXJ15tN-Cvz9LjHh.js → ScheduleDetailsPage-B1aEwPL--CmKbMEkF.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-DNPID_7F-Dpy7XGsr.js → ScheduleSequenceTable-DhU7PI91-B_rwqPJI.js} +1 -1
- package/dist/assets/{ScreenRoutes-DMiG7sGl.js → ScreenRoutes-BEfnlKLo.js} +2 -2
- package/dist/assets/{SetUpAccountSection-_WPR-q2V-D1in60I8.js → SetUpAccountSection-C8dulq9s-NOviRS6G.js} +20 -20
- package/dist/assets/{SettingsRoutes-Cq0IT0xM.js → SettingsRoutes-Cv3I5FcH.js} +1 -1
- package/dist/assets/{SetupPagesScreen-By_64UnM.js → SetupPagesScreen-DXJ1IvhH.js} +1 -1
- package/dist/assets/{SignIn-CDEsZw_T-CdZG3KKx.js → SignIn-wDe7lbGR-CsMJoTy9.js} +4 -4
- package/dist/assets/{SignInScreen-BbMIUMVO.js → SignInScreen-TFIvhVsE.js} +1 -1
- package/dist/assets/{SignOutScreen-D0CN7EZM.js → SignOutScreen-DNlfKKyW.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-MOCWuROI-B6XDQZbP.js → SpendManagementListViewPage-BdddUHrW-DddaRnSk.js} +8 -8
- package/dist/assets/{SpendManagementPerTabPage-BeK0SCeE-uu94FLdi.js → SpendManagementPerTabPage-BBJm3884-BFVFYDTY.js} +1 -1
- package/dist/assets/{SpendManagementSection-DZFPfKNi-a6NNMz0d.js → SpendManagementSection-6R5y0Hy4-BDNcg1eM.js} +9 -9
- package/dist/assets/StatementItem-qsoXKx_p-B1TzdTRA.js +31 -0
- package/dist/assets/{StatementsPage-DYLp_e7W-DQJFRbex.js → StatementsPage-Cn7WG5-S-RUted-8P.js} +2 -2
- package/dist/assets/{StatusSwitcher-jxaonB4S-BRWCrppB.js → StatusSwitcher-D3qCg5J1-CR1Mcm2E.js} +1 -1
- package/dist/assets/{SubTabSwitcher-CudjNlsi-B0ZvqQ02.js → SubTabSwitcher-BXajy75j-Dc5sli1z.js} +1 -1
- package/dist/assets/{SuccessAnimation-DE_x1Zz_-CSRw6QzL.js → SuccessAnimation-CSblamOQ-Bn7t6Lwt.js} +1 -1
- package/dist/assets/SummaryCard-B1d4_5lE-Dcb38d7W.js +1 -0
- package/dist/assets/{TaskDetailPage-CXexRKAY-PJYd8Hc8.js → TaskDetailPage-CrsQnhu1-DqJUU9CD.js} +1 -1
- package/dist/assets/{TaskListScreen-D5r5oVZW.js → TaskListScreen-DQaj367P.js} +1 -1
- package/dist/assets/{TaskManagementPage-CTMoHv0R-DqoYVk-e.js → TaskManagementPage-h3Rb49Jj-CiFXDTcp.js} +1 -1
- package/dist/assets/TaskRoutes-DcIHRznV.js +9 -0
- package/dist/assets/{TimeRangeSwitcher-SqY2MHGs-vaeYYQAs.js → TimeRangeSwitcher-DpUOmqiR-D_tIz1xP.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-BlJ2fuHy-C0bwk8vS.js → TimeframeSwitcher-BKEtsv_r-CS6zQ4bX.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-Dgc1odUH-6AO25YrU.js → TimeframeSwitcherWithToggle-DECnQIMT-DCOsHatx.js} +10 -10
- package/dist/assets/{TopExCard-CG8YLsYe-Dhi0dyPE.js → TopExCard-leQR29Sq-DG9ySZIm.js} +1 -1
- package/dist/assets/{TopExDetailPage-TvYCbzSP-CwBViHGc.js → TopExDetailPage-Dgg7Do6D-B22efZAA.js} +3 -3
- package/dist/assets/{TransactionActivityLogPage-BL3vEAdU-CS7vD3qG.js → TransactionActivityLogPage-CU2pUJQL-CgftV9ye.js} +5 -5
- package/dist/assets/{TransactionDetailPage-DUouBL0o-BaXoqvey.js → TransactionDetailPage-FT2IPLH7-DAfWSPCG.js} +32 -32
- package/dist/assets/{TransactionDetailRoutes-B-UBtWLp.js → TransactionDetailRoutes-l4cqdz7w.js} +1 -1
- package/dist/assets/{TransactionDetailScreen-B7XWRVbF.js → TransactionDetailScreen-BxZ1AvRI.js} +1 -1
- package/dist/assets/{TransactionList-B16NONME-CRFiM4VM.js → TransactionList-C2MGkQYM-CPp22oMb.js} +8 -8
- package/dist/assets/{TransactionListBig-CItPbTRV-UNSverIa.js → TransactionListBig-CZ3jIxzR-BG5pwJlw.js} +6 -6
- package/dist/assets/TransactionListPage-PCa4exLO-uM7mJD-y.js +35 -0
- package/dist/assets/{TransactionListRoutes-CMu9kV3q.js → TransactionListRoutes-veIGR3tC.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-DpqisXN8-D2bHcxtn.js → TransactionVendorDetailPage-BgcqndCu-BSSs2Jcd.js} +1 -1
- package/dist/assets/{TransferDrawerPage-Dsmbswu0-uDwjyCTF.js → TransferDrawerPage-SirvPH4z-DtzIcgDc.js} +10 -10
- package/dist/assets/{TreasuryOverviewPage-BcRpcYmB-OKQJLbcE.js → TreasuryOverviewPage-B_WK1aOv-Bqerf9ct.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-DOO_OMRa-8BGrxptq.js → TreasuryPromoPage-B_D63Dr2-Di08g28n.js} +6 -6
- package/dist/assets/{TreasuryRoutes-Cb-myn_k.js → TreasuryRoutes-BDfDMqyl.js} +6 -6
- package/dist/assets/{TreasuryStatementsPage-A_U7bEy5-CYr3tH5Z.js → TreasuryStatementsPage-BGe0fhBe-D_xnH4qk.js} +2 -2
- package/dist/assets/{TreasuryTaxLetterPage-BsJn-BgX-D1G4s_HP.js → TreasuryTaxLetterPage-9gNdkQZp-CGVWuYY2.js} +2 -2
- package/dist/assets/{TrendChart-GMMat-NG-DkIjx5iX.js → TrendChart-COItOWPp-Bqzu2MgM.js} +2 -2
- package/dist/assets/{TrendWithTransactions-CrA4opNV-BCS_tNQW.js → TrendWithTransactions-DgAw_8CI-MC8wGnO9.js} +8 -8
- package/dist/assets/{UncategorizedAccountsMappingPage-CrzbFGOi-7c9nQkHm.js → UncategorizedAccountsMappingPage-B9EziB6Q-gv_x6dec.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-XZY6zJa7-Bog6bLZs.js → UnitIntegrationPage-DGWNyWV1-Dx2SNOLo.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-eqwSLigx-Cfv8NRXy.js → UploadAdditionalDocumentOverlay-DWmMz_8y-Dm_NzTDF.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-BHDivuPB-CB8oiip3.js → Vendor2FAPopup-dh2g8kqu-tmyn1K6T.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-C0vIRpRW-DV0u5MUr.js +1 -0
- package/dist/assets/{VendorDetailPage-DEu-yS8w-BHxBRvla.js → VendorDetailPage-CGqoIODq-DATvkiT-.js} +13 -13
- package/dist/assets/VendorDomesticWireDetailsPage-BVXSOMiH-DLIihksm.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-C461SzO0-Cw1duzzR.js → VendorFiling1099EditablePage-CsnlHrCl-DrSHAjrS.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-klbCHS04-yDjeltgT.js → VendorFirstReviewPage-DC1j2sO_-BShWc2PZ.js} +7 -7
- package/dist/assets/{VendorInternationalWireDetailsPage-DY0V-VbO-BJcPP-gp.js → VendorInternationalWireDetailsPage-Drr00a6C-B8ypeLTf.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CZ5N8G2o-Cr3Iymam.js +1 -0
- package/dist/assets/{VendorsAccountsSection-Cqcr-ArD-BIHA7sqx.js → VendorsAccountsSection-BtdwR8u4-CH_AUGJD.js} +1 -1
- package/dist/assets/{VendorsRoutes-CgJOnYMS.js → VendorsRoutes-DTveFO9E.js} +11 -11
- package/dist/assets/{VerifyDevice-Dhu5iywf-CpE-kgrB.js → VerifyDevice-Bhr_yHpE-BmXUueZN.js} +4 -4
- package/dist/assets/{VideoPlayer-ZGjx_Hp7-BHgQYkml.js → VideoPlayer-wlJX6lEq-BRAB9bV0.js} +1 -1
- package/dist/assets/VideoPopup-BPptwR51-Dm-cn-KD.js +31 -0
- package/dist/assets/{WiseConfirmationScreen-BTkxegx5.js → WiseConfirmationScreen-Be5nRHHx.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-DQB7sXU9-ZmSVhLSw.js → ZeniAccountDetailPage-CSsu44ls-2H7-YqPq.js} +12 -12
- package/dist/assets/{ZeniAccountListViewPage-BwXKgf6g-Ctizh7he.js → ZeniAccountListViewPage-BZwGCrzx-Hl1cOwI1.js} +32 -32
- package/dist/assets/{ZeniAccountNavBarPieces-CHUTFAWG-BmLRxXwk.js → ZeniAccountNavBarPieces-CrNjnkNS-CNki38NN.js} +5 -5
- package/dist/assets/{ZeniAccountPromoPage-BkfJuMNV-Ckl9m4pN.js → ZeniAccountPromoPage-CahV-Rmf-Dvz1FwqA.js} +1 -1
- package/dist/assets/{ZeniAccountRoutes-D71bZRux.js → ZeniAccountRoutes-BMxuBylQ.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-C3drM4Zs-B_sQz9qJ.js → ZeniAccountSetupPage-DSNDNKZr-CwYlMf2d.js} +1 -1
- package/dist/assets/{ZeniAccountStatementScreen-BI6AQKJr.js → ZeniAccountStatementScreen-BJVQBUGi.js} +1 -1
- package/dist/assets/{ZeniAvatar-C38T0-5--BSN8GGLN.js → ZeniAvatar-De0hFvIm-DzjTiqNz.js} +1 -1
- package/dist/assets/{ZeniCopyright-CznSgVJF-B8RRSTgM.js → ZeniCopyright-BNGdkMOa-Cl7T_xPz.js} +1 -1
- package/dist/assets/{ZeniDatePicker-Bw9RlgoL-BmT27weB.js → ZeniDatePicker-CYNEE0pM-DG-NDcrF.js} +4 -4
- package/dist/assets/{ZeniTransferAmountSlider-C77DEl-C-CruP3RMa.js → ZeniTransferAmountSlider-DuD1JtSv-DhSBAK_q.js} +1 -1
- package/dist/assets/{accountMappingHelper-B1SwIfFo.js → accountMappingHelper-FrhvxzcW.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-2vbkyqzY.js → add-to-wallet-DgdBD8_G-BqBidt5n.js} +1 -1
- package/dist/assets/{analytics-Qgv3Fhaa.js → analytics-CVqRc8fh.js} +1 -1
- package/dist/assets/{analyticsHelper-BtB7CtC3.js → analyticsHelper-DJS6x-LZ.js} +1 -1
- package/dist/assets/{analyticsHelper-Bh8o1v3y-DbxZaMDt.js → analyticsHelper-DjQYjslY-BxoS4N1f.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-CHgaZ-yo.js → arrow-south-east-round-PEovUgvH-B3QTzBHA.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-BdBsn5Ol.js → auto-transfer-rule-mbafm5D3-de_8OjuK.js} +1 -1
- package/dist/assets/{avatar-Dz7aEm3d-CxU8IzEu.js → avatar-Dz7aEm3d-B-3VAvb3.js} +1 -1
- package/dist/assets/{bank-letter-BOcVjN6J-DhC6VHDB.js → bank-letter-BOcVjN6J-KdddOmyc.js} +1 -1
- package/dist/assets/{calculateSize-QoQyn_Ku-BQL_mWcG.js → calculateSize-i9QGr8q0-Dp5VSL_N.js} +1 -1
- package/dist/assets/{chartTypes-C14YY2Rq--XZc2xV6.js → chartTypes-BGl-YMiu-DyUWLIfR.js} +1 -1
- package/dist/assets/{clock-CJkylEKt-BBrb7jeK.js → clock-CJkylEKt-CB7HCMZv.js} +1 -1
- package/dist/assets/common-Cws59IN1-fneKv-li.js +1 -0
- package/dist/assets/{commonDimensions-CVpc-NCw-CA0m656N.js → commonDimensions-CuKo3wam-D08uyy0o.js} +1 -1
- package/dist/assets/{commonTypes-Ec-PxfpT-DzRDGsuT.js → commonTypes-CfAg6Jvv-C_Qjl0Ts.js} +1 -1
- package/dist/assets/{core-CaikJZHD.js → core-AYNw6kyJ.js} +1 -1
- package/dist/assets/{dash.all.min-CteFsaah.js → dash.all.min-Dq_dQY1I.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-DcEFJStp.js → decodeURIComponentSafe-E-sgiudi.js} +1 -1
- package/dist/assets/{dnd-CzsffKNn.js → dnd-Dw-riVE4.js} +1 -1
- package/dist/assets/{dollar-round-D18u7nlm-BF4Thvjs.js → dollar-round-D18u7nlm-CvsBoEut.js} +1 -1
- package/dist/assets/{downloadPdf-BuPJ6cfr-Bn04BzVs.js → downloadPdf-Dcd8BY_9--BaRfov1.js} +1 -1
- package/dist/assets/{empty-B5B-FKq1.js → empty-C9c-cai_.js} +1 -1
- package/dist/assets/{empty-CTO6rJhq.js → empty-CX0U2Ty5.js} +1 -1
- package/dist/assets/{epic-DtTDCbBB.js → epic-B6fOiqme.js} +1 -1
- package/dist/assets/{filter-cZIFUNvj-CWbeOwgA.js → filter-cZIFUNvj-lFkn5gVk.js} +1 -1
- package/dist/assets/{getLocaleForTenant-dwEXf4rX.js → getLocaleForTenant-x8J8_kQc.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-BfzCBGHZ.js → gift-box-Cmt9OgIZ-BPwbjUGz.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-DEuKmvBU.js → graphic-no-data-l-DU4J8fDt-CaJy2HdS.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CIA_wKU3.js → graphic-no-data-net-burn-l-CzmycA0m-C9pmzSAL.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-Z_I5plJl.js → handshake-BPg58FML-BSOSNqUk.js} +1 -1
- package/dist/assets/{helper-AgH8nJln-BDBxe9FK.js → helper-DkzA3y2L-CVdrHzZT.js} +1 -1
- package/dist/assets/{hyperlink-DQyCeXx2-Bwqrw7ES.js → hyperlink-DQyCeXx2-CVVb97aA.js} +1 -1
- package/dist/assets/{index-CuxRoVvZ.js → index-CilRLucN.js} +6 -6
- package/dist/assets/{index-BL34svil.js → index-Dm85Hu6Z.js} +1 -1
- package/dist/assets/{index-B7wRNic7.js → index-DqcXLX0N.js} +1 -1
- package/dist/assets/{index-B9eknY8q.js → index-DubSD1fb.js} +1 -1
- package/dist/assets/{index-CLf01Vy8.js → index-NZat51vK.js} +1 -1
- package/dist/assets/{index-B9myuWEH.js → index-wicPWwlB.js} +1 -1
- package/dist/assets/{lexical-CXNTSpM4.js → lexical-B-dyW3-4.js} +1 -1
- package/dist/assets/{liveblocks--AdozwCz.js → liveblocks-DJcRPJQh.js} +1 -1
- package/dist/assets/{lottie-D86WIi_0.js → lottie-DdLBMmzp.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-DTyQHWMc-tj_AEx0m.js → mapLoadingInProgressToTreeNode-lABm-2N9-Chsh4dr_.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-D7pjBGp6-bV4CDhWS.js → mapSectionWithAcOnlyToTreeNode-COcUb2pF-DXYL2e9L.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-BDjo5N-i-D6CiBSSk.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CvVUjW74-CI8ETEqs.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CwHF76sn-CrCtE0Hw.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B7LYTZXQ-Dr2IrdLd.js +1 -0
- package/dist/assets/{media-player-OnsEq_AY.js → media-player-V7uSzi45.js} +2 -2
- package/dist/assets/{money-2cg1MuG4-CfgKOIyt.js → money-2cg1MuG4-B7YE6t0I.js} +1 -1
- package/dist/assets/{mui-G2MlMTlr.js → mui-Ckdcx_YE.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-CWJ8fnGp.js → page-detail-CWX5S47F-NqWvakND.js} +1 -1
- package/dist/assets/{page-summary-D7_VQHwN-CaK_VLEF.js → page-summary-D7_VQHwN-BvkWkaoT.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-XfdQwEMM.js → panelSelectedMixin-Cddsb26L-CROMd__p.js} +1 -1
- package/dist/assets/{pathToGoBack-Dh6AhADv.js → pathToGoBack-C_2xxQDe.js} +1 -1
- package/dist/assets/{pdf-DwfifS04.js → pdf-CwWlK-Dr.js} +3 -3
- package/dist/assets/{pdf-lib-CuGtb6jg.js → pdf-lib-DhaWOBih.js} +1 -1
- package/dist/assets/{plaid-CcxzSXZd.js → plaid-BhP6n1uc.js} +1 -1
- package/dist/assets/{pusher-BNSVRSP_.js → pusher-8DhjdTCA.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-CF7OSKL1.js → radio-default-CiSgisfh-BoUlFA9D.js} +1 -1
- package/dist/assets/{react-BEcxr4nX.js → react-BHDcRwxI.js} +1 -1
- package/dist/assets/{react-V3TERlfD.js → react-BwCmpEw6.js} +1 -1
- package/dist/assets/{react-Cobj-_wp.js → react-CB4dPBRZ.js} +3 -3
- package/dist/assets/{react-DOvM9ag3.js → react-CE6422aE.js} +1 -1
- package/dist/assets/{react-Chqt_ss-.js → react-CGVKTtsW.js} +1 -1
- package/dist/assets/{react-BUDcsgZo.js → react-D-APY71d.js} +1 -1
- package/dist/assets/{react-C0Whd_8a.js → react-D4pZVe2B.js} +1 -1
- package/dist/assets/{react-WpjiT9jD.js → react-D_0srhsg.js} +1 -1
- package/dist/assets/{recharts-3tylCZU1.js → recharts-Dr1JzI4y.js} +1 -1
- package/dist/assets/{routePaths-CkO80-xL.js → routePaths-DqRhLReO.js} +1 -1
- package/dist/assets/{sentry-Cm8I7E9J.js → sentry-D-LCra2M.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-tt-dORuJ.js → shield-DOlUxcFf-D5PHf2Tj.js} +1 -1
- package/dist/assets/{spend-limit-D6SyboD4-d-tIWfnn.js → spend-limit-D6SyboD4-D85B38gI.js} +1 -1
- package/dist/assets/toCOABalancesWithID-CGYYTIjt-Cbihktyj.js +1 -0
- package/dist/assets/{toChartData-G5y-N82I-CpDZEMyX.js → toChartData-B4ligi4c-CgbG1qSk.js} +1 -1
- package/dist/assets/{transaction-placeholder-CpOwZAMG-CXIruzlf.js → transaction-placeholder-CpOwZAMG-Ca0HZ2W6.js} +1 -1
- package/dist/assets/{undo-b_3XZ5CX-5VNbpbUY.js → undo-b_3XZ5CX-CSQ0fDLS.js} +1 -1
- package/dist/assets/{unlock-BPWn2I5L-8UNw8MhM.js → unlock-BPWn2I5L-DDdPB9QU.js} +1 -1
- package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-BhCuFTsT.js → upload-reimbursement-receipt-O2N8vcO7-DNsQOTk3.js} +1 -1
- package/dist/assets/{uploadAttachment-RbkIBMGO-DWkpV7gc.js → uploadAttachment-DgPDimcm-gkAtAf5q.js} +1 -1
- package/dist/assets/{uploadReceipts-CIgkuVpu-BxCHb2mc.js → uploadReceipts-CIgkuVpu-CPDGmbPp.js} +1 -1
- package/dist/assets/{url-CvhemPUG.js → url-BK92KGZc.js} +1 -1
- package/dist/assets/{url-BMzuxPwA.js → url-DUid0IO0.js} +1 -1
- package/dist/assets/{useDeviceId-BzlY8kf5.js → useDeviceId-BCros22l.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-CtiCksTW.js → useInitialThreadRequest-Wj3ao3U4.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-BgmUYGJ7.js → useLongPress-GCK2COYQ-Bs4IMufW.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BqojtCEK.js → usp-line-BBd1wKwW-BBaxYQlT.js} +1 -1
- package/dist/assets/{utils-BhOlvYO8.js → utils-CI1RvLss.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-DXYKCsTM.js → withTransactionSidePanel-CEBXOpSa.js} +1 -1
- package/dist/assets/{zeni-epic-state-lC5X-sam.js → zeni-epic-state-B1zsDZZ4.js} +3 -3
- package/dist/assets/{zeni-icon-only-DZ6h0uLr.js → zeni-icon-only-Bb7XRMgX.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/AccountInfoPage-pEEhPqOb-BzcKyQfW.js +0 -18
- package/dist/assets/ApAgingDetailPage-CxLVGnpY-BrZpRxc6.js +0 -46
- package/dist/assets/BillPayApprovalRuleDetailPage-Blxlv3pa-NuWc5jPY.js +0 -27
- package/dist/assets/ChargeCardPromoPage-D4canPX9-B2gMZ94L.js +0 -222
- package/dist/assets/CustomerOnboardingAuthScreen-DsZqZ3Im.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-DV3z4pR--zNlFTkjO.js +0 -1
- package/dist/assets/EntityDetailPage-DPTSSZdS-CPjJOO2E.js +0 -18
- package/dist/assets/MagicLinkACHDetailsPage-eq8wlXQr-DwBTA9or.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BcNOhJgL-M9e4wRPN.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Df8XYlkg-BKUO0J46.js +0 -1
- package/dist/assets/NavBarWithPicker-D2v1fhLS-CH1wdNXM.js +0 -30
- package/dist/assets/PandLWithForecastRoutes-CRImnf0E.js +0 -1
- package/dist/assets/ReferralListScreen-BaUv0jQW.js +0 -5
- package/dist/assets/ReportsPage-DrjOGopt-CEvm9-2-.js +0 -258
- package/dist/assets/RewardsRoutes-BcQjimjg.js +0 -1
- package/dist/assets/RoleWithToolTip-CqLxmtj6-BxFgYmxI.js +0 -22
- package/dist/assets/StatementItem-DjvU5wiI-BbvkEOCR.js +0 -31
- package/dist/assets/SummaryCard-DPOhBmkr-Bkvd2_eX.js +0 -1
- package/dist/assets/TaskRoutes-ByOGwdlB.js +0 -9
- package/dist/assets/TransactionListPage-DNecYY8M-BHlckINI.js +0 -35
- package/dist/assets/VendorACHDetailsPage-DJ4Crnr0-ChbQ_fot.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-WFcOmpiN-0MxyPK7N.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-B8sx02I_-CFJY5gem.js +0 -1
- package/dist/assets/VideoPopup-R3u0N_if-SR7jlWFi.js +0 -31
- package/dist/assets/common-Cu5K0AJk-Cxd55kqL.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-Cd4FCXAf-9PB61B4X.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Drhl_lnP-DCqw81Fp.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-UsawmMLa-CPc-fd5T.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B-aNuSSK-BaY2mTy_.js +0 -1
- package/dist/assets/toCOABalancesWithID-wh35N3no-D_L2t0iR.js +0 -1
package/dist/assets/{TransactionDetailScreen-B7XWRVbF.js → TransactionDetailScreen-BxZ1AvRI.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as C}from"./pdf-
|
|
1
|
+
import{j as C}from"./pdf-CwWlK-Dr.js";import{a as u}from"./sentry-D-LCra2M.js";import{i as N,u as S,h as ce,j as re,l as le,N as Le,k as Fe}from"./core-AYNw6kyJ.js";import{bm as Oe,ct as H,bP as de,bt as ue,mp as Y,Ig as P,Jh as me,Ji as K,IG as pe,gW as he,Jj as ge,IL as Q,IM as Z,hL as fe,Dn as X,Ia as x,gQ as Se,gO as ve,g_ as ze,Jk as Re,Jl as Ne,qb as R,gV as Te,CK as ye,bS as Ge,bT as Je,Jm as je,I9 as $e,Jn as Me,qf as qe,Jo as We,Jp as He,Jq as Ye,Jr as Ke,Js as Qe,gZ as Ze,Jt as Xe,Ju as ea,Ib as aa,Jv as ta,Jw as na,Jx as oa,CE as sa,Cs as ia,CW as ca,g$ as ra,Do as se,CB as la}from"./zeni-epic-state-B1zsDZZ4.js";import{js as De,aE as ee,aG as w,aF as Ee,y as da,e as ua,kN as ma,x as pa,jM as q,_ as ha,kO as ga,jO as W,jz as Ie,kP as fa,kv as Sa,k4 as M}from"./index-CilRLucN.js";import{n as va,S as Ta,D as ya}from"./mui-Ckdcx_YE.js";import{d as be}from"./decodeURIComponentSafe-E-sgiudi.js";import{h as Ce,g as Da,d as Ea,b as Ia}from"./routePaths-DqRhLReO.js";import{t as ba}from"./utils-CI1RvLss.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new a.Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="8532561c-9b79-4ca4-acaf-2683cc0ac6f6",a._sentryDebugIdIdentifier="sentry-dbid-8532561c-9b79-4ca4-acaf-2683cc0ac6f6")}catch{}})();const ae=()=>{const a=De.getSignedInUser(),{useFeatureGate:e}=ee(),{isFeatureEnabled:s}=e(w.isChainOfThoughtEnabled);return u.useMemo(()=>Oe(a)&&s,[a,s])};function ke(a){if(a!=null){if("customer"in a&&a.customer!=null){const{customer:e}=a;return{id:e.id,name:e.name,logo:e.logo,type:"customer",zeniId:e.id,qboId:e.id}}if("vendor"in a&&a.vendor!=null){const{vendor:e}=a;return{id:e.id,name:e.name,logo:e.logo,type:"vendor",zeniId:e.id,qboId:e.id}}}}function Ga(a,e){const s=N(),{useFeatureGate:t,useDynamicConfig:n}=ee(),o=S(d=>H(d)),i=o.userRole.includes("charge_card_user")||o.userRole.includes("charge_card_admin"),l=o.userRole!=null&&de(o.userRole),f=o.userRole!=null&&ue(o.userRole),{isFeatureEnabled:v}=t(w.isVendorBulkUpdateOnTransactionEnabled),{isFeatureEnabled:b}=t(w.isExpenseAutomationEnabled),{configValue:h}=n(Ee.enableUncategorizedExpenseCategory),g=h?.uncategorized_expense_category_enabled===!0,U=ae(),y=u.useMemo(()=>({id:a,type:Y(e)}),[a,e]),m=S(d=>P(d,y)),I=S(d=>{const O=P(d,y)?.transactionDetailLocalData.vendorUpdates?.id;return O==null?"Not-Started":d.transactionVendorViewState.editVendorStateById[O]?.saveStatus.fetchState??"Not-Started"}),p=u.useMemo(()=>m?.fetchState==="Completed"?ke(m?.transaction):void 0,[m?.fetchState,m?.transaction]),D=S(d=>{if(p!=null)return me(d.customerIncomeState,d.vendorExpenseState,d.trendState,p,"month")}),_=S(d=>K(d)),V=S(d=>{if(p!=null)return pe(d.trendWithTransactionsState,p,"TransactionDetail")}),G=o.company?.companyInfo.firstMonthOfFY??1,J=S(d=>he(d.accountState,d.accountListState,"accountList")),[E,c]=u.useState(!1),[L,T]=u.useState(!1),[k,A]=u.useState(!1);u.useEffect(()=>{c(!1),T(!1),A(!1)},[a,e]);const j=u.useCallback(()=>{c(!1),T(!1)},[]),[$,B]=u.useState(!1),F=V?.selectedPeriod?.timePeriod;return u.useEffect(()=>{k||m==null||m.transaction==null||(s(ge({id:m.transaction.id,type:m.transaction.type})),A(!0)),p!=null&&(!i||l&&f===!1)&&(E?L||D==null||(T(!0),s(X(p,"TransactionDetail",{timeframe:"month",timePeriod:F??D}))):(s(Q()),s(Z()),c(!0),s(fe(p))))},[s,k,m?.fetchState,m?.transaction,p,i,l,f,E,L,D,F]),u.useEffect(()=>{_.newVendorState?.vendorDetailLocalData?.vendorName!=null?B(!0):B(!1)},[_.newVendorState?.vendorDetailLocalData?.vendorName]),u.useEffect(()=>()=>{s(x("common"))},[s]),{currentTenant:o,loggedInUserHasCardUserOrAdminRole:i,isUserHasDashboardAccess:l,isUserHasInvestorOrBankerAccess:f,isVendorBulkUpdateOnTransactionEnabled:v,isExpenseAutomationEnabled:b,isUncategorizedExpenseCategoryEnabled:g,isChainOfThoughtEnabled:U,selectedTransaction:y,transactionDetail:m,vendorSaveStatus:I,tranEntity:p,defaultTrendTransactionTimePeriod:D,vendorViewDetails:_,uiState:V,firstMonthOfFY:G,uncategorizedAccounts:J,resetTrendIsFetchedStates:j,isCreateVendorDrawerOpen:$,setIsCreateVendorDrawerOpen:B}}const Ca={overlayWidth:new pa(100,100,58)},ka=({isOpen:a,onSaveVendor:e,onSaveSuccess:s,onCancel:t,vendorViewDetails:n})=>{const o=da(),i=ua(),l=N(),f=S(h=>K(h)),v=()=>{t()},b={vendorDetailView:n??f,onSaveSuccess:()=>{l(ve()),l(ze("Not-Started")),s()},onSaveVendor:e,onCancelClick:v,saveVendorDetailLocalData:h=>{l(Se({vendorId:void 0,localData:h}))}};return C.jsx(ya,{anchor:"right",open:a,PaperProps:{style:{width:Ca.overlayWidth.valuePercentage(i),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:o.colors.black,opacity:.4,cursor:"pointer"}}},onClose:v,children:C.jsx(Ua,{onClick:h=>h.stopPropagation(),children:C.jsx(ma,{...b})})})},Ua=va(Ta)`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: 100%;
|
|
4
4
|
flex-direction: column;
|
package/dist/assets/{TransactionList-B16NONME-CRFiM4VM.js → TransactionList-C2MGkQYM-CPp22oMb.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{bF as
|
|
1
|
+
import{bF as ft,e as B,V as e,an as ht,b as x,cG as ut,cH as pt,cB as gt,cI as bt,o as a,f as A,bV as wt,O as j,x as J,L as yt,l as Y,m as y,C as $t,cJ as vt,cK as X,cs as Z,a5 as tt,H as kt}from"./index-CilRLucN.js";import{a as b,b as jt}from"./sentry-D-LCra2M.js";import{n as l,c as Yt}from"./mui-Ckdcx_YE.js";import{a as Lt}from"./ConstrainedInnerElement-CgdnMeoA-Dc3P_0OR.js";import{Fr as _,Fs as q,Ft as K,Fu as I,bs as Mt,FL as et,bT as it}from"./zeni-epic-state-B1zsDZZ4.js";import{g as at}from"./BoxItem-C39hQSVg-B9WMvkwI.js";import{t as It}from"./panelSelectedMixin-Cddsb26L-CROMd__p.js";import{o as H}from"./commonDimensions-CuKo3wam-D08uyy0o.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]="7382ca9c-4ac4-4a87-9136-1ed33ca96b54",t._sentryDebugIdIdentifier="sentry-dbid-7382ca9c-4ac4-4a87-9136-1ed33ca96b54")}catch{}})();const F=t=>t?24:125,Pt={containerPaddingBottom:new J(y[9],y[8])},U=l.div`
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex: 1 1 auto;
|
|
@@ -15,7 +15,7 @@ import{bF as xt,e as B,V as e,an as ht,b as f,cG as ut,cH as pt,cB as gt,cI as b
|
|
|
15
15
|
`,Dt=l(Y)`
|
|
16
16
|
display: flex;
|
|
17
17
|
cursor: pointer;
|
|
18
|
-
`;function R({firstMonthOfFY:t,isLoadNextItem:i,isLoading:m,timePeriod:d,fixedTimePeriod:s,timeframe:r,doLoadMoreTransactions:
|
|
18
|
+
`;function R({firstMonthOfFY:t,isLoadNextItem:i,isLoading:m,timePeriod:d,fixedTimePeriod:s,timeframe:r,doLoadMoreTransactions:f}){let n=d;if(i)if(s!=null){const $=_(d.endDate.startOf("month"),t,s.numberOfPeriods,s.timeframe);n={startDate:n.endDate.add(1,"day"),endDate:$}}else{const $=_(d.endDate.startOf("month"),t,1,r),{startOfTimeframeFY:L,endOfTimeframeFY:w}=q($,t,r);n={startDate:L,endDate:w}}else if(s!=null)n={startDate:K(d.startDate.startOf("month"),t,s.numberOfPeriods,s.timeframe),endDate:d.startDate.subtract(1,"day")};else{const $=K(d.startDate.startOf("month"),t,1,r),{startOfTimeframeFY:L,endOfTimeframeFY:w}=q($,t,r);n={startDate:L,endDate:w}}const o=j.getLocalizedStrings();let h="";h=s==null?r==="month"?`${i===!0?o.transactionList.loadNextMonthPrefix:o.transactionList.loadPreviousMonthPrefix} (${I(n.startDate,o.dateFormat.visual.MMMYYYYFormat,t)})`:r==="quarter"?`${i===!0?o.transactionList.loadNextQuarterPrefix:o.transactionList.loadPreviousQuarterPrefix} (${o.transactionList.quarterPrefix}${I(n.startDate,o.dateFormat.visual.QYYYYformat,t)})`:`${i===!0?o.transactionList.loadNextYearPrefix:o.transactionList.loadPreviousYearPrefix} (${I(n.startDate,o.dateFormat.visual.YYYYformat,t)})`:`${i===!0?o.transactionList.loadNextMonthPrefix:o.transactionList.loadPreviousPrefix} ${s.numberOfPeriods} ${o.transactionList.monthsSuffix} - (${I(n.startDate,o.dateFormat.visual.MMMYYYYFormat,t)} - ${I(n.endDate,o.dateFormat.visual.MMMYYYYFormat,t)})`;const v=B(),S=s!=null?(i?"next":"previous")+"-fixed-months":`${i?"next":"previous"}-${r}`;return m===!0?e.jsx(U,{windowSize:v,isLoadNextItem:i,children:e.jsx(yt,{size:"Small",start:!0})}):e.jsx(U,{windowSize:v,isLoadNextItem:i,children:e.jsx(Dt,{"data-testid":x("load-more-transactions",S),onClick:()=>{f?.(n,r)},children:h})})}R.displayName="LoadMoreTransactions";const{common:{strings:{empty:W}}}=j.getLocalizedStrings(),Ft=l(kt)`
|
|
19
19
|
display: -webkit-box;
|
|
20
20
|
-webkit-box-orient: vertical;
|
|
21
21
|
-webkit-line-clamp: 1;
|
|
@@ -60,7 +60,7 @@ import{bF as xt,e as B,V as e,an as ht,b as f,cG as ut,cH as pt,cB as gt,cI as b
|
|
|
60
60
|
${It(t.theme)}
|
|
61
61
|
}
|
|
62
62
|
`}
|
|
63
|
-
`;function Rt({transaction:t,onItemClick:i,isQuickViewMode:m,itemIndex:d}){const{description:s,typeName:r,amount:
|
|
63
|
+
`;function Rt({transaction:t,onItemClick:i,isQuickViewMode:m,itemIndex:d}){const{description:s,typeName:r,amount:f,logo:n,vendorId:o}=t,h=String(d),v=it(t)&&o==null;return e.jsxs(St,{onClick:()=>i?.(t),"data-testid":x("transaction-item-medium",h),children:[e.jsx(X,{photoUrl:v===!1?n?.toString()??W:W,styles:{width:a.sp4,height:a.sp4,borderRadius:a.sp0},placeholder:{width:y[4],height:y[4]},fallbackAvatar:e.jsx(Nt,{children:e.jsx(Z,{name:s,size:a.sp4})})}),e.jsxs(Tt,{children:[e.jsx(zt,{"data-testid":x("transaction-item-name",h),children:s}),r!=null&&m!==!0?e.jsx(Ft,{className:"tag","data-testid":x("transaction-item-tag",h),children:r}):null]}),e.jsx(Ct,{"data-testid":x("transaction-item-amount",h),children:tt("0,0.00",f)})]})}function Bt({data:t,boxType:i,onItemClick:m,itemIndex:d=0}){const{isQuickViewMode:s,selectedTransactionId:r}=vt(),f=r!=null&&r===t.id,n=et(t.type)==null,o=e.jsx(Rt,{transaction:t,onItemClick:n?void 0:m,isQuickViewMode:s,itemIndex:d});return e.jsx(Ot,{isPanelSelected:f,children:e.jsx(at,{content:o,boxType:i,isDisabled:n})})}const{common:{strings:{empty:G}}}=j.getLocalizedStrings(),Ht=l.div`
|
|
64
64
|
display: flex;
|
|
65
65
|
padding: ${a.sp3} ${a.sp4};
|
|
66
66
|
flex-direction: row;
|
|
@@ -86,24 +86,24 @@ import{bF as xt,e as B,V as e,an as ht,b as f,cG as ut,cH as pt,cB as gt,cI as b
|
|
|
86
86
|
width: ${t=>H.amountWidth.valuePx(t.windowSize)};
|
|
87
87
|
`,At=l.div`
|
|
88
88
|
display: flex;
|
|
89
|
-
`;function _t({transaction:t,onItemClick:i,itemIndex:m}){const{description:d,amount:s,logo:r,vendorId:
|
|
89
|
+
`;function _t({transaction:t,onItemClick:i,itemIndex:m}){const{description:d,amount:s,logo:r,vendorId:f}=t,n=String(m),o=it(t)&&f==null;return e.jsxs(Ht,{onClick:()=>i?.(t),"data-testid":x("transaction-item-small",n),children:[e.jsx(X,{photoUrl:o===!1?r?.toString()??G:G,styles:{width:a.sp4,height:a.sp4,borderRadius:a.sp0},placeholder:{width:y[4],height:y[4]},fallbackAvatar:e.jsx(At,{children:e.jsx(Z,{name:d,size:a.sp4})})}),e.jsx(Qt,{children:e.jsx(Et,{"data-testid":x("transaction-item-name",n),children:d})}),e.jsx(Vt,{"data-testid":x("transaction-item-amount",n),children:tt("0,0.00",s)})]})}function qt({data:t,boxType:i,onItemClick:m,itemIndex:d=0}){const s=et(t.type)==null,r=e.jsx(_t,{transaction:t,onItemClick:s?void 0:m,itemIndex:d});return e.jsx(at,{content:r,boxType:i,isDisabled:s})}function Kt(t){return B()==="small"?e.jsx(qt,{...t}):e.jsx(Bt,{...t})}const Ut=l.div`
|
|
90
90
|
display: flex;
|
|
91
91
|
flex: 1 1 auto;
|
|
92
92
|
flex-direction: column;
|
|
93
93
|
box-shadow: ${t=>`${a.sp0} 2px ${a.sp1} ${t.theme.colors.dropShadowNormal}`};
|
|
94
94
|
border-radius: ${a.sp2};
|
|
95
95
|
background-color: ${t=>t.theme.colors.grey5};
|
|
96
|
-
`,
|
|
96
|
+
`,Wt=l($t)`
|
|
97
97
|
display: flex;
|
|
98
98
|
height: 21px;
|
|
99
99
|
margin-bottom: ${a.sp2};
|
|
100
100
|
margin-top: ${a.sp3};
|
|
101
101
|
color: ${t=>t.theme.colors.grey1};
|
|
102
|
-
`,
|
|
102
|
+
`,Gt=l.div`
|
|
103
103
|
display: flex;
|
|
104
104
|
flex-direction: column;
|
|
105
105
|
width: 100%;
|
|
106
|
-
`,
|
|
106
|
+
`,Jt=(t,i)=>i.length===1?"roundedBox":t===0?"topRoundedBox":t===i.length-1?"bottomRoundedBox":"box",Xt=jt.memo(function({date:t,transactions:i,onItemClick:m}){const{dateFormat:d}=j.getLocalizedStrings();return e.jsxs(Gt,{"data-testid":x("transactions-group"),children:[e.jsx(Wt,{"data-testid":x("transactions-group-date-label",t.format(d.analytics.YYYYDashMMDashDDFormat)),children:Mt().year()===t.year()?t.format(d.visual.MMMDFormat):t.format(d.visual.MMMDCommaYYYYformat)}),e.jsx(Ut,{"data-testid":x("transactions-group-items"),children:i.map((s,r)=>e.jsx(Kt,{data:s,boxType:Jt(r,i),itemIndex:r,onItemClick:f=>{m?.(f)},"data-testid":x("transaction-item",String(r))},s.id))})]})}),{dateFormat:Zt}=j.getLocalizedStrings(),k=j.getLocalizedStrings(),te={listItemMargin:new J(y[3],y[8])},ee=l.div`
|
|
107
107
|
display: flex;
|
|
108
108
|
flex: 1 1 auto;
|
|
109
109
|
width: 99.9%;
|
|
@@ -150,4 +150,4 @@ import{bF as xt,e as B,V as e,an as ht,b as f,cG as ut,cH as pt,cB as gt,cI as b
|
|
|
150
150
|
border-radius: 2px;
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
|
-
`,ue=b.forwardRef(function({firstMonthOfFY:t,timeframe:i,timePeriod:m,transactions:d,isFirstLotLoading:s,currentScrollYOffset:r,componentName:
|
|
153
|
+
`,ue=b.forwardRef(function({firstMonthOfFY:t,timeframe:i,timePeriod:m,transactions:d,isFirstLotLoading:s,currentScrollYOffset:r,componentName:f,showLoadNext:n,showLoadPrevious:o,onTransactionItemClick:h,trackPerformance:v=!0,onTransactionListScroll:S,onListInnerElementHeightChanged:$},L){const w=b.useMemo(()=>function(c){const u=ut(c,g=>g.date.format(Zt.visual.MMMDCommaYYYYformat)),p=pt(u,g=>g.length>0);return gt(p,g=>({date:g[0].date,transactions:bt(g,xt=>xt.updateTime,"desc")}))}(d),[d]),T=b.createRef(),[z,ot]=b.useState(!1);b.useEffect(()=>{T.current?.resetAfterIndex(0)},[d,T]);const nt=L,M=b.useRef(null),[st,rt]=b.useState(void 0);b.useEffect(()=>{!z&&s===!1&&ot(!0)},[s,z]),ft({componentName:f,enabled:v&&z});const dt=()=>{if(M!=null&&typeof M=="object"&&M.current){const c=M.current;c!=null&&c.clientHeight>0&&c.clientHeight!=st&&(rt(c.clientHeight),$?.(c.clientHeight))}},Q=b.useRef(h);Q.current=h;const lt=b.useCallback((...c)=>{Q.current?.(...c)},[]),C=w.length===0,E=o!=null,N=n!=null,O=w.length+(n!=null?1:0)+(o!=null?1:0)+(C===!0?1:0),V=c=>N===!0?c-1:c,P=B(),ct=({index:c,style:u})=>{if(N===!0&&c===0)return e.jsx("div",{style:{...u},children:e.jsx(D,{windowSize:P,"data-testid":x("transaction-list","list-item-load-more"),children:e.jsx(R,{firstMonthOfFY:t,isLoadNextItem:!0,isLoading:n?.isLoading==1,timePeriod:m,timeframe:i,fixedTimePeriod:n?.fixedTimePeriod,doLoadMoreTransactions:(p,g)=>{n?.onLoadNextClick?.(p,g)}})})});if(E===!0&&c===O-1)return e.jsx("div",{style:{...u},children:e.jsx(D,{windowSize:P,"data-testid":x("transaction-list","list-item-load-previous"),children:e.jsx(R,{firstMonthOfFY:t,isLoadNextItem:!1,isLoading:o?.isLoading==1,timePeriod:m,fixedTimePeriod:o?.fixedTimePeriod,timeframe:i,doLoadMoreTransactions:(p,g)=>{o?.onLoadPreviousClick?.(p,g)}})})});if(C===!1){const p=w[V(c)];return e.jsx("div",{style:{...u},children:e.jsxs(D,{windowSize:P,children:[e.jsx(Xt,{date:p.date,transactions:p.transactions,onItemClick:lt}),o==null?e.jsx(ie,{}):null]})})}return e.jsx("div",{style:{...u},children:e.jsx(ae,{children:e.jsx(D,{windowSize:P,"data-testid":x("transaction-list","transactions-list-empty"),children:e.jsx(oe,{children:se(m,n?.isLoading==1||o?.isLoading==1)})})})})},mt=c=>N===!0&&c===0?F(!0):E===!0&&c===O-1?F(!1):C===!1?(u=>u*H.transactionItemHeight+45)(w[V(c)].transactions.length):F(!1);return e.jsx(ee,{children:e.jsx(ht,{children:({height:c,width:u})=>e.jsx(ne,{"data-testid":x("transaction-list"),ref:T,height:c,width:u,innerElementType:Lt,innerRef:M,outerRef:nt,onItemsRendered:dt,itemCount:O,itemSize:mt,onScroll:({scrollOffset:p})=>{S?.(p)},initialScrollOffset:r??0,children:ct})})})}),se=(t,i)=>i===!0?k.transactionList.fetching:t.startDate.isSame(t.endDate,"month")?`${k.transactionList.noTransactionsFoundForPrefix} (${t.startDate.format(k.dateFormat.visual.MMMYYFormat)})`:`${k.transactionList.noTransactionsFoundForPeriodPrefix} (${t.startDate.format(k.dateFormat.visual.MMMYYFormat)} - ${t.endDate.format(k.dateFormat.visual.MMMYYFormat)})`;export{ue as D};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{x as a,e as _,_ as W,U as q,ag as X,V as t,an as ee,b as w,m as n,w as te,f as A,o,d as k,M as G,O as $,aO as oe,aP as ie,C as ne,D as re,a5 as ae,aQ as se,k as le,L as de,J as N,aR as J,a as O,ab as K}from"./index-
|
|
1
|
+
import{x as a,e as _,_ as W,U as q,ag as X,V as t,an as ee,b as w,m as n,w as te,f as A,o,d as k,M as G,O as $,aO as oe,aP as ie,C as ne,D as re,a5 as ae,aQ as se,k as le,L as de,J as N,aR as J,a as O,ab as K}from"./index-CilRLucN.js";import{a as B,b as z}from"./sentry-D-LCra2M.js";import{n as i,c as ce}from"./mui-Ckdcx_YE.js";import{F5 as me,bt as pe,bE as U}from"./zeni-epic-state-B1zsDZZ4.js";import{G as he,c as ge}from"./AccountsPromoCardStack-Ywhto4lV-cevnOXMT.js";import{a as ue}from"./ConstrainedInnerElement-CgdnMeoA-Dc3P_0OR.js";import"./pdf-CwWlK-Dr.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";import"./SummaryCard-B1d4_5lE-Dcb38d7W.js";import"./ReloadCard-CDcJMl9F-DmOo4rMc.js";import"./NavigationArrow-f4Z3TuXg-UuhH1nBa.js";import"./NavigationDots-WiVjbUsC-Crp3ArrF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="1d02a0b0-67df-4650-91fd-87f4461551ec",e._sentryDebugIdIdentifier="sentry-dbid-1d02a0b0-67df-4650-91fd-87f4461551ec")}catch{}})();const xe={textContainer:new k("extraSmallRegular","smallRegular")},we=i.div`
|
|
2
2
|
color: ${e=>e.theme.colors.hero};
|
|
3
3
|
cursor: default;
|
|
4
4
|
`,$e=i.div`
|
|
@@ -10,14 +10,14 @@ import{x as a,e as _,_ as W,U as q,ag as X,V as t,an as ee,b as w,m as n,w as te
|
|
|
10
10
|
position: relative;
|
|
11
11
|
color: ${e=>e.theme.colors.grey1};
|
|
12
12
|
${e=>`${xe.textContainer.style(e.windowSize)}`};
|
|
13
|
-
`,
|
|
13
|
+
`,ye=i(J)`
|
|
14
14
|
width: ${o.sp3};
|
|
15
15
|
height: ${o.sp3};
|
|
16
16
|
margin-right: 6px;
|
|
17
17
|
color: ${e=>e.theme.colors.hero};
|
|
18
18
|
visibility: hidden;
|
|
19
19
|
cursor: pointer;
|
|
20
|
-
`,
|
|
20
|
+
`,be=i(J)`
|
|
21
21
|
width: ${o.sp3};
|
|
22
22
|
height: ${o.sp3};
|
|
23
23
|
margin-right: 6px;
|
|
@@ -97,7 +97,7 @@ import{x as a,e as _,_ as W,U as q,ag as X,V as t,an as ee,b as w,m as n,w as te
|
|
|
97
97
|
background: ${e=>e.theme.colors.background};
|
|
98
98
|
text-align: center;
|
|
99
99
|
border-radius: ${o.sp1};
|
|
100
|
-
`;function je({accountDetails:e,analytics:u,isZeniUser:m,onSetAccountsStatementDate:C}){const p=$.getLocalizedStrings().statementCloseDay.dropdown.option1,g=$.getLocalizedStrings().statementCloseDay.dropdown.option2,[j,f]=z.useState(!1),r=e.statementCloseDay,[y
|
|
100
|
+
`;function je({accountDetails:e,analytics:u,isZeniUser:m,onSetAccountsStatementDate:C}){const p=$.getLocalizedStrings().statementCloseDay.dropdown.option1,g=$.getLocalizedStrings().statementCloseDay.dropdown.option2,[j,f]=z.useState(!1),r=e.statementCloseDay,[b,y]=z.useState(r!=="LAST_DAY_OF_THE_MONTH"?p:g),[x,h]=z.useState(r!=="LAST_DAY_OF_THE_MONTH"?r:void 0),[E,H]=z.useState(!1),F=z.useRef(r),P=W();z.useEffect(()=>{F.current!==r&&H(!1)},[r]);let D="";r!==void 0&&(D=r==="LAST_DAY_OF_THE_MONTH"?$.getLocalizedStrings().statementCloseDay.ordinalText.lastDate:`${$.getLocalizedStrings().statementCloseDay.ordinalText.prefix} ${(s=>{const c=["th","st","nd","rd"],l=s%100;return s+(c[(l-20)%10]||c[l]||c[0])})(r)} ${$.getLocalizedStrings().statementCloseDay.ordinalText.suffix}`);const I=s=>{const c=s.target.value;c===g&&h(void 0),y(c)},R=()=>{const s=e.accountId,c=x??"LAST_DAY_OF_THE_MONTH";r!==c&&(H(!0),C?.(s,c)),f(!1),u.trackCardStatementCloseDate(N.Event.cardStatementCloseDateSaved,e.accountId,e.accountName,"Card Balance",x!==void 0?`${x}`:"End")},M=_();return t.jsx(le,{onClickAway:()=>f(!1),children:t.jsxs("div",{onClick:s=>{U(P.loggedInUserRole??[])&&(s.stopPropagation(),s.preventDefault(),f(!0),u.trackCardStatementCloseDate(N.Event.cardStatementCloseDateClicked,e.accountId,e.accountName,"Card Balance",""))},"data-testid":w("statement-close-day-modal"),children:[E?t.jsx(de,{size:"Small",start:!0}):D?t.jsxs(we,{"data-testid":w("edit-statement-close-day"),children:[t.jsx(ye,{}),t.jsx(Y,{className:"statementCloseDayText",windowSize:M,children:D})]}):U(P.loggedInUserRole??[])&&m===!0?t.jsxs($e,{"data-testid":w("add-statement-close-day"),children:[t.jsx(be,{}),t.jsx(Y,{className:"statementCloseDayText",windowSize:M,children:$.getLocalizedStrings().statementCloseDay.statement})]}):"",j?t.jsxs(fe,{role:"presentation","data-testid":w("statement-close-day-section"),onClick:s=>{s.stopPropagation()},children:[t.jsxs(Z,{checked:b===p,children:[t.jsx("input",{type:"radio",name:"statementCloseDay",id:p,value:p,onChange:I,checked:b===p,style:{width:"100%"},"data-testid":w("statement-close-day-input")}),t.jsxs(V,{children:[$.getLocalizedStrings().statementCloseDay.pickDate.prefix,t.jsx(ke,{children:x??" - "}),$.getLocalizedStrings().statementCloseDay.pickDate.suffix]}),t.jsx(Se,{children:Array.from({length:28},(s,c)=>c+1).map(s=>t.jsx(ve,{isSelectedDate:s===x,"data-testid":w("statement-close-day-text"),onClick:c=>((l,S)=>{l.stopPropagation(),h(S),y(p)})(c,s),children:t.jsx(ze,{children:s})},s))})]}),t.jsxs(Z,{checked:b===g,children:[t.jsx("input",{type:"radio",name:"statementCloseDay",id:g,value:g,onChange:I,checked:b===g,style:{width:"100%"},"data-testid":w("statement-close-day-input-last-day")}),t.jsx(V,{onClick:()=>(h(void 0),void y(g)),children:$.getLocalizedStrings().statementCloseDay.lastDate.text})]}),t.jsxs(Ce,{children:[t.jsx(O,{size:"small",variant:"secondary",label:"Cancel",onClick:()=>{f(!1)},style:{marginRight:o.sp3},"data-testid":w("statement-close-day-button-secondary")}),t.jsx(O,{size:"small",variant:"primary",label:"Save",onClick:R,disabled:x==null&&b!==g,"data-testid":w("statement-close-day-button-primary")})]})]}):""]})})}const Pe=new a(n[9],98),v={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])},De={textContainer:new k("standardMedium","largeMedium")},Be=i.div`
|
|
101
101
|
display: flex;
|
|
102
102
|
width: 100%;
|
|
103
103
|
`,Te=i.div`
|
|
@@ -157,7 +157,7 @@ import{x as a,e as _,_ as W,U as q,ag as X,V as t,an as ee,b as w,m as n,w as te
|
|
|
157
157
|
align-items: flex-end;
|
|
158
158
|
flex-direction: column;
|
|
159
159
|
justify-content: center;
|
|
160
|
-
`,_e=i(se)``,Le=z.memo(function({data:e,showStatementSection:u,analytics:m,isZeniUser:C,onItemClick:p,onSetAccountsStatementDate:g}){const{key:j,title:f,amount:r,logoUri:
|
|
160
|
+
`,_e=i(se)``,Le=z.memo(function({data:e,showStatementSection:u,analytics:m,isZeniUser:C,onItemClick:p,onSetAccountsStatementDate:g}){const{key:j,title:f,amount:r,logoUri:b}=e,y=W(),x=y.loggedInUserRole!=null&&!pe(y.loggedInUserRole),h=_();return t.jsx(Be,{windowSize:h,children:t.jsx(Te,{"data-testid":w("transaction-list-item-big",e.title),windowSize:h,showEditStatementIcon:U(y.loggedInUserRole??[])&&C===!0,isClickEnabled:x,onClick:()=>x===!0?p?.(j,e.source):null,children:t.jsxs(Ae,{windowSize:h,children:[t.jsxs(He,{windowSize:h,children:[t.jsx(Ie,{windowSize:h,src:b,loading:"lazy"}),t.jsx(Re,{windowSize:h,children:f})]}),t.jsxs(Me,{windowSize:h,children:[t.jsx(_e,{children:ae("0,0",r)}),u&&h!=="small"&&t.jsx(je,{accountDetails:e.source,isZeniUser:C,onSetAccountsStatementDate:g,analytics:m})]})]})})})}),T=$.getLocalizedStrings().zeniAccountsPromoCard,d={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,te.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])},L={textContainer:new k("largeMedium","h6Medium"),promoText:new k("extraSmallRegular","standardRegular"),promoHighlightText:new k("extraLargeRegular","h5Regular"),promoButtonText:new k("extraSmallMedium","smallRegular")},Ee=i.div`
|
|
161
161
|
display: flex;
|
|
162
162
|
flex: 1 1 auto;
|
|
163
163
|
flex-direction: column;
|
|
@@ -281,4 +281,4 @@ import{x as a,e as _,_ as W,U as q,ag as X,V as t,an as ee,b as w,m as n,w as te
|
|
|
281
281
|
position: absolute;
|
|
282
282
|
bottom: ${e=>d.promoFooterPositionBottom.valuePx(e.size)};
|
|
283
283
|
right: ${e=>d.promoFooterPositionRight.valuePx(e.size)};
|
|
284
|
-
`,tt=({sectionTitle:e,totalFormatted:u})=>{const m=_();return t.jsx(Fe,{windowSize:m,children:t.jsxs(We,{windowSize:m,children:[t.jsx(Ne,{children:e}),t.jsx(Oe,{children:u})]})})};function ft({sectionTitle:e,analytics:u,transactionArray:m,isZeniUser:C,zeniAccountsPromoCardReport:p,onItemClick:g,onSetAccountsStatementDate:j,onPromoCardBtnClick:f}){const r=_(),
|
|
284
|
+
`,tt=({sectionTitle:e,totalFormatted:u})=>{const m=_();return t.jsx(Fe,{windowSize:m,children:t.jsxs(We,{windowSize:m,children:[t.jsx(Ne,{children:e}),t.jsx(Oe,{children:u})]})})};function ft({sectionTitle:e,analytics:u,transactionArray:m,isZeniUser:C,zeniAccountsPromoCardReport:p,onItemClick:g,onSetAccountsStatementDate:j,onPromoCardBtnClick:f}){const r=_(),b=B.createRef(),[y,x]=B.useState(0),h=W(),E=q(m,function(l,S){return l+(S.amount?.amount??0)},0),H=m.length>0?m[0].amount?.currencySymbol:"",F=X("0,0",E,H),P=B.useRef(g);P.current=g;const D=B.useCallback((...l)=>{P.current?.(...l)},[]),I=({index:l,style:S})=>t.jsx("div",{style:{...S},children:t.jsx(Ye,{children:t.jsx(Ze,{windowSize:r,children:t.jsx(Le,{data:m[l],showStatementSection:e===$.getLocalizedStrings().balanceCard.cardBalanceSectionTitle,isZeniUser:C,analytics:u,onItemClick:D,onSetAccountsStatementDate:j})})})}),R=B.useRef(null),M=()=>{const l=R.current;l!=null&&l.clientHeight>0&&l.clientHeight!=y&&x(l.clientHeight)},s=()=>{f?.(p?.depositAccountId??"")},c=me(h.loggedInUserRoleMap);return t.jsxs(Ee,{windowSize:r,listHeight:y,"data-testid":w("transaction-list-big"),children:[t.jsx(tt,{sectionTitle:e,totalFormatted:F}),t.jsx(Ue,{children:t.jsx(ee,{children:({height:l,width:S})=>t.jsxs(t.Fragment,{children:[p?.isShowDepositAccountsPromo===!0?t.jsxs(Ge,{width:S,size:r,children:[t.jsxs(Je,{size:r,children:[t.jsx(Ke,{size:r,children:T.keepInterest.prefixCashBalance}),t.jsx(Qe,{size:r,children:he("keepInterest",ge(p.maxPossibleInterest??0))})]}),t.jsx(qe,{onClick:s,size:r,children:t.jsx(Xe,{size:r,children:c?p.depositAccountId!=null?T.button:T.signUp:T.learnMore})}),t.jsx(et,{size:r,children:T.keepInterest.footer.replace(/<interest>/,p.maxAnnualPercentageYield.toString())})]}):null,t.jsx(Ve,{ref:b,height:l,width:S,style:{overflow:"unset"},innerElementType:ue,itemCount:m.length,itemSize:Pe.value(r)+d.itemPaddingBottom.value(r),onItemsRendered:M,itemKey:Q=>m[Q].key,innerRef:R,children:I})]})})})]})}export{ft as default,d as dimensions};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import{y as M,aX as R,aY as z,V as e,aZ as X,L as Z,b as h,a_ as G,o as s,l as K}from"./index-CilRLucN.js";import{a as r,o as Q}from"./sentry-D-LCra2M.js";import{n as l}from"./mui-Ckdcx_YE.js";import{D as q}from"./TransactionList-C2MGkQYM-CPp22oMb.js";import{t as H}from"./page-detail-CWX5S47F-NqWvakND.js";import"./pdf-CwWlK-Dr.js";import"./zeni-epic-state-B1zsDZZ4.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";import"./ConstrainedInnerElement-CgdnMeoA-Dc3P_0OR.js";import"./BoxItem-C39hQSVg-B9WMvkwI.js";import"./commonDimensions-CuKo3wam-D08uyy0o.js";import"./panelSelectedMixin-Cddsb26L-CROMd__p.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]="ba195883-673d-425f-a727-2d52e54af10d",t._sentryDebugIdIdentifier="sentry-dbid-ba195883-673d-425f-a727-2d52e54af10d")}catch{}})();const J=l.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex: 1 1 auto;
|
|
4
|
+
min-height: 0;
|
|
5
|
+
width: 100%;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
background-color: ${t=>t.theme.colors.grey4};
|
|
8
|
+
box-shadow: ${t=>`${s.sp0} 2px ${s.sp1} ${t.theme.colors.dropShadowNormal}`};
|
|
9
|
+
`,U=l.div`
|
|
10
|
+
display: flex;
|
|
11
|
+
flex: 1 1 auto;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
justify-content: center;
|
|
14
|
+
align-items: center;
|
|
15
|
+
margin: ${s.sp0};
|
|
16
|
+
`,W=l.div`
|
|
17
|
+
display: flex;
|
|
18
|
+
flex: 1 1 auto;
|
|
19
|
+
height: 100%;
|
|
20
|
+
width: 100%;
|
|
21
|
+
flex-direction: row;
|
|
22
|
+
justify-content: center;
|
|
23
|
+
align-items: center;
|
|
24
|
+
`,tt=l(K)`
|
|
25
|
+
color: ${t=>t.theme.colors.hero};
|
|
26
|
+
text-align: center;
|
|
27
|
+
`,et=l(H)`
|
|
28
|
+
height: ${s.sp4};
|
|
29
|
+
width: ${s.sp4};
|
|
30
|
+
color: ${t=>t.theme.colors.hero};
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
&:hover {
|
|
33
|
+
color: ${t=>t.theme.colors.primary};
|
|
34
|
+
}
|
|
35
|
+
`;function Ct({title:t,subTitle:c,firstMonthOfFY:g,timeframe:d,timePeriod:i,useFixedPeriod:x,dataAvailableForPeriod:y,report:o,currentScrollYOffset:k,showStatementPageIcon:I=!1,onTimePeriodChange:b,onTransactionItemClick:j,onTransactionListScroll:v,onBackClick:T,onStatementPageIconClick:D,panelContent:F,referrerType:N,sidePanelIsFullView:O,sidePanelIsOpen:L}){const[f,P]=r.useState(!0),[m,C]=r.useState(!1),[p,S]=r.useState(!1),_=M();r.useEffect(()=>{o.transactions.length>0?P(!1):P(m===!1&&p===!1&&(o.fetchState==="In-Progress"||o.fetchState==="Not-Started"))},[o,f,m,p]);const Y=R(),w=z(N),B=`${w===""?Y:w}.transactions.list`,E=i.startDate.isAfter(y.startDate,d)?{isLoading:m&&(o.fetchState==="In-Progress"||o.fetchState==="Not-Started"),fixedTimePeriod:x,onLoadPreviousClick:(a,n)=>{S(!1),C(!0),b?.(a,i,n)}}:void 0,V=i.endDate.isBefore(y.endDate,d)?{isLoading:p&&(o.fetchState==="In-Progress"||o.fetchState==="Not-Started"),fixedTimePeriod:x,onLoadNextClick:(a,n)=>{C(!1),S(!0),b?.(a,i,n)}}:void 0;let $=null;I&&($=e.jsx(et,{onClick:D}));const u=r.useRef(null);return e.jsx(r.Profiler,{id:"TransactionListPage",onRender:function(a,n,A){Q({category:`${B}.transaction-list.react.profiler`,message:`${a} (${n}) took ${A}ms`,level:"info"})},children:e.jsx(X,{isOpen:L??!1,isFullView:O??!1,panelContent:F,headerContent:e.jsx(G,{source:"TransactionListPage","data-testid":h("transaction-list-page-nav-bar"),title:t,onBackClick:T,backgroundColor:_.colors.grey4,rightSideComponent:$,scrollableContent:u.current!=null?u:void 0}),listContent:e.jsx(J,{"data-testid":h("transaction-list-page",t),children:e.jsxs(U,{"data-testid":h("transaction-list",t),children:[e.jsx(tt,{children:c}),f===!1?e.jsx(q,{ref:u,firstMonthOfFY:g,timeframe:d,timePeriod:i,transactions:o.transactions,isFirstLotLoading:f,currentScrollYOffset:k,onTransactionItemClick:j,onTransactionListScroll:v,showLoadPrevious:E,showLoadNext:V,componentName:"report.transactions.list"}):e.jsx(W,{children:e.jsx(Z,{size:"ExtraLarge",start:!0})})]})})})})}export{Ct as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as i}from"./pdf-DwfifS04.js";import{j as J,h as R,i as U,l as q,u as L,N as B,k as H,R as Te,m as v}from"./core-CaikJZHD.js";import{ct as $,ga as T,MC as K,De as de,bs as ne,MD as De,II as W,ME as ce,MF as ge,bG as x,Db as le,MG as ye,MH as oe,MI as Ae,MJ as ue,MK as he,ML as Se,MM as ie,Er as ke,bm as Ie}from"./zeni-epic-state-lC5X-sam.js";import{O as Z,jz as O,lW as Q,jO as w,jM as X,k2 as be,js as ve,aE as Ye,aG as se}from"./index-CuxRoVvZ.js";import"./mui-G2MlMTlr.js";import{a as A}from"./sentry-Cm8I7E9J.js";import{w as ee}from"./withTransactionSidePanel-DXYKCsTM.js";import{p as te,b as ae}from"./routePaths-CkO80-xL.js";import{u as xe}from"./utils-BhOlvYO8.js";import{d as M}from"./decodeURIComponentSafe-DcEFJStp.js";import{Z as Pe}from"./ZeniAccountStatementScreen-BI6AQKJr.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./TransactionDetailScreen-B7XWRVbF.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new a.Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="12391f5e-7f7f-4565-9a66-ebfc8c44ba14",a._sentryDebugIdIdentifier="sentry-dbid-12391f5e-7f7f-4565-9a66-ebfc8c44ba14")}catch{}})();const G=a=>xe(a),Me=H(function(a,e){const t=De(a.transactionState,a.transactionListState,e.selectedAccount.period,e.selectedAccount.timeframe,G(e.selectedAccount.tranListType));return{title:e.selectedAccount.title,subTitle:e.selectedAccount.subTitle,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:e.dataAvailableForPeriod,report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??"../../";e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();const o=Z.getLocalizedStrings(),r=G(e.selectedAccount.tranListType),s=je(t,n,c,r,e.bookCloseDate);O.trackTransactionList(void 0,void 0,void 0,e.selectedAccount.title,void 0,!0),a(ce({uiState:{dateRange:s},type:G(e.selectedAccount.tranListType)})),a(de(r,T(s),!1,r==="missingReceipts"?o.uncategorizedTransactionList.missingReceipt.missingReceiptMinAmount:void 0)),e.onSelectedTimePeriodChange(T(s))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(ce({uiState:{scrollYOffset:t},type:G(e.selectedAccount.tranListType)}))}}})(Q),F=ee(function({...a}){const e=J(),t=R(),n=U(),c=t.pathname.substring(t.pathname.lastIndexOf("/")+1),{tenantEmailDomain:o}=q(),r=Z.getLocalizedStrings(),{accountType:s,title:u,subTitle:h}=Le(c),D="month",g=L(p=>$(p)),Y=g.company?.companyInfo.firstMonthOfFY??1,{dataAvailable:y,initialTimeframeTick:S}=Ee(c,Y,g.bookCloseDate),[k,E]=A.useState(!1),[j,P]=A.useState(void 0),m=A.useMemo(()=>{const p=T(S);return{tranListType:c,accountType:K(s),title:u,subTitle:h,timeframe:D,period:p}},[c,D,s,y]);A.useEffect(()=>{if(!k&&m!=null){E(!0),O.trackTransactionList(void 0,void 0,void 0,m.title);const p=G(m.tranListType);n(de(p,m.period,!0,p==="missingReceipts"?r.uncategorizedTransactionList.missingReceipt.missingReceiptMinAmount:void 0))}},[k,m,n]);let I=m;return m!=null&&j!=null&&(I={...m,period:j}),I==null?i.jsx(B,{to:"../"}):i.jsx(Me,{firstMonthOfFY:Y,tenantEmailDomain:o,location:t,useFixedPeriod:{timeframe:"month",numberOfPeriods:12},dataAvailableForPeriod:y,navigate:e,selectedAccount:I,referrerType:c,bookCloseDate:g.bookCloseDate,onSelectedTimePeriodChange:p=>P(p),...a})}),Le=a=>{let e="",t="",n="";const c=Z.getLocalizedStrings();switch(a){case"uncategorized-income":e="income",t=c.uncategorizedTransactionList.income.title,n=c.uncategorizedTransactionList.income.subTitle;break;case"uncategorized-expense":e="expenses",t=c.uncategorizedTransactionList.expense.title,n=c.uncategorizedTransactionList.expense.subTitle;break;case"miscategorized-expense":e="expenses",t=c.miscategorizedTransactionList.expense.title,n=c.miscategorizedTransactionList.expense.subTitle;break;case"miscategorized-income":e="income",t=c.miscategorizedTransactionList.income.title,n=c.miscategorizedTransactionList.income.subTitle;break;case"missing-receipts":t=c.uncategorizedTransactionList.missingReceipt.title,n=c.uncategorizedTransactionList.missingReceipt.subTitle}return{accountType:e,title:t,subTitle:n}},Ee=(a,e,t)=>{const n=ne();let c=ne().startOf("month").subtract(11,"month");return t!=null&&a!=="missing-receipts"?t.add(1,"day").isBefore(c)?{dataAvailable:{startDate:t.add(1,"day"),endDate:n},initialTimeframeTick:{startDate:c,endDate:n}}:(c=t.add(1,"day"),{dataAvailable:{startDate:c,endDate:n},initialTimeframeTick:{startDate:c,endDate:n}}):{dataAvailable:te(5,e),initialTimeframeTick:{startDate:c,endDate:n}}},je=(a,e,t,n,c)=>{let o=e;return n==="missingReceipts"||c==null?a.startDate.isBefore(e.startDate,t)?o={startDate:a.startDate,endDate:e.endDate}:a.startDate.isAfter(e.endDate,t)?o={startDate:e.startDate,endDate:a.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(a)}`):o=a.startDate.isBefore(c,t)?{startDate:c.add(1,"day"),endDate:e.endDate}:{startDate:a.startDate,endDate:e.endDate},o},ze=H(function(a,e){const t=ye(a.transactionState,a.transactionListState,e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.classId,e.selectedAccount.timeframe,e.selectedAccount.period);return{accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,title:e.selectedAccount.title,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:te(5,e.firstMonthOfFY),report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??me();e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();let o=n;t.startDate.isBefore(n.startDate,c)?o={startDate:t.startDate,endDate:n.endDate}:t.startDate.isAfter(n.endDate,c)?o={startDate:n.startDate,endDate:t.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(t)}`),O.trackTransactionList(e.selectedAccount.accountId,void 0,e.referrerType,e.selectedAccount.title,void 0,!0),a(oe({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,classId:e.selectedAccount.classId,uiState:{dateRange:o}})),a(le(e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.classId,T(o))),e.onSelectedTimePeriodChange(T(o))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(oe({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,classId:e.selectedAccount.classId,uiState:{scrollYOffset:t}}))}}})(Q),Be=ee(function({referrerType:a,...e}){const t=J(),n=R(),c=U(),{tenantEmailDomain:o,accountTypeEncoded:r,accountIdEncoded:s,classIdEncoded:u,timeframe:h,startDate:D,endDate:g,titleEncoded:Y}=q(),y=M(r??""),S=M(s??""),k=M(u??""),E=M(Y??""),j=L(f=>ge(f.transactionListState,S,y,k)),[P,m]=A.useState(!1),[I,p]=A.useState(void 0),_=L(f=>$(f)),V=_.company?.companyInfo.firstMonthOfFY??1;let d;const l=Oe(y,S,k,h,D,g,E);if(l){const f={startDate:x(D,"YYYY-MM-DD"),endDate:x(g,"YYYY-MM-DD")},N=Ce(j?.dateRange,f);d={accountId:S,accountType:K(y),classId:k,title:E,timeframe:h,period:N}}A.useEffect(()=>{P||d==null||(m(!0),O.trackTransactionList(d.accountId,void 0,a,d.title),c(le(d.accountId,d.accountType,d.classId,d.period)))},[P,d,c]);let z=d;d!=null&&I!=null&&(z={...d,period:I});const C=[r,s,u,h,D,g,Y].filter(f=>f!=null);return l&&z!=null?i.jsx(ze,{firstMonthOfFY:V,tenantEmailDomain:o,location:n,navigate:t,selectedAccount:z,referrerType:a,onSelectedTimePeriodChange:f=>p(f),...e}):i.jsx(B,{to:me(C.length)})}),me=(a=7)=>{let e="../";for(let t=0;t<a;t++)e=`${e}../`;return e},Oe=(a,e,t,n,c,o,r)=>a!=null&&e!=null&&t!=null&&n!=null&&c!=null&&o!=null&&(n==="month"||n==="quarter")&&x(c,"YYYY-MM-DD").isValid()&&x(o,"YYYY-MM-DD").isValid()&&r!=null,Ce=(a,e)=>a!=null&&a.endDate.isSame(e.endDate,"day")&&a.startDate.isBefore(e.startDate,"day")?T(a):T(e),Fe=H(function(a,e){const t=he(a.transactionState,a.transactionListState,e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.timeframe,e.selectedAccount.period),n=t.account?.coaId,c=e.isConnectedAccountProviderUnit&&Se(n??"");return{accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,title:e.selectedAccount.title,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:te(5,e.firstMonthOfFY),report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0,showStatementPageIcon:c}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??pe();e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();let o=n;t.startDate.isBefore(n.startDate,c)?o={startDate:t.startDate,endDate:n.endDate}:t.startDate.isAfter(n.endDate,c)?o={startDate:n.startDate,endDate:t.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(t)}`),O.trackTransactionList(e.selectedAccount.accountId,void 0,e.referrerType,e.selectedAccount.title,void 0,!0),a(ie({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,uiState:{dateRange:o}})),a(ue(e.selectedAccount.accountId,e.selectedAccount.accountType,T(o))),e.onSelectedTimePeriodChange(T(o))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(ie({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,uiState:{scrollYOffset:t}}))},onStatementPageIconClick:()=>{const t=we(e.tenantEmailDomain),n=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(t,{state:{pathnameStackToGoBack:n}})}}})(Q),re=ee(function({referrerType:a,...e}){const t=J(),n=R(),c=U(),{tenantEmailDomain:o,accountTypeEncoded:r,accountIdEncoded:s,timeframe:u,startDate:h,endDate:D,titleEncoded:g,excludeSubAccounts:Y}=q(),y=M(r??""),S=M(s??""),k=M(g??""),E=!(Y!=null&&Y==="exclude_subaccounts"),j=L(b=>Ae(b.transactionListState,S,y)),[P,m]=A.useState(!1),[I,p]=A.useState(void 0),_=L(b=>$(b)),V=_.company?.featuresActivationInfo.connectedAccountProvider==="unit",d=_.company?.companyInfo.firstMonthOfFY??1;let l;const z=Ge(y,S,u,h,D,k);if(z){const b={startDate:x(h,"YYYY-MM-DD"),endDate:x(D,"YYYY-MM-DD")},fe=_e(j?.dateRange,b);l={accountId:S,accountType:K(y),title:k,timeframe:u,period:fe}}let C=l;l!=null&&I!=null&&(C={...l,period:I});const{areTenantIdsInSync:f}=be();A.useEffect(()=>{!P&&l!=null&&f&&(m(!0),O.trackTransactionList(l.accountId,void 0,a,l.title),c(ue(l.accountId,l.accountType,l.period,void 0,!1,E)))},[P,l,c,f]);const N=[r,s,u,h,D,g].filter(b=>b!=null);return z&&C!=null?i.jsx(Fe,{firstMonthOfFY:d,tenantEmailDomain:o,location:n,navigate:t,isConnectedAccountProviderUnit:V,selectedAccount:C,referrerType:a,onSelectedTimePeriodChange:b=>p(b),...e}):i.jsx(B,{to:pe(N.length)})}),pe=(a=7)=>{let e="../";for(let t=0;t<a;t++)e=`${e}../`;return e},Ge=(a,e,t,n,c,o)=>a!=null&&e!=null&&t!=null&&n!=null&&c!=null&&(t==="month"||t==="quarter")&&x(n,"YYYY-MM-DD").isValid()&&x(c,"YYYY-MM-DD").isValid()&&o!=null,_e=(a,e)=>a!=null&&a.endDate.isSame(e.endDate,"day")&&a.startDate.isBefore(e.startDate,"day")?T(a):T(e),we=a=>`/${a}/transactions/${ke}/statements`;function ot(){const a=R().state?.referrer,e=ve.getSignedInUser(),t=Ie(e),{useFeatureGate:n}=Ye(),{isFeatureEnabled:c}=n(se.isExpenseAutomationEnabled),o=L(u=>u.expenseAutomationViewState.selectedPeriodByTenantId)[L(u=>$(u)).tenantId],{isFeatureEnabled:r}=n(se.isExpenseAutomationEnabledV2),s=r||c&&t;return i.jsxs(Te,{children:[i.jsx(v,{path:"/:accountTypeEncoded/:accountIdEncoded/:timeframe/:startDate/:endDate/:titleEncoded/:excludeSubAccounts/*",element:i.jsx(re,{referrerType:a})}),i.jsx(v,{path:"/zeni-clearing-account/statements",element:i.jsx(Pe,{})}),i.jsx(v,{path:"/*",element:i.jsx(re,{referrerType:a})}),i.jsx(v,{path:"/uncategorized-income/*",element:i.jsx(F,{})}),i.jsx(v,{path:"/uncategorized-expense/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/transaction_categorization/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/miscategorized-income/*",element:i.jsx(F,{})}),i.jsx(v,{path:"/miscategorized-expense/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/transaction_categorization/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/missing-receipts/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/missing_receipts/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/by-class/:accountTypeEncoded/:accountIdEncoded/:classIdEncoded/:timeframe/:startDate/:endDate/:titleEncoded/*",element:i.jsx(Be,{referrerType:a})})]})}export{ot as default};
|
|
1
|
+
import{j as i}from"./pdf-CwWlK-Dr.js";import{j as J,h as R,i as U,l as q,u as L,N as B,k as H,R as Te,m as v}from"./core-AYNw6kyJ.js";import{ct as $,ga as T,MC as K,De as de,bs as ne,MD as De,II as W,ME as ce,MF as ge,bG as x,Db as le,MG as ye,MH as oe,MI as Ae,MJ as ue,MK as he,ML as Se,MM as ie,Er as ke,bm as Ie}from"./zeni-epic-state-B1zsDZZ4.js";import{O as Z,jz as O,lW as Q,jO as w,jM as X,k2 as be,js as ve,aE as Ye,aG as se}from"./index-CilRLucN.js";import"./mui-Ckdcx_YE.js";import{a as A}from"./sentry-D-LCra2M.js";import{w as ee}from"./withTransactionSidePanel-CEBXOpSa.js";import{p as te,b as ae}from"./routePaths-DqRhLReO.js";import{u as xe}from"./utils-CI1RvLss.js";import{d as M}from"./decodeURIComponentSafe-E-sgiudi.js";import{Z as Pe}from"./ZeniAccountStatementScreen-BJVQBUGi.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./TransactionDetailScreen-BxZ1AvRI.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new a.Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="12391f5e-7f7f-4565-9a66-ebfc8c44ba14",a._sentryDebugIdIdentifier="sentry-dbid-12391f5e-7f7f-4565-9a66-ebfc8c44ba14")}catch{}})();const G=a=>xe(a),Me=H(function(a,e){const t=De(a.transactionState,a.transactionListState,e.selectedAccount.period,e.selectedAccount.timeframe,G(e.selectedAccount.tranListType));return{title:e.selectedAccount.title,subTitle:e.selectedAccount.subTitle,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:e.dataAvailableForPeriod,report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??"../../";e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();const o=Z.getLocalizedStrings(),r=G(e.selectedAccount.tranListType),s=je(t,n,c,r,e.bookCloseDate);O.trackTransactionList(void 0,void 0,void 0,e.selectedAccount.title,void 0,!0),a(ce({uiState:{dateRange:s},type:G(e.selectedAccount.tranListType)})),a(de(r,T(s),!1,r==="missingReceipts"?o.uncategorizedTransactionList.missingReceipt.missingReceiptMinAmount:void 0)),e.onSelectedTimePeriodChange(T(s))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(ce({uiState:{scrollYOffset:t},type:G(e.selectedAccount.tranListType)}))}}})(Q),F=ee(function({...a}){const e=J(),t=R(),n=U(),c=t.pathname.substring(t.pathname.lastIndexOf("/")+1),{tenantEmailDomain:o}=q(),r=Z.getLocalizedStrings(),{accountType:s,title:u,subTitle:h}=Le(c),D="month",g=L(p=>$(p)),Y=g.company?.companyInfo.firstMonthOfFY??1,{dataAvailable:y,initialTimeframeTick:S}=Ee(c,Y,g.bookCloseDate),[k,E]=A.useState(!1),[j,P]=A.useState(void 0),m=A.useMemo(()=>{const p=T(S);return{tranListType:c,accountType:K(s),title:u,subTitle:h,timeframe:D,period:p}},[c,D,s,y]);A.useEffect(()=>{if(!k&&m!=null){E(!0),O.trackTransactionList(void 0,void 0,void 0,m.title);const p=G(m.tranListType);n(de(p,m.period,!0,p==="missingReceipts"?r.uncategorizedTransactionList.missingReceipt.missingReceiptMinAmount:void 0))}},[k,m,n]);let I=m;return m!=null&&j!=null&&(I={...m,period:j}),I==null?i.jsx(B,{to:"../"}):i.jsx(Me,{firstMonthOfFY:Y,tenantEmailDomain:o,location:t,useFixedPeriod:{timeframe:"month",numberOfPeriods:12},dataAvailableForPeriod:y,navigate:e,selectedAccount:I,referrerType:c,bookCloseDate:g.bookCloseDate,onSelectedTimePeriodChange:p=>P(p),...a})}),Le=a=>{let e="",t="",n="";const c=Z.getLocalizedStrings();switch(a){case"uncategorized-income":e="income",t=c.uncategorizedTransactionList.income.title,n=c.uncategorizedTransactionList.income.subTitle;break;case"uncategorized-expense":e="expenses",t=c.uncategorizedTransactionList.expense.title,n=c.uncategorizedTransactionList.expense.subTitle;break;case"miscategorized-expense":e="expenses",t=c.miscategorizedTransactionList.expense.title,n=c.miscategorizedTransactionList.expense.subTitle;break;case"miscategorized-income":e="income",t=c.miscategorizedTransactionList.income.title,n=c.miscategorizedTransactionList.income.subTitle;break;case"missing-receipts":t=c.uncategorizedTransactionList.missingReceipt.title,n=c.uncategorizedTransactionList.missingReceipt.subTitle}return{accountType:e,title:t,subTitle:n}},Ee=(a,e,t)=>{const n=ne();let c=ne().startOf("month").subtract(11,"month");return t!=null&&a!=="missing-receipts"?t.add(1,"day").isBefore(c)?{dataAvailable:{startDate:t.add(1,"day"),endDate:n},initialTimeframeTick:{startDate:c,endDate:n}}:(c=t.add(1,"day"),{dataAvailable:{startDate:c,endDate:n},initialTimeframeTick:{startDate:c,endDate:n}}):{dataAvailable:te(5,e),initialTimeframeTick:{startDate:c,endDate:n}}},je=(a,e,t,n,c)=>{let o=e;return n==="missingReceipts"||c==null?a.startDate.isBefore(e.startDate,t)?o={startDate:a.startDate,endDate:e.endDate}:a.startDate.isAfter(e.endDate,t)?o={startDate:e.startDate,endDate:a.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(a)}`):o=a.startDate.isBefore(c,t)?{startDate:c.add(1,"day"),endDate:e.endDate}:{startDate:a.startDate,endDate:e.endDate},o},ze=H(function(a,e){const t=ye(a.transactionState,a.transactionListState,e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.classId,e.selectedAccount.timeframe,e.selectedAccount.period);return{accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,title:e.selectedAccount.title,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:te(5,e.firstMonthOfFY),report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??me();e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();let o=n;t.startDate.isBefore(n.startDate,c)?o={startDate:t.startDate,endDate:n.endDate}:t.startDate.isAfter(n.endDate,c)?o={startDate:n.startDate,endDate:t.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(t)}`),O.trackTransactionList(e.selectedAccount.accountId,void 0,e.referrerType,e.selectedAccount.title,void 0,!0),a(oe({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,classId:e.selectedAccount.classId,uiState:{dateRange:o}})),a(le(e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.classId,T(o))),e.onSelectedTimePeriodChange(T(o))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(oe({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,classId:e.selectedAccount.classId,uiState:{scrollYOffset:t}}))}}})(Q),Be=ee(function({referrerType:a,...e}){const t=J(),n=R(),c=U(),{tenantEmailDomain:o,accountTypeEncoded:r,accountIdEncoded:s,classIdEncoded:u,timeframe:h,startDate:D,endDate:g,titleEncoded:Y}=q(),y=M(r??""),S=M(s??""),k=M(u??""),E=M(Y??""),j=L(f=>ge(f.transactionListState,S,y,k)),[P,m]=A.useState(!1),[I,p]=A.useState(void 0),_=L(f=>$(f)),V=_.company?.companyInfo.firstMonthOfFY??1;let d;const l=Oe(y,S,k,h,D,g,E);if(l){const f={startDate:x(D,"YYYY-MM-DD"),endDate:x(g,"YYYY-MM-DD")},N=Ce(j?.dateRange,f);d={accountId:S,accountType:K(y),classId:k,title:E,timeframe:h,period:N}}A.useEffect(()=>{P||d==null||(m(!0),O.trackTransactionList(d.accountId,void 0,a,d.title),c(le(d.accountId,d.accountType,d.classId,d.period)))},[P,d,c]);let z=d;d!=null&&I!=null&&(z={...d,period:I});const C=[r,s,u,h,D,g,Y].filter(f=>f!=null);return l&&z!=null?i.jsx(ze,{firstMonthOfFY:V,tenantEmailDomain:o,location:n,navigate:t,selectedAccount:z,referrerType:a,onSelectedTimePeriodChange:f=>p(f),...e}):i.jsx(B,{to:me(C.length)})}),me=(a=7)=>{let e="../";for(let t=0;t<a;t++)e=`${e}../`;return e},Oe=(a,e,t,n,c,o,r)=>a!=null&&e!=null&&t!=null&&n!=null&&c!=null&&o!=null&&(n==="month"||n==="quarter")&&x(c,"YYYY-MM-DD").isValid()&&x(o,"YYYY-MM-DD").isValid()&&r!=null,Ce=(a,e)=>a!=null&&a.endDate.isSame(e.endDate,"day")&&a.startDate.isBefore(e.startDate,"day")?T(a):T(e),Fe=H(function(a,e){const t=he(a.transactionState,a.transactionListState,e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.timeframe,e.selectedAccount.period),n=t.account?.coaId,c=e.isConnectedAccountProviderUnit&&Se(n??"");return{accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,title:e.selectedAccount.title,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:te(5,e.firstMonthOfFY),report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0,showStatementPageIcon:c}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??pe();e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();let o=n;t.startDate.isBefore(n.startDate,c)?o={startDate:t.startDate,endDate:n.endDate}:t.startDate.isAfter(n.endDate,c)?o={startDate:n.startDate,endDate:t.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(t)}`),O.trackTransactionList(e.selectedAccount.accountId,void 0,e.referrerType,e.selectedAccount.title,void 0,!0),a(ie({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,uiState:{dateRange:o}})),a(ue(e.selectedAccount.accountId,e.selectedAccount.accountType,T(o))),e.onSelectedTimePeriodChange(T(o))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(ie({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,uiState:{scrollYOffset:t}}))},onStatementPageIconClick:()=>{const t=we(e.tenantEmailDomain),n=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(t,{state:{pathnameStackToGoBack:n}})}}})(Q),re=ee(function({referrerType:a,...e}){const t=J(),n=R(),c=U(),{tenantEmailDomain:o,accountTypeEncoded:r,accountIdEncoded:s,timeframe:u,startDate:h,endDate:D,titleEncoded:g,excludeSubAccounts:Y}=q(),y=M(r??""),S=M(s??""),k=M(g??""),E=!(Y!=null&&Y==="exclude_subaccounts"),j=L(b=>Ae(b.transactionListState,S,y)),[P,m]=A.useState(!1),[I,p]=A.useState(void 0),_=L(b=>$(b)),V=_.company?.featuresActivationInfo.connectedAccountProvider==="unit",d=_.company?.companyInfo.firstMonthOfFY??1;let l;const z=Ge(y,S,u,h,D,k);if(z){const b={startDate:x(h,"YYYY-MM-DD"),endDate:x(D,"YYYY-MM-DD")},fe=_e(j?.dateRange,b);l={accountId:S,accountType:K(y),title:k,timeframe:u,period:fe}}let C=l;l!=null&&I!=null&&(C={...l,period:I});const{areTenantIdsInSync:f}=be();A.useEffect(()=>{!P&&l!=null&&f&&(m(!0),O.trackTransactionList(l.accountId,void 0,a,l.title),c(ue(l.accountId,l.accountType,l.period,void 0,!1,E)))},[P,l,c,f]);const N=[r,s,u,h,D,g].filter(b=>b!=null);return z&&C!=null?i.jsx(Fe,{firstMonthOfFY:d,tenantEmailDomain:o,location:n,navigate:t,isConnectedAccountProviderUnit:V,selectedAccount:C,referrerType:a,onSelectedTimePeriodChange:b=>p(b),...e}):i.jsx(B,{to:pe(N.length)})}),pe=(a=7)=>{let e="../";for(let t=0;t<a;t++)e=`${e}../`;return e},Ge=(a,e,t,n,c,o)=>a!=null&&e!=null&&t!=null&&n!=null&&c!=null&&(t==="month"||t==="quarter")&&x(n,"YYYY-MM-DD").isValid()&&x(c,"YYYY-MM-DD").isValid()&&o!=null,_e=(a,e)=>a!=null&&a.endDate.isSame(e.endDate,"day")&&a.startDate.isBefore(e.startDate,"day")?T(a):T(e),we=a=>`/${a}/transactions/${ke}/statements`;function ot(){const a=R().state?.referrer,e=ve.getSignedInUser(),t=Ie(e),{useFeatureGate:n}=Ye(),{isFeatureEnabled:c}=n(se.isExpenseAutomationEnabled),o=L(u=>u.expenseAutomationViewState.selectedPeriodByTenantId)[L(u=>$(u)).tenantId],{isFeatureEnabled:r}=n(se.isExpenseAutomationEnabledV2),s=r||c&&t;return i.jsxs(Te,{children:[i.jsx(v,{path:"/:accountTypeEncoded/:accountIdEncoded/:timeframe/:startDate/:endDate/:titleEncoded/:excludeSubAccounts/*",element:i.jsx(re,{referrerType:a})}),i.jsx(v,{path:"/zeni-clearing-account/statements",element:i.jsx(Pe,{})}),i.jsx(v,{path:"/*",element:i.jsx(re,{referrerType:a})}),i.jsx(v,{path:"/uncategorized-income/*",element:i.jsx(F,{})}),i.jsx(v,{path:"/uncategorized-expense/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/transaction_categorization/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/miscategorized-income/*",element:i.jsx(F,{})}),i.jsx(v,{path:"/miscategorized-expense/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/transaction_categorization/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/missing-receipts/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/missing_receipts/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/by-class/:accountTypeEncoded/:accountIdEncoded/:classIdEncoded/:timeframe/:startDate/:endDate/:titleEncoded/*",element:i.jsx(Be,{referrerType:a})})]})}export{ot as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as A,O as k,V as o,L as q,b as I,a9 as R,o as t,x as m,a8 as W,d as _,cu as G,T as K,c8 as U,A as J,m as a,gD as M,gE as B,gF as F,y as Q,cd as X,ga as z,gG as Y,ar as Z,gK as ee,gL as oe}from"./index-
|
|
1
|
+
import{e as A,O as k,V as o,L as q,b as I,a9 as R,o as t,x as m,a8 as W,d as _,cu as G,T as K,c8 as U,A as J,m as a,gD as M,gE as B,gF as F,y as Q,cd as X,ga as z,gG as Y,ar as Z,gK as ee,gL as oe}from"./index-CilRLucN.js";import{a as j}from"./sentry-D-LCra2M.js";import{n as l}from"./mui-Ckdcx_YE.js";import"./pdf-CwWlK-Dr.js";import"./zeni-epic-state-B1zsDZZ4.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.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]="b47e9681-e0b8-4b96-a348-63c4709d0ddf",e._sentryDebugIdIdentifier="sentry-dbid-b47e9681-e0b8-4b96-a348-63c4709d0ddf")}catch{}})();const L=(e,r)=>`${e}.${r}`,N={labelWidth:new m(120,145,160),controlWidth:new m(110,145,160)},i=k.getLocalizedStrings().transactionDetail.vendorDetails.vendorCreation,te=({selectedAccountId:e,isSaveError:r,selectedClassId:g,selectedOwnerId:d,selectedVendorName:w,allAccounts:u,allClasses:O,allOwners:$,sectionId:h,isDisabled:c,accountsHierarchyList:x,classHierarchyList:b})=>{const s=A(),y=Q(),C=N.labelWidth.value(s),S=N.controlWidth.value(s);return o.jsxs(ae,{"data-testid":I("vendor-details-section",h),children:[o.jsx(ne,{children:i.vendorDetails.title}),o.jsxs(re,{children:[o.jsx(X,{label:{label:i.vendorDetails.vendorName,width:C},text:{type:"text",name:L(h,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:w,autoComplete:"off",options:{required:!0}},isSaveError:r,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(se,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:C},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:v=>(p=>u.filter(n=>n.accountId===p)[0]?.coaId??"")(v),defaultValue:{selectedOption:e,allOptions:B(x)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:c,disableCurrentOption:v=>{const p=u.find(n=>n.accountId===v)?.accountName;return[ee,oe].includes(p??"")},zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:C},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:v=>(p=>O.filter(n=>n.classId===p)[0]?.accountingClassNumber??"")(v),defaultValue:{selectedOption:g,allOptions:M(b)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:c}),$!=null?o.jsx(Y,{label:{label:i.vendorDetails.vendorOwner,width:C},userSingleSelectField:{name:L(h,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:F($),selectedOption:d},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:c,style:{justifyContent:"space-between"},controlWidth:S}):null]})]})},ae=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
padding-top: ${t.sp3};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,e as fe,b as A,gT as st,a5 as N,a as Pe,h2 as lt,L as Ue,a9 as De,o as a,O as R,x as c,a8 as qe,n as ct,at as dt,D as ft,c2 as ye,C as Te,l as ue,a7 as ce,T as Ge,c8 as ut,ag as pt,a6 as mt,f as U,A as Je,f6 as Le,f7 as je,fD as ht,bn as Ce,h3 as gt,m as i,eT as wt,bH as He,bu as xt,ex as $t,b6 as bt,H as Ze,fj as Dt,bi as yt,bw as Ke,gk as Tt,gl as Ct}from"./index-CuxRoVvZ.js";import{a as f}from"./sentry-Cm8I7E9J.js";import{n}from"./mui-G2MlMTlr.js";import{u as St}from"./plaid-CcxzSXZd.js";import{bG as vt}from"./zeni-epic-state-lC5X-sam.js";import{v as kt}from"./ZeniTransferAmountSlider-C77DEl-C-CruP3RMa.js";import{m as At}from"./BusyIndication-Cp8KWKB2-C3oZ8Ini.js";import{r as Pt}from"./AccountInfoPageContent-eYEsv7ac-vCK7G4bh.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./utils-BhOlvYO8.js";import"./downloadPdf-BuPJ6cfr-Bn04BzVs.js";import"./commonDimensions-CVpc-NCw-CA0m656N.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]="c5f0a7bf-8708-4264-af6b-dc09e43735ea",e._sentryDebugIdIdentifier="sentry-dbid-c5f0a7bf-8708-4264-af6b-dc09e43735ea")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=R.getLocalizedStrings(),Qe="amount",ze="transferFrom",k="transferDetails",et="transferDetailPage",xe=(e,r)=>`${e}.${r}`,tt=e=>`${e}_form`,u={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(i[3],i[4]),labeleMarginLeft:new c(i[0],i[0]),labelMarginRight:new c(i[3],i[3]),labeleMarginBottom:new c(i[2],i[0]),labeledFieldPaddingLeft:new c(i[3],i[0]),labeledFieldPaddingRight:new c(i[3],i[2]),labeledFieldPaddingTop:new c(i[3],i[3]),labeledFieldPaddingBottom:new c(i[3],i[2]),infoLabelPaddingRight:new c(i[0],i[3]),infoLabelMarginTop:new c(i[1],i[0]),controllerWrapperFlex:new c(1,i[0])};function Lt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:h,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:p,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:B,setTotalBalance:F,onSaveChangesToLocalStore:q,onBackClick:M,onEstablishConnectionClick:E,fireTrackTransferBetweenAccountsFormClicked:O,onFetchLinkTokenClick:G,onReviewClick:J}){const o=fe(),I=u.largeLabelWidth.value(o),[_,j]=f.useState(!1),m=e.link_account_no_microdeposit,[v,W]=f.useState(m.linkToken??null),[x,z]=f.useState(!1),[V,ie]=f.useState(!1),H=r.transferMoneyPartiesFetchState,Z=ce(H),K=r.transferDetailLocalData.transferFrom?.id,Q=r.transferDetailLocalData.transferTo?.id,Se=ce(K),ve=ce(Q),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),at=f.useCallback(s=>{E?.(s),M(),ie(!1),z(!1)},[M,E]),nt=f.useCallback((s,g)=>{s!=null&&console.log("Plaid Connection Error",s,g)},[]),{open:Y,ready:ee}=St({token:v,onSuccess:at,onExit:nt}),oe=f.useCallback(s=>{s.preventDefault(),s.stopPropagation(),ee?Y():z(!0)},[Y,ee]),P=Ge({mode:"all",reValidateMode:"onBlur",defaultValues:f.useMemo(()=>Be(r,oe),[r])});f.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),f.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&ee&&ie(!0)},[ee,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),f.useEffect(()=>{V&&x&&Y()},[V,Y,x]),f.useEffect(()=>{(vt(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&G?.("link_account_no_microdeposit")},[]),f.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(Z==="In-Progress"&&H==="Completed"||Se!==K||ve!==Q||s)&&P.reset(Be(r,()=>Y()))},[ee,v,m.fetchStatus.fetchState,Z,H,Se,ve,Q,K,me,pe,P,r,Y]);const{isValid:rt}=P.formState;f.useEffect(()=>{const s=P.watch((g,{name:se})=>{if(se!=null&&g!=null){const le=g[k]?.amount??0,he=g[k]?.transferFrom,te=g[k]?.transferTo,ge=r.transferMoneyParties.find(we=>we.id===he?.selectedOption),ae=r.transferMoneyParties.find(we=>we.id===te?.selectedOption);ge?.accType==="paymentAccount"&&ae?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),f.useEffect(()=>{const s=P.watch((g,{name:se})=>{se!=null&&g!=null&&ut(()=>(async(le,he)=>{if(le!=null){const te={...he},ge={amount:{amount:te[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===te[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===te[k].transferTo.selectedOption)};q(ge)}})(se,g))});return()=>{s.unsubscribe()}}),f.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const it=P.handleSubmit(()=>{rt&&(O("Review","Amount Details"),J())});f.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${ze}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,oe,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const ke=h.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Ae=ke[ke.length-1].annualPercentageYield.toString(),ot=pt(mt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[_?t.jsx(zt,{children:t.jsxs(Ft,{children:[t.jsxs(Mt,{children:[t.jsx(Rt,{}),t.jsxs(Et,{children:[t.jsx(Ot,{children:r.reviewTransferDetail.error?.title}),t.jsx(_t,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(It,{children:t.jsx(ta,{"data-testid":A("amount-details-error-close"),onClick:()=>{O("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:U.heroLight}})})]})}):null,t.jsx(Wt,{children:N("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(Je,{...P,children:t.jsxs(Bt,{id:tt(et),onSubmit:it,children:[t.jsxs(Qt,{children:[t.jsx(Oe,{size:o,children:t.jsx(Fe,{label:{label:de.labels.transferFrom,width:I,style:{marginLeft:u.labeleMarginLeft.valuePx(o),marginBottom:u.labeleMarginBottom.valuePx(o),marginRight:u.labelMarginRight.valuePx(o)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:u.labeledFieldPaddingTop.valuePx(o),paddingBottom:u.labeledFieldPaddingBottom.valuePx(o),paddingLeft:u.labeledFieldPaddingLeft.valuePx(o),paddingRight:u.labeledFieldPaddingRight.valuePx(o),border:"none",width:"100%",outline:"none",padding:0,display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(o),marginTop:u.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:xe(k,ze),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,g)=>je(r.transferMoneyParties,s,g),valueToSubLabels:(s,g)=>Le(r.transferMoneyParties,s,g,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,oe,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Ee,{}),t.jsx(Oe,{size:o,children:t.jsx(ea,{size:o,children:t.jsx(Fe,{label:{label:de.labels.transferTo,width:I,style:{marginLeft:u.labeleMarginLeft.valuePx(o),marginBottom:u.labeleMarginBottom.valuePx(o),marginRight:u.labelMarginRight.valuePx(o)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:u.labeledFieldPaddingTop.valuePx(o),paddingBottom:u.labeledFieldPaddingBottom.valuePx(o),paddingLeft:u.labeledFieldPaddingLeft.valuePx(o),paddingRight:u.labeledFieldPaddingRight.valuePx(o),border:"none",width:"100%",outline:"none",padding:0,display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(o),marginTop:u.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:xe(k,"transferTo"),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,g)=>je(r.transferMoneyParties,s,g),valueToSubLabels:(s,g)=>Le(r.transferMoneyParties,s,g,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,oe)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Ee,{}),t.jsx(ht,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:I},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:xe(k,Qe),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(Xt,{children:[$?t.jsxs(Vt,{children:[t.jsx(Yt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Ae).replace("__amount__",ot)}),t.jsx(kt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:h,setYieldEarned:B,setTotalBalance:F})]}):null,t.jsxs(Ut,{windowSize:o,children:[t.jsx(Jt,{windowSize:o,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(qt,{children:[t.jsx(Me,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${N("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(Ce,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:o==="small"?"bottom":"right",children:t.jsx(Nt,{})})]}),t.jsx(Gt,{windowSize:o}),t.jsx(Ht,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${N("0,0",{amount:p,currencySymbol:"$"})}`})]}):t.jsx(Me,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Ae)})}),$?t.jsxs(Re,{windowSize:o,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Ie,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Zt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Re,{windowSize:o,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Ie,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(Kt,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ue,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,h,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const p={label:d.label,value:d.id};return $&&(p.isDisabled=r?d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),p});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:h};w.push(d)}return w},Be=(e,r)=>({transferDetails:{[Qe]: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:jt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),jt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,zt=n.div`
|
|
1
|
+
import{V as t,e as fe,b as A,gT as st,a5 as N,a as Pe,h2 as lt,L as Ue,a9 as De,o as a,O as I,x as c,a8 as qe,n as ct,at as dt,D as ft,c2 as ye,C as Te,l as ue,a7 as ce,T as Ge,c8 as ut,ag as pt,a6 as mt,f as U,A as Je,f6 as Le,f7 as je,fD as ht,bo as Ce,h3 as gt,m as i,eT as wt,bH as He,bv as xt,ex as $t,b6 as bt,H as Ze,fj as Dt,bj as yt,bx as Ke,gk as Tt,gl as Ct}from"./index-CilRLucN.js";import{a as f}from"./sentry-D-LCra2M.js";import{n}from"./mui-Ckdcx_YE.js";import{u as St}from"./plaid-BhP6n1uc.js";import{bG as vt}from"./zeni-epic-state-B1zsDZZ4.js";import{v as kt}from"./ZeniTransferAmountSlider-DuD1JtSv-DhSBAK_q.js";import{m as At}from"./BusyIndication-DmApVsF7-DQl3VYqH.js";import{r as Pt}from"./AccountInfoPageContent-DIWh6VaI-HqDSQPfy.js";import"./pdf-CwWlK-Dr.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./utils-CI1RvLss.js";import"./downloadPdf-Dcd8BY_9--BaRfov1.js";import"./commonDimensions-CuKo3wam-D08uyy0o.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]="b1c5adef-4d91-4a2a-926e-aa92320609cc",e._sentryDebugIdIdentifier="sentry-dbid-b1c5adef-4d91-4a2a-926e-aa92320609cc")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=I.getLocalizedStrings(),Qe="amount",ze="transferFrom",k="transferDetails",et="transferDetailPage",xe=(e,r)=>`${e}.${r}`,tt=e=>`${e}_form`,u={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(i[3],i[4]),labeleMarginLeft:new c(i[0],i[0]),labelMarginRight:new c(i[3],i[3]),labeleMarginBottom:new c(i[2],i[0]),labeledFieldPaddingLeft:new c(i[3],i[0]),labeledFieldPaddingRight:new c(i[3],i[2]),labeledFieldPaddingTop:new c(i[3],i[3]),labeledFieldPaddingBottom:new c(i[3],i[2]),infoLabelPaddingRight:new c(i[0],i[3]),infoLabelMarginTop:new c(i[1],i[0]),controllerWrapperFlex:new c(1,i[0])};function Lt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:h,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:p,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:B,setTotalBalance:F,onSaveChangesToLocalStore:q,onBackClick:M,onEstablishConnectionClick:R,fireTrackTransferBetweenAccountsFormClicked:O,onFetchLinkTokenClick:G,onReviewClick:J}){const o=fe(),E=u.largeLabelWidth.value(o),[_,j]=f.useState(!1),m=e.link_account_no_microdeposit,[v,W]=f.useState(m.linkToken??null),[x,z]=f.useState(!1),[V,ie]=f.useState(!1),H=r.transferMoneyPartiesFetchState,Z=ce(H),K=r.transferDetailLocalData.transferFrom?.id,Q=r.transferDetailLocalData.transferTo?.id,Se=ce(K),ve=ce(Q),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),at=f.useCallback(s=>{R?.(s),M(),ie(!1),z(!1)},[M,R]),nt=f.useCallback((s,g)=>{s!=null&&console.log("Plaid Connection Error",s,g)},[]),{open:Y,ready:ee}=St({token:v,onSuccess:at,onExit:nt}),oe=f.useCallback(s=>{s.preventDefault(),s.stopPropagation(),ee?Y():z(!0)},[Y,ee]),P=Ge({mode:"all",reValidateMode:"onBlur",defaultValues:f.useMemo(()=>Be(r,oe),[r])});f.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),f.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&ee&&ie(!0)},[ee,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),f.useEffect(()=>{V&&x&&Y()},[V,Y,x]),f.useEffect(()=>{(vt(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&G?.("link_account_no_microdeposit")},[]),f.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(Z==="In-Progress"&&H==="Completed"||Se!==K||ve!==Q||s)&&P.reset(Be(r,()=>Y()))},[ee,v,m.fetchStatus.fetchState,Z,H,Se,ve,Q,K,me,pe,P,r,Y]);const{isValid:rt}=P.formState;f.useEffect(()=>{const s=P.watch((g,{name:se})=>{if(se!=null&&g!=null){const le=g[k]?.amount??0,he=g[k]?.transferFrom,te=g[k]?.transferTo,ge=r.transferMoneyParties.find(we=>we.id===he?.selectedOption),ae=r.transferMoneyParties.find(we=>we.id===te?.selectedOption);ge?.accType==="paymentAccount"&&ae?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),f.useEffect(()=>{const s=P.watch((g,{name:se})=>{se!=null&&g!=null&&ut(()=>(async(le,he)=>{if(le!=null){const te={...he},ge={amount:{amount:te[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===te[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===te[k].transferTo.selectedOption)};q(ge)}})(se,g))});return()=>{s.unsubscribe()}}),f.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const it=P.handleSubmit(()=>{rt&&(O("Review","Amount Details"),J())});f.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${ze}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,oe,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const ke=h.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Ae=ke[ke.length-1].annualPercentageYield.toString(),ot=pt(mt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[_?t.jsx(zt,{children:t.jsxs(Ft,{children:[t.jsxs(Mt,{children:[t.jsx(It,{}),t.jsxs(Rt,{children:[t.jsx(Ot,{children:r.reviewTransferDetail.error?.title}),t.jsx(_t,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Et,{children:t.jsx(ta,{"data-testid":A("amount-details-error-close"),onClick:()=>{O("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:U.heroLight}})})]})}):null,t.jsx(Wt,{children:N("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(Je,{...P,children:t.jsxs(Bt,{id:tt(et),onSubmit:it,children:[t.jsxs(Qt,{children:[t.jsx(Oe,{size:o,children:t.jsx(Fe,{label:{label:de.labels.transferFrom,width:E,style:{marginLeft:u.labeleMarginLeft.valuePx(o),marginBottom:u.labeleMarginBottom.valuePx(o),marginRight:u.labelMarginRight.valuePx(o)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:u.labeledFieldPaddingTop.valuePx(o),paddingBottom:u.labeledFieldPaddingBottom.valuePx(o),paddingLeft:u.labeledFieldPaddingLeft.valuePx(o),paddingRight:u.labeledFieldPaddingRight.valuePx(o),border:"none",width:"100%",outline:"none",padding:0,display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(o),marginTop:u.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:xe(k,ze),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,g)=>je(r.transferMoneyParties,s,g),valueToSubLabels:(s,g)=>Le(r.transferMoneyParties,s,g,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,oe,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Re,{}),t.jsx(Oe,{size:o,children:t.jsx(ea,{size:o,children:t.jsx(Fe,{label:{label:de.labels.transferTo,width:E,style:{marginLeft:u.labeleMarginLeft.valuePx(o),marginBottom:u.labeleMarginBottom.valuePx(o),marginRight:u.labelMarginRight.valuePx(o)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:u.labeledFieldPaddingTop.valuePx(o),paddingBottom:u.labeledFieldPaddingBottom.valuePx(o),paddingLeft:u.labeledFieldPaddingLeft.valuePx(o),paddingRight:u.labeledFieldPaddingRight.valuePx(o),border:"none",width:"100%",outline:"none",padding:0,display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(o),marginTop:u.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:xe(k,"transferTo"),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,g)=>je(r.transferMoneyParties,s,g),valueToSubLabels:(s,g)=>Le(r.transferMoneyParties,s,g,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,oe)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Re,{}),t.jsx(ht,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:E},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:xe(k,Qe),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(Xt,{children:[$?t.jsxs(Vt,{children:[t.jsx(Yt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Ae).replace("__amount__",ot)}),t.jsx(kt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:h,setYieldEarned:B,setTotalBalance:F})]}):null,t.jsxs(Ut,{windowSize:o,children:[t.jsx(Jt,{windowSize:o,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(qt,{children:[t.jsx(Me,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${N("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(Ce,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:o==="small"?"bottom":"right",children:t.jsx(Nt,{})})]}),t.jsx(Gt,{windowSize:o}),t.jsx(Ht,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${N("0,0",{amount:p,currencySymbol:"$"})}`})]}):t.jsx(Me,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Ae)})}),$?t.jsxs(Ie,{windowSize:o,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Ee,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Zt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Ie,{windowSize:o,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Ee,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(Kt,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ue,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,h,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const p={label:d.label,value:d.id};return $&&(p.isDisabled=r?d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),p});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:h};w.push(d)}return w},Be=(e,r)=>({transferDetails:{[Qe]: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:jt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),jt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,zt=n.div`
|
|
2
2
|
margin-top: ${a.sp3};
|
|
3
3
|
display: flex;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -22,11 +22,11 @@ import{V as t,e as fe,b as A,gT as st,a5 as N,a as Pe,h2 as lt,L as Ue,a9 as De,
|
|
|
22
22
|
`,Mt=n.div`
|
|
23
23
|
display: flex;
|
|
24
24
|
align-items: flex-start;
|
|
25
|
-
`,
|
|
25
|
+
`,Et=n.div``,It=n(wt)`
|
|
26
26
|
width: ${a.sp4};
|
|
27
27
|
height: ${a.sp4};
|
|
28
28
|
color: ${U.important};
|
|
29
|
-
`,
|
|
29
|
+
`,Rt=n.div`
|
|
30
30
|
display: flex;
|
|
31
31
|
flex-direction: column;
|
|
32
32
|
margin-left: ${a.sp2};
|
|
@@ -81,10 +81,10 @@ import{V as t,e as fe,b as A,gT as st,a5 as N,a as Pe,h2 as lt,L as Ue,a9 as De,
|
|
|
81
81
|
display: flex;
|
|
82
82
|
flex-direction: row;
|
|
83
83
|
align-items: center;
|
|
84
|
-
`,
|
|
84
|
+
`,Ee=n(Te)`
|
|
85
85
|
color: ${e=>e.theme.colors.hero};
|
|
86
86
|
cursor: pointer;
|
|
87
|
-
`,
|
|
87
|
+
`,Ie=n.div`
|
|
88
88
|
display: flex;
|
|
89
89
|
flex-direction: row;
|
|
90
90
|
align-items: center;
|
|
@@ -135,7 +135,7 @@ import{V as t,e as fe,b as A,gT as st,a5 as N,a as Pe,h2 as lt,L as Ue,a9 as De,
|
|
|
135
135
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
136
136
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
137
137
|
border-radius: ${a.sp2};
|
|
138
|
-
`,
|
|
138
|
+
`,Re=n.div`
|
|
139
139
|
display: flex;
|
|
140
140
|
flex: 1;
|
|
141
141
|
background-color: ${e=>e.theme.colors.grey3};
|
|
@@ -179,7 +179,7 @@ import{V as t,e as fe,b as A,gT as st,a5 as N,a as Pe,h2 as lt,L as Ue,a9 as De,
|
|
|
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(i[3],i[12]),buttonTrayGap:new c(i[4],i[5])},b=
|
|
182
|
+
`,re={navBarContainerPaddingXaxis:new c(10,19),containerPaddingLeft:new c(16,40,56),containerPaddingRight:new c(16,40,56),successContentMargin:new c(i[3],i[12]),buttonTrayGap:new c(i[4],i[5])},b=I.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,aa=({transferDetails:e,isCalculatorOpen:r,showAnnualYieldEarned:h,transferAmount:$,yieldEarned:y,totalBalance:w,maxInsuredAmount:d,zeniAccountsConfigDetail:p,fireTrackTransferBetweenAccountsFormClicked:l,onSaveChangesToLocalStore:T,onTransferClick:C,onDismissClick:S,onAnotherTransferClick:B,onEstablishConnectionClick:F,onBackClick:q,onFetchLinkTokenClick:M,plaidConnectionDetails:R,showReviewContent:O,setShowReviewContent:G,setCurrentDrawerContent:J,clearReviewTransferDetail:o,onReviewClick:E,setIsCalculatorOpen:_,setShowAnnualYieldEarned:j,setTransferAmount:m,setYieldEarned:v,setTotalBalance:W})=>{const x=fe(),z=e.reviewTransferDetail,V=e.transferDetailLocalData.transferFrom?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accType==="depositAccount";return t.jsx(ia,{windowSize:x,children:e.fetchState==="Completed"?t.jsxs(We,{windowSize:x,isTransferCompleted:!0,children:[t.jsx(Ve,{windowSize:x,children:t.jsx(Ye,{"data-testid":A("cross-transfer-success-close-button"),onClick:()=>{l("Cross","Transfer Success"),S?.()}})}),t.jsxs(la,{windowSize:x,children:[t.jsx(st,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),t.jsx(oa,{children:V?t.jsxs(t.Fragment,{children:[b.transferDrawer.internal.transferSuccessMsgPrefix,t.jsx(_e,{children:N("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(_e,{children:N("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(sa,{windowSize:x,children:[t.jsx(Pe,{variant:"secondary",label:b.transferDrawer.anotherTransferBtn,"data-testid":A("another-transfer-button"),onClick:()=>{l("Another Transfer","Transfer Success"),W(0),_(!1),v(0),j(!1),B()},style:{minWidth:200}}),t.jsx(Pe,{variant:"primary",label:b.transferDrawer.backToChecking,"data-testid":A("back-to-checking-button"),onClick:()=>{l("Back to Checking","Transfer Success"),S?.()},style:{minWidth:200}})]})]})]}):O?t.jsx(lt,{transferDetails:e,setCurrentDrawerContent:J,setShowReviewContent:G,onTransferClick:C,clearReviewTransferDetail:o,reviewTransferDetail:z,fireTrackTransferBetweenAccountsFormClicked:l}):t.jsxs(t.Fragment,{children:[t.jsxs(We,{windowSize:x,isTransferCompleted:!1,children:[t.jsx(Ve,{windowSize:x,children:t.jsx(Ye,{"data-testid":A("cross-amount-details-close-button"),onClick:()=>{l("Cross","Amount Details"),S?.()}})}),x==="small"?t.jsx(ca,{windowSize:x,children:b.transferDrawer.title}):t.jsx(da,{children:b.transferDrawer.title}),x==="small"?t.jsx(ra,{children:b.transferDrawer.subTitle}):t.jsx(na,{children:b.transferDrawer.subTitle}),e.transferMoneyPartiesFetchState==="Completed"?t.jsx(Lt,{isCalculatorOpen:r,showAnnualYieldEarned:h,transferAmount:$,yieldEarned:y,totalBalance:w,onBackClick:q,onSaveChangesToLocalStore:T,plaidConnectionDetails:R,transferDetails:e,zeniAccountsConfigDetail:p,onEstablishConnectionClick:F,onFetchLinkTokenClick:M,onReviewClick:E,setIsCalculatorOpen:_,setShowAnnualYieldEarned:j,setTransferAmount:m,setYieldEarned:v,setTotalBalance:W,fireTrackTransferBetweenAccountsFormClicked:l,maxInsuredAmount:d}):t.jsx(Ue,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})]}),e.transferDetailLocalData.transferFrom?.id!=null||e.transferDetailLocalData.transferTo?.id!=null||e.transferDetailLocalData.amount.amount>0?t.jsx(De,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:tt(et),helperStyle:{paddingTop:a.sp0,paddingBottom:a.sp0},primaryBtn:{label:I.getLocalizedStrings().common.review,isLoading:z.fetchState==="In-Progress"},cancelBtn:{label:b.transferDrawer.cancelBtn,onClick:()=>{l("Cancel","Amount Details"),S?.()}}}):null]})})},na=n(ue)`
|
|
183
183
|
color: ${e=>e.theme.colors.hero};
|
|
184
184
|
`,ra=n(Te)`
|
|
185
185
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -241,7 +241,7 @@ import{V as t,e as fe,b as A,gT as st,a5 as N,a as Pe,h2 as lt,L as Ue,a9 as De,
|
|
|
241
241
|
color: ${e=>e.theme.colors.primary};
|
|
242
242
|
margin-top: ${a.sp3};
|
|
243
243
|
margin-bottom: ${a.sp2};
|
|
244
|
-
`,X={accountRowLeftRightPadding:new c(i[3],i[3]),zeniAccountListPaddingBottom:new c(i[3],i[6]),navBarContainerPaddingXaxis:new c(10,19),containerPaddingLeft:new c(i[3],i[6],i[8]),containerPaddingRight:new c(i[3],i[6],i[8])},Ne="wireTransferDetailPage",Xe=e=>`${e}_form`,fa=
|
|
244
|
+
`,X={accountRowLeftRightPadding:new c(i[3],i[3]),zeniAccountListPaddingBottom:new c(i[3],i[6]),navBarContainerPaddingXaxis:new c(10,19),containerPaddingLeft:new c(i[3],i[6],i[8]),containerPaddingRight:new c(i[3],i[6],i[8])},Ne="wireTransferDetailPage",Xe=e=>`${e}_form`,fa=I.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList.transferDrawer,$e=I.getLocalizedStrings().common,ua=e=>t.jsx(Ca,{color:Tt(e)}),pa=({depositAccountListView:e,setCurrentDrawerContent:r,selectedAccount:h,setShowWireAccountInfo:$,setSelectedAccount:y,fireTrackTransferBetweenAccountsFormClicked:w})=>{const d=Ge({mode:"all",reValidateMode:"onChange",defaultValues:{selectedAccountId:h?.id}}),p=fe();return f.useEffect(()=>{const l=d.watch(()=>{const T=e.depositAccounts.find(C=>C.id===d.getValues("selectedAccountId"));y(T)});return()=>{l.unsubscribe()}}),e.fetchState!="Completed"?t.jsx(At,{fetchState:e.fetchState}):t.jsxs(t.Fragment,{children:[t.jsxs(ma,{windowSize:p,children:[t.jsx(ya,{windowSize:p,children:t.jsx(Ce,{style:{marginTop:a.sp1},title:$e.navBar.back,enterDelay:600,placement:"bottom",children:t.jsx(Da,{"data-testid":A("select-zeni-account-back-button"),onClick:()=>{w("Back","Select Account for Split Transfer"),r("achTransfer")}})})}),t.jsx(Ta,{windowSize:p,children:fa.selectYour}),t.jsx(Je,{...d,children:t.jsx("form",{id:Xe(Ne),onSubmit:d.handleSubmit(()=>{w("Next","Select Account for Split Transfer"),$(!0)}),children:t.jsx(ba,{windowSize:p,children:e.depositAccounts.map((l,T)=>t.jsx($a,{isClickEnabled:!0,windowSize:p,"data-testid":A("deposit-account-click",l.id),onClick:()=>d.setValue("selectedAccountId",l.id),children:t.jsxs(ha,{children:[t.jsx(gt,{name:"selectedAccountId",id:l.id,value:l.id,radioSize:"small",style:{marginRight:8}}),ua(T),t.jsxs(ga,{children:[t.jsx(xa,{windowSize:p,children:l.accountName}),t.jsx(wa,{children:N("0,0[.]00",l.accountBalance?.available)})]})]})},l.id))})})})]}),h!=null?t.jsx(De,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:Xe(Ne),cancelBtn:{label:$e.cancel,onClick:()=>{w("Cancel","Select Account for Split Transfer"),r("achTransfer")},style:{width:93}},primaryBtn:{label:$e.next,style:{width:93}}}):null]})},ma=n.div`
|
|
245
245
|
height: auto;
|
|
246
246
|
padding-left: ${e=>`${X.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
247
247
|
padding-right: ${e=>`${X.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
@@ -315,7 +315,7 @@ import{V as t,e as fe,b as A,gT as st,a5 as N,a as Pe,h2 as lt,L as Ue,a9 as De,
|
|
|
315
315
|
margin-right: ${a.sp2};
|
|
316
316
|
padding: 12px ${a.sp0};
|
|
317
317
|
box-sizing: content-box;
|
|
318
|
-
`,{common:{navBar:{back:Sa}}}=
|
|
318
|
+
`,{common:{navBar:{back:Sa}}}=I.getLocalizedStrings(),L={pageTitleMarginXAxis:new c(i[0],i[8]),navBarContainerPaddingXaxis:new c(10,19),pageContentPaddingLeftRight:new c(i[3],i[0]),navBarContainerMarginLeftRight:new c(i[0],i[8]),descriptionMarginLeftRight:new c(i[0],i[8]),accountInfoPageWrapperMarginLeft:new c(i[0],i[8]),accountInfoPageWrapperMarginRight:new c(i[0],i[5]),accountInfoPageWrapperMarginBottom:new c(i[5],i[8])},be=I.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList.transferDrawer,va=({authParams:e,downloadAccountDetailEndPoint:r,depositAccount:h,zeniAccountsConfigDetail:$,currentTenant:y,onDismissClick:w,fireTrackTransferBetweenAccountsFormClicked:d,setShowWireAccountInfo:p})=>{const l=fe();return t.jsxs(t.Fragment,{children:[t.jsxs(Aa,{windowSize:l,children:[t.jsx(La,{windowSize:l,children:t.jsx(Ce,{title:Sa,enterDelay:600,placement:"bottom",children:t.jsx(Pa,{"data-testid":A("wire-transfer-account-info-back-button"),onClick:()=>{d("Back","Wire Transfer Details"),p(!1)}})})}),t.jsx(Ba,{windowSize:l,children:be.wireInstruction.replace("__accountName__",h.accountName)}),t.jsx(ja,{windowSize:l,children:t.jsx(za,{children:be.wireTransferDescriptionLine1})}),t.jsx(ka,{windowSize:l,children:t.jsx(Pt,{authParams:e,downloadAccountDetailEndPoint:r,currentTab:"wireDetails",zeniAccountsConfigDetail:$,currentTenant:y,depositAccount:h})})]}),t.jsx(De,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},cancelBtn:{label:""},primaryBtn:{label:be.backToChecking,onClick:()=>{d("Back to Checking","Wire Transfer Details"),w()}},showCancel:!1,showPrimaryButton:!0})]})},ka=n.div`
|
|
319
319
|
margin-left: ${e=>`${L.accountInfoPageWrapperMarginLeft.valuePx(e.windowSize)}`};
|
|
320
320
|
margin-right: ${e=>`${L.accountInfoPageWrapperMarginRight.valuePx(e.windowSize)}`};
|
|
321
321
|
margin-bottom: ${e=>`${L.accountInfoPageWrapperMarginBottom.valuePx(e.windowSize)}`};
|
|
@@ -352,7 +352,7 @@ import{V as t,e as fe,b as A,gT as st,a5 as N,a as Pe,h2 as lt,L as Ue,a9 as De,
|
|
|
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
|
-
`,Fa=({zeniAccountsConfigDetail:e,depositAccountListView:r,downloadAccountDetailEndPoint:h,authParams:$,selectedAccountId:y,currentTenant:w,setCurrentDrawerContent:d,fireTrackTransferBetweenAccountsFormClicked:p,onDismissClick:l})=>{const[T,C]=f.useState(!1),[S,B]=f.useState(r.depositAccounts.find(F=>F.id===y));return T&&S!=null?t.jsx(va,{downloadAccountDetailEndPoint:h,authParams:$,currentTenant:w,zeniAccountsConfigDetail:e,depositAccount:S,onDismissClick:l,setShowWireAccountInfo:C,fireTrackTransferBetweenAccountsFormClicked:p}):t.jsx(pa,{depositAccountListView:r,setCurrentDrawerContent:d,selectedAccount:S,setShowWireAccountInfo:C,setSelectedAccount:B,fireTrackTransferBetweenAccountsFormClicked:p})},en=({transferDetails:e,zeniAccountsConfigDetail:r,depositAccountListView:h,maxInsuredAmount:$,currentTenant:y,showReviewContent:w,currentDrawerContent:d,downloadAccountDetailEndPoint:p,authParams:l,analytics:T,setCurrentDrawerContent:C,setShowReviewContent:S,onSaveChangesToLocalStore:B,onTransferClick:F,onReviewClick:q,onDismissClick:M,onAnotherTransferClick:
|
|
355
|
+
`,Fa=({zeniAccountsConfigDetail:e,depositAccountListView:r,downloadAccountDetailEndPoint:h,authParams:$,selectedAccountId:y,currentTenant:w,setCurrentDrawerContent:d,fireTrackTransferBetweenAccountsFormClicked:p,onDismissClick:l})=>{const[T,C]=f.useState(!1),[S,B]=f.useState(r.depositAccounts.find(F=>F.id===y));return T&&S!=null?t.jsx(va,{downloadAccountDetailEndPoint:h,authParams:$,currentTenant:w,zeniAccountsConfigDetail:e,depositAccount:S,onDismissClick:l,setShowWireAccountInfo:C,fireTrackTransferBetweenAccountsFormClicked:p}):t.jsx(pa,{depositAccountListView:r,setCurrentDrawerContent:d,selectedAccount:S,setShowWireAccountInfo:C,setSelectedAccount:B,fireTrackTransferBetweenAccountsFormClicked:p})},en=({transferDetails:e,zeniAccountsConfigDetail:r,depositAccountListView:h,maxInsuredAmount:$,currentTenant:y,showReviewContent:w,currentDrawerContent:d,downloadAccountDetailEndPoint:p,authParams:l,analytics:T,setCurrentDrawerContent:C,setShowReviewContent:S,onSaveChangesToLocalStore:B,onTransferClick:F,onReviewClick:q,onDismissClick:M,onAnotherTransferClick:R,onEstablishConnectionClick:O,onBackClick:G,clearReviewTransferDetail:J,onFetchLinkTokenClick:o,plaidConnectionDetails:E})=>{const[_,j]=f.useState(!1),[m,v]=f.useState(!1),[W,x]=f.useState(0),[z,V]=f.useState(0),[ie,H]=f.useState(0);return t.jsx(Ma,{children:(()=>{const Z=(K,Q)=>T.trackTransferBetweenAccountsFormClicked(K,Q,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(aa,{transferDetails:e,isCalculatorOpen:_,showAnnualYieldEarned:m,transferAmount:W,yieldEarned:z,totalBalance:ie,zeniAccountsConfigDetail:r,fireTrackTransferBetweenAccountsFormClicked:Z,onSaveChangesToLocalStore:B,onTransferClick:F,onDismissClick:M,onAnotherTransferClick:R,onEstablishConnectionClick:O,onBackClick:G,onFetchLinkTokenClick:o,plaidConnectionDetails:E,setCurrentDrawerContent:C,clearReviewTransferDetail:J,onReviewClick:q,setShowReviewContent:S,showReviewContent:w,setIsCalculatorOpen:j,setShowAnnualYieldEarned:v,setTransferAmount:x,setYieldEarned:V,setTotalBalance:H,maxInsuredAmount:$}):t.jsx(Fa,{zeniAccountsConfigDetail:r,depositAccountListView:h,selectedAccountId:e.transferDetailLocalData.transferTo?.id,currentTenant:y,downloadAccountDetailEndPoint:p,authParams:l,fireTrackTransferBetweenAccountsFormClicked:Z,setCurrentDrawerContent:C,onDismissClick:M})})()})},Ma=n.div`
|
|
356
356
|
display: flex;
|
|
357
357
|
flex-direction: column;
|
|
358
358
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as te,V as t,fI as qe,e as L,y as A,h as Xe,ba as Qe,fJ as Ze,bF as et,a5 as G,
|
|
1
|
+
import{_ as te,V as t,fI as qe,e as L,y as A,h as Xe,ba as Qe,fJ as Ze,bF as et,a5 as G,bo as he,a_ as tt,w as de,b as F,L as it,be as ot,o as i,x as w,C as T,O as M,f as b,b6 as nt,eO as oe,d as N,m as p,ao as me,bd as He,ab as Ke,fm as at,aM as rt,a as st,cR as lt,l as B,aj as dt,iA as ct,bf as pt,aB as ht,ef as mt,cz as xt,fj as gt,bV as ut,jq as yt,c$ as ge,H as U,bm as ft,b_ as ue,ib as wt,c1 as $t}from"./index-CilRLucN.js";import{a as y,b as bt}from"./sentry-D-LCra2M.js";import{n as o,c as ye}from"./mui-Ckdcx_YE.js";import{bG as q,bp as jt}from"./zeni-epic-state-B1zsDZZ4.js";import{s as vt}from"./commonDimensions-CuKo3wam-D08uyy0o.js";import{a as St,M as Ye,S as Fe,L as Ct,_ as kt}from"./common-Cws59IN1-fneKv-li.js";import{g as fe}from"./BoxItem-C39hQSVg-B9WMvkwI.js";import{o as zt}from"./transaction-placeholder-CpOwZAMG-Ca0HZ2W6.js";import{y as Tt}from"./MoreMenuButton-B1OKwXLg-CUWjb2Vn.js";import{o as Pt}from"./money-2cg1MuG4-B7YE6t0I.js";import{o as Dt}from"./shield-DOlUxcFf-D5PHf2Tj.js";import{R as we,N as $e,X as be,Y as je,O as ve,F as Lt}from"./recharts-Dr1JzI4y.js";import"./pdf-CwWlK-Dr.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";import"./calculateSize-i9QGr8q0-Dp5VSL_N.js";import"./bank-letter-BOcVjN6J-KdddOmyc.js";import"./spend-limit-D6SyboD4-D85B38gI.js";import"./dollar-round-D18u7nlm-CvsBoEut.js";import"./page-summary-D7_VQHwN-BvkWkaoT.js";import"./unlock-BPWn2I5L-DDdPB9QU.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]="1c66954d-3e76-4aa4-8866-4102d0a725b2",e._sentryDebugIdIdentifier="sentry-dbid-1c66954d-3e76-4aa4-8866-4102d0a725b2")}catch{}})();const xe=M.getLocalizedStrings().spendManagement.treasury.overviewPage.header,It={key:"description",value:xe.trasnactionTitle,sortOrder:"ascending",width:new w(120,250,400,400,500)},Mt={key:"date",value:xe.paymentDate,sortOrder:"ascending",width:new w(100,120,200,250,300)},Ot={key:"amount",value:xe.amount,sortOrder:"ascending",width:new w(80,100,150,180,200)},ce=()=>[It,Mt,Ot],z={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new w(p[0],p[4]),headerLastColumnRightPadding:new w(p[3],p[11]),headerLastColumnBottomPadding:new w(p[0],p[4]),headerLastColumnLeftPadding:new w(p[3],p[11]),headerHeight:new w(Ye,Fe),sortIconSize:new w(p[2],p[2]),headerPaddingTop:new w(p[0],2)},Rt=bt.memo(function({companyNameSticky:e,sortConfig:n,onColumnSortConfigChanged:a}){const s=A(),l=L(),[r,u]=y.useState(ce());y.useEffect(()=>{const d=[...r];for(const h of d)h.key===n.sortKey?h.sortOrder=n.sortOrder:h.sortOrder="ascending";u(d)},[n.sortKey,n.sortOrder]);const m=(d,h)=>{let c=h;n.sortKey===d&&(c=h==="ascending"?"descending":"ascending"),a(d,c)},x=r.find(d=>d.key===n.sortKey)??r[0],g=r.map(d=>d.key),f=M.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(Nt,{windowSize:l,children:[t.jsxs(Kt,{children:[t.jsx(Ft,{children:t.jsx(Yt,{})}),t.jsx(ft,{title:f.sortBy,placeholder:f.sortBy,pickerValues:g,valueToLabel:d=>r.find(h=>h.key===d)?.value??"",selectedValue:n.sortKey,onPickerSelectionChanged:d=>{m(d,"ascending")},optionTextStyle:de.extraSmallRegular,titleTextStyle:de.extraSmallRegular,titleColor:s.colors.primary,selectedOptionColor:s.colors.hero,optionBackgroundColor:s.colors.grey5,downChevronVisible:!1,backgroundColor:s.colors.grey4})]}),t.jsxs(_t,{onClick:()=>m(x.key,x.sortOrder),"data-testid":F("mobile-cards-list-sort-clicked",n.sortKey),children:[t.jsx(U,{children:x.value}),t.jsx(Se,{windowSize:l,sortDataValue:n.sortKey,headerdata:x,children:t.jsx(Ce,{windowSize:l,isSelected:n.sortKey===x.key,children:t.jsx(ue,{})})})]})]}):t.jsx(At,{windowSize:l,children:t.jsx(Bt,{children:r.map(d=>d.width.value(l)!==0&&t.jsxs(Et,{companyNameSticky:e,sortDataValue:n.sortKey,actualDataValue:d.key,wrapperWidth:d.width,windowSize:l,children:[t.jsxs(Wt,{onClick:()=>m(d.key,d.sortOrder),"data-testid":F("cards-list-sort-clicked",n.sortKey),children:[t.jsx(U,{children:d.value}),t.jsx(Se,{windowSize:l,sortDataValue:n.sortKey,headerdata:d,children:t.jsx(Ce,{windowSize:l,isSelected:n.sortKey===d.key,children:t.jsx(ue,{})})})]}),t.jsx(Vt,{sortDataValue:n.sortKey,windowSize:l,isVisible:n.sortKey===d.key&&d.key!=="date",children:t.jsx(Ht,{onClick:()=>m("date","ascending"),"data-testid":F("cards-list-sort-cancel",n.sortKey)})})]},d.key))})})}),At=o.div`
|
|
2
2
|
top: ${i.sp0};
|
|
3
3
|
left: ${i.sp0};
|
|
4
4
|
z-index: 2;
|